aws_sdk_datazone/client/get_data_product.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetDataProduct`](crate::operation::get_data_product::builders::GetDataProductFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - On success, responds with [`GetDataProductOutput`](crate::operation::get_data_product::GetDataProductOutput) with field(s):
10 /// - [`domain_id(String)`](crate::operation::get_data_product::GetDataProductOutput::domain_id): <p>The ID of the domain where the data product lives.</p>
11 /// - [`id(String)`](crate::operation::get_data_product::GetDataProductOutput::id): <p>The ID of the data product.</p>
12 /// - [`revision(String)`](crate::operation::get_data_product::GetDataProductOutput::revision): <p>The revision of the data product.</p>
13 /// - [`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>
14 /// - [`name(String)`](crate::operation::get_data_product::GetDataProductOutput::name): <p>The name of the data product.</p>
15 /// - [`status(DataProductStatus)`](crate::operation::get_data_product::GetDataProductOutput::status): <p>The status of the data product.</p>
16 /// - [`description(Option<String>)`](crate::operation::get_data_product::GetDataProductOutput::description): <p>The description of the data product.</p>
17 /// - [`glossary_terms(Option<Vec::<String>>)`](crate::operation::get_data_product::GetDataProductOutput::glossary_terms): <p>The glossary terms of the data product.</p>
18 /// - [`items(Option<Vec::<DataProductItem>>)`](crate::operation::get_data_product::GetDataProductOutput::items): <p>The data assets of the data product.</p>
19 /// - [`forms_output(Option<Vec::<FormOutput>>)`](crate::operation::get_data_product::GetDataProductOutput::forms_output): <p>The metadata forms of the data product.</p>
20 /// - [`created_at(Option<DateTime>)`](crate::operation::get_data_product::GetDataProductOutput::created_at): <p>The timestamp at which the data product is created.</p>
21 /// - [`created_by(Option<String>)`](crate::operation::get_data_product::GetDataProductOutput::created_by): <p>The user who created the data product.</p>
22 /// - [`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>
23 /// - [`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>
24 /// - On failure, responds with [`SdkError<GetDataProductError>`](crate::operation::get_data_product::GetDataProductError)
25 pub fn get_data_product(&self) -> crate::operation::get_data_product::builders::GetDataProductFluentBuilder {
26 crate::operation::get_data_product::builders::GetDataProductFluentBuilder::new(self.handle.clone())
27 }
28}