aws_sdk_iotsitewise/client/describe_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 [`DescribeAssetModelInterfaceRelationship`](crate::operation::describe_asset_model_interface_relationship::builders::DescribeAssetModelInterfaceRelationshipFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`asset_model_id(impl Into<String>)`](crate::operation::describe_asset_model_interface_relationship::builders::DescribeAssetModelInterfaceRelationshipFluentBuilder::asset_model_id) / [`set_asset_model_id(Option<String>)`](crate::operation::describe_asset_model_interface_relationship::builders::DescribeAssetModelInterfaceRelationshipFluentBuilder::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::describe_asset_model_interface_relationship::builders::DescribeAssetModelInterfaceRelationshipFluentBuilder::interface_asset_model_id) / [`set_interface_asset_model_id(Option<String>)`](crate::operation::describe_asset_model_interface_relationship::builders::DescribeAssetModelInterfaceRelationshipFluentBuilder::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 /// - On success, responds with [`DescribeAssetModelInterfaceRelationshipOutput`](crate::operation::describe_asset_model_interface_relationship::DescribeAssetModelInterfaceRelationshipOutput) with field(s):
9 /// - [`asset_model_id(String)`](crate::operation::describe_asset_model_interface_relationship::DescribeAssetModelInterfaceRelationshipOutput::asset_model_id): <p>The ID of the asset model.</p>
10 /// - [`interface_asset_model_id(String)`](crate::operation::describe_asset_model_interface_relationship::DescribeAssetModelInterfaceRelationshipOutput::interface_asset_model_id): <p>The ID of the interface asset model.</p>
11 /// - [`property_mappings(Vec::<PropertyMapping>)`](crate::operation::describe_asset_model_interface_relationship::DescribeAssetModelInterfaceRelationshipOutput::property_mappings): <p>A list of property mappings between the interface asset model and the asset model where the interface is applied.</p>
12 /// - [`hierarchy_mappings(Vec::<HierarchyMapping>)`](crate::operation::describe_asset_model_interface_relationship::DescribeAssetModelInterfaceRelationshipOutput::hierarchy_mappings): <p>A list of hierarchy mappings between the interface asset model and the asset model where the interface is applied.</p>
13 /// - On failure, responds with [`SdkError<DescribeAssetModelInterfaceRelationshipError>`](crate::operation::describe_asset_model_interface_relationship::DescribeAssetModelInterfaceRelationshipError)
14 pub fn describe_asset_model_interface_relationship(
15 &self,
16 ) -> crate::operation::describe_asset_model_interface_relationship::builders::DescribeAssetModelInterfaceRelationshipFluentBuilder {
17 crate::operation::describe_asset_model_interface_relationship::builders::DescribeAssetModelInterfaceRelationshipFluentBuilder::new(
18 self.handle.clone(),
19 )
20 }
21}