aws-sdk-supplychain 1.97.0

AWS SDK for AWS Supply Chain
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDataLakeDataset`](crate::operation::get_data_lake_dataset::builders::GetDataLakeDatasetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::get_data_lake_dataset::builders::GetDataLakeDatasetFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::get_data_lake_dataset::builders::GetDataLakeDatasetFluentBuilder::set_instance_id):<br>required: **true**<br><p>The Amazon Web Services Supply Chain instance identifier.</p><br>
    ///   - [`namespace(impl Into<String>)`](crate::operation::get_data_lake_dataset::builders::GetDataLakeDatasetFluentBuilder::namespace) / [`set_namespace(Option<String>)`](crate::operation::get_data_lake_dataset::builders::GetDataLakeDatasetFluentBuilder::set_namespace):<br>required: **true**<br><p>The namespace of the dataset, besides the custom defined namespace, every instance comes with below pre-defined namespaces:</p> <ul>  <li>   <p><b>asc</b> - For information on the Amazon Web Services Supply Chain supported datasets see <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html</a>.</p></li>  <li>   <p><b>default</b> - For datasets with custom user-defined schemas.</p></li> </ul><br>
    ///   - [`name(impl Into<String>)`](crate::operation::get_data_lake_dataset::builders::GetDataLakeDatasetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_data_lake_dataset::builders::GetDataLakeDatasetFluentBuilder::set_name):<br>required: **true**<br><p>The name of the dataset. For <b>asc</b> namespace, the name must be one of the supported data entities under <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html</a>.</p><br>
    /// - On success, responds with [`GetDataLakeDatasetOutput`](crate::operation::get_data_lake_dataset::GetDataLakeDatasetOutput) with field(s):
    ///   - [`dataset(Option<DataLakeDataset>)`](crate::operation::get_data_lake_dataset::GetDataLakeDatasetOutput::dataset): <p>The fetched dataset details.</p>
    /// - On failure, responds with [`SdkError<GetDataLakeDatasetError>`](crate::operation::get_data_lake_dataset::GetDataLakeDatasetError)
    pub fn get_data_lake_dataset(&self) -> crate::operation::get_data_lake_dataset::builders::GetDataLakeDatasetFluentBuilder {
        crate::operation::get_data_lake_dataset::builders::GetDataLakeDatasetFluentBuilder::new(self.handle.clone())
    }
}