Update a campaign (AWS CLI) - AWS IoT FleetWise

Update a campaign (AWS CLI)

You can use the UpdateCampaign API operation to update an existing campaign. The following command uses AWS CLI.

  • Replace campaign-name with the name of the campaign that you're updating.

  • Replace action with one of the following:

    • APPROVE – Approves the campaign to allow AWS IoT FleetWise to deploy it to a vehicle or fleet.

    • SUSPEND – Suspends the campaign. The campaign is deleted from vehicles and all vehicles in the suspended campaign will stop sending data.

    • RESUME – Reactivates the SUSPEND campaign. The campaign is redeployed to all vehicles and the vehicles will resume sending data.

    • UPDATE – Updates the campaign by defining attributes and associating them with a signal.

aws iotfleetwise update-campaign \ --name campaign-name \ --action action