aws_sdk_iotsitewise/client/
delete_asset_model_interface_relationship.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 [`DeleteAssetModelInterfaceRelationship`](crate::operation::delete_asset_model_interface_relationship::builders::DeleteAssetModelInterfaceRelationshipFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`asset_model_id(impl Into<String>)`](crate::operation::delete_asset_model_interface_relationship::builders::DeleteAssetModelInterfaceRelationshipFluentBuilder::asset_model_id) / [`set_asset_model_id(Option<String>)`](crate::operation::delete_asset_model_interface_relationship::builders::DeleteAssetModelInterfaceRelationshipFluentBuilder::set_asset_model_id):<br>required: **true**<br><p>The ID of the asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.</p><br>
7    ///   - [`interface_asset_model_id(impl Into<String>)`](crate::operation::delete_asset_model_interface_relationship::builders::DeleteAssetModelInterfaceRelationshipFluentBuilder::interface_asset_model_id) / [`set_interface_asset_model_id(Option<String>)`](crate::operation::delete_asset_model_interface_relationship::builders::DeleteAssetModelInterfaceRelationshipFluentBuilder::set_interface_asset_model_id):<br>required: **true**<br><p>The ID of the interface asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.</p><br>
8    ///   - [`client_token(impl Into<String>)`](crate::operation::delete_asset_model_interface_relationship::builders::DeleteAssetModelInterfaceRelationshipFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_asset_model_interface_relationship::builders::DeleteAssetModelInterfaceRelationshipFluentBuilder::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>
9    /// - On success, responds with [`DeleteAssetModelInterfaceRelationshipOutput`](crate::operation::delete_asset_model_interface_relationship::DeleteAssetModelInterfaceRelationshipOutput) with field(s):
10    ///   - [`asset_model_id(String)`](crate::operation::delete_asset_model_interface_relationship::DeleteAssetModelInterfaceRelationshipOutput::asset_model_id): <p>The ID of the asset model.</p>
11    ///   - [`interface_asset_model_id(String)`](crate::operation::delete_asset_model_interface_relationship::DeleteAssetModelInterfaceRelationshipOutput::interface_asset_model_id): <p>The ID of the interface asset model.</p>
12    ///   - [`asset_model_arn(String)`](crate::operation::delete_asset_model_interface_relationship::DeleteAssetModelInterfaceRelationshipOutput::asset_model_arn): <p>The ARN of the asset model, which has the following format. <code>arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}</code></p>
13    ///   - [`asset_model_status(Option<AssetModelStatus>)`](crate::operation::delete_asset_model_interface_relationship::DeleteAssetModelInterfaceRelationshipOutput::asset_model_status): <p>Contains current status information for an asset model. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-and-model-states.html">Asset and model states</a> in the <i>IoT SiteWise User Guide</i>.</p>
14    /// - On failure, responds with [`SdkError<DeleteAssetModelInterfaceRelationshipError>`](crate::operation::delete_asset_model_interface_relationship::DeleteAssetModelInterfaceRelationshipError)
15    pub fn delete_asset_model_interface_relationship(
16        &self,
17    ) -> crate::operation::delete_asset_model_interface_relationship::builders::DeleteAssetModelInterfaceRelationshipFluentBuilder {
18        crate::operation::delete_asset_model_interface_relationship::builders::DeleteAssetModelInterfaceRelationshipFluentBuilder::new(
19            self.handle.clone(),
20        )
21    }
22}