Struct aws_sdk_personalize::types::CampaignUpdateSummary
source · #[non_exhaustive]pub struct CampaignUpdateSummary {
pub solution_version_arn: Option<String>,
pub min_provisioned_tps: Option<i32>,
pub campaign_config: Option<CampaignConfig>,
pub status: Option<String>,
pub failure_reason: Option<String>,
pub creation_date_time: Option<DateTime>,
pub last_updated_date_time: Option<DateTime>,
}Expand description
Provides a summary of the properties of a campaign update. 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.solution_version_arn: Option<String>The Amazon Resource Name (ARN) of the deployed solution version.
min_provisioned_tps: Option<i32>Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize will support.
campaign_config: Option<CampaignConfig>The configuration details of a campaign.
status: Option<String>The status of the campaign update.
A campaign update can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
failure_reason: Option<String>If a campaign update fails, the reason behind the failure.
creation_date_time: Option<DateTime>The date and time (in Unix time) that the campaign update was created.
last_updated_date_time: Option<DateTime>The date and time (in Unix time) that the campaign update was last updated.
Implementations§
source§impl CampaignUpdateSummary
impl CampaignUpdateSummary
sourcepub fn solution_version_arn(&self) -> Option<&str>
pub fn solution_version_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the deployed solution version.
sourcepub fn min_provisioned_tps(&self) -> Option<i32>
pub fn min_provisioned_tps(&self) -> Option<i32>
Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize will support.
sourcepub fn campaign_config(&self) -> Option<&CampaignConfig>
pub fn campaign_config(&self) -> Option<&CampaignConfig>
The configuration details of a campaign.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the campaign update.
A campaign update can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
If a campaign update fails, the reason behind the failure.
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 update 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 update was last updated.
source§impl CampaignUpdateSummary
impl CampaignUpdateSummary
sourcepub fn builder() -> CampaignUpdateSummaryBuilder
pub fn builder() -> CampaignUpdateSummaryBuilder
Creates a new builder-style object to manufacture CampaignUpdateSummary.
Trait Implementations§
source§impl Clone for CampaignUpdateSummary
impl Clone for CampaignUpdateSummary
source§fn clone(&self) -> CampaignUpdateSummary
fn clone(&self) -> CampaignUpdateSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CampaignUpdateSummary
impl Debug for CampaignUpdateSummary
source§impl PartialEq for CampaignUpdateSummary
impl PartialEq for CampaignUpdateSummary
source§fn eq(&self, other: &CampaignUpdateSummary) -> bool
fn eq(&self, other: &CampaignUpdateSummary) -> bool
self and other values to be equal, and is used
by ==.