Struct aws_sdk_iotfleetwise::types::CampaignSummary
source · #[non_exhaustive]pub struct CampaignSummary { /* private fields */ }Expand description
Information about a campaign.
You can use the API operation to return this information about multiple created campaigns.
Implementations§
source§impl CampaignSummary
impl CampaignSummary
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 the signal catalog associated with the campaign.
sourcepub fn target_arn(&self) -> Option<&str>
pub fn target_arn(&self) -> Option<&str>
The ARN of a vehicle or fleet to which the campaign is deployed.
sourcepub fn status(&self) -> Option<&CampaignStatus>
pub fn status(&self) -> Option<&CampaignStatus>
The state of a campaign. The status can be one of the following:
-
CREATING- Amazon Web Services IoT FleetWise is processing your request to create the campaign. -
WAITING_FOR_APPROVAL- After a campaign is created, it enters theWAITING_FOR_APPROVALstate. To allow Amazon Web Services IoT FleetWise to deploy the campaign to the target vehicle or fleet, use the API operation to approve the campaign. -
RUNNING- The campaign is active. -
SUSPENDED- The campaign is suspended. To resume the campaign, use the API operation.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time the campaign was created.
sourcepub fn last_modification_time(&self) -> Option<&DateTime>
pub fn last_modification_time(&self) -> Option<&DateTime>
The last time the campaign was modified.
source§impl CampaignSummary
impl CampaignSummary
sourcepub fn builder() -> CampaignSummaryBuilder
pub fn builder() -> CampaignSummaryBuilder
Creates a new builder-style object to manufacture CampaignSummary.
Trait Implementations§
source§impl Clone for CampaignSummary
impl Clone for CampaignSummary
source§fn clone(&self) -> CampaignSummary
fn clone(&self) -> CampaignSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CampaignSummary
impl Debug for CampaignSummary
source§impl PartialEq<CampaignSummary> for CampaignSummary
impl PartialEq<CampaignSummary> for CampaignSummary
source§fn eq(&self, other: &CampaignSummary) -> bool
fn eq(&self, other: &CampaignSummary) -> bool
self and other values to be equal, and is used
by ==.