// 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:
/// - [`asset_id(impl Into<String>)`](crate::operation::update_asset::builders::UpdateAssetFluentBuilder::asset_id) / [`set_asset_id(Option<String>)`](crate::operation::update_asset::builders::UpdateAssetFluentBuilder::set_asset_id):<br>required: **true**<br><p>The ID of the asset to update. This can be either the actual ID in UUID format, or else <code>externalId:</code> followed by the external ID, if it has one. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-id-references">Referencing objects with external IDs</a> in the <i>IoT SiteWise User Guide</i>.</p><br>
/// - [`asset_name(impl Into<String>)`](crate::operation::update_asset::builders::UpdateAssetFluentBuilder::asset_name) / [`set_asset_name(Option<String>)`](crate::operation::update_asset::builders::UpdateAssetFluentBuilder::set_asset_name):<br>required: **true**<br><p>A friendly name for 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 can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.</p><br>
/// - [`asset_description(impl Into<String>)`](crate::operation::update_asset::builders::UpdateAssetFluentBuilder::asset_description) / [`set_asset_description(Option<String>)`](crate::operation::update_asset::builders::UpdateAssetFluentBuilder::set_asset_description):<br>required: **false**<br><p>A description for the asset.</p><br>
/// - [`asset_external_id(impl Into<String>)`](crate::operation::update_asset::builders::UpdateAssetFluentBuilder::asset_external_id) / [`set_asset_external_id(Option<String>)`](crate::operation::update_asset::builders::UpdateAssetFluentBuilder::set_asset_external_id):<br>required: **false**<br><p>An external ID to assign to the asset. The asset must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids">Using external IDs</a> in the <i>IoT SiteWise User Guide</i>.</p><br>
/// - On success, responds with [`UpdateAssetOutput`](crate::operation::update_asset::UpdateAssetOutput) with field(s):
/// - [`asset_status(Option<AssetStatus>)`](crate::operation::update_asset::UpdateAssetOutput::asset_status): <p>The status of the asset, which contains a state (<code>UPDATING</code> after successfully calling this operation) and any error message.</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())
}
}