#[non_exhaustive]pub struct UpdateAssetInput {
pub asset_id: Option<String>,
pub asset_name: Option<String>,
pub client_token: Option<String>,
pub asset_description: Option<String>,
pub asset_external_id: Option<String>,
}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_id: Option<String>The ID of the asset to update. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
asset_name: Option<String>A friendly name for the asset.
client_token: Option<String>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.
asset_description: Option<String>A description for the asset.
asset_external_id: Option<String>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 Using external IDs in the IoT SiteWise User Guide.
Implementations§
source§impl UpdateAssetInput
impl UpdateAssetInput
sourcepub fn asset_id(&self) -> Option<&str>
pub fn asset_id(&self) -> Option<&str>
The ID of the asset to update. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
sourcepub fn asset_name(&self) -> Option<&str>
pub fn asset_name(&self) -> Option<&str>
A friendly name for the asset.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
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.
sourcepub fn asset_description(&self) -> Option<&str>
pub fn asset_description(&self) -> Option<&str>
A description for the asset.
sourcepub fn asset_external_id(&self) -> Option<&str>
pub fn asset_external_id(&self) -> Option<&str>
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 Using external IDs in the IoT SiteWise User Guide.
source§impl UpdateAssetInput
impl UpdateAssetInput
sourcepub fn builder() -> UpdateAssetInputBuilder
pub fn builder() -> UpdateAssetInputBuilder
Creates a new builder-style object to manufacture UpdateAssetInput.
Trait Implementations§
source§impl Clone for UpdateAssetInput
impl Clone for UpdateAssetInput
source§fn clone(&self) -> UpdateAssetInput
fn clone(&self) -> UpdateAssetInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateAssetInput
impl Debug for UpdateAssetInput
source§impl PartialEq for UpdateAssetInput
impl PartialEq for UpdateAssetInput
source§fn eq(&self, other: &UpdateAssetInput) -> bool
fn eq(&self, other: &UpdateAssetInput) -> bool
self and other values to be equal, and is used
by ==.