aws_sdk_datazone/client/
get_data_product.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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDataProduct`](crate::operation::get_data_product::builders::GetDataProductFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::get_data_product::builders::GetDataProductFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::get_data_product::builders::GetDataProductFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain where the data product lives.</p><br>
    ///   - [`identifier(impl Into<String>)`](crate::operation::get_data_product::builders::GetDataProductFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_data_product::builders::GetDataProductFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the data product.</p><br>
    ///   - [`revision(impl Into<String>)`](crate::operation::get_data_product::builders::GetDataProductFluentBuilder::revision) / [`set_revision(Option<String>)`](crate::operation::get_data_product::builders::GetDataProductFluentBuilder::set_revision):<br>required: **false**<br><p>The revision of the data product.</p><br>
    /// - On success, responds with [`GetDataProductOutput`](crate::operation::get_data_product::GetDataProductOutput) with field(s):
    ///   - [`domain_id(String)`](crate::operation::get_data_product::GetDataProductOutput::domain_id): <p>The ID of the domain where the data product lives.</p>
    ///   - [`id(String)`](crate::operation::get_data_product::GetDataProductOutput::id): <p>The ID of the data product.</p>
    ///   - [`revision(String)`](crate::operation::get_data_product::GetDataProductOutput::revision): <p>The revision of the data product.</p>
    ///   - [`owning_project_id(String)`](crate::operation::get_data_product::GetDataProductOutput::owning_project_id): <p>The ID of the owning project of the data product.</p>
    ///   - [`name(String)`](crate::operation::get_data_product::GetDataProductOutput::name): <p>The name of the data product.</p>
    ///   - [`status(DataProductStatus)`](crate::operation::get_data_product::GetDataProductOutput::status): <p>The status of the data product.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_data_product::GetDataProductOutput::description): <p>The description of the data product.</p>
    ///   - [`glossary_terms(Option<Vec::<String>>)`](crate::operation::get_data_product::GetDataProductOutput::glossary_terms): <p>The glossary terms of the data product.</p>
    ///   - [`items(Option<Vec::<DataProductItem>>)`](crate::operation::get_data_product::GetDataProductOutput::items): <p>The data assets of the data product.</p>
    ///   - [`forms_output(Option<Vec::<FormOutput>>)`](crate::operation::get_data_product::GetDataProductOutput::forms_output): <p>The metadata forms of the data product.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_data_product::GetDataProductOutput::created_at): <p>The timestamp at which the data product is created.</p>
    ///   - [`created_by(Option<String>)`](crate::operation::get_data_product::GetDataProductOutput::created_by): <p>The user who created the data product.</p>
    ///   - [`first_revision_created_at(Option<DateTime>)`](crate::operation::get_data_product::GetDataProductOutput::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::get_data_product::GetDataProductOutput::first_revision_created_by): <p>The user who created the first revision of the data product.</p>
    /// - On failure, responds with [`SdkError<GetDataProductError>`](crate::operation::get_data_product::GetDataProductError)
    pub fn get_data_product(&self) -> crate::operation::get_data_product::builders::GetDataProductFluentBuilder {
        crate::operation::get_data_product::builders::GetDataProductFluentBuilder::new(self.handle.clone())
    }
}