aws_sdk_datazone/client/
create_data_product_revision.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateDataProductRevision`](crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain where the data product revision is created.</p><br>
    ///   - [`identifier(impl Into<String>)`](crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the data product revision.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder::set_name):<br>required: **true**<br><p>The name of the data product revision.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder::set_description):<br>required: **false**<br><p>The description of the data product revision.</p><br>
    ///   - [`glossary_terms(impl Into<String>)`](crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder::glossary_terms) / [`set_glossary_terms(Option<Vec::<String>>)`](crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder::set_glossary_terms):<br>required: **false**<br><p>The glossary terms of the data product revision.</p><br>
    ///   - [`items(DataProductItem)`](crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder::items) / [`set_items(Option<Vec::<DataProductItem>>)`](crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder::set_items):<br>required: **false**<br><p>The data assets of the data product revision.</p><br>
    ///   - [`forms_input(FormInput)`](crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder::forms_input) / [`set_forms_input(Option<Vec::<FormInput>>)`](crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder::set_forms_input):<br>required: **false**<br><p>The metadata forms of the data product revision.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.</p><br>
    /// - On success, responds with [`CreateDataProductRevisionOutput`](crate::operation::create_data_product_revision::CreateDataProductRevisionOutput) with field(s):
    ///   - [`domain_id(String)`](crate::operation::create_data_product_revision::CreateDataProductRevisionOutput::domain_id): <p>The ID of the domain where data product revision is created.</p>
    ///   - [`id(String)`](crate::operation::create_data_product_revision::CreateDataProductRevisionOutput::id): <p>The ID of the data product revision.</p>
    ///   - [`revision(String)`](crate::operation::create_data_product_revision::CreateDataProductRevisionOutput::revision): <p>The revision of the data product revision.</p>
    ///   - [`owning_project_id(String)`](crate::operation::create_data_product_revision::CreateDataProductRevisionOutput::owning_project_id): <p>The ID of the owning project of the data product revision.</p>
    ///   - [`name(String)`](crate::operation::create_data_product_revision::CreateDataProductRevisionOutput::name): <p>The name of the data product revision.</p>
    ///   - [`status(DataProductStatus)`](crate::operation::create_data_product_revision::CreateDataProductRevisionOutput::status): <p>The status of the data product revision.</p>
    ///   - [`description(Option<String>)`](crate::operation::create_data_product_revision::CreateDataProductRevisionOutput::description): <p>The description of the data product revision.</p>
    ///   - [`glossary_terms(Option<Vec::<String>>)`](crate::operation::create_data_product_revision::CreateDataProductRevisionOutput::glossary_terms): <p>The glossary terms of the data product revision.</p>
    ///   - [`items(Option<Vec::<DataProductItem>>)`](crate::operation::create_data_product_revision::CreateDataProductRevisionOutput::items): <p>The data assets of the data product revision.</p>
    ///   - [`forms_output(Option<Vec::<FormOutput>>)`](crate::operation::create_data_product_revision::CreateDataProductRevisionOutput::forms_output): <p>The metadata forms of the data product revision.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::create_data_product_revision::CreateDataProductRevisionOutput::created_at): <p>The timestamp at which the data product revision is created.</p>
    ///   - [`created_by(Option<String>)`](crate::operation::create_data_product_revision::CreateDataProductRevisionOutput::created_by): <p>The user who created the data product revision.</p>
    ///   - [`first_revision_created_at(Option<DateTime>)`](crate::operation::create_data_product_revision::CreateDataProductRevisionOutput::first_revision_created_at): <p>The timestamp at which the first revision of the data product is created.</p>
    ///   - [`first_revision_created_by(Option<String>)`](crate::operation::create_data_product_revision::CreateDataProductRevisionOutput::first_revision_created_by): <p>The user who created the first revision of the data product.</p>
    /// - On failure, responds with [`SdkError<CreateDataProductRevisionError>`](crate::operation::create_data_product_revision::CreateDataProductRevisionError)
    pub fn create_data_product_revision(&self) -> crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder {
        crate::operation::create_data_product_revision::builders::CreateDataProductRevisionFluentBuilder::new(self.handle.clone())
    }
}