aws_sdk_glue/client/get_asset.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 [`GetAsset`](crate::operation::get_asset::builders::GetAssetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`identifier(impl Into<String>)`](crate::operation::get_asset::builders::GetAssetFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_asset::builders::GetAssetFluentBuilder::set_identifier):<br>required: **true**<br><p>The unique identifier of the asset to retrieve.</p><br>
7 /// - On success, responds with [`GetAssetOutput`](crate::operation::get_asset::GetAssetOutput) with field(s):
8 /// - [`id(String)`](crate::operation::get_asset::GetAssetOutput::id): <p>The unique identifier of the asset.</p>
9 /// - [`name(Option<String>)`](crate::operation::get_asset::GetAssetOutput::name): <p>The name of the asset.</p>
10 /// - [`description(Option<String>)`](crate::operation::get_asset::GetAssetOutput::description): <p>The description of the asset.</p>
11 /// - [`created_at(Option<DateTime>)`](crate::operation::get_asset::GetAssetOutput::created_at): <p>The timestamp at which the asset was created.</p>
12 /// - [`updated_at(Option<DateTime>)`](crate::operation::get_asset::GetAssetOutput::updated_at): <p>The timestamp at which the asset was last updated.</p>
13 /// - [`asset_type_id(String)`](crate::operation::get_asset::GetAssetOutput::asset_type_id): <p>The identifier of the asset type for this asset.</p>
14 /// - [`glossary_terms(Option<Vec::<String>>)`](crate::operation::get_asset::GetAssetOutput::glossary_terms): <p>The identifiers of the glossary terms associated with the asset.</p>
15 /// - [`forms(Option<HashMap::<String, AssetFormEntry>>)`](crate::operation::get_asset::GetAssetOutput::forms): <p>The forms on the asset, keyed by form name.</p>
16 /// - [`attachments(Option<HashMap::<String, AssetFormEntry>>)`](crate::operation::get_asset::GetAssetOutput::attachments): <p>Additional attachments on the asset for more context, keyed by attachment name.</p>
17 /// - [`iterable_forms(Option<HashMap::<String, IterableFormEntry>>)`](crate::operation::get_asset::GetAssetOutput::iterable_forms): <p>The iterable forms available on the asset, keyed by form name (for example, <code>columns</code>). Use the form name with <code>ListIterableForms</code> or <code>BatchGetIterableForms</code> to retrieve the form's items.</p>
18 /// - On failure, responds with [`SdkError<GetAssetError>`](crate::operation::get_asset::GetAssetError)
19 pub fn get_asset(&self) -> crate::operation::get_asset::builders::GetAssetFluentBuilder {
20 crate::operation::get_asset::builders::GetAssetFluentBuilder::new(self.handle.clone())
21 }
22}