#[non_exhaustive]pub struct GetCampaignOutput {Show 19 fields
pub name: Option<String>,
pub arn: Option<String>,
pub description: Option<String>,
pub signal_catalog_arn: Option<String>,
pub target_arn: Option<String>,
pub status: Option<CampaignStatus>,
pub start_time: Option<DateTime>,
pub expiry_time: Option<DateTime>,
pub post_trigger_collection_duration: Option<i64>,
pub diagnostics_mode: Option<DiagnosticsMode>,
pub spooling_mode: Option<SpoolingMode>,
pub compression: Option<Compression>,
pub priority: Option<i32>,
pub signals_to_collect: Option<Vec<SignalInformation>>,
pub collection_scheme: Option<CollectionScheme>,
pub data_extra_dimensions: Option<Vec<String>>,
pub creation_time: Option<DateTime>,
pub last_modification_time: Option<DateTime>,
pub data_destination_configs: Option<Vec<DataDestinationConfig>>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the campaign.
arn: Option<String>
The Amazon Resource Name (ARN) of the campaign.
description: Option<String>
The description of the campaign.
signal_catalog_arn: Option<String>
The ARN of a signal catalog.
target_arn: Option<String>
The ARN of the vehicle or the fleet targeted by the campaign.
status: Option<CampaignStatus>
The state of the campaign. The status can be one of: CREATING
, WAITING_FOR_APPROVAL
, RUNNING
, and SUSPENDED
.
start_time: Option<DateTime>
The time, in milliseconds, to deliver a campaign after it was approved.
expiry_time: Option<DateTime>
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.
post_trigger_collection_duration: Option<i64>
How long (in seconds) to collect raw data after a triggering event initiates the collection.
diagnostics_mode: Option<DiagnosticsMode>
Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise.
spooling_mode: Option<SpoolingMode>
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: Option<Compression>
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: Option<i32>
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.
signals_to_collect: Option<Vec<SignalInformation>>
Information about a list of signals to collect data on.
collection_scheme: Option<CollectionScheme>
Information about the data collection scheme associated with the campaign.
data_extra_dimensions: Option<Vec<String>>
A list of vehicle attributes associated with the campaign.
creation_time: Option<DateTime>
The time the campaign was created in seconds since epoch (January 1, 1970 at midnight UTC time).
last_modification_time: Option<DateTime>
The last time the campaign was modified.
data_destination_configs: Option<Vec<DataDestinationConfig>>
The destination where the campaign sends data. You can choose to send data to be stored in Amazon S3 or Amazon Timestream.
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.
Implementations§
source§impl GetCampaignOutput
impl GetCampaignOutput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the campaign.
sourcepub fn signal_catalog_arn(&self) -> Option<&str>
pub fn signal_catalog_arn(&self) -> Option<&str>
The ARN of a signal catalog.
sourcepub fn target_arn(&self) -> Option<&str>
pub fn target_arn(&self) -> Option<&str>
The ARN of the vehicle or the fleet targeted by the campaign.
sourcepub fn status(&self) -> Option<&CampaignStatus>
pub fn status(&self) -> Option<&CampaignStatus>
The state of the campaign. The status can be one of: CREATING
, WAITING_FOR_APPROVAL
, RUNNING
, and SUSPENDED
.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The time, in milliseconds, to deliver a campaign after it was approved.
sourcepub fn expiry_time(&self) -> Option<&DateTime>
pub fn expiry_time(&self) -> Option<&DateTime>
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.
sourcepub fn post_trigger_collection_duration(&self) -> Option<i64>
pub fn post_trigger_collection_duration(&self) -> Option<i64>
How long (in seconds) to collect raw data after a triggering event initiates the collection.
sourcepub fn diagnostics_mode(&self) -> Option<&DiagnosticsMode>
pub fn diagnostics_mode(&self) -> Option<&DiagnosticsMode>
Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise.
sourcepub fn spooling_mode(&self) -> Option<&SpoolingMode>
pub fn spooling_mode(&self) -> Option<&SpoolingMode>
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.
sourcepub fn compression(&self) -> Option<&Compression>
pub fn compression(&self) -> Option<&Compression>
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.
sourcepub fn priority(&self) -> Option<i32>
pub fn priority(&self) -> Option<i32>
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.
sourcepub fn signals_to_collect(&self) -> Option<&[SignalInformation]>
pub fn signals_to_collect(&self) -> Option<&[SignalInformation]>
Information about a list of signals to collect data on.
sourcepub fn collection_scheme(&self) -> Option<&CollectionScheme>
pub fn collection_scheme(&self) -> Option<&CollectionScheme>
Information about the data collection scheme associated with the campaign.
sourcepub fn data_extra_dimensions(&self) -> Option<&[String]>
pub fn data_extra_dimensions(&self) -> Option<&[String]>
A list of vehicle attributes associated with the campaign.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time the campaign was created in seconds since epoch (January 1, 1970 at midnight UTC time).
sourcepub fn last_modification_time(&self) -> Option<&DateTime>
pub fn last_modification_time(&self) -> Option<&DateTime>
The last time the campaign was modified.
sourcepub fn data_destination_configs(&self) -> Option<&[DataDestinationConfig]>
pub fn data_destination_configs(&self) -> Option<&[DataDestinationConfig]>
The destination where the campaign sends data. You can choose to send data to be stored in Amazon S3 or Amazon Timestream.
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.
source§impl GetCampaignOutput
impl GetCampaignOutput
sourcepub fn builder() -> GetCampaignOutputBuilder
pub fn builder() -> GetCampaignOutputBuilder
Creates a new builder-style object to manufacture GetCampaignOutput
.
Trait Implementations§
source§impl Clone for GetCampaignOutput
impl Clone for GetCampaignOutput
source§fn clone(&self) -> GetCampaignOutput
fn clone(&self) -> GetCampaignOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetCampaignOutput
impl Debug for GetCampaignOutput
source§impl PartialEq<GetCampaignOutput> for GetCampaignOutput
impl PartialEq<GetCampaignOutput> for GetCampaignOutput
source§fn eq(&self, other: &GetCampaignOutput) -> bool
fn eq(&self, other: &GetCampaignOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetCampaignOutput
impl RequestId for GetCampaignOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.