Struct aws_sdk_personalize::types::CampaignSummary
source · #[non_exhaustive]pub struct CampaignSummary {
pub name: Option<String>,
pub campaign_arn: Option<String>,
pub status: Option<String>,
pub creation_date_time: Option<DateTime>,
pub last_updated_date_time: Option<DateTime>,
pub failure_reason: Option<String>,
}Expand description
Provides a summary of the properties of a campaign. For a complete listing, call the DescribeCampaign API.
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.
campaign_arn: Option<String>The Amazon Resource Name (ARN) of the campaign.
status: Option<String>The status of the campaign.
A campaign can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
creation_date_time: Option<DateTime>The date and time (in Unix time) that the campaign was created.
last_updated_date_time: Option<DateTime>The date and time (in Unix time) that the campaign was last updated.
failure_reason: Option<String>If a campaign fails, the reason behind the failure.
Implementations§
source§impl CampaignSummary
impl CampaignSummary
sourcepub fn campaign_arn(&self) -> Option<&str>
pub fn campaign_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the campaign.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the campaign.
A campaign can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
The date and time (in Unix time) that the campaign was created.
sourcepub fn last_updated_date_time(&self) -> Option<&DateTime>
pub fn last_updated_date_time(&self) -> Option<&DateTime>
The date and time (in Unix time) that the campaign was last updated.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
If a campaign fails, the reason behind the failure.
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 for CampaignSummary
impl PartialEq 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 ==.