GetCampaignResponse

AutomotiveAmazon Web ServicesConnected VehiclesIoTTelematicsVehicle Data

Properties

Name Type Description
name string The name of the campaign.
arn string The Amazon Resource Name (ARN) of the campaign.
description string The description of the campaign.
signalCatalogArn string The ARN of a signal catalog.
targetArn string The ARN of the vehicle or the fleet targeted by the campaign.
status string The state of the campaign. The status can be one of: CREATING, WAITING_FOR_APPROVAL, RUNNING, and SUSPENDED.
startTime string The time, in milliseconds, to deliver a campaign after it was approved.
expiryTime string The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). Vehicle data won't be collected after the campaign expires.
postTriggerCollectionDuration integer How long (in seconds) to collect raw data after a triggering event initiates the collection.
diagnosticsMode string Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise.
spoolingMode string Whether to store collected data after a vehicle lost a connection with the cloud. After a connection is re-established, the data is automatically forwarded to Amazon Web Services IoT FleetWise.
compression string Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise. If OFF is specified, the signals aren't compressed. If it's not specified, SNAPPY is used.
priority integer A number indicating the priority of one campaign over another campaign for a certain vehicle or fleet. A campaign with the lowest value is deployed to vehicles before any other campaigns.
signalsToCollect array Information about a list of signals to collect data on.
collectionScheme object
dataExtraDimensions array A list of vehicle attributes associated with the campaign.
creationTime string The time the campaign was created in seconds since epoch (January 1, 1970 at midnight UTC time).
lastModificationTime string The last time the campaign was modified.
dataDestinationConfigs array The destination where the campaign sends data. You can send data to an MQTT topic, or store it in Amazon S3 or Amazon Timestream. MQTT is the publish/subscribe messaging protocol used by Amazon Web Se
dataPartitions array The data partitions associated with the signals collected from the vehicle.
signalsToFetch array Information about a list of signals to fetch data from.
View JSON Schema on GitHub

JSON Schema

