CreateCampaignRequest
¶
Source code in docs_src/capo_iotfleetwise/types/create_campaign_request.py
collection_scheme
instance-attribute
¶
collection_scheme: CollectionScheme
The data collection scheme associated with the campaign. You can specify a scheme that collects data based on time or an event.
compression
instance-attribute
¶
compression: NotRequired[Compression]
Determines whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise. If you don't want to compress the signals, use OFF. If it's not specified, SNAPPY is used.
Default: SNAPPY
data_destination_configs
instance-attribute
¶
data_destination_configs: NotRequired[DataDestinationConfigs]
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. Amazon Web Services IoT FleetWise supports at-least-once file delivery to S3. Your vehicle data is stored on multiple Amazon Web Services IoT FleetWise servers for redundancy and high availability.
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.
data_extra_dimensions
instance-attribute
¶
data_extra_dimensions: NotRequired[DataExtraDimensionNodePathList]
A list of vehicle attributes to associate with a campaign.
Enrich the data with specified vehicle attributes. For example, add make and model to the campaign, and Amazon Web Services IoT FleetWise will associate the data with those attributes as dimensions in Amazon Timestream. You can then query the data against make and model.
Default: An empty array
data_partitions
instance-attribute
¶
data_partitions: NotRequired[DataPartitions]
The data partitions associated with the signals collected from the vehicle.
description
instance-attribute
¶
description: NotRequired[description]
An optional description of the campaign to help identify its purpose.
diagnostics_mode
instance-attribute
¶
diagnostics_mode: NotRequired[DiagnosticsMode]
Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise. If you want to send diagnostic trouble codes, use SEND_ACTIVE_DTCS. If it's not specified, OFF is used.
Default: OFF
expiry_time
instance-attribute
¶
expiry_time: NotRequired[timestamp]
The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). Vehicle data isn't collected after the campaign expires.
Default: 253402214400 (December 31, 9999, 00:00:00 UTC)
post_trigger_collection_duration
instance-attribute
¶
post_trigger_collection_duration: NotRequired[uint32]
How long (in milliseconds) to collect raw data after a triggering event initiates the collection. If it's not specified, 0 is used.
Default: 0
priority
instance-attribute
¶
priority: NotRequired[priority]
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. If it's not specified, 0 is used.
Default: 0
signal_catalog_arn
instance-attribute
¶
signal_catalog_arn: arn
The Amazon Resource Name (ARN) of the signal catalog to associate with the campaign.
signals_to_collect
instance-attribute
¶
signals_to_collect: NotRequired[SignalInformationList]
A list of information about signals to collect.
If you upload a signal as a condition in a data partition for a campaign, then those same signals must be included in signalsToCollect.
signals_to_fetch
instance-attribute
¶
signals_to_fetch: NotRequired[SignalFetchInformationList]
A list of information about signals to fetch.
spooling_mode
instance-attribute
¶
spooling_mode: NotRequired[SpoolingMode]
Determines 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. If you want to store collected data when a vehicle loses connection with the cloud, use TO_DISK. If it's not specified, OFF is used.
Default: OFF
start_time
instance-attribute
¶
start_time: NotRequired[timestamp]
The time, in milliseconds, to deliver a campaign after it was approved. If it's not specified, 0 is used.
Default: 0