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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDataLakeNamespace`](crate::operation::get_data_lake_namespace::builders::GetDataLakeNamespaceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::get_data_lake_namespace::builders::GetDataLakeNamespaceFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::get_data_lake_namespace::builders::GetDataLakeNamespaceFluentBuilder::set_instance_id):<br>required: **true**<br><p>The Amazon Web Services Supply Chain instance identifier.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::get_data_lake_namespace::builders::GetDataLakeNamespaceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_data_lake_namespace::builders::GetDataLakeNamespaceFluentBuilder::set_name):<br>required: **true**<br><p>The name of the namespace. Besides the namespaces user created, you can also specify the pre-defined namespaces:</p> <ul>  <li>   <p><b>asc</b> - Pre-defined namespace containing 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> - Pre-defined namespace containing datasets with custom user-defined schemas.</p></li> </ul><br>
    /// - On success, responds with [`GetDataLakeNamespaceOutput`](crate::operation::get_data_lake_namespace::GetDataLakeNamespaceOutput) with field(s):
    ///   - [`namespace(Option<DataLakeNamespace>)`](crate::operation::get_data_lake_namespace::GetDataLakeNamespaceOutput::namespace): <p>The fetched namespace details.</p>
    /// - On failure, responds with [`SdkError<GetDataLakeNamespaceError>`](crate::operation::get_data_lake_namespace::GetDataLakeNamespaceError)
    pub fn get_data_lake_namespace(&self) -> crate::operation::get_data_lake_namespace::builders::GetDataLakeNamespaceFluentBuilder {
        crate::operation::get_data_lake_namespace::builders::GetDataLakeNamespaceFluentBuilder::new(self.handle.clone())
    }
}