aws-sdk-supplychain 1.97.0

AWS SDK for AWS Supply Chain
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateDataLakeDataset`](crate::operation::create_data_lake_dataset::builders::CreateDataLakeDatasetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::create_data_lake_dataset::builders::CreateDataLakeDatasetFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::create_data_lake_dataset::builders::CreateDataLakeDatasetFluentBuilder::set_instance_id):<br>required: **true**<br><p>The Amazon Web Services Supply Chain instance identifier.</p><br>
    ///   - [`namespace(impl Into<String>)`](crate::operation::create_data_lake_dataset::builders::CreateDataLakeDatasetFluentBuilder::namespace) / [`set_namespace(Option<String>)`](crate::operation::create_data_lake_dataset::builders::CreateDataLakeDatasetFluentBuilder::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::create_data_lake_dataset::builders::CreateDataLakeDatasetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_data_lake_dataset::builders::CreateDataLakeDatasetFluentBuilder::set_name):<br>required: **true**<br><p>The name of the dataset. For <b>asc</b> name space, 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>
    ///   - [`schema(DataLakeDatasetSchema)`](crate::operation::create_data_lake_dataset::builders::CreateDataLakeDatasetFluentBuilder::schema) / [`set_schema(Option<DataLakeDatasetSchema>)`](crate::operation::create_data_lake_dataset::builders::CreateDataLakeDatasetFluentBuilder::set_schema):<br>required: **false**<br><p>The custom schema of the data lake dataset and required for dataset in <b>default</b> and custom namespaces.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_data_lake_dataset::builders::CreateDataLakeDatasetFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_data_lake_dataset::builders::CreateDataLakeDatasetFluentBuilder::set_description):<br>required: **false**<br><p>The description of the dataset.</p><br>
    ///   - [`partition_spec(DataLakeDatasetPartitionSpec)`](crate::operation::create_data_lake_dataset::builders::CreateDataLakeDatasetFluentBuilder::partition_spec) / [`set_partition_spec(Option<DataLakeDatasetPartitionSpec>)`](crate::operation::create_data_lake_dataset::builders::CreateDataLakeDatasetFluentBuilder::set_partition_spec):<br>required: **false**<br><p>The partition specification of the dataset. Partitioning can effectively improve the dataset query performance by reducing the amount of data scanned during query execution. But partitioning or not will affect how data get ingested by data ingestion methods, such as SendDataIntegrationEvent's dataset UPSERT will upsert records within partition (instead of within whole dataset). For more details, refer to those data ingestion documentations.</p><br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_data_lake_dataset::builders::CreateDataLakeDatasetFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_data_lake_dataset::builders::CreateDataLakeDatasetFluentBuilder::set_tags):<br>required: **false**<br><p>The tags of the dataset.</p><br>
    /// - On success, responds with [`CreateDataLakeDatasetOutput`](crate::operation::create_data_lake_dataset::CreateDataLakeDatasetOutput) with field(s):
    ///   - [`dataset(Option<DataLakeDataset>)`](crate::operation::create_data_lake_dataset::CreateDataLakeDatasetOutput::dataset): <p>The detail of created dataset.</p>
    /// - On failure, responds with [`SdkError<CreateDataLakeDatasetError>`](crate::operation::create_data_lake_dataset::CreateDataLakeDatasetError)
    pub fn create_data_lake_dataset(&self) -> crate::operation::create_data_lake_dataset::builders::CreateDataLakeDatasetFluentBuilder {
        crate::operation::create_data_lake_dataset::builders::CreateDataLakeDatasetFluentBuilder::new(self.handle.clone())
    }
}