pub struct Client { /* private fields */ }
Expand description
Client for AWS IoT SiteWise
Client for invoking operations on AWS IoT SiteWise. Each operation on AWS IoT SiteWise is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
§Constructing a Client
A Config
is required to construct a client. For most use cases, the aws-config
crate should be used to automatically resolve this config using
aws_config::load_from_env()
, since this will resolve an SdkConfig
which can be shared
across multiple different AWS SDK clients. This config resolution process can be customized
by calling aws_config::from_env()
instead, which returns a ConfigLoader
that uses
the builder pattern to customize the default config.
In the simplest case, creating a client looks as follows:
let config = aws_config::load_from_env().await;
let client = aws_sdk_iotsitewise::Client::new(&config);
Occasionally, SDKs may have additional service-specific values that can be set on the Config
that
is absent from SdkConfig
, or slightly different settings for a specific client may be desired.
The Builder
struct implements From<&SdkConfig>
, so setting these specific settings can be
done as follows:
let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_iotsitewise::config::Builder::from(&sdk_config)
.some_service_specific_setting("value")
.build();
See the aws-config
docs and Config
for more information on customizing configuration.
Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.
§Using the Client
A client has a function for every operation that can be performed by the service.
For example, the AssociateAssets
operation has
a Client::associate_assets
, function which returns a builder for that operation.
The fluent builder ultimately has a send()
function that returns an async future that
returns a result, as illustrated below:
let result = client.associate_assets()
.asset_id("example")
.send()
.await;
The underlying HTTP requests that get made by this can be modified with the customize_operation
function on the fluent builder. See the customize
module for more
information.
§Waiters
This client provides wait_until
methods behind the Waiters
trait.
To use them, simply import the trait, and then call one of the wait_until
methods. This will
return a waiter fluent builder that takes various parameters, which are documented on the builder
type. Once parameters have been provided, the wait
method can be called to initiate waiting.
For example, if there was a wait_until_thing
method, it could look like:
let result = client.wait_until_thing()
.thing_id("someId")
.wait(Duration::from_secs(120))
.await;
Implementations§
Source§impl Client
impl Client
Sourcepub fn associate_assets(&self) -> AssociateAssetsFluentBuilder
pub fn associate_assets(&self) -> AssociateAssetsFluentBuilder
Constructs a fluent builder for the AssociateAssets
operation.
- The fluent builder is configurable:
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: trueThe ID of the parent asset. 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.hierarchy_id(impl Into<String>)
/set_hierarchy_id(Option<String>)
:
required: trueThe ID of a hierarchy in the parent asset’s model. (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.) Hierarchies allow different groupings of assets to be formed that all come from the same asset model. For more information, see Asset hierarchies in the IoT SiteWise User Guide.child_asset_id(impl Into<String>)
/set_child_asset_id(Option<String>)
:
required: trueThe ID of the child asset to be associated. 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.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
AssociateAssetsOutput
- On failure, responds with
SdkError<AssociateAssetsError>
Source§impl Client
impl Client
Sourcepub fn associate_time_series_to_asset_property(
&self,
) -> AssociateTimeSeriesToAssetPropertyFluentBuilder
pub fn associate_time_series_to_asset_property( &self, ) -> AssociateTimeSeriesToAssetPropertyFluentBuilder
Constructs a fluent builder for the AssociateTimeSeriesToAssetProperty
operation.
- The fluent builder is configurable:
alias(impl Into<String>)
/set_alias(Option<String>)
:
required: trueThe alias that identifies the time series.
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: trueThe ID of the asset in which the asset property was created. 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.property_id(impl Into<String>)
/set_property_id(Option<String>)
:
required: trueThe ID of the asset property. 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.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
AssociateTimeSeriesToAssetPropertyOutput
- On failure, responds with
SdkError<AssociateTimeSeriesToAssetPropertyError>
Source§impl Client
impl Client
Sourcepub fn batch_associate_project_assets(
&self,
) -> BatchAssociateProjectAssetsFluentBuilder
pub fn batch_associate_project_assets( &self, ) -> BatchAssociateProjectAssetsFluentBuilder
Constructs a fluent builder for the BatchAssociateProjectAssets
operation.
- The fluent builder is configurable:
project_id(impl Into<String>)
/set_project_id(Option<String>)
:
required: trueThe ID of the project to which to associate the assets.
asset_ids(impl Into<String>)
/set_asset_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the assets to be associated to the project.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
BatchAssociateProjectAssetsOutput
with field(s):errors(Option<Vec::<AssetErrorDetails>>)
:A list of associated error information, if any.
- On failure, responds with
SdkError<BatchAssociateProjectAssetsError>
Source§impl Client
impl Client
Sourcepub fn batch_disassociate_project_assets(
&self,
) -> BatchDisassociateProjectAssetsFluentBuilder
pub fn batch_disassociate_project_assets( &self, ) -> BatchDisassociateProjectAssetsFluentBuilder
Constructs a fluent builder for the BatchDisassociateProjectAssets
operation.
- The fluent builder is configurable:
project_id(impl Into<String>)
/set_project_id(Option<String>)
:
required: trueThe ID of the project from which to disassociate the assets.
asset_ids(impl Into<String>)
/set_asset_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the assets to be disassociated from the project.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
BatchDisassociateProjectAssetsOutput
with field(s):errors(Option<Vec::<AssetErrorDetails>>)
:A list of associated error information, if any.
- On failure, responds with
SdkError<BatchDisassociateProjectAssetsError>
Source§impl Client
impl Client
Sourcepub fn batch_get_asset_property_aggregates(
&self,
) -> BatchGetAssetPropertyAggregatesFluentBuilder
pub fn batch_get_asset_property_aggregates( &self, ) -> BatchGetAssetPropertyAggregatesFluentBuilder
Constructs a fluent builder for the BatchGetAssetPropertyAggregates
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
entries(BatchGetAssetPropertyAggregatesEntry)
/set_entries(Option<Vec::<BatchGetAssetPropertyAggregatesEntry>>)
:
required: trueThe list of asset property aggregate entries for the batch get request. You can specify up to 16 entries per request.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request. A result set is returned in the two cases, whichever occurs first.
-
The size of the result set is equal to 1 MB.
-
The number of data points in the result set is equal to the value of
maxResults
. The maximum value ofmaxResults
is 4000.
-
- On success, responds with
BatchGetAssetPropertyAggregatesOutput
with field(s):error_entries(Vec::<BatchGetAssetPropertyAggregatesErrorEntry>)
:A list of the errors (if any) associated with the batch request. Each error entry contains the
entryId
of the entry that failed.success_entries(Vec::<BatchGetAssetPropertyAggregatesSuccessEntry>)
:A list of entries that were processed successfully by this batch request. Each success entry contains the
entryId
of the entry that succeeded and the latest query result.skipped_entries(Vec::<BatchGetAssetPropertyAggregatesSkippedEntry>)
:A list of entries that were not processed by this batch request. because these entries had been completely processed by previous paginated requests. Each skipped entry contains the
entryId
of the entry that skipped.next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<BatchGetAssetPropertyAggregatesError>
Source§impl Client
impl Client
Sourcepub fn batch_get_asset_property_value(
&self,
) -> BatchGetAssetPropertyValueFluentBuilder
pub fn batch_get_asset_property_value( &self, ) -> BatchGetAssetPropertyValueFluentBuilder
Constructs a fluent builder for the BatchGetAssetPropertyValue
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
entries(BatchGetAssetPropertyValueEntry)
/set_entries(Option<Vec::<BatchGetAssetPropertyValueEntry>>)
:
required: trueThe list of asset property value entries for the batch get request. You can specify up to 128 entries per request.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
- On success, responds with
BatchGetAssetPropertyValueOutput
with field(s):error_entries(Vec::<BatchGetAssetPropertyValueErrorEntry>)
:A list of the errors (if any) associated with the batch request. Each error entry contains the
entryId
of the entry that failed.success_entries(Vec::<BatchGetAssetPropertyValueSuccessEntry>)
:A list of entries that were processed successfully by this batch request. Each success entry contains the
entryId
of the entry that succeeded and the latest query result.skipped_entries(Vec::<BatchGetAssetPropertyValueSkippedEntry>)
:A list of entries that were not processed by this batch request. because these entries had been completely processed by previous paginated requests. Each skipped entry contains the
entryId
of the entry that skipped.next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<BatchGetAssetPropertyValueError>
Source§impl Client
impl Client
Sourcepub fn batch_get_asset_property_value_history(
&self,
) -> BatchGetAssetPropertyValueHistoryFluentBuilder
pub fn batch_get_asset_property_value_history( &self, ) -> BatchGetAssetPropertyValueHistoryFluentBuilder
Constructs a fluent builder for the BatchGetAssetPropertyValueHistory
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
entries(BatchGetAssetPropertyValueHistoryEntry)
/set_entries(Option<Vec::<BatchGetAssetPropertyValueHistoryEntry>>)
:
required: trueThe list of asset property historical value entries for the batch get request. You can specify up to 16 entries per request.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request. A result set is returned in the two cases, whichever occurs first.
-
The size of the result set is equal to 4 MB.
-
The number of data points in the result set is equal to the value of
maxResults
. The maximum value ofmaxResults
is 20000.
-
- On success, responds with
BatchGetAssetPropertyValueHistoryOutput
with field(s):error_entries(Vec::<BatchGetAssetPropertyValueHistoryErrorEntry>)
:A list of the errors (if any) associated with the batch request. Each error entry contains the
entryId
of the entry that failed.success_entries(Vec::<BatchGetAssetPropertyValueHistorySuccessEntry>)
:A list of entries that were processed successfully by this batch request. Each success entry contains the
entryId
of the entry that succeeded and the latest query result.skipped_entries(Vec::<BatchGetAssetPropertyValueHistorySkippedEntry>)
:A list of entries that were not processed by this batch request. because these entries had been completely processed by previous paginated requests. Each skipped entry contains the
entryId
of the entry that skipped.next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<BatchGetAssetPropertyValueHistoryError>
Source§impl Client
impl Client
Sourcepub fn batch_put_asset_property_value(
&self,
) -> BatchPutAssetPropertyValueFluentBuilder
pub fn batch_put_asset_property_value( &self, ) -> BatchPutAssetPropertyValueFluentBuilder
Constructs a fluent builder for the BatchPutAssetPropertyValue
operation.
- The fluent builder is configurable:
enable_partial_entry_processing(bool)
/set_enable_partial_entry_processing(Option<bool>)
:
required: falseThis setting enables partial ingestion at entry-level. If set to
true
, we ingest all TQVs not resulting in an error. If set tofalse
, an invalid TQV fails ingestion of the entire entry that contains it.entries(PutAssetPropertyValueEntry)
/set_entries(Option<Vec::<PutAssetPropertyValueEntry>>)
:
required: trueThe list of asset property value entries for the batch put request. You can specify up to 10 entries per request.
- On success, responds with
BatchPutAssetPropertyValueOutput
with field(s):error_entries(Vec::<BatchPutAssetPropertyErrorEntry>)
:A list of the errors (if any) associated with the batch put request. Each error entry contains the
entryId
of the entry that failed.
- On failure, responds with
SdkError<BatchPutAssetPropertyValueError>
Source§impl Client
impl Client
Sourcepub fn create_access_policy(&self) -> CreateAccessPolicyFluentBuilder
pub fn create_access_policy(&self) -> CreateAccessPolicyFluentBuilder
Constructs a fluent builder for the CreateAccessPolicy
operation.
- The fluent builder is configurable:
access_policy_identity(Identity)
/set_access_policy_identity(Option<Identity>)
:
required: trueThe identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.
access_policy_resource(Resource)
/set_access_policy_resource(Option<Resource>)
:
required: trueThe IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.
access_policy_permission(Permission)
/set_access_policy_permission(Option<Permission>)
:
required: trueThe permission level for this access policy. Note that a project
ADMINISTRATOR
is also known as a project owner.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseA list of key-value pairs that contain metadata for the access policy. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
- On success, responds with
CreateAccessPolicyOutput
with field(s):access_policy_id(String)
:The ID of the access policy.
access_policy_arn(String)
:The ARN of the access policy, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
- On failure, responds with
SdkError<CreateAccessPolicyError>
Source§impl Client
impl Client
Sourcepub fn create_asset(&self) -> CreateAssetFluentBuilder
pub fn create_asset(&self) -> CreateAssetFluentBuilder
Constructs a fluent builder for the CreateAsset
operation.
- The fluent builder is configurable:
asset_name(impl Into<String>)
/set_asset_name(Option<String>)
:
required: trueA friendly name for the asset.
asset_model_id(impl Into<String>)
/set_asset_model_id(Option<String>)
:
required: trueThe ID of the asset model from which to create the asset. 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_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: falseThe ID to assign to the asset, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.
asset_external_id(impl Into<String>)
/set_asset_external_id(Option<String>)
:
required: falseAn external ID to assign to the asset. 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.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseA list of key-value pairs that contain metadata for the asset. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
asset_description(impl Into<String>)
/set_asset_description(Option<String>)
:
required: falseA description for the asset.
- On success, responds with
CreateAssetOutput
with field(s):asset_id(String)
:The ID of the asset, in UUID format. This ID uniquely identifies the asset within IoT SiteWise and can be used with other IoT SiteWise API operations.
asset_arn(String)
:The ARN of the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
asset_status(Option<AssetStatus>)
:The status of the asset, which contains a state (
CREATING
after successfully calling this operation) and any error message.
- On failure, responds with
SdkError<CreateAssetError>
Source§impl Client
impl Client
Sourcepub fn create_asset_model(&self) -> CreateAssetModelFluentBuilder
pub fn create_asset_model(&self) -> CreateAssetModelFluentBuilder
Constructs a fluent builder for the CreateAssetModel
operation.
- The fluent builder is configurable:
asset_model_name(impl Into<String>)
/set_asset_model_name(Option<String>)
:
required: trueA unique name for the asset model.
asset_model_type(AssetModelType)
/set_asset_model_type(Option<AssetModelType>)
:
required: falseThe type of asset model.
-
ASSET_MODEL – (default) An asset model that you can use to create assets. Can’t be included as a component in another asset model.
-
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can’t create assets directly from this type of asset model.
-
asset_model_id(impl Into<String>)
/set_asset_model_id(Option<String>)
:
required: falseThe ID to assign to the asset model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.
asset_model_external_id(impl Into<String>)
/set_asset_model_external_id(Option<String>)
:
required: falseAn external ID to assign to the asset model. 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.
asset_model_description(impl Into<String>)
/set_asset_model_description(Option<String>)
:
required: falseA description for the asset model.
asset_model_properties(AssetModelPropertyDefinition)
/set_asset_model_properties(Option<Vec::<AssetModelPropertyDefinition>>)
:
required: falseThe property definitions of the asset model. For more information, see Asset properties in the IoT SiteWise User Guide.
You can specify up to 200 properties per asset model. For more information, see Quotas in the IoT SiteWise User Guide.
asset_model_hierarchies(AssetModelHierarchyDefinition)
/set_asset_model_hierarchies(Option<Vec::<AssetModelHierarchyDefinition>>)
:
required: falseThe hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. For more information, see Asset hierarchies in the IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the IoT SiteWise User Guide.
asset_model_composite_models(AssetModelCompositeModelDefinition)
/set_asset_model_composite_models(Option<Vec::<AssetModelCompositeModelDefinition>>)
:
required: falseThe composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model.
When creating custom composite models, you need to use CreateAssetModelCompositeModel. For more information, see Creating custom composite models (Components) in the IoT SiteWise User Guide.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseA list of key-value pairs that contain metadata for the asset model. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
- On success, responds with
CreateAssetModelOutput
with field(s):asset_model_id(String)
:The ID of the asset model, in UUID format. You can use this ID when you call other IoT SiteWise API operations.
asset_model_arn(String)
:The 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.
- On failure, responds with
SdkError<CreateAssetModelError>
Source§impl Client
impl Client
Sourcepub fn create_asset_model_composite_model(
&self,
) -> CreateAssetModelCompositeModelFluentBuilder
pub fn create_asset_model_composite_model( &self, ) -> CreateAssetModelCompositeModelFluentBuilder
Constructs a fluent builder for the CreateAssetModelCompositeModel
operation.
- The fluent builder is configurable:
asset_model_id(impl Into<String>)
/set_asset_model_id(Option<String>)
:
required: trueThe ID of the asset model this composite model is a part of.
asset_model_composite_model_external_id(impl Into<String>)
/set_asset_model_composite_model_external_id(Option<String>)
:
required: falseAn external ID to assign to the composite model.
If the composite model is a derived composite model, or one nested inside a component model, you can only set the external ID using
UpdateAssetModelCompositeModel
and specifying the derived ID of the model or property from the created model it’s a part of.parent_asset_model_composite_model_id(impl Into<String>)
/set_parent_asset_model_composite_model_id(Option<String>)
:
required: falseThe ID of the parent composite model in this asset model relationship.
asset_model_composite_model_id(impl Into<String>)
/set_asset_model_composite_model_id(Option<String>)
:
required: falseThe ID of the composite model. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.
asset_model_composite_model_description(impl Into<String>)
/set_asset_model_composite_model_description(Option<String>)
:
required: falseA description for the composite model.
asset_model_composite_model_name(impl Into<String>)
/set_asset_model_composite_model_name(Option<String>)
:
required: trueA unique name for the composite model.
asset_model_composite_model_type(impl Into<String>)
/set_asset_model_composite_model_type(Option<String>)
:
required: trueThe composite model type. Valid values are
AWS/ALARM
,CUSTOM
, orAWS/L4E_ANOMALY
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
composed_asset_model_id(impl Into<String>)
/set_composed_asset_model_id(Option<String>)
:
required: falseThe ID of a component model which is reused to create this composite model.
asset_model_composite_model_properties(AssetModelPropertyDefinition)
/set_asset_model_composite_model_properties(Option<Vec::<AssetModelPropertyDefinition>>)
:
required: falseThe property definitions of the composite model. For more information, see Inline custom composite models in the IoT SiteWise User Guide.
You can specify up to 200 properties per composite model. For more information, see Quotas in the IoT SiteWise User Guide.
if_match(impl Into<String>)
/set_if_match(Option<String>)
:
required: falseThe expected current entity tag (ETag) for the asset model’s latest or active version (specified using
matchForVersionType
). The create request is rejected if the tag does not match the latest or active version’s current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.if_none_match(impl Into<String>)
/set_if_none_match(Option<String>)
:
required: falseAccepts * to reject the create request if an active version (specified using
matchForVersionType
asACTIVE
) already exists for the asset model.match_for_version_type(AssetModelVersionType)
/set_match_for_version_type(Option<AssetModelVersionType>)
:
required: falseSpecifies the asset model version type (
LATEST
orACTIVE
) used in conjunction withIf-Match
orIf-None-Match
headers to determine the target ETag for the create operation.
- On success, responds with
CreateAssetModelCompositeModelOutput
with field(s):asset_model_composite_model_id(String)
:The ID of the composed asset model. You can use this ID when you call other IoT SiteWise APIs.
asset_model_composite_model_path(Vec::<AssetModelCompositeModelPathSegment>)
:The path to the composite model listing the parent composite models.
asset_model_status(Option<AssetModelStatus>)
:Contains current status information for an asset model. For more information, see Asset and model states in the IoT SiteWise User Guide.
- On failure, responds with
SdkError<CreateAssetModelCompositeModelError>
Source§impl Client
impl Client
Sourcepub fn create_bulk_import_job(&self) -> CreateBulkImportJobFluentBuilder
pub fn create_bulk_import_job(&self) -> CreateBulkImportJobFluentBuilder
Constructs a fluent builder for the CreateBulkImportJob
operation.
- The fluent builder is configurable:
job_name(impl Into<String>)
/set_job_name(Option<String>)
:
required: trueThe unique name that helps identify the job request.
job_role_arn(impl Into<String>)
/set_job_role_arn(Option<String>)
:
required: trueThe ARN of the IAM role that allows IoT SiteWise to read Amazon S3 data.
files(File)
/set_files(Option<Vec::<File>>)
:
required: trueThe files in the specified Amazon S3 bucket that contain your data.
error_report_location(ErrorReportLocation)
/set_error_report_location(Option<ErrorReportLocation>)
:
required: trueThe Amazon S3 destination where errors associated with the job creation request are saved.
job_configuration(JobConfiguration)
/set_job_configuration(Option<JobConfiguration>)
:
required: trueContains the configuration information of a job, such as the file format used to save data in Amazon S3.
adaptive_ingestion(bool)
/set_adaptive_ingestion(Option<bool>)
:
required: falseIf set to true, ingest new data into IoT SiteWise storage. Measurements with notifications, metrics and transforms are computed. If set to false, historical data is ingested into IoT SiteWise as is.
delete_files_after_import(bool)
/set_delete_files_after_import(Option<bool>)
:
required: falseIf set to true, your data files is deleted from S3, after ingestion into IoT SiteWise storage.
- On success, responds with
CreateBulkImportJobOutput
with field(s):job_id(String)
:The ID of the job.
job_name(String)
:The unique name that helps identify the job request.
job_status(JobStatus)
:The status of the bulk import job can be one of following values:
-
PENDING
– IoT SiteWise is waiting for the current bulk import job to finish. -
CANCELLED
– The bulk import job has been canceled. -
RUNNING
– IoT SiteWise is processing your request to import your data from Amazon S3. -
COMPLETED
– IoT SiteWise successfully completed your request to import data from Amazon S3. -
FAILED
– IoT SiteWise couldn’t process your request to import data from Amazon S3. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues. -
COMPLETED_WITH_FAILURES
– IoT SiteWise completed your request to import data from Amazon S3 with errors. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.
-
- On failure, responds with
SdkError<CreateBulkImportJobError>
Source§impl Client
impl Client
Sourcepub fn create_computation_model(&self) -> CreateComputationModelFluentBuilder
pub fn create_computation_model(&self) -> CreateComputationModelFluentBuilder
Constructs a fluent builder for the CreateComputationModel
operation.
- The fluent builder is configurable:
computation_model_name(impl Into<String>)
/set_computation_model_name(Option<String>)
:
required: trueThe name of the computation model.
computation_model_description(impl Into<String>)
/set_computation_model_description(Option<String>)
:
required: falseThe description of the computation model.
computation_model_configuration(ComputationModelConfiguration)
/set_computation_model_configuration(Option<ComputationModelConfiguration>)
:
required: trueThe configuration for the computation model.
computation_model_data_binding(impl Into<String>, ComputationModelDataBindingValue)
/set_computation_model_data_binding(Option<HashMap::<String, ComputationModelDataBindingValue>>)
:
required: trueThe data binding for the computation model. Key is a variable name defined in configuration. Value is a
ComputationModelDataBindingValue
referenced by the variable.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseA list of key-value pairs that contain metadata for the asset. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
- On success, responds with
CreateComputationModelOutput
with field(s):computation_model_id(String)
:The ID of the computation model.
computation_model_arn(String)
:The ARN of the computation model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:computation-model/${ComputationModelId}
computation_model_status(Option<ComputationModelStatus>)
:The status of the computation model, containing a state (CREATING after successfully calling this operation) and any error messages.
- On failure, responds with
SdkError<CreateComputationModelError>
Source§impl Client
impl Client
Sourcepub fn create_dashboard(&self) -> CreateDashboardFluentBuilder
pub fn create_dashboard(&self) -> CreateDashboardFluentBuilder
Constructs a fluent builder for the CreateDashboard
operation.
- The fluent builder is configurable:
project_id(impl Into<String>)
/set_project_id(Option<String>)
:
required: trueThe ID of the project in which to create the dashboard.
dashboard_name(impl Into<String>)
/set_dashboard_name(Option<String>)
:
required: trueA friendly name for the dashboard.
dashboard_description(impl Into<String>)
/set_dashboard_description(Option<String>)
:
required: falseA description for the dashboard.
dashboard_definition(impl Into<String>)
/set_dashboard_definition(Option<String>)
:
required: trueThe dashboard definition specified in a JSON literal.
-
IoT SiteWise Monitor (Classic) see Create dashboards (CLI)
-
IoT SiteWise Monitor (AI-aware) see Create dashboards (CLI)
in the IoT SiteWise User Guide
-
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseA list of key-value pairs that contain metadata for the dashboard. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
- On success, responds with
CreateDashboardOutput
with field(s):dashboard_id(String)
:The ID of the dashboard.
dashboard_arn(String)
:The ARN of the dashboard, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}
- On failure, responds with
SdkError<CreateDashboardError>
Source§impl Client
impl Client
Sourcepub fn create_dataset(&self) -> CreateDatasetFluentBuilder
pub fn create_dataset(&self) -> CreateDatasetFluentBuilder
Constructs a fluent builder for the CreateDataset
operation.
- The fluent builder is configurable:
dataset_id(impl Into<String>)
/set_dataset_id(Option<String>)
:
required: falseThe ID of the dataset.
dataset_name(impl Into<String>)
/set_dataset_name(Option<String>)
:
required: trueThe name of the dataset.
dataset_description(impl Into<String>)
/set_dataset_description(Option<String>)
:
required: falseA description about the dataset, and its functionality.
dataset_source(DatasetSource)
/set_dataset_source(Option<DatasetSource>)
:
required: trueThe data source for the dataset.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseA list of key-value pairs that contain metadata for the access policy. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
- On success, responds with
CreateDatasetOutput
with field(s):dataset_id(String)
:The ID of the dataset.
dataset_arn(String)
:The ARN of the dataset. The format is
arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}
.dataset_status(Option<DatasetStatus>)
:The status of the dataset. This contains the state and any error messages. State is
CREATING
after a successfull call to this API, and any associated error message. The state isACTIVE
when ready to use.
- On failure, responds with
SdkError<CreateDatasetError>
Source§impl Client
impl Client
Sourcepub fn create_gateway(&self) -> CreateGatewayFluentBuilder
pub fn create_gateway(&self) -> CreateGatewayFluentBuilder
Constructs a fluent builder for the CreateGateway
operation.
- The fluent builder is configurable:
gateway_name(impl Into<String>)
/set_gateway_name(Option<String>)
:
required: trueA unique name for the gateway.
gateway_platform(GatewayPlatform)
/set_gateway_platform(Option<GatewayPlatform>)
:
required: trueThe gateway’s platform. You can only specify one platform in a gateway.
gateway_version(impl Into<String>)
/set_gateway_version(Option<String>)
:
required: falseThe version of the gateway to create. Specify
3
to create an MQTT-enabled, V3 gateway and2
to create a Classic streams, V2 gateway. If not specified, the default is2
(Classic streams, V2 gateway).When creating a V3 gateway (
gatewayVersion=3
) with theGreengrassV2
platform, you must also specify thecoreDeviceOperatingSystem
parameter.We recommend creating an MQTT-enabled gateway for self-hosted gateways and Siemens Industrial Edge gateways. For more information on gateway versions, see Use Amazon Web Services IoT SiteWise Edge Edge gateways.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseA list of key-value pairs that contain metadata for the gateway. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
- On success, responds with
CreateGatewayOutput
with field(s):gateway_id(String)
:The ID of the gateway device. You can use this ID when you call other IoT SiteWise API operations.
gateway_arn(String)
:The ARN of the gateway, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}
- On failure, responds with
SdkError<CreateGatewayError>
Source§impl Client
impl Client
Sourcepub fn create_portal(&self) -> CreatePortalFluentBuilder
pub fn create_portal(&self) -> CreatePortalFluentBuilder
Constructs a fluent builder for the CreatePortal
operation.
- The fluent builder is configurable:
portal_name(impl Into<String>)
/set_portal_name(Option<String>)
:
required: trueA friendly name for the portal.
portal_description(impl Into<String>)
/set_portal_description(Option<String>)
:
required: falseA description for the portal.
portal_contact_email(impl Into<String>)
/set_portal_contact_email(Option<String>)
:
required: trueThe Amazon Web Services administrator’s contact email address.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
portal_logo_image_file(ImageFile)
/set_portal_logo_image_file(Option<ImageFile>)
:
required: falseA logo image to display in the portal. Upload a square, high-resolution image. The image is displayed on a dark background.
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:
required: trueThe ARN of a service role that allows the portal’s users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseA list of key-value pairs that contain metadata for the portal. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
portal_auth_mode(AuthMode)
/set_portal_auth_mode(Option<AuthMode>)
:
required: falseThe service to use to authenticate users to the portal. Choose from the following options:
-
SSO
– The portal uses IAM Identity Center to authenticate users and manage user permissions. Before you can create a portal that uses IAM Identity Center, you must enable IAM Identity Center. For more information, see Enabling IAM Identity Center in the IoT SiteWise User Guide. This option is only available in Amazon Web Services Regions other than the China Regions. -
IAM
– The portal uses Identity and Access Management to authenticate users and manage user permissions.
You can’t change this value after you create a portal.
Default:
SSO
-
notification_sender_email(impl Into<String>)
/set_notification_sender_email(Option<String>)
:
required: falseThe email address that sends alarm notifications.
If you use the IoT Events managed Lambda function to manage your emails, you must verify the sender email address in Amazon SES.
alarms(Alarms)
/set_alarms(Option<Alarms>)
:
required: falseContains the configuration information of an alarm created in an IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see Monitoring with alarms in the IoT SiteWise Application Guide.
portal_type(PortalType)
/set_portal_type(Option<PortalType>)
:
required: falseDefine the type of portal. The value for IoT SiteWise Monitor (Classic) is
SITEWISE_PORTAL_V1
. The value for IoT SiteWise Monitor (AI-aware) isSITEWISE_PORTAL_V2
.portal_type_configuration(impl Into<String>, PortalTypeEntry)
/set_portal_type_configuration(Option<HashMap::<String, PortalTypeEntry>>)
:
required: falseThe configuration entry associated with the specific portal type. The value for IoT SiteWise Monitor (Classic) is
SITEWISE_PORTAL_V1
. The value for IoT SiteWise Monitor (AI-aware) isSITEWISE_PORTAL_V2
.
- On success, responds with
CreatePortalOutput
with field(s):portal_id(String)
:The ID of the created portal.
portal_arn(String)
:The ARN of the portal, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:portal/${PortalId}
portal_start_url(String)
:The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console to get a URL that you can use to access the portal.
portal_status(Option<PortalStatus>)
:The status of the portal, which contains a state (
CREATING
after successfully calling this operation) and any error message.sso_application_id(String)
:The associated IAM Identity Center application ID, if the portal uses IAM Identity Center.
- On failure, responds with
SdkError<CreatePortalError>
Source§impl Client
impl Client
Sourcepub fn create_project(&self) -> CreateProjectFluentBuilder
pub fn create_project(&self) -> CreateProjectFluentBuilder
Constructs a fluent builder for the CreateProject
operation.
- The fluent builder is configurable:
portal_id(impl Into<String>)
/set_portal_id(Option<String>)
:
required: trueThe ID of the portal in which to create the project.
project_name(impl Into<String>)
/set_project_name(Option<String>)
:
required: trueA friendly name for the project.
project_description(impl Into<String>)
/set_project_description(Option<String>)
:
required: falseA description for the project.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseA list of key-value pairs that contain metadata for the project. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
- On success, responds with
CreateProjectOutput
with field(s):project_id(String)
:The ID of the project.
project_arn(String)
:The ARN of the project, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}
- On failure, responds with
SdkError<CreateProjectError>
Source§impl Client
impl Client
Sourcepub fn delete_access_policy(&self) -> DeleteAccessPolicyFluentBuilder
pub fn delete_access_policy(&self) -> DeleteAccessPolicyFluentBuilder
Constructs a fluent builder for the DeleteAccessPolicy
operation.
- The fluent builder is configurable:
access_policy_id(impl Into<String>)
/set_access_policy_id(Option<String>)
:
required: trueThe ID of the access policy to be deleted.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
DeleteAccessPolicyOutput
- On failure, responds with
SdkError<DeleteAccessPolicyError>
Source§impl Client
impl Client
Sourcepub fn delete_asset(&self) -> DeleteAssetFluentBuilder
pub fn delete_asset(&self) -> DeleteAssetFluentBuilder
Constructs a fluent builder for the DeleteAsset
operation.
- The fluent builder is configurable:
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: trueThe ID of the asset to delete. 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.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
DeleteAssetOutput
with field(s):asset_status(Option<AssetStatus>)
:The status of the asset, which contains a state (
DELETING
after successfully calling this operation) and any error message.
- On failure, responds with
SdkError<DeleteAssetError>
Source§impl Client
impl Client
Sourcepub fn delete_asset_model(&self) -> DeleteAssetModelFluentBuilder
pub fn delete_asset_model(&self) -> DeleteAssetModelFluentBuilder
Constructs a fluent builder for the DeleteAssetModel
operation.
- The fluent builder is configurable:
asset_model_id(impl Into<String>)
/set_asset_model_id(Option<String>)
:
required: trueThe ID of the asset model to delete. 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.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
if_match(impl Into<String>)
/set_if_match(Option<String>)
:
required: falseThe expected current entity tag (ETag) for the asset model’s latest or active version (specified using
matchForVersionType
). The delete request is rejected if the tag does not match the latest or active version’s current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.if_none_match(impl Into<String>)
/set_if_none_match(Option<String>)
:
required: falseAccepts * to reject the delete request if an active version (specified using
matchForVersionType
asACTIVE
) already exists for the asset model.match_for_version_type(AssetModelVersionType)
/set_match_for_version_type(Option<AssetModelVersionType>)
:
required: falseSpecifies the asset model version type (
LATEST
orACTIVE
) used in conjunction withIf-Match
orIf-None-Match
headers to determine the target ETag for the delete operation.
- On success, responds with
DeleteAssetModelOutput
with field(s):asset_model_status(Option<AssetModelStatus>)
:The status of the asset model, which contains a state (
DELETING
after successfully calling this operation) and any error message.
- On failure, responds with
SdkError<DeleteAssetModelError>
Source§impl Client
impl Client
Sourcepub fn delete_asset_model_composite_model(
&self,
) -> DeleteAssetModelCompositeModelFluentBuilder
pub fn delete_asset_model_composite_model( &self, ) -> DeleteAssetModelCompositeModelFluentBuilder
Constructs a fluent builder for the DeleteAssetModelCompositeModel
operation.
- The fluent builder is configurable:
asset_model_id(impl Into<String>)
/set_asset_model_id(Option<String>)
:
required: trueThe ID of the asset model, in UUID format.
asset_model_composite_model_id(impl Into<String>)
/set_asset_model_composite_model_id(Option<String>)
:
required: trueThe ID of a composite model on this asset model.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
if_match(impl Into<String>)
/set_if_match(Option<String>)
:
required: falseThe expected current entity tag (ETag) for the asset model’s latest or active version (specified using
matchForVersionType
). The delete request is rejected if the tag does not match the latest or active version’s current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.if_none_match(impl Into<String>)
/set_if_none_match(Option<String>)
:
required: falseAccepts * to reject the delete request if an active version (specified using
matchForVersionType
asACTIVE
) already exists for the asset model.match_for_version_type(AssetModelVersionType)
/set_match_for_version_type(Option<AssetModelVersionType>)
:
required: falseSpecifies the asset model version type (
LATEST
orACTIVE
) used in conjunction withIf-Match
orIf-None-Match
headers to determine the target ETag for the delete operation.
- On success, responds with
DeleteAssetModelCompositeModelOutput
with field(s):asset_model_status(Option<AssetModelStatus>)
:Contains current status information for an asset model. For more information, see Asset and model states in the IoT SiteWise User Guide.
- On failure, responds with
SdkError<DeleteAssetModelCompositeModelError>
Source§impl Client
impl Client
Sourcepub fn delete_asset_model_interface_relationship(
&self,
) -> DeleteAssetModelInterfaceRelationshipFluentBuilder
pub fn delete_asset_model_interface_relationship( &self, ) -> DeleteAssetModelInterfaceRelationshipFluentBuilder
Constructs a fluent builder for the DeleteAssetModelInterfaceRelationship
operation.
- The fluent builder is configurable:
asset_model_id(impl Into<String>)
/set_asset_model_id(Option<String>)
:
required: trueThe ID of the asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.
interface_asset_model_id(impl Into<String>)
/set_interface_asset_model_id(Option<String>)
:
required: trueThe ID of the interface asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
DeleteAssetModelInterfaceRelationshipOutput
with field(s):asset_model_id(String)
:The ID of the asset model.
interface_asset_model_id(String)
:The ID of the interface asset model.
asset_model_arn(String)
:The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
asset_model_status(Option<AssetModelStatus>)
:Contains current status information for an asset model. For more information, see Asset and model states in the IoT SiteWise User Guide.
- On failure, responds with
SdkError<DeleteAssetModelInterfaceRelationshipError>
Source§impl Client
impl Client
Sourcepub fn delete_computation_model(&self) -> DeleteComputationModelFluentBuilder
pub fn delete_computation_model(&self) -> DeleteComputationModelFluentBuilder
Constructs a fluent builder for the DeleteComputationModel
operation.
- The fluent builder is configurable:
computation_model_id(impl Into<String>)
/set_computation_model_id(Option<String>)
:
required: trueThe ID of the computation model.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
DeleteComputationModelOutput
with field(s):computation_model_status(Option<ComputationModelStatus>)
:The status of the computation model. It contains a state (DELETING after successfully calling this operation) and any error messages.
- On failure, responds with
SdkError<DeleteComputationModelError>
Source§impl Client
impl Client
Sourcepub fn delete_dashboard(&self) -> DeleteDashboardFluentBuilder
pub fn delete_dashboard(&self) -> DeleteDashboardFluentBuilder
Constructs a fluent builder for the DeleteDashboard
operation.
- The fluent builder is configurable:
dashboard_id(impl Into<String>)
/set_dashboard_id(Option<String>)
:
required: trueThe ID of the dashboard to delete.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
DeleteDashboardOutput
- On failure, responds with
SdkError<DeleteDashboardError>
Source§impl Client
impl Client
Sourcepub fn delete_dataset(&self) -> DeleteDatasetFluentBuilder
pub fn delete_dataset(&self) -> DeleteDatasetFluentBuilder
Constructs a fluent builder for the DeleteDataset
operation.
- The fluent builder is configurable:
dataset_id(impl Into<String>)
/set_dataset_id(Option<String>)
:
required: trueThe ID of the dataset.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
DeleteDatasetOutput
with field(s):dataset_status(Option<DatasetStatus>)
:The status of the dataset. This contains the state and any error messages. State is
DELETING
after a successfull call to this API, and any associated error message.
- On failure, responds with
SdkError<DeleteDatasetError>
Source§impl Client
impl Client
Sourcepub fn delete_gateway(&self) -> DeleteGatewayFluentBuilder
pub fn delete_gateway(&self) -> DeleteGatewayFluentBuilder
Constructs a fluent builder for the DeleteGateway
operation.
- The fluent builder is configurable:
gateway_id(impl Into<String>)
/set_gateway_id(Option<String>)
:
required: trueThe ID of the gateway to delete.
- On success, responds with
DeleteGatewayOutput
- On failure, responds with
SdkError<DeleteGatewayError>
Source§impl Client
impl Client
Sourcepub fn delete_portal(&self) -> DeletePortalFluentBuilder
pub fn delete_portal(&self) -> DeletePortalFluentBuilder
Constructs a fluent builder for the DeletePortal
operation.
- The fluent builder is configurable:
portal_id(impl Into<String>)
/set_portal_id(Option<String>)
:
required: trueThe ID of the portal to delete.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
DeletePortalOutput
with field(s):portal_status(Option<PortalStatus>)
:The status of the portal, which contains a state (
DELETING
after successfully calling this operation) and any error message.
- On failure, responds with
SdkError<DeletePortalError>
Source§impl Client
impl Client
Sourcepub fn delete_project(&self) -> DeleteProjectFluentBuilder
pub fn delete_project(&self) -> DeleteProjectFluentBuilder
Constructs a fluent builder for the DeleteProject
operation.
- The fluent builder is configurable:
project_id(impl Into<String>)
/set_project_id(Option<String>)
:
required: trueThe ID of the project.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
DeleteProjectOutput
- On failure, responds with
SdkError<DeleteProjectError>
Source§impl Client
impl Client
Sourcepub fn delete_time_series(&self) -> DeleteTimeSeriesFluentBuilder
pub fn delete_time_series(&self) -> DeleteTimeSeriesFluentBuilder
Constructs a fluent builder for the DeleteTimeSeries
operation.
- The fluent builder is configurable:
alias(impl Into<String>)
/set_alias(Option<String>)
:
required: falseThe alias that identifies the time series.
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: falseThe ID of the asset in which the asset property was created. 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.property_id(impl Into<String>)
/set_property_id(Option<String>)
:
required: falseThe ID of the asset property. 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.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
DeleteTimeSeriesOutput
- On failure, responds with
SdkError<DeleteTimeSeriesError>
Source§impl Client
impl Client
Sourcepub fn describe_access_policy(&self) -> DescribeAccessPolicyFluentBuilder
pub fn describe_access_policy(&self) -> DescribeAccessPolicyFluentBuilder
Constructs a fluent builder for the DescribeAccessPolicy
operation.
- The fluent builder is configurable:
access_policy_id(impl Into<String>)
/set_access_policy_id(Option<String>)
:
required: trueThe ID of the access policy.
- On success, responds with
DescribeAccessPolicyOutput
with field(s):access_policy_id(String)
:The ID of the access policy.
access_policy_arn(String)
:The ARN of the access policy, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
access_policy_identity(Option<Identity>)
:The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy applies.
access_policy_resource(Option<Resource>)
:The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.
access_policy_permission(Permission)
:The access policy permission. Note that a project
ADMINISTRATOR
is also known as a project owner.access_policy_creation_date(DateTime)
:The date the access policy was created, in Unix epoch time.
access_policy_last_update_date(DateTime)
:The date the access policy was last updated, in Unix epoch time.
- On failure, responds with
SdkError<DescribeAccessPolicyError>
Source§impl Client
impl Client
Sourcepub fn describe_action(&self) -> DescribeActionFluentBuilder
pub fn describe_action(&self) -> DescribeActionFluentBuilder
Constructs a fluent builder for the DescribeAction
operation.
- The fluent builder is configurable:
action_id(impl Into<String>)
/set_action_id(Option<String>)
:
required: trueThe ID of the action.
- On success, responds with
DescribeActionOutput
with field(s):action_id(String)
:The ID of the action.
target_resource(Option<TargetResource>)
:The resource the action will be taken on.
action_definition_id(String)
:The ID of the action definition.
action_payload(Option<ActionPayload>)
:The JSON payload of the action.
execution_time(DateTime)
:The time the action was executed.
resolve_to(Option<ResolveTo>)
:The detailed resource this action resolves to.
- On failure, responds with
SdkError<DescribeActionError>
Source§impl Client
impl Client
Sourcepub fn describe_asset(&self) -> DescribeAssetFluentBuilder
pub fn describe_asset(&self) -> DescribeAssetFluentBuilder
Constructs a fluent builder for the DescribeAsset
operation.
- The fluent builder is configurable:
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: trueThe ID of the asset. 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.exclude_properties(bool)
/set_exclude_properties(Option<bool>)
:
required: falseWhether or not to exclude asset properties from the response.
- On success, responds with
DescribeAssetOutput
with field(s):asset_id(String)
:The ID of the asset, in UUID format.
asset_external_id(Option<String>)
:The external ID of the asset, if any.
asset_arn(String)
:The ARN of the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
asset_name(String)
:The name of the asset.
asset_model_id(String)
:The ID of the asset model that was used to create the asset.
asset_properties(Vec::<AssetProperty>)
:The list of asset properties for the asset.
This object doesn’t include properties that you define in composite models. You can find composite model properties in the
assetCompositeModels
object.asset_hierarchies(Vec::<AssetHierarchy>)
:A list of asset hierarchies that each contain a
hierarchyId
. A hierarchy specifies allowed parent/child asset relationships.asset_composite_models(Option<Vec::<AssetCompositeModel>>)
:The composite models for the asset.
asset_creation_date(DateTime)
:The date the asset was created, in Unix epoch time.
asset_last_update_date(DateTime)
:The date the asset was last updated, in Unix epoch time.
asset_status(Option<AssetStatus>)
:The current status of the asset, which contains a state and any error message.
asset_description(Option<String>)
:A description for the asset.
asset_composite_model_summaries(Option<Vec::<AssetCompositeModelSummary>>)
:The list of the immediate child custom composite model summaries for the asset.
- On failure, responds with
SdkError<DescribeAssetError>
Source§impl Client
impl Client
Sourcepub fn describe_asset_composite_model(
&self,
) -> DescribeAssetCompositeModelFluentBuilder
pub fn describe_asset_composite_model( &self, ) -> DescribeAssetCompositeModelFluentBuilder
Constructs a fluent builder for the DescribeAssetCompositeModel
operation.
- The fluent builder is configurable:
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: trueThe ID of the asset. 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_composite_model_id(impl Into<String>)
/set_asset_composite_model_id(Option<String>)
:
required: trueThe ID of a composite model on this asset. 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.
- On success, responds with
DescribeAssetCompositeModelOutput
with field(s):asset_id(String)
:The ID of the asset, in UUID format. This ID uniquely identifies the asset within IoT SiteWise and can be used with other IoT SiteWise APIs.
asset_composite_model_id(String)
:The ID of a composite model on this asset.
asset_composite_model_external_id(Option<String>)
:An external ID to assign to the asset model.
If the composite model is a component-based composite model, or one nested inside a component model, you can only set the external ID using
UpdateAssetModelCompositeModel
and specifying the derived ID of the model or property from the created model it’s a part of.asset_composite_model_path(Vec::<AssetCompositeModelPathSegment>)
:The path to the composite model listing the parent composite models.
asset_composite_model_name(String)
:The unique, friendly name for the composite model.
asset_composite_model_description(String)
:A description for the composite model.
asset_composite_model_type(String)
:The composite model type. Valid values are
AWS/ALARM
,CUSTOM
, orAWS/L4E_ANOMALY
.asset_composite_model_properties(Vec::<AssetProperty>)
:The property definitions of the composite model that was used to create the asset.
asset_composite_model_summaries(Vec::<AssetCompositeModelSummary>)
:The list of composite model summaries.
action_definitions(Option<Vec::<ActionDefinition>>)
:The available actions for a composite model on this asset.
- On failure, responds with
SdkError<DescribeAssetCompositeModelError>
Source§impl Client
impl Client
Sourcepub fn describe_asset_model(&self) -> DescribeAssetModelFluentBuilder
pub fn describe_asset_model(&self) -> DescribeAssetModelFluentBuilder
Constructs a fluent builder for the DescribeAssetModel
operation.
- The fluent builder is configurable:
asset_model_id(impl Into<String>)
/set_asset_model_id(Option<String>)
:
required: trueThe ID of the asset model. 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.exclude_properties(bool)
/set_exclude_properties(Option<bool>)
:
required: falseWhether or not to exclude asset model properties from the response.
asset_model_version(impl Into<String>)
/set_asset_model_version(Option<String>)
:
required: falseThe version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is
LATEST
. See Asset model versions in the IoT SiteWise User Guide.
- On success, responds with
DescribeAssetModelOutput
with field(s):asset_model_id(String)
:The ID of the asset model, in UUID format.
asset_model_external_id(Option<String>)
:The external ID of the asset model, if any.
asset_model_arn(String)
:The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
asset_model_name(String)
:The name of the asset model.
asset_model_type(Option<AssetModelType>)
:The type of asset model.
-
ASSET_MODEL – (default) An asset model that you can use to create assets. Can’t be included as a component in another asset model.
-
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can’t create assets directly from this type of asset model.
-
asset_model_description(String)
:The asset model’s description.
asset_model_properties(Vec::<AssetModelProperty>)
:The list of asset properties for the asset model.
This object doesn’t include properties that you define in composite models. You can find composite model properties in the
assetModelCompositeModels
object.asset_model_hierarchies(Vec::<AssetModelHierarchy>)
:A list of asset model hierarchies that each contain a
childAssetModelId
and ahierarchyId
(namedid
). A hierarchy specifies allowed parent/child asset relationships for an asset model.asset_model_composite_models(Option<Vec::<AssetModelCompositeModel>>)
:The list of built-in composite models for the asset model, such as those with those of type
AWS/ALARMS
.asset_model_composite_model_summaries(Option<Vec::<AssetModelCompositeModelSummary>>)
:The list of the immediate child custom composite model summaries for the asset model.
asset_model_creation_date(DateTime)
:The date the asset model was created, in Unix epoch time.
asset_model_last_update_date(DateTime)
:The date the asset model was last updated, in Unix epoch time.
asset_model_status(Option<AssetModelStatus>)
:The current status of the asset model, which contains a state and any error message.
asset_model_version(Option<String>)
:The version of the asset model. See Asset model versions in the IoT SiteWise User Guide.
interface_details(Option<Vec::<InterfaceRelationship>>)
:A list of interface details that describe the interfaces implemented by this asset model, including interface asset model IDs and property mappings.
e_tag(Option<String>)
:The entity tag (ETag) is a hash of the retrieved version of the asset model. It’s used to make concurrent updates safely to the resource. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.
See Optimistic locking for asset model writes in the IoT SiteWise User Guide.
- On failure, responds with
SdkError<DescribeAssetModelError>
Source§impl Client
impl Client
Sourcepub fn describe_asset_model_composite_model(
&self,
) -> DescribeAssetModelCompositeModelFluentBuilder
pub fn describe_asset_model_composite_model( &self, ) -> DescribeAssetModelCompositeModelFluentBuilder
Constructs a fluent builder for the DescribeAssetModelCompositeModel
operation.
- The fluent builder is configurable:
asset_model_id(impl Into<String>)
/set_asset_model_id(Option<String>)
:
required: trueThe ID of the asset model. 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_model_composite_model_id(impl Into<String>)
/set_asset_model_composite_model_id(Option<String>)
:
required: trueThe ID of a composite model on this asset model. 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_model_version(impl Into<String>)
/set_asset_model_version(Option<String>)
:
required: falseThe version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is
LATEST
. See Asset model versions in the IoT SiteWise User Guide.
- On success, responds with
DescribeAssetModelCompositeModelOutput
with field(s):asset_model_id(String)
:The ID of the asset model, in UUID format.
asset_model_composite_model_id(String)
:The ID of a composite model on this asset model.
asset_model_composite_model_external_id(Option<String>)
:The external ID of a composite model on this asset model.
asset_model_composite_model_path(Vec::<AssetModelCompositeModelPathSegment>)
:The path to the composite model listing the parent composite models.
asset_model_composite_model_name(String)
:The unique, friendly name for the composite model.
asset_model_composite_model_description(String)
:The description for the composite model.
asset_model_composite_model_type(String)
:The composite model type. Valid values are
AWS/ALARM
,CUSTOM
, orAWS/L4E_ANOMALY
.asset_model_composite_model_properties(Vec::<AssetModelProperty>)
:The property definitions of the composite model.
composition_details(Option<CompositionDetails>)
:Metadata for the composition relationship established by using
composedAssetModelId
inCreateAssetModelCompositeModel
. For instance, an array detailing the path of the composition relationship for this composite model.asset_model_composite_model_summaries(Vec::<AssetModelCompositeModelSummary>)
:The list of composite model summaries for the composite model.
action_definitions(Option<Vec::<ActionDefinition>>)
:The available actions for a composite model on this asset model.
- On failure, responds with
SdkError<DescribeAssetModelCompositeModelError>
Source§impl Client
impl Client
Sourcepub fn describe_asset_model_interface_relationship(
&self,
) -> DescribeAssetModelInterfaceRelationshipFluentBuilder
pub fn describe_asset_model_interface_relationship( &self, ) -> DescribeAssetModelInterfaceRelationshipFluentBuilder
Constructs a fluent builder for the DescribeAssetModelInterfaceRelationship
operation.
- The fluent builder is configurable:
asset_model_id(impl Into<String>)
/set_asset_model_id(Option<String>)
:
required: trueThe ID of the asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.
interface_asset_model_id(impl Into<String>)
/set_interface_asset_model_id(Option<String>)
:
required: trueThe ID of the interface asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.
- On success, responds with
DescribeAssetModelInterfaceRelationshipOutput
with field(s):asset_model_id(String)
:The ID of the asset model.
interface_asset_model_id(String)
:The ID of the interface asset model.
property_mappings(Vec::<PropertyMapping>)
:A list of property mappings between the interface asset model and the asset model where the interface is applied.
hierarchy_mappings(Vec::<HierarchyMapping>)
:A list of hierarchy mappings between the interface asset model and the asset model where the interface is applied.
- On failure, responds with
SdkError<DescribeAssetModelInterfaceRelationshipError>
Source§impl Client
impl Client
Sourcepub fn describe_asset_property(&self) -> DescribeAssetPropertyFluentBuilder
pub fn describe_asset_property(&self) -> DescribeAssetPropertyFluentBuilder
Constructs a fluent builder for the DescribeAssetProperty
operation.
- The fluent builder is configurable:
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: trueThe ID of the asset. 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.property_id(impl Into<String>)
/set_property_id(Option<String>)
:
required: trueThe ID of the asset property. 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.
- On success, responds with
DescribeAssetPropertyOutput
with field(s):asset_id(String)
:The ID of the asset, in UUID format.
asset_external_id(Option<String>)
:The external ID of the asset. For more information, see Using external IDs in the IoT SiteWise User Guide.
asset_name(String)
:The name of the asset.
asset_model_id(String)
:The ID of the asset model, in UUID format.
asset_property(Option<Property>)
:The asset property’s definition, alias, and notification state.
This response includes this object for normal asset properties. If you describe an asset property in a composite model, this response includes the asset property information in
compositeModel
.composite_model(Option<CompositeModelProperty>)
:The composite model that declares this asset property, if this asset property exists in a composite model.
- On failure, responds with
SdkError<DescribeAssetPropertyError>
Source§impl Client
impl Client
Sourcepub fn describe_bulk_import_job(&self) -> DescribeBulkImportJobFluentBuilder
pub fn describe_bulk_import_job(&self) -> DescribeBulkImportJobFluentBuilder
Constructs a fluent builder for the DescribeBulkImportJob
operation.
- The fluent builder is configurable:
job_id(impl Into<String>)
/set_job_id(Option<String>)
:
required: trueThe ID of the job.
- On success, responds with
DescribeBulkImportJobOutput
with field(s):job_id(String)
:The ID of the job.
job_name(String)
:The unique name that helps identify the job request.
job_status(JobStatus)
:The status of the bulk import job can be one of following values:
-
PENDING
– IoT SiteWise is waiting for the current bulk import job to finish. -
CANCELLED
– The bulk import job has been canceled. -
RUNNING
– IoT SiteWise is processing your request to import your data from Amazon S3. -
COMPLETED
– IoT SiteWise successfully completed your request to import data from Amazon S3. -
FAILED
– IoT SiteWise couldn’t process your request to import data from Amazon S3. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues. -
COMPLETED_WITH_FAILURES
– IoT SiteWise completed your request to import data from Amazon S3 with errors. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.
-
job_role_arn(String)
:The ARN of the IAM role that allows IoT SiteWise to read Amazon S3 data.
files(Vec::<File>)
:The files in the specified Amazon S3 bucket that contain your data.
error_report_location(Option<ErrorReportLocation>)
:The Amazon S3 destination where errors associated with the job creation request are saved.
job_configuration(Option<JobConfiguration>)
:Contains the configuration information of a job, such as the file format used to save data in Amazon S3.
job_creation_date(DateTime)
:The date the job was created, in Unix epoch TIME.
job_last_update_date(DateTime)
:The date the job was last updated, in Unix epoch time.
adaptive_ingestion(Option<bool>)
:If set to true, ingest new data into IoT SiteWise storage. Measurements with notifications, metrics and transforms are computed. If set to false, historical data is ingested into IoT SiteWise as is.
delete_files_after_import(Option<bool>)
:If set to true, your data files is deleted from S3, after ingestion into IoT SiteWise storage.
- On failure, responds with
SdkError<DescribeBulkImportJobError>
Source§impl Client
impl Client
Sourcepub fn describe_computation_model(
&self,
) -> DescribeComputationModelFluentBuilder
pub fn describe_computation_model( &self, ) -> DescribeComputationModelFluentBuilder
Constructs a fluent builder for the DescribeComputationModel
operation.
- The fluent builder is configurable:
computation_model_id(impl Into<String>)
/set_computation_model_id(Option<String>)
:
required: trueThe ID of the computation model.
- On success, responds with
DescribeComputationModelOutput
with field(s):computation_model_id(String)
:The ID of the computation model.
computation_model_arn(String)
:The ARN of the computation model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:computation-model/${ComputationModelId}
computation_model_name(String)
:The name of the computation model.
computation_model_description(Option<String>)
:The description of the computation model.
computation_model_configuration(Option<ComputationModelConfiguration>)
:The configuration for the computation model.
computation_model_data_binding(HashMap::<String, ComputationModelDataBindingValue>)
:The data binding for the computation model. Key is a variable name defined in configuration. Value is a
ComputationModelDataBindingValue
referenced by the variable.computation_model_creation_date(DateTime)
:The model creation date, in Unix epoch time.
computation_model_last_update_date(DateTime)
:The date the model was last updated, in Unix epoch time.
computation_model_status(Option<ComputationModelStatus>)
:The current status of the asset model, which contains a state and an error message if any.
computation_model_version(String)
:The version of the computation model.
action_definitions(Vec::<ActionDefinition>)
:The available actions for this computation model.
- On failure, responds with
SdkError<DescribeComputationModelError>
Source§impl Client
impl Client
Sourcepub fn describe_computation_model_execution_summary(
&self,
) -> DescribeComputationModelExecutionSummaryFluentBuilder
pub fn describe_computation_model_execution_summary( &self, ) -> DescribeComputationModelExecutionSummaryFluentBuilder
Constructs a fluent builder for the DescribeComputationModelExecutionSummary
operation.
- The fluent builder is configurable:
computation_model_id(impl Into<String>)
/set_computation_model_id(Option<String>)
:
required: trueThe ID of the computation model.
resolve_to_resource_type(ResolveToResourceType)
/set_resolve_to_resource_type(Option<ResolveToResourceType>)
:
required: falseThe type of the resolved resource.
resolve_to_resource_id(impl Into<String>)
/set_resolve_to_resource_id(Option<String>)
:
required: falseThe ID of the resolved resource.
- On success, responds with
DescribeComputationModelExecutionSummaryOutput
with field(s):computation_model_id(String)
:The ID of the computation model.
resolve_to(Option<ResolveTo>)
:The detailed resource this execution summary resolves to.
computation_model_execution_summary(HashMap::<String, String>)
:Contains the execution summary of the computation model.
- On failure, responds with
SdkError<DescribeComputationModelExecutionSummaryError>
Source§impl Client
impl Client
Sourcepub fn describe_dashboard(&self) -> DescribeDashboardFluentBuilder
pub fn describe_dashboard(&self) -> DescribeDashboardFluentBuilder
Constructs a fluent builder for the DescribeDashboard
operation.
- The fluent builder is configurable:
dashboard_id(impl Into<String>)
/set_dashboard_id(Option<String>)
:
required: trueThe ID of the dashboard.
- On success, responds with
DescribeDashboardOutput
with field(s):dashboard_id(String)
:The ID of the dashboard.
dashboard_arn(String)
:The ARN of the dashboard, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}
dashboard_name(String)
:The name of the dashboard.
project_id(String)
:The ID of the project that the dashboard is in.
dashboard_description(Option<String>)
:The dashboard’s description.
dashboard_definition(String)
:The dashboard’s definition JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide.
dashboard_creation_date(DateTime)
:The date the dashboard was created, in Unix epoch time.
dashboard_last_update_date(DateTime)
:The date the dashboard was last updated, in Unix epoch time.
- On failure, responds with
SdkError<DescribeDashboardError>
Source§impl Client
impl Client
Sourcepub fn describe_dataset(&self) -> DescribeDatasetFluentBuilder
pub fn describe_dataset(&self) -> DescribeDatasetFluentBuilder
Constructs a fluent builder for the DescribeDataset
operation.
- The fluent builder is configurable:
dataset_id(impl Into<String>)
/set_dataset_id(Option<String>)
:
required: trueThe ID of the dataset.
- On success, responds with
DescribeDatasetOutput
with field(s):dataset_id(String)
:The ID of the dataset.
dataset_arn(String)
:The ARN of the dataset. The format is
arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}
.dataset_name(String)
:The name of the dataset.
dataset_description(String)
:A description about the dataset, and its functionality.
dataset_source(Option<DatasetSource>)
:The data source for the dataset.
dataset_status(Option<DatasetStatus>)
:The status of the dataset. This contains the state and any error messages. State is
CREATING
after a successfull call to this API, and any associated error message. The state isACTIVE
when ready to use.dataset_creation_date(DateTime)
:The dataset creation date, in Unix epoch time.
dataset_last_update_date(DateTime)
:The date the dataset was last updated, in Unix epoch time.
dataset_version(Option<String>)
:The version of the dataset.
- On failure, responds with
SdkError<DescribeDatasetError>
Source§impl Client
impl Client
Sourcepub fn describe_default_encryption_configuration(
&self,
) -> DescribeDefaultEncryptionConfigurationFluentBuilder
pub fn describe_default_encryption_configuration( &self, ) -> DescribeDefaultEncryptionConfigurationFluentBuilder
Constructs a fluent builder for the DescribeDefaultEncryptionConfiguration
operation.
- The fluent builder takes no input, just
send
it. - On success, responds with
DescribeDefaultEncryptionConfigurationOutput
with field(s):encryption_type(EncryptionType)
:The type of encryption used for the encryption configuration.
kms_key_arn(Option<String>)
:The key ARN of the customer managed key used for KMS encryption if you use
KMS_BASED_ENCRYPTION
.configuration_status(Option<ConfigurationStatus>)
:The status of the account configuration. This contains the
ConfigurationState
. If there’s an error, it also contains theErrorDetails
.
- On failure, responds with
SdkError<DescribeDefaultEncryptionConfigurationError>
Source§impl Client
impl Client
Sourcepub fn describe_execution(&self) -> DescribeExecutionFluentBuilder
pub fn describe_execution(&self) -> DescribeExecutionFluentBuilder
Constructs a fluent builder for the DescribeExecution
operation.
- The fluent builder is configurable:
execution_id(impl Into<String>)
/set_execution_id(Option<String>)
:
required: trueThe ID of the execution.
- On success, responds with
DescribeExecutionOutput
with field(s):execution_id(String)
:The ID of the execution.
action_type(Option<String>)
:The type of action exectued.
target_resource(Option<TargetResource>)
:The resource the action will be taken on. This can include asset-based resources and computation model resources.
target_resource_version(String)
:The version of the target resource.
resolve_to(Option<ResolveTo>)
:The detailed resource this execution resolves to.
execution_start_time(DateTime)
:The time the process started.
execution_end_time(Option<DateTime>)
:The time the process ended.
execution_status(Option<ExecutionStatus>)
:The status of the execution process.
execution_result(Option<HashMap::<String, String>>)
:The result of the execution.
execution_details(Option<HashMap::<String, String>>)
:Provides detailed information about the execution of your anomaly detection models. This includes model metrics and training timestamps for both training and inference actions.
-
The training action (Amazon Web Services/ANOMALY_DETECTION_TRAINING), includes performance metrics that help you compare different versions of your anomaly detection models. These metrics provide insights into the model’s performance during the training process.
-
The inference action (Amazon Web Services/ANOMALY_DETECTION_INFERENCE), includes information about the results of executing your anomaly detection models. This helps you understand the output of your models and assess their performance.
-
execution_entity_version(Option<String>)
:Entity version used for the execution.
- On failure, responds with
SdkError<DescribeExecutionError>
Source§impl Client
impl Client
Sourcepub fn describe_gateway(&self) -> DescribeGatewayFluentBuilder
pub fn describe_gateway(&self) -> DescribeGatewayFluentBuilder
Constructs a fluent builder for the DescribeGateway
operation.
- The fluent builder is configurable:
gateway_id(impl Into<String>)
/set_gateway_id(Option<String>)
:
required: trueThe ID of the gateway device.
- On success, responds with
DescribeGatewayOutput
with field(s):gateway_id(String)
:The ID of the gateway device.
gateway_name(String)
:The name of the gateway.
gateway_arn(String)
:The ARN of the gateway, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}
gateway_platform(Option<GatewayPlatform>)
:The gateway’s platform.
gateway_version(Option<String>)
:The version of the gateway. A value of
3
indicates an MQTT-enabled, V3 gateway, while2
indicates a Classic streams, V2 gateway.gateway_capability_summaries(Vec::<GatewayCapabilitySummary>)
:A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration’s definition, use DescribeGatewayCapabilityConfiguration.
creation_date(DateTime)
:The date the gateway was created, in Unix epoch time.
last_update_date(DateTime)
:The date the gateway was last updated, in Unix epoch time.
- On failure, responds with
SdkError<DescribeGatewayError>
Source§impl Client
impl Client
Sourcepub fn describe_gateway_capability_configuration(
&self,
) -> DescribeGatewayCapabilityConfigurationFluentBuilder
pub fn describe_gateway_capability_configuration( &self, ) -> DescribeGatewayCapabilityConfigurationFluentBuilder
Constructs a fluent builder for the DescribeGatewayCapabilityConfiguration
operation.
- The fluent builder is configurable:
gateway_id(impl Into<String>)
/set_gateway_id(Option<String>)
:
required: trueThe ID of the gateway that defines the capability configuration.
capability_namespace(impl Into<String>)
/set_capability_namespace(Option<String>)
:
required: trueThe namespace of the capability configuration. For example, if you configure OPC UA sources for an MQTT-enabled gateway, your OPC-UA capability configuration has the namespace
iotsitewise:opcuacollector:3
.
- On success, responds with
DescribeGatewayCapabilityConfigurationOutput
with field(s):gateway_id(String)
:The ID of the gateway that defines the capability configuration.
capability_namespace(String)
:The namespace of the gateway capability.
capability_configuration(String)
:The JSON document that defines the gateway capability’s configuration. For more information, see Configuring data sources (CLI) in the IoT SiteWise User Guide.
capability_sync_status(CapabilitySyncStatus)
:The synchronization status of the gateway capability configuration. The sync status can be one of the following:
-
IN_SYNC
- The gateway is running with the latest configuration. -
OUT_OF_SYNC
- The gateway hasn’t received the latest configuration. -
SYNC_FAILED
- The gateway rejected the latest configuration. -
UNKNOWN
- The gateway hasn’t reported its sync status. -
NOT_APPLICABLE
- The gateway doesn’t support this capability. This is most common when integrating partner data sources, because the data integration is handled externally by the partner.
-
- On failure, responds with
SdkError<DescribeGatewayCapabilityConfigurationError>
Source§impl Client
impl Client
Sourcepub fn describe_logging_options(&self) -> DescribeLoggingOptionsFluentBuilder
pub fn describe_logging_options(&self) -> DescribeLoggingOptionsFluentBuilder
Constructs a fluent builder for the DescribeLoggingOptions
operation.
- The fluent builder takes no input, just
send
it. - On success, responds with
DescribeLoggingOptionsOutput
with field(s):logging_options(Option<LoggingOptions>)
:The current logging options.
- On failure, responds with
SdkError<DescribeLoggingOptionsError>
Source§impl Client
impl Client
Sourcepub fn describe_portal(&self) -> DescribePortalFluentBuilder
pub fn describe_portal(&self) -> DescribePortalFluentBuilder
Constructs a fluent builder for the DescribePortal
operation.
- The fluent builder is configurable:
portal_id(impl Into<String>)
/set_portal_id(Option<String>)
:
required: trueThe ID of the portal.
- On success, responds with
DescribePortalOutput
with field(s):portal_id(String)
:The ID of the portal.
portal_arn(String)
:The ARN of the portal, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:portal/${PortalId}
portal_name(String)
:The name of the portal.
portal_description(Option<String>)
:The portal’s description.
portal_client_id(String)
:The IAM Identity Center application generated client ID (used with IAM Identity Center API operations). IoT SiteWise includes
portalClientId
for only portals that use IAM Identity Center to authenticate users.portal_start_url(String)
:The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console to get a URL that you can use to access the portal.
portal_contact_email(String)
:The Amazon Web Services administrator’s contact email address.
portal_status(Option<PortalStatus>)
:The current status of the portal, which contains a state and any error message.
portal_creation_date(DateTime)
:The date the portal was created, in Unix epoch time.
portal_last_update_date(DateTime)
:The date the portal was last updated, in Unix epoch time.
portal_logo_image_location(Option<ImageLocation>)
:The portal’s logo image, which is available at a URL.
role_arn(Option<String>)
:The ARN of the service role that allows the portal’s users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.
portal_auth_mode(Option<AuthMode>)
:The service to use to authenticate users to the portal.
notification_sender_email(Option<String>)
:The email address that sends alarm notifications.
alarms(Option<Alarms>)
:Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal.
portal_type(Option<PortalType>)
:Define the type of portal. The value for IoT SiteWise Monitor (Classic) is
SITEWISE_PORTAL_V1
. The value for IoT SiteWise Monitor (AI-aware) isSITEWISE_PORTAL_V2
.portal_type_configuration(Option<HashMap::<String, PortalTypeEntry>>)
:The configuration entry associated with the specific portal type. The value for IoT SiteWise Monitor (Classic) is
SITEWISE_PORTAL_V1
. The value for IoT SiteWise Monitor (AI-aware) isSITEWISE_PORTAL_V2
.
- On failure, responds with
SdkError<DescribePortalError>
Source§impl Client
impl Client
Sourcepub fn describe_project(&self) -> DescribeProjectFluentBuilder
pub fn describe_project(&self) -> DescribeProjectFluentBuilder
Constructs a fluent builder for the DescribeProject
operation.
- The fluent builder is configurable:
project_id(impl Into<String>)
/set_project_id(Option<String>)
:
required: trueThe ID of the project.
- On success, responds with
DescribeProjectOutput
with field(s):project_id(String)
:The ID of the project.
project_arn(String)
:The ARN of the project, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}
project_name(String)
:The name of the project.
portal_id(String)
:The ID of the portal that the project is in.
project_description(Option<String>)
:The project’s description.
project_creation_date(DateTime)
:The date the project was created, in Unix epoch time.
project_last_update_date(DateTime)
:The date the project was last updated, in Unix epoch time.
- On failure, responds with
SdkError<DescribeProjectError>
Source§impl Client
impl Client
Sourcepub fn describe_storage_configuration(
&self,
) -> DescribeStorageConfigurationFluentBuilder
pub fn describe_storage_configuration( &self, ) -> DescribeStorageConfigurationFluentBuilder
Constructs a fluent builder for the DescribeStorageConfiguration
operation.
- The fluent builder takes no input, just
send
it. - On success, responds with
DescribeStorageConfigurationOutput
with field(s):storage_type(StorageType)
:The storage tier that you specified for your data. The
storageType
parameter can be one of the following values:-
SITEWISE_DEFAULT_STORAGE
– IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database. -
MULTI_LAYER_STORAGE
– IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.
-
multi_layer_storage(Option<MultiLayerStorage>)
:Contains information about the storage destination.
disassociated_data_storage(Option<DisassociatedDataStorageState>)
:Contains the storage configuration for time series (data streams) that aren’t associated with asset properties. The
disassociatedDataStorage
can be one of the following values:-
ENABLED
– IoT SiteWise accepts time series that aren’t associated with asset properties.After the
disassociatedDataStorage
is enabled, you can’t disable it. -
DISABLED
– IoT SiteWise doesn’t accept time series (data streams) that aren’t associated with asset properties.
For more information, see Data streams in the IoT SiteWise User Guide.
-
retention_period(Option<RetentionPeriod>)
:The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.
configuration_status(Option<ConfigurationStatus>)
:Contains current status information for the configuration.
last_update_date(Option<DateTime>)
:The date the storage configuration was last updated, in Unix epoch time.
warm_tier(Option<WarmTierState>)
:A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.
warm_tier_retention_period(Option<WarmTierRetentionPeriod>)
:Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.
disallow_ingest_null_na_n(Option<bool>)
:Describes the configuration for ingesting NULL and NaN data. By default the feature is allowed. The feature is disallowed if the value is
true
.
- On failure, responds with
SdkError<DescribeStorageConfigurationError>
Source§impl Client
impl Client
Sourcepub fn describe_time_series(&self) -> DescribeTimeSeriesFluentBuilder
pub fn describe_time_series(&self) -> DescribeTimeSeriesFluentBuilder
Constructs a fluent builder for the DescribeTimeSeries
operation.
- The fluent builder is configurable:
alias(impl Into<String>)
/set_alias(Option<String>)
:
required: falseThe alias that identifies the time series.
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: falseThe ID of the asset in which the asset property was created. 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.property_id(impl Into<String>)
/set_property_id(Option<String>)
:
required: falseThe ID of the asset property. 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.
- On success, responds with
DescribeTimeSeriesOutput
with field(s):asset_id(Option<String>)
:The ID of the asset in which the asset property was created.
property_id(Option<String>)
:The ID of the asset property, in UUID format.
alias(Option<String>)
:The alias that identifies the time series.
time_series_id(String)
:The ID of the time series.
data_type(PropertyDataType)
:The data type of the time series.
If you specify
STRUCT
, you must also specifydataTypeSpec
to identify the type of the structure for this time series.data_type_spec(Option<String>)
:The data type of the structure for this time series. This parameter is required for time series that have the
STRUCT
data type.The options for this parameter depend on the type of the composite model in which you created the asset property that is associated with your time series. Use
AWS/ALARM_STATE
for alarm state in alarm composite models.time_series_creation_date(DateTime)
:The date that the time series was created, in Unix epoch time.
time_series_last_update_date(DateTime)
:The date that the time series was last updated, in Unix epoch time.
time_series_arn(String)
:The ARN of the time series, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId}
- On failure, responds with
SdkError<DescribeTimeSeriesError>
Source§impl Client
impl Client
Sourcepub fn disassociate_assets(&self) -> DisassociateAssetsFluentBuilder
pub fn disassociate_assets(&self) -> DisassociateAssetsFluentBuilder
Constructs a fluent builder for the DisassociateAssets
operation.
- The fluent builder is configurable:
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: trueThe ID of the parent asset from which to disassociate the child asset. 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.hierarchy_id(impl Into<String>)
/set_hierarchy_id(Option<String>)
:
required: trueThe ID of a hierarchy in the parent asset’s model. (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.) Hierarchies allow different groupings of assets to be formed that all come from the same asset model. You can use the hierarchy ID to identify the correct asset to disassociate. For more information, see Asset hierarchies in the IoT SiteWise User Guide.child_asset_id(impl Into<String>)
/set_child_asset_id(Option<String>)
:
required: trueThe ID of the child asset to disassociate. 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.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
DisassociateAssetsOutput
- On failure, responds with
SdkError<DisassociateAssetsError>
Source§impl Client
impl Client
Sourcepub fn disassociate_time_series_from_asset_property(
&self,
) -> DisassociateTimeSeriesFromAssetPropertyFluentBuilder
pub fn disassociate_time_series_from_asset_property( &self, ) -> DisassociateTimeSeriesFromAssetPropertyFluentBuilder
Constructs a fluent builder for the DisassociateTimeSeriesFromAssetProperty
operation.
- The fluent builder is configurable:
alias(impl Into<String>)
/set_alias(Option<String>)
:
required: trueThe alias that identifies the time series.
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: trueThe ID of the asset in which the asset property was created. 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.property_id(impl Into<String>)
/set_property_id(Option<String>)
:
required: trueThe ID of the asset property. 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.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
DisassociateTimeSeriesFromAssetPropertyOutput
- On failure, responds with
SdkError<DisassociateTimeSeriesFromAssetPropertyError>
Source§impl Client
impl Client
Sourcepub fn execute_action(&self) -> ExecuteActionFluentBuilder
pub fn execute_action(&self) -> ExecuteActionFluentBuilder
Constructs a fluent builder for the ExecuteAction
operation.
- The fluent builder is configurable:
target_resource(TargetResource)
/set_target_resource(Option<TargetResource>)
:
required: trueThe resource the action will be taken on.
action_definition_id(impl Into<String>)
/set_action_definition_id(Option<String>)
:
required: trueThe ID of the action definition.
action_payload(ActionPayload)
/set_action_payload(Option<ActionPayload>)
:
required: trueThe JSON payload of the action.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
resolve_to(ResolveTo)
/set_resolve_to(Option<ResolveTo>)
:
required: falseThe detailed resource this action resolves to.
- On success, responds with
ExecuteActionOutput
with field(s):action_id(String)
:The ID of the action.
- On failure, responds with
SdkError<ExecuteActionError>
Source§impl Client
impl Client
Sourcepub fn execute_query(&self) -> ExecuteQueryFluentBuilder
pub fn execute_query(&self) -> ExecuteQueryFluentBuilder
Constructs a fluent builder for the ExecuteQuery
operation.
- The fluent builder is configurable:
query_statement(impl Into<String>)
/set_query_statement(Option<String>)
:
required: trueThe IoT SiteWise query statement.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe string that specifies the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return at one time.
-
Minimum is 1
-
Maximum is 20000
-
Default is 250
-
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
ExecuteQueryOutput
with field(s):columns(Option<Vec::<ColumnInfo>>)
:Represents a single column in the query results.
rows(Option<Vec::<Row>>)
:Represents a single row in the query results.
next_token(Option<String>)
:The string that specifies the next page of results.
- On failure, responds with
SdkError<ExecuteQueryError>
Source§impl Client
impl Client
Sourcepub fn get_asset_property_aggregates(
&self,
) -> GetAssetPropertyAggregatesFluentBuilder
pub fn get_asset_property_aggregates( &self, ) -> GetAssetPropertyAggregatesFluentBuilder
Constructs a fluent builder for the GetAssetPropertyAggregates
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: falseThe ID of the asset, in UUID format.
property_id(impl Into<String>)
/set_property_id(Option<String>)
:
required: falseThe ID of the asset property, in UUID format.
property_alias(impl Into<String>)
/set_property_alias(Option<String>)
:
required: falseThe alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature
). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.aggregate_types(AggregateType)
/set_aggregate_types(Option<Vec::<AggregateType>>)
:
required: trueThe data aggregating function.
resolution(impl Into<String>)
/set_resolution(Option<String>)
:
required: trueThe time interval over which to aggregate data.
qualities(Quality)
/set_qualities(Option<Vec::<Quality>>)
:
required: falseThe quality by which to filter asset data.
start_date(DateTime)
/set_start_date(Option<DateTime>)
:
required: trueThe exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.
end_date(DateTime)
/set_end_date(Option<DateTime>)
:
required: trueThe inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.
time_ordering(TimeOrdering)
/set_time_ordering(Option<TimeOrdering>)
:
required: falseThe chronological sorting order of the requested information.
Default:
ASCENDING
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request. A result set is returned in the two cases, whichever occurs first.
-
The size of the result set is equal to 1 MB.
-
The number of data points in the result set is equal to the value of
maxResults
. The maximum value ofmaxResults
is 2500.
-
- On success, responds with
GetAssetPropertyAggregatesOutput
with field(s):aggregated_values(Vec::<AggregatedValue>)
:The requested aggregated values.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<GetAssetPropertyAggregatesError>
Source§impl Client
impl Client
Sourcepub fn get_asset_property_value(&self) -> GetAssetPropertyValueFluentBuilder
pub fn get_asset_property_value(&self) -> GetAssetPropertyValueFluentBuilder
Constructs a fluent builder for the GetAssetPropertyValue
operation.
- The fluent builder is configurable:
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: falseThe ID of the asset, in UUID format.
property_id(impl Into<String>)
/set_property_id(Option<String>)
:
required: falseThe ID of the asset property, in UUID format.
property_alias(impl Into<String>)
/set_property_alias(Option<String>)
:
required: falseThe alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature
). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.
- On success, responds with
GetAssetPropertyValueOutput
with field(s):property_value(Option<AssetPropertyValue>)
:The current asset property value.
- On failure, responds with
SdkError<GetAssetPropertyValueError>
Source§impl Client
impl Client
Sourcepub fn get_asset_property_value_history(
&self,
) -> GetAssetPropertyValueHistoryFluentBuilder
pub fn get_asset_property_value_history( &self, ) -> GetAssetPropertyValueHistoryFluentBuilder
Constructs a fluent builder for the GetAssetPropertyValueHistory
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: falseThe ID of the asset, in UUID format.
property_id(impl Into<String>)
/set_property_id(Option<String>)
:
required: falseThe ID of the asset property, in UUID format.
property_alias(impl Into<String>)
/set_property_alias(Option<String>)
:
required: falseThe alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature
). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.start_date(DateTime)
/set_start_date(Option<DateTime>)
:
required: falseThe exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.
end_date(DateTime)
/set_end_date(Option<DateTime>)
:
required: falseThe inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.
qualities(Quality)
/set_qualities(Option<Vec::<Quality>>)
:
required: falseThe quality by which to filter asset data.
time_ordering(TimeOrdering)
/set_time_ordering(Option<TimeOrdering>)
:
required: falseThe chronological sorting order of the requested information.
Default:
ASCENDING
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request. A result set is returned in the two cases, whichever occurs first.
-
The size of the result set is equal to 4 MB.
-
The number of data points in the result set is equal to the value of
maxResults
. The maximum value ofmaxResults
is 20000.
-
- On success, responds with
GetAssetPropertyValueHistoryOutput
with field(s):asset_property_value_history(Vec::<AssetPropertyValue>)
:The asset property’s value history.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<GetAssetPropertyValueHistoryError>
Source§impl Client
impl Client
Sourcepub fn get_interpolated_asset_property_values(
&self,
) -> GetInterpolatedAssetPropertyValuesFluentBuilder
pub fn get_interpolated_asset_property_values( &self, ) -> GetInterpolatedAssetPropertyValuesFluentBuilder
Constructs a fluent builder for the GetInterpolatedAssetPropertyValues
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: falseThe ID of the asset, in UUID format.
property_id(impl Into<String>)
/set_property_id(Option<String>)
:
required: falseThe ID of the asset property, in UUID format.
property_alias(impl Into<String>)
/set_property_alias(Option<String>)
:
required: falseThe alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature
). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.start_time_in_seconds(i64)
/set_start_time_in_seconds(Option<i64>)
:
required: trueThe exclusive start of the range from which to interpolate data, expressed in seconds in Unix epoch time.
start_time_offset_in_nanos(i32)
/set_start_time_offset_in_nanos(Option<i32>)
:
required: falseThe nanosecond offset converted from
startTimeInSeconds
.end_time_in_seconds(i64)
/set_end_time_in_seconds(Option<i64>)
:
required: trueThe inclusive end of the range from which to interpolate data, expressed in seconds in Unix epoch time.
end_time_offset_in_nanos(i32)
/set_end_time_offset_in_nanos(Option<i32>)
:
required: falseThe nanosecond offset converted from
endTimeInSeconds
.quality(Quality)
/set_quality(Option<Quality>)
:
required: trueThe quality of the asset property value. You can use this parameter as a filter to choose only the asset property values that have a specific quality.
interval_in_seconds(i64)
/set_interval_in_seconds(Option<i64>)
:
required: trueThe time interval in seconds over which to interpolate data. Each interval starts when the previous one ends.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request. If not specified, the default value is 10.
r#type(impl Into<String>)
/set_type(Option<String>)
:
required: trueThe interpolation type.
Valid values:
LINEAR_INTERPOLATION | LOCF_INTERPOLATION
-
LINEAR_INTERPOLATION
– Estimates missing data using linear interpolation.For example, you can use this operation to return the interpolated temperature values for a wind turbine every 24 hours over a duration of 7 days. If the interpolation starts July 1, 2021, at 9 AM, IoT SiteWise returns the first interpolated value on July 2, 2021, at 9 AM, the second interpolated value on July 3, 2021, at 9 AM, and so on.
-
LOCF_INTERPOLATION
– Estimates missing data using last observation carried forward interpolationIf no data point is found for an interval, IoT SiteWise returns the last observed data point for the previous interval and carries forward this interpolated value until a new data point is found.
For example, you can get the state of an on-off valve every 24 hours over a duration of 7 days. If the interpolation starts July 1, 2021, at 9 AM, IoT SiteWise returns the last observed data point between July 1, 2021, at 9 AM and July 2, 2021, at 9 AM as the first interpolated value. If a data point isn’t found after 9 AM on July 2, 2021, IoT SiteWise uses the same interpolated value for the rest of the days.
-
interval_window_in_seconds(i64)
/set_interval_window_in_seconds(Option<i64>)
:
required: falseThe query interval for the window, in seconds. IoT SiteWise computes each interpolated value by using data points from the timestamp of each interval, minus the window to the timestamp of each interval plus the window. If not specified, the window ranges between the start time minus the interval and the end time plus the interval.
-
If you specify a value for the
intervalWindowInSeconds
parameter, the value for thetype
parameter must beLINEAR_INTERPOLATION
. -
If a data point isn’t found during the specified query window, IoT SiteWise won’t return an interpolated value for the interval. This indicates that there’s a gap in the ingested data points.
For example, you can get the interpolated temperature values for a wind turbine every 24 hours over a duration of 7 days. If the interpolation starts on July 1, 2021, at 9 AM with a window of 2 hours, IoT SiteWise uses the data points from 7 AM (9 AM minus 2 hours) to 11 AM (9 AM plus 2 hours) on July 2, 2021 to compute the first interpolated value. Next, IoT SiteWise uses the data points from 7 AM (9 AM minus 2 hours) to 11 AM (9 AM plus 2 hours) on July 3, 2021 to compute the second interpolated value, and so on.
-
- On success, responds with
GetInterpolatedAssetPropertyValuesOutput
with field(s):interpolated_asset_property_values(Vec::<InterpolatedAssetPropertyValue>)
:The requested interpolated values.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<GetInterpolatedAssetPropertyValuesError>
Source§impl Client
impl Client
Sourcepub fn invoke_assistant(&self) -> InvokeAssistantFluentBuilder
pub fn invoke_assistant(&self) -> InvokeAssistantFluentBuilder
Constructs a fluent builder for the InvokeAssistant
operation.
- The fluent builder is configurable:
conversation_id(impl Into<String>)
/set_conversation_id(Option<String>)
:
required: falseThe ID assigned to a conversation. IoT SiteWise automatically generates a unique ID for you, and this parameter is never required. However, if you prefer to have your own ID, you must specify it here in UUID format. If you specify your own ID, it must be globally unique.
message(impl Into<String>)
/set_message(Option<String>)
:
required: trueA text message sent to the SiteWise Assistant by the user.
enable_trace(bool)
/set_enable_trace(Option<bool>)
:
required: falseSpecifies if to turn trace on or not. It is used to track the SiteWise Assistant’s reasoning, and data access process.
- On success, responds with
InvokeAssistantOutput
with field(s):body(EventReceiver<ResponseStream, ResponseStreamError>)
:Contains the response, citation, and trace from the SiteWise Assistant.
conversation_id(String)
:The ID of the conversation, in UUID format. This ID uniquely identifies the conversation within IoT SiteWise.
- On failure, responds with
SdkError<InvokeAssistantError>
Source§impl Client
impl Client
Sourcepub fn list_access_policies(&self) -> ListAccessPoliciesFluentBuilder
pub fn list_access_policies(&self) -> ListAccessPoliciesFluentBuilder
Constructs a fluent builder for the ListAccessPolicies
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
identity_type(IdentityType)
/set_identity_type(Option<IdentityType>)
:
required: falseThe type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user). This parameter is required if you specify
identityId
.identity_id(impl Into<String>)
/set_identity_id(Option<String>)
:
required: falseThe ID of the identity. This parameter is required if you specify
USER
orGROUP
foridentityType
.resource_type(ResourceType)
/set_resource_type(Option<ResourceType>)
:
required: falseThe type of resource (portal or project). This parameter is required if you specify
resourceId
.resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:
required: falseThe ID of the resource. This parameter is required if you specify
resourceType
.iam_arn(impl Into<String>)
/set_iam_arn(Option<String>)
:
required: falseThe ARN of the IAM user. For more information, see IAM ARNs in the IAM User Guide. This parameter is required if you specify
IAM
foridentityType
.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request.
Default: 50
- On success, responds with
ListAccessPoliciesOutput
with field(s):access_policy_summaries(Vec::<AccessPolicySummary>)
:A list that summarizes each access policy.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListAccessPoliciesError>
Source§impl Client
impl Client
Sourcepub fn list_actions(&self) -> ListActionsFluentBuilder
pub fn list_actions(&self) -> ListActionsFluentBuilder
Constructs a fluent builder for the ListActions
operation.
- The fluent builder is configurable:
target_resource_type(TargetResourceType)
/set_target_resource_type(Option<TargetResourceType>)
:
required: trueThe type of resource.
target_resource_id(impl Into<String>)
/set_target_resource_id(Option<String>)
:
required: trueThe ID of the target resource.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request.
resolve_to_resource_type(ResolveToResourceType)
/set_resolve_to_resource_type(Option<ResolveToResourceType>)
:
required: falseThe type of the resolved resource.
resolve_to_resource_id(impl Into<String>)
/set_resolve_to_resource_id(Option<String>)
:
required: falseThe ID of the resolved resource.
- On success, responds with
ListActionsOutput
with field(s):action_summaries(Vec::<ActionSummary>)
:A list that summarizes the actions associated with the specified asset.
next_token(String)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListActionsError>
Source§impl Client
impl Client
Sourcepub fn list_asset_model_composite_models(
&self,
) -> ListAssetModelCompositeModelsFluentBuilder
pub fn list_asset_model_composite_models( &self, ) -> ListAssetModelCompositeModelsFluentBuilder
Constructs a fluent builder for the ListAssetModelCompositeModels
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
asset_model_id(impl Into<String>)
/set_asset_model_id(Option<String>)
:
required: trueThe ID of the asset model. 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.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request.
Default: 50
asset_model_version(impl Into<String>)
/set_asset_model_version(Option<String>)
:
required: falseThe version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is
LATEST
. See Asset model versions in the IoT SiteWise User Guide.
- On success, responds with
ListAssetModelCompositeModelsOutput
with field(s):asset_model_composite_model_summaries(Vec::<AssetModelCompositeModelSummary>)
:A list that summarizes each composite model.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListAssetModelCompositeModelsError>
Source§impl Client
impl Client
Sourcepub fn list_asset_model_properties(
&self,
) -> ListAssetModelPropertiesFluentBuilder
pub fn list_asset_model_properties( &self, ) -> ListAssetModelPropertiesFluentBuilder
Constructs a fluent builder for the ListAssetModelProperties
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
asset_model_id(impl Into<String>)
/set_asset_model_id(Option<String>)
:
required: trueThe ID of the asset model. 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.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request. If not specified, the default value is 50.
filter(ListAssetModelPropertiesFilter)
/set_filter(Option<ListAssetModelPropertiesFilter>)
:
required: falseFilters the requested list of asset model properties. You can choose one of the following options:
-
ALL
– The list includes all asset model properties for a given asset model ID. -
BASE
– The list includes only base asset model properties for a given asset model ID.
Default:
BASE
-
asset_model_version(impl Into<String>)
/set_asset_model_version(Option<String>)
:
required: falseThe version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is
LATEST
. See Asset model versions in the IoT SiteWise User Guide.
- On success, responds with
ListAssetModelPropertiesOutput
with field(s):asset_model_property_summaries(Vec::<AssetModelPropertySummary>)
:A list that summarizes the properties associated with the specified asset model.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListAssetModelPropertiesError>
Source§impl Client
impl Client
Sourcepub fn list_asset_models(&self) -> ListAssetModelsFluentBuilder
pub fn list_asset_models(&self) -> ListAssetModelsFluentBuilder
Constructs a fluent builder for the ListAssetModels
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
asset_model_types(AssetModelType)
/set_asset_model_types(Option<Vec::<AssetModelType>>)
:
required: falseThe type of asset model. If you don’t provide an
assetModelTypes
, all types of asset models are returned.-
ASSET_MODEL – An asset model that you can use to create assets. Can’t be included as a component in another asset model.
-
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can’t create assets directly from this type of asset model.
-
INTERFACE – An interface is a type of model that defines a standard structure that can be applied to different asset models.
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request.
Default: 50
asset_model_version(impl Into<String>)
/set_asset_model_version(Option<String>)
:
required: falseThe version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is
LATEST
. See Asset model versions in the IoT SiteWise User Guide.
- On success, responds with
ListAssetModelsOutput
with field(s):asset_model_summaries(Vec::<AssetModelSummary>)
:A list that summarizes each asset model.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListAssetModelsError>
Source§impl Client
impl Client
Sourcepub fn list_asset_properties(&self) -> ListAssetPropertiesFluentBuilder
pub fn list_asset_properties(&self) -> ListAssetPropertiesFluentBuilder
Constructs a fluent builder for the ListAssetProperties
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: trueThe ID of the asset. 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.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request. If not specified, the default value is 50.
filter(ListAssetPropertiesFilter)
/set_filter(Option<ListAssetPropertiesFilter>)
:
required: falseFilters the requested list of asset properties. You can choose one of the following options:
-
ALL
– The list includes all asset properties for a given asset model ID. -
BASE
– The list includes only base asset properties for a given asset model ID.
Default:
BASE
-
- On success, responds with
ListAssetPropertiesOutput
with field(s):asset_property_summaries(Vec::<AssetPropertySummary>)
:A list that summarizes the properties associated with the specified asset.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListAssetPropertiesError>
Source§impl Client
impl Client
Sourcepub fn list_asset_relationships(&self) -> ListAssetRelationshipsFluentBuilder
pub fn list_asset_relationships(&self) -> ListAssetRelationshipsFluentBuilder
Constructs a fluent builder for the ListAssetRelationships
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: trueThe ID of the asset. 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.traversal_type(TraversalType)
/set_traversal_type(Option<TraversalType>)
:
required: trueThe type of traversal to use to identify asset relationships. Choose the following option:
-
PATH_TO_ROOT
– Identify the asset’s parent assets up to the root asset. The asset that you specify inassetId
is the first result in the list ofassetRelationshipSummaries
, and the root asset is the last result.
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request.
- On success, responds with
ListAssetRelationshipsOutput
with field(s):asset_relationship_summaries(Vec::<AssetRelationshipSummary>)
:A list that summarizes each asset relationship.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListAssetRelationshipsError>
Source§impl Client
impl Client
Sourcepub fn list_assets(&self) -> ListAssetsFluentBuilder
pub fn list_assets(&self) -> ListAssetsFluentBuilder
Constructs a fluent builder for the ListAssets
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request.
Default: 50
asset_model_id(impl Into<String>)
/set_asset_model_id(Option<String>)
:
required: falseThe ID of the asset model by which to filter the list of assets. This parameter is required if you choose
ALL
forfilter
. This can be either the actual ID in UUID format, or elseexternalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.filter(ListAssetsFilter)
/set_filter(Option<ListAssetsFilter>)
:
required: falseThe filter for the requested list of assets. Choose one of the following options:
-
ALL
– The list includes all assets for a given asset model ID. TheassetModelId
parameter is required if you filter byALL
. -
TOP_LEVEL
– The list includes only top-level assets in the asset hierarchy tree.
Default:
ALL
-
- On success, responds with
ListAssetsOutput
with field(s):asset_summaries(Vec::<AssetSummary>)
:A list that summarizes each asset.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListAssetsError>
Source§impl Client
impl Client
Sourcepub fn list_associated_assets(&self) -> ListAssociatedAssetsFluentBuilder
pub fn list_associated_assets(&self) -> ListAssociatedAssetsFluentBuilder
Constructs a fluent builder for the ListAssociatedAssets
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: trueThe ID of the asset to query. 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.hierarchy_id(impl Into<String>)
/set_hierarchy_id(Option<String>)
:
required: false(Optional) If you don’t provide a
hierarchyId
, all the immediate assets in thetraversalDirection
will be returned.The ID of the hierarchy by which child assets are associated to the asset. (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.)For more information, see Asset hierarchies in the IoT SiteWise User Guide.
traversal_direction(TraversalDirection)
/set_traversal_direction(Option<TraversalDirection>)
:
required: falseThe direction to list associated assets. Choose one of the following options:
-
CHILD
– The list includes all child assets associated to the asset. -
PARENT
– The list includes the asset’s parent asset.
Default:
CHILD
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request.
Default: 50
- On success, responds with
ListAssociatedAssetsOutput
with field(s):asset_summaries(Vec::<AssociatedAssetsSummary>)
:A list that summarizes the associated assets.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListAssociatedAssetsError>
Source§impl Client
impl Client
Sourcepub fn list_bulk_import_jobs(&self) -> ListBulkImportJobsFluentBuilder
pub fn list_bulk_import_jobs(&self) -> ListBulkImportJobsFluentBuilder
Constructs a fluent builder for the ListBulkImportJobs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request.
filter(ListBulkImportJobsFilter)
/set_filter(Option<ListBulkImportJobsFilter>)
:
required: falseYou can use a filter to select the bulk import jobs that you want to retrieve.
- On success, responds with
ListBulkImportJobsOutput
with field(s):job_summaries(Vec::<JobSummary>)
:One or more job summaries to list.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListBulkImportJobsError>
Source§impl Client
impl Client
Sourcepub fn list_composition_relationships(
&self,
) -> ListCompositionRelationshipsFluentBuilder
pub fn list_composition_relationships( &self, ) -> ListCompositionRelationshipsFluentBuilder
Constructs a fluent builder for the ListCompositionRelationships
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
asset_model_id(impl Into<String>)
/set_asset_model_id(Option<String>)
:
required: trueThe ID of the asset model. 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.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request.
Default: 50
- On success, responds with
ListCompositionRelationshipsOutput
with field(s):composition_relationship_summaries(Vec::<CompositionRelationshipSummary>)
:A list that summarizes each composition relationship.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListCompositionRelationshipsError>
Source§impl Client
impl Client
Sourcepub fn list_computation_model_data_binding_usages(
&self,
) -> ListComputationModelDataBindingUsagesFluentBuilder
pub fn list_computation_model_data_binding_usages( &self, ) -> ListComputationModelDataBindingUsagesFluentBuilder
Constructs a fluent builder for the ListComputationModelDataBindingUsages
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
data_binding_value_filter(DataBindingValueFilter)
/set_data_binding_value_filter(Option<DataBindingValueFilter>)
:
required: trueA filter used to limit the returned data binding usages based on specific data binding values. You can filter by asset, asset model, asset property, or asset model property to find all computation models using these specific data sources.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results returned for each paginated request.
- On success, responds with
ListComputationModelDataBindingUsagesOutput
with field(s):data_binding_usage_summaries(Vec::<ComputationModelDataBindingUsageSummary>)
:A list of summaries describing the data binding usages across computation models. Each summary includes the computation model IDs and the matched data binding details.
next_token(Option<String>)
:The token for the next set of paginated results, or null if there are no additional results.
- On failure, responds with
SdkError<ListComputationModelDataBindingUsagesError>
Source§impl Client
impl Client
Sourcepub fn list_computation_model_resolve_to_resources(
&self,
) -> ListComputationModelResolveToResourcesFluentBuilder
pub fn list_computation_model_resolve_to_resources( &self, ) -> ListComputationModelResolveToResourcesFluentBuilder
Constructs a fluent builder for the ListComputationModelResolveToResources
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
computation_model_id(impl Into<String>)
/set_computation_model_id(Option<String>)
:
required: trueThe ID of the computation model for which to list resolved resources.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results returned for each paginated request.
- On success, responds with
ListComputationModelResolveToResourcesOutput
with field(s):computation_model_resolve_to_resource_summaries(Vec::<ComputationModelResolveToResourceSummary>)
:A list of summaries describing the distinct resources that this computation model resolves to when actions were executed.
next_token(Option<String>)
:The token for the next set of paginated results, or null if there are no additional results.
- On failure, responds with
SdkError<ListComputationModelResolveToResourcesError>
Source§impl Client
impl Client
Sourcepub fn list_computation_models(&self) -> ListComputationModelsFluentBuilder
pub fn list_computation_models(&self) -> ListComputationModelsFluentBuilder
Constructs a fluent builder for the ListComputationModels
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
computation_model_type(ComputationModelType)
/set_computation_model_type(Option<ComputationModelType>)
:
required: falseThe type of computation model. If a
computationModelType
is not provided, all types of computation models are returned.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request.
- On success, responds with
ListComputationModelsOutput
with field(s):computation_model_summaries(Vec::<ComputationModelSummary>)
:A list summarizing each computation model.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListComputationModelsError>
Source§impl Client
impl Client
Sourcepub fn list_dashboards(&self) -> ListDashboardsFluentBuilder
pub fn list_dashboards(&self) -> ListDashboardsFluentBuilder
Constructs a fluent builder for the ListDashboards
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
project_id(impl Into<String>)
/set_project_id(Option<String>)
:
required: trueThe ID of the project.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request.
Default: 50
- On success, responds with
ListDashboardsOutput
with field(s):dashboard_summaries(Vec::<DashboardSummary>)
:A list that summarizes each dashboard in the project.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListDashboardsError>
Source§impl Client
impl Client
Sourcepub fn list_datasets(&self) -> ListDatasetsFluentBuilder
pub fn list_datasets(&self) -> ListDatasetsFluentBuilder
Constructs a fluent builder for the ListDatasets
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
source_type(DatasetSourceType)
/set_source_type(Option<DatasetSourceType>)
:
required: trueThe type of data source for the dataset.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next set of results, or null if there are no additional results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request.
- On success, responds with
ListDatasetsOutput
with field(s):dataset_summaries(Vec::<DatasetSummary>)
:A list that summarizes the dataset response.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListDatasetsError>
Source§impl Client
impl Client
Sourcepub fn list_executions(&self) -> ListExecutionsFluentBuilder
pub fn list_executions(&self) -> ListExecutionsFluentBuilder
Constructs a fluent builder for the ListExecutions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
target_resource_type(TargetResourceType)
/set_target_resource_type(Option<TargetResourceType>)
:
required: trueThe type of the target resource.
target_resource_id(impl Into<String>)
/set_target_resource_id(Option<String>)
:
required: trueThe ID of the target resource.
resolve_to_resource_type(ResolveToResourceType)
/set_resolve_to_resource_type(Option<ResolveToResourceType>)
:
required: falseThe type of the resolved resource.
resolve_to_resource_id(impl Into<String>)
/set_resolve_to_resource_id(Option<String>)
:
required: falseThe ID of the resolved resource.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results returned for each paginated request.
action_type(impl Into<String>)
/set_action_type(Option<String>)
:
required: falseThe type of action exectued.
- On success, responds with
ListExecutionsOutput
with field(s):execution_summaries(Vec::<ExecutionSummary>)
:Contains the list of execution summaries of the computation models.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListExecutionsError>
Source§impl Client
impl Client
Sourcepub fn list_gateways(&self) -> ListGatewaysFluentBuilder
pub fn list_gateways(&self) -> ListGatewaysFluentBuilder
Constructs a fluent builder for the ListGateways
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request.
Default: 50
- On success, responds with
ListGatewaysOutput
with field(s):gateway_summaries(Vec::<GatewaySummary>)
:A list that summarizes each gateway.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListGatewaysError>
Source§impl Client
impl Client
Sourcepub fn list_interface_relationships(
&self,
) -> ListInterfaceRelationshipsFluentBuilder
pub fn list_interface_relationships( &self, ) -> ListInterfaceRelationshipsFluentBuilder
Constructs a fluent builder for the ListInterfaceRelationships
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
interface_asset_model_id(impl Into<String>)
/set_interface_asset_model_id(Option<String>)
:
required: trueThe ID of the interface asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request. Default: 50
- On success, responds with
ListInterfaceRelationshipsOutput
with field(s):interface_relationship_summaries(Vec::<InterfaceRelationshipSummary>)
:A list that summarizes each interface relationship.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListInterfaceRelationshipsError>
Source§impl Client
impl Client
Sourcepub fn list_portals(&self) -> ListPortalsFluentBuilder
pub fn list_portals(&self) -> ListPortalsFluentBuilder
Constructs a fluent builder for the ListPortals
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request.
Default: 50
- On success, responds with
ListPortalsOutput
with field(s):portal_summaries(Option<Vec::<PortalSummary>>)
:A list that summarizes each portal.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListPortalsError>
Source§impl Client
impl Client
Sourcepub fn list_project_assets(&self) -> ListProjectAssetsFluentBuilder
pub fn list_project_assets(&self) -> ListProjectAssetsFluentBuilder
Constructs a fluent builder for the ListProjectAssets
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
project_id(impl Into<String>)
/set_project_id(Option<String>)
:
required: trueThe ID of the project.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request.
Default: 50
- On success, responds with
ListProjectAssetsOutput
with field(s):asset_ids(Vec::<String>)
:A list that contains the IDs of each asset associated with the project.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListProjectAssetsError>
Source§impl Client
impl Client
Sourcepub fn list_projects(&self) -> ListProjectsFluentBuilder
pub fn list_projects(&self) -> ListProjectsFluentBuilder
Constructs a fluent builder for the ListProjects
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
portal_id(impl Into<String>)
/set_portal_id(Option<String>)
:
required: trueThe ID of the portal.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request.
Default: 50
- On success, responds with
ListProjectsOutput
with field(s):project_summaries(Vec::<ProjectSummary>)
:A list that summarizes each project in the portal.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListProjectsError>
Source§impl Client
impl Client
Constructs a fluent builder for the ListTagsForResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueThe ARN of the resource.
- On success, responds with
ListTagsForResourceOutput
with field(s):tags(Option<HashMap::<String, String>>)
:The list of key-value pairs that contain metadata for the resource. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
- On failure, responds with
SdkError<ListTagsForResourceError>
Source§impl Client
impl Client
Sourcepub fn list_time_series(&self) -> ListTimeSeriesFluentBuilder
pub fn list_time_series(&self) -> ListTimeSeriesFluentBuilder
Constructs a fluent builder for the ListTimeSeries
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to be used for the next set of paginated results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for each paginated request.
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: falseThe ID of the asset in which the asset property was created. 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.alias_prefix(impl Into<String>)
/set_alias_prefix(Option<String>)
:
required: falseThe alias prefix of the time series.
time_series_type(ListTimeSeriesType)
/set_time_series_type(Option<ListTimeSeriesType>)
:
required: falseThe type of the time series. The time series type can be one of the following values:
-
ASSOCIATED
– The time series is associated with an asset property. -
DISASSOCIATED
– The time series isn’t associated with any asset property.
-
- On success, responds with
ListTimeSeriesOutput
with field(s):time_series_summaries(Vec::<TimeSeriesSummary>)
:One or more time series summaries to list.
next_token(Option<String>)
:The token for the next set of results, or null if there are no additional results.
- On failure, responds with
SdkError<ListTimeSeriesError>
Source§impl Client
impl Client
Sourcepub fn put_asset_model_interface_relationship(
&self,
) -> PutAssetModelInterfaceRelationshipFluentBuilder
pub fn put_asset_model_interface_relationship( &self, ) -> PutAssetModelInterfaceRelationshipFluentBuilder
Constructs a fluent builder for the PutAssetModelInterfaceRelationship
operation.
- The fluent builder is configurable:
asset_model_id(impl Into<String>)
/set_asset_model_id(Option<String>)
:
required: trueThe ID of the asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.
interface_asset_model_id(impl Into<String>)
/set_interface_asset_model_id(Option<String>)
:
required: trueThe ID of the interface asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.
property_mapping_configuration(PropertyMappingConfiguration)
/set_property_mapping_configuration(Option<PropertyMappingConfiguration>)
:
required: trueThe configuration for mapping properties from the interface asset model to the asset model where the interface is applied. This configuration controls how properties are matched and created during the interface application process.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
PutAssetModelInterfaceRelationshipOutput
with field(s):asset_model_id(String)
:The ID of the asset model.
interface_asset_model_id(String)
:The ID of the interface asset model.
asset_model_arn(String)
:The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
asset_model_status(Option<AssetModelStatus>)
:Contains current status information for an asset model. For more information, see Asset and model states in the IoT SiteWise User Guide.
- On failure, responds with
SdkError<PutAssetModelInterfaceRelationshipError>
Source§impl Client
impl Client
Sourcepub fn put_default_encryption_configuration(
&self,
) -> PutDefaultEncryptionConfigurationFluentBuilder
pub fn put_default_encryption_configuration( &self, ) -> PutDefaultEncryptionConfigurationFluentBuilder
Constructs a fluent builder for the PutDefaultEncryptionConfiguration
operation.
- The fluent builder is configurable:
encryption_type(EncryptionType)
/set_encryption_type(Option<EncryptionType>)
:
required: trueThe type of encryption used for the encryption configuration.
kms_key_id(impl Into<String>)
/set_kms_key_id(Option<String>)
:
required: falseThe Key ID of the customer managed key used for KMS encryption. This is required if you use
KMS_BASED_ENCRYPTION
.
- On success, responds with
PutDefaultEncryptionConfigurationOutput
with field(s):encryption_type(EncryptionType)
:The type of encryption used for the encryption configuration.
kms_key_arn(Option<String>)
:The Key ARN of the KMS key used for KMS encryption if you use
KMS_BASED_ENCRYPTION
.configuration_status(Option<ConfigurationStatus>)
:The status of the account configuration. This contains the
ConfigurationState
. If there is an error, it also contains theErrorDetails
.
- On failure, responds with
SdkError<PutDefaultEncryptionConfigurationError>
Source§impl Client
impl Client
Sourcepub fn put_logging_options(&self) -> PutLoggingOptionsFluentBuilder
pub fn put_logging_options(&self) -> PutLoggingOptionsFluentBuilder
Constructs a fluent builder for the PutLoggingOptions
operation.
- The fluent builder is configurable:
logging_options(LoggingOptions)
/set_logging_options(Option<LoggingOptions>)
:
required: trueThe logging options to set.
- On success, responds with
PutLoggingOptionsOutput
- On failure, responds with
SdkError<PutLoggingOptionsError>
Source§impl Client
impl Client
Sourcepub fn put_storage_configuration(&self) -> PutStorageConfigurationFluentBuilder
pub fn put_storage_configuration(&self) -> PutStorageConfigurationFluentBuilder
Constructs a fluent builder for the PutStorageConfiguration
operation.
- The fluent builder is configurable:
storage_type(StorageType)
/set_storage_type(Option<StorageType>)
:
required: trueThe storage tier that you specified for your data. The
storageType
parameter can be one of the following values:-
SITEWISE_DEFAULT_STORAGE
– IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database. -
MULTI_LAYER_STORAGE
– IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.
-
multi_layer_storage(MultiLayerStorage)
/set_multi_layer_storage(Option<MultiLayerStorage>)
:
required: falseIdentifies a storage destination. If you specified
MULTI_LAYER_STORAGE
for the storage type, you must specify aMultiLayerStorage
object.disassociated_data_storage(DisassociatedDataStorageState)
/set_disassociated_data_storage(Option<DisassociatedDataStorageState>)
:
required: falseContains the storage configuration for time series (data streams) that aren’t associated with asset properties. The
disassociatedDataStorage
can be one of the following values:-
ENABLED
– IoT SiteWise accepts time series that aren’t associated with asset properties.After the
disassociatedDataStorage
is enabled, you can’t disable it. -
DISABLED
– IoT SiteWise doesn’t accept time series (data streams) that aren’t associated with asset properties.
For more information, see Data streams in the IoT SiteWise User Guide.
-
retention_period(RetentionPeriod)
/set_retention_period(Option<RetentionPeriod>)
:
required: falseThe number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.
warm_tier(WarmTierState)
/set_warm_tier(Option<WarmTierState>)
:
required: falseA service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.
warm_tier_retention_period(WarmTierRetentionPeriod)
/set_warm_tier_retention_period(Option<WarmTierRetentionPeriod>)
:
required: falseSet this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.
disallow_ingest_null_na_n(bool)
/set_disallow_ingest_null_na_n(Option<bool>)
:
required: falseDescribes the configuration for ingesting NULL and NaN data. By default the feature is allowed. The feature is disallowed if the value is
true
.
- On success, responds with
PutStorageConfigurationOutput
with field(s):storage_type(StorageType)
:The storage tier that you specified for your data. The
storageType
parameter can be one of the following values:-
SITEWISE_DEFAULT_STORAGE
– IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database. -
MULTI_LAYER_STORAGE
– IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.
-
multi_layer_storage(Option<MultiLayerStorage>)
:Contains information about the storage destination.
disassociated_data_storage(Option<DisassociatedDataStorageState>)
:Contains the storage configuration for time series (data streams) that aren’t associated with asset properties. The
disassociatedDataStorage
can be one of the following values:-
ENABLED
– IoT SiteWise accepts time series that aren’t associated with asset properties.After the
disassociatedDataStorage
is enabled, you can’t disable it. -
DISABLED
– IoT SiteWise doesn’t accept time series (data streams) that aren’t associated with asset properties.
For more information, see Data streams in the IoT SiteWise User Guide.
-
retention_period(Option<RetentionPeriod>)
:The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.
configuration_status(Option<ConfigurationStatus>)
:Contains current status information for the configuration.
warm_tier(Option<WarmTierState>)
:A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.
warm_tier_retention_period(Option<WarmTierRetentionPeriod>)
:Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.
disallow_ingest_null_na_n(Option<bool>)
:Describes the configuration for ingesting NULL and NaN data. By default the feature is allowed. The feature is disallowed if the value is
true
.
- On failure, responds with
SdkError<PutStorageConfigurationError>
Source§impl Client
impl Client
Sourcepub fn tag_resource(&self) -> TagResourceFluentBuilder
pub fn tag_resource(&self) -> TagResourceFluentBuilder
Constructs a fluent builder for the TagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueThe ARN of the resource to tag.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: trueA list of key-value pairs that contain metadata for the resource. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
- On success, responds with
TagResourceOutput
- On failure, responds with
SdkError<TagResourceError>
Source§impl Client
impl Client
Sourcepub fn untag_resource(&self) -> UntagResourceFluentBuilder
pub fn untag_resource(&self) -> UntagResourceFluentBuilder
Constructs a fluent builder for the UntagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueThe ARN of the resource to untag.
tag_keys(impl Into<String>)
/set_tag_keys(Option<Vec::<String>>)
:
required: trueA list of keys for tags to remove from the resource.
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
Source§impl Client
impl Client
Sourcepub fn update_access_policy(&self) -> UpdateAccessPolicyFluentBuilder
pub fn update_access_policy(&self) -> UpdateAccessPolicyFluentBuilder
Constructs a fluent builder for the UpdateAccessPolicy
operation.
- The fluent builder is configurable:
access_policy_id(impl Into<String>)
/set_access_policy_id(Option<String>)
:
required: trueThe ID of the access policy.
access_policy_identity(Identity)
/set_access_policy_identity(Option<Identity>)
:
required: trueThe identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.
access_policy_resource(Resource)
/set_access_policy_resource(Option<Resource>)
:
required: trueThe IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.
access_policy_permission(Permission)
/set_access_policy_permission(Option<Permission>)
:
required: trueThe permission level for this access policy. Note that a project
ADMINISTRATOR
is also known as a project owner.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
UpdateAccessPolicyOutput
- On failure, responds with
SdkError<UpdateAccessPolicyError>
Source§impl Client
impl Client
Sourcepub fn update_asset(&self) -> UpdateAssetFluentBuilder
pub fn update_asset(&self) -> UpdateAssetFluentBuilder
Constructs a fluent builder for the UpdateAsset
operation.
- The fluent builder is configurable:
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: trueThe 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_external_id(impl Into<String>)
/set_asset_external_id(Option<String>)
:
required: falseAn 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.
asset_name(impl Into<String>)
/set_asset_name(Option<String>)
:
required: trueA friendly name for the asset.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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(impl Into<String>)
/set_asset_description(Option<String>)
:
required: falseA description for the asset.
- On success, responds with
UpdateAssetOutput
with field(s):asset_status(Option<AssetStatus>)
:The status of the asset, which contains a state (
UPDATING
after successfully calling this operation) and any error message.
- On failure, responds with
SdkError<UpdateAssetError>
Source§impl Client
impl Client
Sourcepub fn update_asset_model(&self) -> UpdateAssetModelFluentBuilder
pub fn update_asset_model(&self) -> UpdateAssetModelFluentBuilder
Constructs a fluent builder for the UpdateAssetModel
operation.
- The fluent builder is configurable:
asset_model_id(impl Into<String>)
/set_asset_model_id(Option<String>)
:
required: trueThe ID of the asset model 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_model_external_id(impl Into<String>)
/set_asset_model_external_id(Option<String>)
:
required: falseAn external ID to assign to the asset model. The asset model 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.
asset_model_name(impl Into<String>)
/set_asset_model_name(Option<String>)
:
required: trueA unique name for the asset model.
asset_model_description(impl Into<String>)
/set_asset_model_description(Option<String>)
:
required: falseA description for the asset model.
asset_model_properties(AssetModelProperty)
/set_asset_model_properties(Option<Vec::<AssetModelProperty>>)
:
required: falseThe updated property definitions of the asset model. For more information, see Asset properties in the IoT SiteWise User Guide.
You can specify up to 200 properties per asset model. For more information, see Quotas in the IoT SiteWise User Guide.
asset_model_hierarchies(AssetModelHierarchy)
/set_asset_model_hierarchies(Option<Vec::<AssetModelHierarchy>>)
:
required: falseThe updated hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. For more information, see Asset hierarchies in the IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the IoT SiteWise User Guide.
asset_model_composite_models(AssetModelCompositeModel)
/set_asset_model_composite_models(Option<Vec::<AssetModelCompositeModel>>)
:
required: falseThe composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model.
When creating custom composite models, you need to use CreateAssetModelCompositeModel. For more information, see Creating custom composite models (Components) in the IoT SiteWise User Guide.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
if_match(impl Into<String>)
/set_if_match(Option<String>)
:
required: falseThe expected current entity tag (ETag) for the asset model’s latest or active version (specified using
matchForVersionType
). The update request is rejected if the tag does not match the latest or active version’s current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.if_none_match(impl Into<String>)
/set_if_none_match(Option<String>)
:
required: falseAccepts * to reject the update request if an active version (specified using
matchForVersionType
asACTIVE
) already exists for the asset model.match_for_version_type(AssetModelVersionType)
/set_match_for_version_type(Option<AssetModelVersionType>)
:
required: falseSpecifies the asset model version type (
LATEST
orACTIVE
) used in conjunction withIf-Match
orIf-None-Match
headers to determine the target ETag for the update operation.
- On success, responds with
UpdateAssetModelOutput
with field(s):asset_model_status(Option<AssetModelStatus>)
:The status of the asset model, which contains a state (
UPDATING
after successfully calling this operation) and any error message.
- On failure, responds with
SdkError<UpdateAssetModelError>
Source§impl Client
impl Client
Sourcepub fn update_asset_model_composite_model(
&self,
) -> UpdateAssetModelCompositeModelFluentBuilder
pub fn update_asset_model_composite_model( &self, ) -> UpdateAssetModelCompositeModelFluentBuilder
Constructs a fluent builder for the UpdateAssetModelCompositeModel
operation.
- The fluent builder is configurable:
asset_model_id(impl Into<String>)
/set_asset_model_id(Option<String>)
:
required: trueThe ID of the asset model, in UUID format.
asset_model_composite_model_id(impl Into<String>)
/set_asset_model_composite_model_id(Option<String>)
:
required: trueThe ID of a composite model on this asset model.
asset_model_composite_model_external_id(impl Into<String>)
/set_asset_model_composite_model_external_id(Option<String>)
:
required: falseAn external ID to assign to the asset model. You can only set the external ID of the asset model if it wasn’t set when it was created, or you’re setting it to the exact same thing as when it was created.
asset_model_composite_model_description(impl Into<String>)
/set_asset_model_composite_model_description(Option<String>)
:
required: falseA description for the composite model.
asset_model_composite_model_name(impl Into<String>)
/set_asset_model_composite_model_name(Option<String>)
:
required: trueA unique name for the composite model.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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_model_composite_model_properties(AssetModelProperty)
/set_asset_model_composite_model_properties(Option<Vec::<AssetModelProperty>>)
:
required: falseThe property definitions of the composite model. For more information, see Inline custom composite models in the IoT SiteWise User Guide.
You can specify up to 200 properties per composite model. For more information, see Quotas in the IoT SiteWise User Guide.
if_match(impl Into<String>)
/set_if_match(Option<String>)
:
required: falseThe expected current entity tag (ETag) for the asset model’s latest or active version (specified using
matchForVersionType
). The update request is rejected if the tag does not match the latest or active version’s current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.if_none_match(impl Into<String>)
/set_if_none_match(Option<String>)
:
required: falseAccepts * to reject the update request if an active version (specified using
matchForVersionType
asACTIVE
) already exists for the asset model.match_for_version_type(AssetModelVersionType)
/set_match_for_version_type(Option<AssetModelVersionType>)
:
required: falseSpecifies the asset model version type (
LATEST
orACTIVE
) used in conjunction withIf-Match
orIf-None-Match
headers to determine the target ETag for the update operation.
- On success, responds with
UpdateAssetModelCompositeModelOutput
with field(s):asset_model_composite_model_path(Vec::<AssetModelCompositeModelPathSegment>)
:The path to the composite model listing the parent composite models.
asset_model_status(Option<AssetModelStatus>)
:Contains current status information for an asset model. For more information, see Asset and model states in the IoT SiteWise User Guide.
- On failure, responds with
SdkError<UpdateAssetModelCompositeModelError>
Source§impl Client
impl Client
Sourcepub fn update_asset_property(&self) -> UpdateAssetPropertyFluentBuilder
pub fn update_asset_property(&self) -> UpdateAssetPropertyFluentBuilder
Constructs a fluent builder for the UpdateAssetProperty
operation.
- The fluent builder is configurable:
asset_id(impl Into<String>)
/set_asset_id(Option<String>)
:
required: trueThe ID of the asset to be updated. 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.property_id(impl Into<String>)
/set_property_id(Option<String>)
:
required: trueThe ID of the asset property to be updated. 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.property_alias(impl Into<String>)
/set_property_alias(Option<String>)
:
required: falseThe alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature
). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.If you omit this parameter, the alias is removed from the property.
property_notification_state(PropertyNotificationState)
/set_property_notification_state(Option<PropertyNotificationState>)
:
required: falseThe MQTT notification state (enabled or disabled) for this asset property. When the notification state is enabled, IoT SiteWise publishes property value updates to a unique MQTT topic. For more information, see Interacting with other services in the IoT SiteWise User Guide.
If you omit this parameter, the notification state is set to
DISABLED
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
property_unit(impl Into<String>)
/set_property_unit(Option<String>)
:
required: falseThe unit of measure (such as Newtons or RPM) of the asset property. If you don’t specify a value for this parameter, the service uses the value of the
assetModelProperty
in the asset model.
- On success, responds with
UpdateAssetPropertyOutput
- On failure, responds with
SdkError<UpdateAssetPropertyError>
Source§impl Client
impl Client
Sourcepub fn update_computation_model(&self) -> UpdateComputationModelFluentBuilder
pub fn update_computation_model(&self) -> UpdateComputationModelFluentBuilder
Constructs a fluent builder for the UpdateComputationModel
operation.
- The fluent builder is configurable:
computation_model_id(impl Into<String>)
/set_computation_model_id(Option<String>)
:
required: trueThe ID of the computation model.
computation_model_name(impl Into<String>)
/set_computation_model_name(Option<String>)
:
required: trueThe name of the computation model.
computation_model_description(impl Into<String>)
/set_computation_model_description(Option<String>)
:
required: falseThe description of the computation model.
computation_model_configuration(ComputationModelConfiguration)
/set_computation_model_configuration(Option<ComputationModelConfiguration>)
:
required: trueThe configuration for the computation model.
computation_model_data_binding(impl Into<String>, ComputationModelDataBindingValue)
/set_computation_model_data_binding(Option<HashMap::<String, ComputationModelDataBindingValue>>)
:
required: trueThe data binding for the computation model. Key is a variable name defined in configuration. Value is a
ComputationModelDataBindingValue
referenced by the variable.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
UpdateComputationModelOutput
with field(s):computation_model_status(Option<ComputationModelStatus>)
:The status of the computation model. It contains a state (UPDATING after successfully calling this operation) and an error message if any.
- On failure, responds with
SdkError<UpdateComputationModelError>
Source§impl Client
impl Client
Sourcepub fn update_dashboard(&self) -> UpdateDashboardFluentBuilder
pub fn update_dashboard(&self) -> UpdateDashboardFluentBuilder
Constructs a fluent builder for the UpdateDashboard
operation.
- The fluent builder is configurable:
dashboard_id(impl Into<String>)
/set_dashboard_id(Option<String>)
:
required: trueThe ID of the dashboard to update.
dashboard_name(impl Into<String>)
/set_dashboard_name(Option<String>)
:
required: trueA new friendly name for the dashboard.
dashboard_description(impl Into<String>)
/set_dashboard_description(Option<String>)
:
required: falseA new description for the dashboard.
dashboard_definition(impl Into<String>)
/set_dashboard_definition(Option<String>)
:
required: trueThe new dashboard definition, as specified in a JSON literal.
-
IoT SiteWise Monitor (Classic) see Create dashboards (CLI)
-
IoT SiteWise Monitor (AI-aware) see Create dashboards (CLI)
in the IoT SiteWise User Guide
-
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
UpdateDashboardOutput
- On failure, responds with
SdkError<UpdateDashboardError>
Source§impl Client
impl Client
Sourcepub fn update_dataset(&self) -> UpdateDatasetFluentBuilder
pub fn update_dataset(&self) -> UpdateDatasetFluentBuilder
Constructs a fluent builder for the UpdateDataset
operation.
- The fluent builder is configurable:
dataset_id(impl Into<String>)
/set_dataset_id(Option<String>)
:
required: trueThe ID of the dataset.
dataset_name(impl Into<String>)
/set_dataset_name(Option<String>)
:
required: trueThe name of the dataset.
dataset_description(impl Into<String>)
/set_dataset_description(Option<String>)
:
required: falseA description about the dataset, and its functionality.
dataset_source(DatasetSource)
/set_dataset_source(Option<DatasetSource>)
:
required: trueThe data source for the dataset.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
UpdateDatasetOutput
with field(s):dataset_id(Option<String>)
:The ID of the dataset.
dataset_arn(Option<String>)
:The ARN of the dataset. The format is
arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}
.dataset_status(Option<DatasetStatus>)
:The status of the dataset. This contains the state and any error messages. State is
UPDATING
after a successfull call to this API, and any associated error message. The state isACTIVE
when ready to use.
- On failure, responds with
SdkError<UpdateDatasetError>
Source§impl Client
impl Client
Sourcepub fn update_gateway(&self) -> UpdateGatewayFluentBuilder
pub fn update_gateway(&self) -> UpdateGatewayFluentBuilder
Constructs a fluent builder for the UpdateGateway
operation.
- The fluent builder is configurable:
gateway_id(impl Into<String>)
/set_gateway_id(Option<String>)
:
required: trueThe ID of the gateway to update.
gateway_name(impl Into<String>)
/set_gateway_name(Option<String>)
:
required: trueA unique name for the gateway.
- On success, responds with
UpdateGatewayOutput
- On failure, responds with
SdkError<UpdateGatewayError>
Source§impl Client
impl Client
Sourcepub fn update_gateway_capability_configuration(
&self,
) -> UpdateGatewayCapabilityConfigurationFluentBuilder
pub fn update_gateway_capability_configuration( &self, ) -> UpdateGatewayCapabilityConfigurationFluentBuilder
Constructs a fluent builder for the UpdateGatewayCapabilityConfiguration
operation.
- The fluent builder is configurable:
gateway_id(impl Into<String>)
/set_gateway_id(Option<String>)
:
required: trueThe ID of the gateway to be updated.
capability_namespace(impl Into<String>)
/set_capability_namespace(Option<String>)
:
required: trueThe namespace of the gateway capability configuration to be updated. For example, if you configure OPC UA sources for an MQTT-enabled gateway, your OPC-UA capability configuration has the namespace
iotsitewise:opcuacollector:3
.capability_configuration(impl Into<String>)
/set_capability_configuration(Option<String>)
:
required: trueThe JSON document that defines the configuration for the gateway capability. For more information, see Configuring data sources (CLI) in the IoT SiteWise User Guide.
- On success, responds with
UpdateGatewayCapabilityConfigurationOutput
with field(s):capability_namespace(String)
:The namespace of the gateway capability.
capability_sync_status(CapabilitySyncStatus)
:The synchronization status of the gateway capability configuration. The sync status can be one of the following:
-
IN_SYNC
- The gateway is running with the latest configuration. -
OUT_OF_SYNC
- The gateway hasn’t received the latest configuration. -
SYNC_FAILED
- The gateway rejected the latest configuration. -
UNKNOWN
- The gateway hasn’t reported its sync status. -
NOT_APPLICABLE
- The gateway doesn’t support this capability. This is most common when integrating partner data sources, because the data integration is handled externally by the partner.
After you update a capability configuration, its sync status is
OUT_OF_SYNC
until the gateway receives and applies or rejects the updated configuration.-
- On failure, responds with
SdkError<UpdateGatewayCapabilityConfigurationError>
Source§impl Client
impl Client
Sourcepub fn update_portal(&self) -> UpdatePortalFluentBuilder
pub fn update_portal(&self) -> UpdatePortalFluentBuilder
Constructs a fluent builder for the UpdatePortal
operation.
- The fluent builder is configurable:
portal_id(impl Into<String>)
/set_portal_id(Option<String>)
:
required: trueThe ID of the portal to update.
portal_name(impl Into<String>)
/set_portal_name(Option<String>)
:
required: trueA new friendly name for the portal.
portal_description(impl Into<String>)
/set_portal_description(Option<String>)
:
required: falseA new description for the portal.
portal_contact_email(impl Into<String>)
/set_portal_contact_email(Option<String>)
:
required: trueThe Amazon Web Services administrator’s contact email address.
portal_logo_image(Image)
/set_portal_logo_image(Option<Image>)
:
required: falseContains an image that is one of the following:
-
An image file. Choose this option to upload a new image.
-
The ID of an existing image. Choose this option to keep an existing image.
-
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:
required: trueThe ARN of a service role that allows the portal’s users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
notification_sender_email(impl Into<String>)
/set_notification_sender_email(Option<String>)
:
required: falseThe email address that sends alarm notifications.
alarms(Alarms)
/set_alarms(Option<Alarms>)
:
required: falseContains the configuration information of an alarm created in an IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see Monitoring with alarms in the IoT SiteWise Application Guide.
portal_type(PortalType)
/set_portal_type(Option<PortalType>)
:
required: falseDefine the type of portal. The value for IoT SiteWise Monitor (Classic) is
SITEWISE_PORTAL_V1
. The value for IoT SiteWise Monitor (AI-aware) isSITEWISE_PORTAL_V2
.portal_type_configuration(impl Into<String>, PortalTypeEntry)
/set_portal_type_configuration(Option<HashMap::<String, PortalTypeEntry>>)
:
required: falseThe configuration entry associated with the specific portal type. The value for IoT SiteWise Monitor (Classic) is
SITEWISE_PORTAL_V1
. The value for IoT SiteWise Monitor (AI-aware) isSITEWISE_PORTAL_V2
.
- On success, responds with
UpdatePortalOutput
with field(s):portal_status(Option<PortalStatus>)
:The status of the portal, which contains a state (
UPDATING
after successfully calling this operation) and any error message.
- On failure, responds with
SdkError<UpdatePortalError>
Source§impl Client
impl Client
Sourcepub fn update_project(&self) -> UpdateProjectFluentBuilder
pub fn update_project(&self) -> UpdateProjectFluentBuilder
Constructs a fluent builder for the UpdateProject
operation.
- The fluent builder is configurable:
project_id(impl Into<String>)
/set_project_id(Option<String>)
:
required: trueThe ID of the project to update.
project_name(impl Into<String>)
/set_project_name(Option<String>)
:
required: trueA new friendly name for the project.
project_description(impl Into<String>)
/set_project_description(Option<String>)
:
required: falseA new description for the project.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA 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.
- On success, responds with
UpdateProjectOutput
- On failure, responds with
SdkError<UpdateProjectError>
Source§impl Client
impl Client
Sourcepub fn from_conf(conf: Config) -> Self
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config
.
§Panics
This method will panic in the following cases:
- Retries or timeouts are enabled without a
sleep_impl
configured. - Identity caching is enabled without a
sleep_impl
andtime_source
configured. - No
behavior_version
is provided.
The panic message for each of these will have instructions on how to resolve them.
Source§impl Client
impl Client
Sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
§Panics
- This method will panic if the
sdk_config
is missing an async sleep implementation. If you experience this panic, set thesleep_impl
on the Config passed into this function to fix it. - This method will panic if the
sdk_config
is missing an HTTP connector. If you experience this panic, set thehttp_connector
on the Config passed into this function to fix it. - This method will panic if no
BehaviorVersion
is provided. If you experience this panic, setbehavior_version
on the Config or enable thebehavior-version-latest
Cargo feature.
Trait Implementations§
Source§impl Waiters for Client
impl Waiters for Client
Source§fn wait_until_asset_active(&self) -> AssetActiveFluentBuilder
fn wait_until_asset_active(&self) -> AssetActiveFluentBuilder
asset_active
Source§fn wait_until_asset_not_exists(&self) -> AssetNotExistsFluentBuilder
fn wait_until_asset_not_exists(&self) -> AssetNotExistsFluentBuilder
asset_not_exists
Source§fn wait_until_asset_model_active(&self) -> AssetModelActiveFluentBuilder
fn wait_until_asset_model_active(&self) -> AssetModelActiveFluentBuilder
asset_model_active
Source§fn wait_until_asset_model_not_exists(&self) -> AssetModelNotExistsFluentBuilder
fn wait_until_asset_model_not_exists(&self) -> AssetModelNotExistsFluentBuilder
asset_model_not_exists
Source§fn wait_until_portal_active(&self) -> PortalActiveFluentBuilder
fn wait_until_portal_active(&self) -> PortalActiveFluentBuilder
portal_active
Source§fn wait_until_portal_not_exists(&self) -> PortalNotExistsFluentBuilder
fn wait_until_portal_not_exists(&self) -> PortalNotExistsFluentBuilder
portal_not_exists
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute
value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
Quirk
value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition
value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);