Struct aws_sdk_personalize::types::CampaignConfig
source · #[non_exhaustive]pub struct CampaignConfig {
pub item_exploration_config: Option<HashMap<String, String>>,
pub enable_metadata_with_recommendations: Option<bool>,
}
Expand description
The configuration details of a campaign.
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.item_exploration_config: Option<HashMap<String, String>>
Specifies the exploration configuration hyperparameters, including explorationWeight
and explorationItemAgeCutOff
, you want to use to configure the amount of item exploration Amazon Personalize uses when recommending items. Provide itemExplorationConfig
data only if your solution uses the User-Personalization recipe.
enable_metadata_with_recommendations: Option<bool>
Whether metadata with recommendations is enabled for the campaign. If enabled, you can specify the columns from your Items dataset in your request for recommendations. Amazon Personalize returns this data for each item in the recommendation response. For information about enabling metadata for a campaign, see Enabling metadata in recommendations for a campaign.
If you enable metadata in recommendations, you will incur additional costs. For more information, see Amazon Personalize pricing.
Implementations§
source§impl CampaignConfig
impl CampaignConfig
sourcepub fn item_exploration_config(&self) -> Option<&HashMap<String, String>>
pub fn item_exploration_config(&self) -> Option<&HashMap<String, String>>
Specifies the exploration configuration hyperparameters, including explorationWeight
and explorationItemAgeCutOff
, you want to use to configure the amount of item exploration Amazon Personalize uses when recommending items. Provide itemExplorationConfig
data only if your solution uses the User-Personalization recipe.
sourcepub fn enable_metadata_with_recommendations(&self) -> Option<bool>
pub fn enable_metadata_with_recommendations(&self) -> Option<bool>
Whether metadata with recommendations is enabled for the campaign. If enabled, you can specify the columns from your Items dataset in your request for recommendations. Amazon Personalize returns this data for each item in the recommendation response. For information about enabling metadata for a campaign, see Enabling metadata in recommendations for a campaign.
If you enable metadata in recommendations, you will incur additional costs. For more information, see Amazon Personalize pricing.
source§impl CampaignConfig
impl CampaignConfig
sourcepub fn builder() -> CampaignConfigBuilder
pub fn builder() -> CampaignConfigBuilder
Creates a new builder-style object to manufacture CampaignConfig
.
Trait Implementations§
source§impl Clone for CampaignConfig
impl Clone for CampaignConfig
source§fn clone(&self) -> CampaignConfig
fn clone(&self) -> CampaignConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CampaignConfig
impl Debug for CampaignConfig
source§impl PartialEq for CampaignConfig
impl PartialEq for CampaignConfig
source§fn eq(&self, other: &CampaignConfig) -> bool
fn eq(&self, other: &CampaignConfig) -> bool
self
and other
values to be equal, and is used
by ==
.