amazon-iot-fleetwise-get-campaign-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-fleetwise/json-schema/amazon-iot-fleetwise-get-campaign-response-schema.json",
  "title": "GetCampaignResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-fleetwise-aws-iot-fleetwise-api-openapi.yml#/components/schemas/GetCampaignResponse",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the campaign."
    },
    "arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the campaign."
    },
    "description": {
      "type": "string",
      "description": "The description of the campaign."
    },
    "signalCatalogArn": {
      "type": "string",
      "description": "The ARN of a signal catalog."
    },
    "targetArn": {
      "type": "string",
      "description": "The ARN of the vehicle or the fleet targeted by the campaign."
    },
    "status": {
      "type": "string",
      "enum": [
        "CREATING",
        "WAITING_FOR_APPROVAL",
        "RUNNING",
        "SUSPENDED"
      ],
      "description": "The state of the campaign. The status can be one of: CREATING, WAITING_FOR_APPROVAL, RUNNING, and SUSPENDED."
    },
    "startTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time, in milliseconds, to deliver a campaign after it was approved."
    },
    "expiryTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). Vehicle data won't be collected after the campaign expires."
    },
    "postTriggerCollectionDuration": {
      "type": "integer",
      "description": "How long (in seconds) to collect raw data after a triggering event initiates the collection."
    },
    "diagnosticsMode": {
      "type": "string",
      "enum": [
        "OFF",
        "SEND_ACTIVE_DTCS"
      ],
      "description": "Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise."
    },
    "spoolingMode": {
      "type": "string",
      "enum": [
        "OFF",
        "TO_DISK"
      ],
      "description": "Whether to store collected data after a vehicle lost a connection with the cloud. After a connection is re-established, the data is automatically forwarded to Amazon Web Services IoT FleetWise."
    },
    "compression": {
      "type": "string",
      "enum": [
        "OFF",
        "SNAPPY"
      ],
      "description": "Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise. If OFF is specified, the signals aren't compressed. If it's not specified, SNAPPY is used."
    },
    "priority": {
      "type": "integer",
      "description": "A number indicating the priority of one campaign over another campaign for a certain vehicle or fleet. A campaign with the lowest value is deployed to vehicles before any other campaigns."
    },
    "signalsToCollect": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SignalInformation"
      },
      "description": "Information about a list of signals to collect data on."
    },
    "collectionScheme": {
      "$ref": "#/$defs/CollectionScheme"
    },
    "dataExtraDimensions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of vehicle attributes associated with the campaign."
    },
    "creationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time the campaign was created in seconds since epoch (January 1, 1970 at midnight UTC time)."
    },
    "lastModificationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The last time the campaign was modified."
    },
    "dataDestinationConfigs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DataDestinationConfig"
      },
      "description": "The destination where the campaign sends data. You can send data to an MQTT topic, or store it in Amazon S3 or Amazon Timestream. MQTT is the publish/subscribe messaging protocol used by Amazon Web Services IoT to communicate with your devices. Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such as data lakes, centralized data storage, data processing pipelines, and analytics. You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle data so that you can identify trends and patterns."
    },
    "dataPartitions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DataPartition"
      },
      "description": "The data partitions associated with the signals collected from the vehicle."
    },
    "signalsToFetch": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SignalFetchInformation"
      },
      "description": "Information about a list of signals to fetch data from."
    }
  },
  "$defs": {
    "CollectionScheme": {
      "type": "object",
      "properties": {
        "timeBasedCollectionScheme": {
          "$ref": "#/$defs/TimeBasedCollectionScheme"
        },
        "conditionBasedCollectionScheme": {
          "$ref": "#/$defs/ConditionBasedCollectionScheme"
        }
      },
      "description": "Exactly one member is set."
    },
    "ConditionBasedCollectionScheme": {
      "type": "object",
      "properties": {
        "expression": {
          "type": "string",
          "description": "The logical expression used to recognize what data to collect. For example, $variable.`Vehicle.OutsideAirTemperature` >= 105.0."
        },
        "minimumTriggerIntervalMs": {
          "type": "integer",
          "description": "The minimum duration of time between two triggering events to collect data, in milliseconds. If a signal changes often, you might want to collect data at a slower rate."
        },
        "triggerMode": {
          "type": "string",
          "enum": [
            "ALWAYS",
            "RISING_EDGE"
          ],
          "description": "Whether to collect data for all triggering events (ALWAYS). Specify (RISING_EDGE), or specify only when the condition first evaluates to false. For example, triggering on \"AirbagDeployed\"; Users aren't interested on triggering when the airbag is already exploded; they only care about the change from not deployed => deployed."
        },
        "conditionLanguageVersion": {
          "type": "integer",
          "description": "Specifies the version of the conditional expression language."
        }
      },
      "required": [
        "expression"
      ]
    },
    "ConditionBasedSignalFetchConfig": {
      "type": "object",
      "properties": {
        "conditionExpression": {
          "type": "string",
          "description": "The condition that must be satisfied to trigger a signal fetch."
        },
        "triggerMode": {
          "type": "string",
          "enum": [
            "ALWAYS",
            "RISING_EDGE"
          ],
          "description": "Indicates the mode in which the signal fetch is triggered."
        }
      },
      "required": [
        "conditionExpression",
        "triggerMode"
      ]
    },
    "DataDestinationConfig": {
      "type": "object",
      "properties": {
        "s3Config": {
          "$ref": "#/$defs/S3Config"
        },
        "timestreamConfig": {
          "$ref": "#/$defs/TimestreamConfig"
        },
        "mqttTopicConfig": {
          "$ref": "#/$defs/MqttTopicConfig"
        }
      },
      "description": "Exactly one member is set."
    },
    "DataPartition": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID of the data partition. The data partition ID must be unique within a campaign. You can establish a data partition as the default partition for a campaign by using default as the ID."
        },
        "storageOptions": {
          "$ref": "#/$defs/DataPartitionStorageOptions"
        },
        "uploadOptions": {
          "$ref": "#/$defs/DataPartitionUploadOptions"
        }
      },
      "required": [
        "id",
        "storageOptions"
      ]
    },
    "DataPartitionStorageOptions": {
      "type": "object",
      "properties": {
        "maximumSize": {
          "$ref": "#/$defs/StorageMaximumSize"
        },
        "storageLocation": {
          "type": "string",
          "description": "The folder name for the data partition under the campaign storage folder."
        },
        "minimumTimeToLive": {
          "$ref": "#/$defs/StorageMinimumTimeToLive"
        }
      },
      "required": [
        "maximumSize",
        "storageLocation",
        "minimumTimeToLive"
      ]
    },
    "DataPartitionUploadOptions": {
      "type": "object",
      "properties": {
        "expression": {
          "type": "string",
          "description": "The logical expression used to recognize what data to collect. For example, $variable.`Vehicle.OutsideAirTemperature` >= 105.0."
        },
        "conditionLanguageVersion": {
          "type": "integer",
          "description": "The version of the condition language. Defaults to the most recent condition language version."
        }
      },
      "required": [
        "expression"
      ]
    },
    "MqttTopicConfig": {
      "type": "object",
      "properties": {
        "mqttTopicArn": {
          "type": "string",
          "description": "The ARN of the MQTT topic."
        },
        "executionRoleArn": {
          "type": "string",
          "description": "The ARN of the role that grants Amazon Web Services IoT FleetWise permission to access and act on messages sent to the MQTT topic."
        }
      },
      "required": [
        "mqttTopicArn",
        "executionRoleArn"
      ]
    },
    "S3Config": {
      "type": "object",
      "properties": {
        "bucketArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Amazon S3 bucket."
        },
        "dataFormat": {
          "type": "string",
          "enum": [
            "JSON",
            "PARQUET"
          ],
          "description": "Specify the format that files are saved in the Amazon S3 bucket. You can save files in an Apache Parquet or JSON format. Parquet - Store data in a columnar storage file format. Parquet is optimal for fast data retrieval and can reduce costs. This option is selected by default. JSON - Store data in a standard text-based JSON file format."
        },
        "storageCompressionFormat": {
          "type": "string",
          "enum": [
            "NONE",
            "GZIP"
          ],
          "description": "By default, stored data is compressed as a .gzip file. Compressed files have a reduced file size, which can optimize the cost of data storage."
        },
        "prefix": {
          "type": "string",
          "description": "Enter an S3 bucket prefix. The prefix is the string of characters after the bucket name and before the object name. You can use the prefix to organize data stored in Amazon S3 buckets. For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide. By default, Amazon Web Services IoT FleetWise sets the prefix processed-data/year=YY/month=MM/date=DD/hour=HH/ (in UTC) to data it delivers to Amazon S3. You can enter a prefix to append it to this default prefix. For example, if you enter the prefix vehicles, the prefix will be vehicles/processed-data/ye"
        }
      },
      "required": [
        "bucketArn"
      ]
    },
    "SignalFetchConfig": {
      "type": "object",
      "properties": {
        "timeBased": {
          "$ref": "#/$defs/TimeBasedSignalFetchConfig"
        },
        "conditionBased": {
          "$ref": "#/$defs/ConditionBasedSignalFetchConfig"
        }
      },
      "description": "Exactly one member is set."
    },
    "SignalFetchInformation": {
      "type": "object",
      "properties": {
        "fullyQualifiedName": {
          "type": "string",
          "description": "The fully qualified name of the signal to be fetched."
        },
        "signalFetchConfig": {
          "$ref": "#/$defs/SignalFetchConfig"
        },
        "conditionLanguageVersion": {
          "type": "integer",
          "description": "The version of the condition language used."
        },
        "actions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The actions to be performed by the signal fetch."
        }
      },
      "required": [
        "fullyQualifiedName",
        "signalFetchConfig",
        "actions"
      ]
    },
    "SignalInformation": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the signal."
        },
        "maxSampleCount": {
          "type": "integer",
          "description": "The maximum number of samples to collect."
        },
        "minimumSamplingIntervalMs": {
          "type": "integer",
          "description": "The minimum duration of time (in milliseconds) between two triggering events to collect data. If a signal changes often, you might want to collect data at a slower rate."
        },
        "dataPartitionId": {
          "type": "string",
          "description": "The ID of the data partition this signal is associated with. The ID must match one of the IDs provided in dataPartitions. This is accomplished either by specifying a particular data partition ID or by using default for an established default partition. You can establish a default partition in the DataPartition data type. If you upload a signal as a condition for a campaign's data partition, the same signal must be included in signalsToCollect. Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see Amazon Web Services Region and feature availa"
        }
      },
      "required": [
        "name"
      ]
    },
    "StorageMaximumSize": {
      "type": "object",
      "properties": {
        "unit": {
          "type": "string",
          "enum": [
            "MB",
            "GB",
            "TB"
          ],
          "description": "The data type of the data to store."
        },
        "value": {
          "type": "integer",
          "description": "The maximum amount of time to store data."
        }
      },
      "required": [
        "unit",
        "value"
      ]
    },
    "StorageMinimumTimeToLive": {
      "type": "object",
      "properties": {
        "unit": {
          "type": "string",
          "enum": [
            "HOURS",
            "DAYS",
            "WEEKS"
          ],
          "description": "The time increment type."
        },
        "value": {
          "type": "integer",
          "description": "The minimum amount of time to store the data."
        }
      },
      "required": [
        "unit",
        "value"
      ]
    },
    "TimeBasedCollectionScheme": {
      "type": "object",
      "properties": {
        "periodMs": {
          "type": "integer",
          "description": "The time period (in milliseconds) to decide how often to collect data. For example, if the time period is 60000, the Edge Agent software collects data once every minute."
        }
      },
      "required": [
        "periodMs"
      ]
    },
    "TimeBasedSignalFetchConfig": {
      "type": "object",
      "properties": {
        "executionFrequencyMs": {
          "type": "integer",
          "description": "The frequency with which the signal fetch will be executed."
        }
      },
      "required": [
        "executionFrequencyMs"
      ]
    },
    "TimestreamConfig": {
      "type": "object",
      "properties": {
        "timestreamTableArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Amazon Timestream table."
        },
        "executionRoleArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the task execution role that grants Amazon Web Services IoT FleetWise permission to deliver data to the Amazon Timestream table."
        }
      },
      "required": [
        "timestreamTableArn",
        "executionRoleArn"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-iot-fleetwise-get-campaign-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.