rustv1/examples/sitewise/README.md
These examples demonstrate how to perform several AWS IoT SiteWise operations using the AWS SDK for Rust.
AWS IoT SiteWise is a managed service that simplifies collecting, organizing, and analyzing industrial equipment data.
You must have an AWS account with your default credentials and AWS Region configured as described in https://github.com/awslabs/aws-sdk-rust.
This example lists AWS IoT SiteWise assets in the Region.
cargo run --bin list-assets -- -f FILTER [-a ASSET-MODEL-ID] [-r REGION] [-v]
If the example succeeds, it displays the Amazon Resource Name (ARN) of the new role.
This example list AWS IoT SiteWise asset models in the Region.
cargo run --bin list-asset-models -- [-r REGION] [-v]
This example list AWS IoT SiteWise portals in the Region.
cargo run --bin list-portals -- [-r REGION] [-v]
This example describe an AWS IoT SiteWise asset in the Region.
cargo run --bin describe-asset -- -a ASSET-ID [-r REGION] [-v]
To propose a new code example to the AWS documentation team, see CONTRIBUTING.md. The team prefers to create code examples that show broad scenarios rather than individual API calls.
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0