{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-fleetwise/refs/heads/main/json-schema/iot-fleetwise-update-campaign-request-schema.json", "title": "UpdateCampaignRequest", "description": "UpdateCampaignRequest schema", "type": "object", "properties": { "name": { "allOf": [ { "$ref": "#/components/schemas/campaignName" }, { "description": " The name of the campaign to update. " } ] }, "description": { "allOf": [ { "$ref": "#/components/schemas/description" }, { "description": "The description of the campaign." } ] }, "dataExtraDimensions": { "allOf": [ { "$ref": "#/components/schemas/DataExtraDimensionNodePathList" }, { "description": "
A list of vehicle attributes to associate with a signal.
Default: An empty array
" } ] }, "action": { "allOf": [ { "$ref": "#/components/schemas/UpdateCampaignAction" }, { "description": "Specifies how to update a campaign. The action can be one of the following:
APPROVE - To approve delivering a data collection scheme to vehicles.
SUSPEND - To suspend collecting signal data. The campaign is deleted from vehicles and all vehicles in the suspended campaign will stop sending data.
RESUME - To reactivate the SUSPEND campaign. The campaign is redeployed to all vehicles and the vehicles will resume sending data.
UPDATE - To update a campaign.