#[non_exhaustive]pub struct CreateAssetModelOutput {
pub asset_model_id: String,
pub asset_model_arn: String,
pub asset_model_status: Option<AssetModelStatus>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.asset_model_id: StringThe ID of the asset model, in UUID format. You can use this ID when you call other IoT SiteWise API operations.
asset_model_arn: StringThe ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
asset_model_status: Option<AssetModelStatus>The status of the asset model, which contains a state (CREATING after successfully calling this operation) and any error message.
Implementations§
source§impl CreateAssetModelOutput
impl CreateAssetModelOutput
sourcepub fn asset_model_id(&self) -> &str
pub fn asset_model_id(&self) -> &str
The ID of the asset model, in UUID format. You can use this ID when you call other IoT SiteWise API operations.
sourcepub fn asset_model_arn(&self) -> &str
pub fn asset_model_arn(&self) -> &str
The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
sourcepub fn asset_model_status(&self) -> Option<&AssetModelStatus>
pub fn asset_model_status(&self) -> Option<&AssetModelStatus>
The status of the asset model, which contains a state (CREATING after successfully calling this operation) and any error message.
source§impl CreateAssetModelOutput
impl CreateAssetModelOutput
sourcepub fn builder() -> CreateAssetModelOutputBuilder
pub fn builder() -> CreateAssetModelOutputBuilder
Creates a new builder-style object to manufacture CreateAssetModelOutput.
Trait Implementations§
source§impl Clone for CreateAssetModelOutput
impl Clone for CreateAssetModelOutput
source§fn clone(&self) -> CreateAssetModelOutput
fn clone(&self) -> CreateAssetModelOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateAssetModelOutput
impl Debug for CreateAssetModelOutput
source§impl PartialEq for CreateAssetModelOutput
impl PartialEq for CreateAssetModelOutput
source§fn eq(&self, other: &CreateAssetModelOutput) -> bool
fn eq(&self, other: &CreateAssetModelOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for CreateAssetModelOutput
impl RequestId for CreateAssetModelOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.