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 [`UpdateAsset`](crate::operation::update_asset::builders::UpdateAssetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`identifier(impl Into<String>)`](crate::operation::update_asset::builders::UpdateAssetFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::update_asset::builders::UpdateAssetFluentBuilder::set_identifier):<br>required: **true**<br><p>The unique identifier of the asset to update.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_asset::builders::UpdateAssetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_asset::builders::UpdateAssetFluentBuilder::set_name):<br>required: **false**<br><p>The new name of the asset.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_asset::builders::UpdateAssetFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_asset::builders::UpdateAssetFluentBuilder::set_description):<br>required: **false**<br><p>The new description of the asset.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::update_asset::builders::UpdateAssetFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_asset::builders::UpdateAssetFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p><br>
    /// - On success, responds with [`UpdateAssetOutput`](crate::operation::update_asset::UpdateAssetOutput) with field(s):
    ///   - [`id(String)`](crate::operation::update_asset::UpdateAssetOutput::id): <p>The unique identifier of the asset.</p>
    ///   - [`name(Option<String>)`](crate::operation::update_asset::UpdateAssetOutput::name): <p>The name of the asset.</p>
    ///   - [`description(Option<String>)`](crate::operation::update_asset::UpdateAssetOutput::description): <p>The description of the asset.</p>
    ///   - [`updated_at(Option<DateTime>)`](crate::operation::update_asset::UpdateAssetOutput::updated_at): <p>The timestamp at which the asset was last updated.</p>
    /// - On failure, responds with [`SdkError<UpdateAssetError>`](crate::operation::update_asset::UpdateAssetError)
    pub fn update_asset(&self) -> crate::operation::update_asset::builders::UpdateAssetFluentBuilder {
        crate::operation::update_asset::builders::UpdateAssetFluentBuilder::new(self.handle.clone())
    }
}