aws_sdk_dataexchange/client/
get_data_set.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDataSet`](crate::operation::get_data_set::builders::GetDataSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`data_set_id(impl Into<String>)`](crate::operation::get_data_set::builders::GetDataSetFluentBuilder::data_set_id) / [`set_data_set_id(Option<String>)`](crate::operation::get_data_set::builders::GetDataSetFluentBuilder::set_data_set_id):<br>required: **true**<br><p>The unique identifier for a data set.</p><br>
    /// - On success, responds with [`GetDataSetOutput`](crate::operation::get_data_set::GetDataSetOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::get_data_set::GetDataSetOutput::arn): <p>The ARN for the data set.</p>
    ///   - [`asset_type(Option<AssetType>)`](crate::operation::get_data_set::GetDataSetOutput::asset_type): <p>The type of asset that is added to a data set.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_data_set::GetDataSetOutput::created_at): <p>The date and time that the data set was created, in ISO 8601 format.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_data_set::GetDataSetOutput::description): <p>The description for the data set.</p>
    ///   - [`id(Option<String>)`](crate::operation::get_data_set::GetDataSetOutput::id): <p>The unique identifier for the data set.</p>
    ///   - [`name(Option<String>)`](crate::operation::get_data_set::GetDataSetOutput::name): <p>The name of the data set.</p>
    ///   - [`origin(Option<Origin>)`](crate::operation::get_data_set::GetDataSetOutput::origin): <p>A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).</p>
    ///   - [`origin_details(Option<OriginDetails>)`](crate::operation::get_data_set::GetDataSetOutput::origin_details): <p>If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.</p>
    ///   - [`source_id(Option<String>)`](crate::operation::get_data_set::GetDataSetOutput::source_id): <p>The data set ID of the owned data set corresponding to the entitled data set being viewed. This parameter is returned when a data set owner is viewing the entitled copy of its owned data set.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_data_set::GetDataSetOutput::tags): <p>The tags for the data set.</p>
    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_data_set::GetDataSetOutput::updated_at): <p>The date and time that the data set was last updated, in ISO 8601 format.</p>
    /// - On failure, responds with [`SdkError<GetDataSetError>`](crate::operation::get_data_set::GetDataSetError)
    pub fn get_data_set(&self) -> crate::operation::get_data_set::builders::GetDataSetFluentBuilder {
        crate::operation::get_data_set::builders::GetDataSetFluentBuilder::new(self.handle.clone())
    }
}