aws-sdk-glue 1.163.0

AWS SDK for AWS Glue
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAsset`](crate::operation::get_asset::builders::GetAssetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`GetAssetOutput`](crate::operation::get_asset::GetAssetOutput) with field(s):
    ///   - [`id(String)`](crate::operation::get_asset::GetAssetOutput::id): <p>The unique identifier of the asset.</p>
    ///   - [`name(Option<String>)`](crate::operation::get_asset::GetAssetOutput::name): <p>The name of the asset.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_asset::GetAssetOutput::description): <p>The description of the asset.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_asset::GetAssetOutput::created_at): <p>The timestamp at which the asset was created.</p>
    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_asset::GetAssetOutput::updated_at): <p>The timestamp at which the asset was last updated.</p>
    ///   - [`asset_type_id(String)`](crate::operation::get_asset::GetAssetOutput::asset_type_id): <p>The identifier of the asset type for this asset.</p>
    ///   - [`glossary_terms(Option<Vec::<String>>)`](crate::operation::get_asset::GetAssetOutput::glossary_terms): <p>The identifiers of the glossary terms associated with the asset.</p>
    ///   - [`forms(Option<HashMap::<String, AssetFormEntry>>)`](crate::operation::get_asset::GetAssetOutput::forms): <p>The forms on the asset, keyed by form name.</p>
    ///   - [`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>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<GetAssetError>`](crate::operation::get_asset::GetAssetError)
    pub fn get_asset(&self) -> crate::operation::get_asset::builders::GetAssetFluentBuilder {
        crate::operation::get_asset::builders::GetAssetFluentBuilder::new(self.handle.clone())
    }
}