Get campaign information (AWS CLI) - AWS IoT FleetWise

Get campaign information (AWS CLI)

AWS IoT FleetWise is in preview release and is subject to change. We recommend that you use the service only with test data, and not in production environments.

While AWS IoT FleetWise is in preview, you must download the preview AWS SDK and AWS CLI to use the API operations for this service. These API operations aren't available in the public AWS SDK or AWS CLI. For more information, see AWS CLI and AWS SDKs (preview).

You can use the ListCampaigns API operation to verify if a campaign has been deleted. The following example uses the AWS CLI.

To retrieve a paginated list of summaries for all campaigns, run the following command.

aws iotfleetwise list-campaigns

You can use the GetCampaign API operation to retrieve vehicle information. The following example uses the AWS CLI.

To retrieve the metadata of a campaign, run the following command.

Replace campaign-name with the name of the campaign to you want to retrieve.

aws iotfleetwise get-campaign --campaign-name campaign-name