| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Personalize.Types.Campaign
Description
Synopsis
- data Campaign = Campaign' {
- campaignArn :: Maybe Text
- campaignConfig :: Maybe CampaignConfig
- creationDateTime :: Maybe POSIX
- failureReason :: Maybe Text
- lastUpdatedDateTime :: Maybe POSIX
- latestCampaignUpdate :: Maybe CampaignUpdateSummary
- minProvisionedTPS :: Maybe Natural
- name :: Maybe Text
- solutionVersionArn :: Maybe Text
- status :: Maybe Text
- newCampaign :: Campaign
- campaign_campaignArn :: Lens' Campaign (Maybe Text)
- campaign_campaignConfig :: Lens' Campaign (Maybe CampaignConfig)
- campaign_creationDateTime :: Lens' Campaign (Maybe UTCTime)
- campaign_failureReason :: Lens' Campaign (Maybe Text)
- campaign_lastUpdatedDateTime :: Lens' Campaign (Maybe UTCTime)
- campaign_latestCampaignUpdate :: Lens' Campaign (Maybe CampaignUpdateSummary)
- campaign_minProvisionedTPS :: Lens' Campaign (Maybe Natural)
- campaign_name :: Lens' Campaign (Maybe Text)
- campaign_solutionVersionArn :: Lens' Campaign (Maybe Text)
- campaign_status :: Lens' Campaign (Maybe Text)
Documentation
An object that describes the deployment of a solution version. For more information on campaigns, see CreateCampaign.
See: newCampaign smart constructor.
Constructors
| Campaign' | |
Fields
| |
Instances
newCampaign :: Campaign Source #
Create a value of Campaign with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:campaignArn:Campaign', campaign_campaignArn - The Amazon Resource Name (ARN) of the campaign.
Campaign, campaign_campaignConfig - The configuration details of a campaign.
Campaign, campaign_creationDateTime - The date and time (in Unix format) that the campaign was created.
Campaign, campaign_failureReason - If a campaign fails, the reason behind the failure.
Campaign, campaign_lastUpdatedDateTime - The date and time (in Unix format) that the campaign was last updated.
$sel:latestCampaignUpdate:Campaign', campaign_latestCampaignUpdate - Undocumented member.
Campaign, campaign_minProvisionedTPS - Specifies the requested minimum provisioned transactions
(recommendations) per second.
$sel:name:Campaign', campaign_name - The name of the campaign.
Campaign, campaign_solutionVersionArn - The Amazon Resource Name (ARN) of a specific version of the solution.
Campaign, campaign_status - 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
campaign_campaignArn :: Lens' Campaign (Maybe Text) Source #
The Amazon Resource Name (ARN) of the campaign.
campaign_campaignConfig :: Lens' Campaign (Maybe CampaignConfig) Source #
The configuration details of a campaign.
campaign_creationDateTime :: Lens' Campaign (Maybe UTCTime) Source #
The date and time (in Unix format) that the campaign was created.
campaign_failureReason :: Lens' Campaign (Maybe Text) Source #
If a campaign fails, the reason behind the failure.
campaign_lastUpdatedDateTime :: Lens' Campaign (Maybe UTCTime) Source #
The date and time (in Unix format) that the campaign was last updated.
campaign_latestCampaignUpdate :: Lens' Campaign (Maybe CampaignUpdateSummary) Source #
Undocumented member.
campaign_minProvisionedTPS :: Lens' Campaign (Maybe Natural) Source #
Specifies the requested minimum provisioned transactions (recommendations) per second.