Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Campaign = Campaign' {
- failureReason :: Maybe Text
- status :: Maybe Text
- lastUpdatedDateTime :: Maybe POSIX
- campaignConfig :: Maybe CampaignConfig
- latestCampaignUpdate :: Maybe CampaignUpdateSummary
- name :: Maybe Text
- minProvisionedTPS :: Maybe Natural
- creationDateTime :: Maybe POSIX
- campaignArn :: Maybe Text
- solutionVersionArn :: Maybe Text
- newCampaign :: Campaign
- campaign_failureReason :: Lens' Campaign (Maybe Text)
- campaign_status :: Lens' Campaign (Maybe Text)
- campaign_lastUpdatedDateTime :: Lens' Campaign (Maybe UTCTime)
- campaign_campaignConfig :: Lens' Campaign (Maybe CampaignConfig)
- campaign_latestCampaignUpdate :: Lens' Campaign (Maybe CampaignUpdateSummary)
- campaign_name :: Lens' Campaign (Maybe Text)
- campaign_minProvisionedTPS :: Lens' Campaign (Maybe Natural)
- campaign_creationDateTime :: Lens' Campaign (Maybe UTCTime)
- campaign_campaignArn :: Lens' Campaign (Maybe Text)
- campaign_solutionVersionArn :: Lens' Campaign (Maybe Text)
Documentation
Describes a deployed solution version, otherwise known as a campaign. For more information on campaigns, see CreateCampaign.
See: newCampaign
smart constructor.
Campaign' | |
|
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:failureReason:Campaign'
, campaign_failureReason
- If a campaign fails, the reason behind the failure.
$sel:status: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
$sel:lastUpdatedDateTime:Campaign'
, campaign_lastUpdatedDateTime
- The date and time (in Unix format) that the campaign was last updated.
$sel:campaignConfig:Campaign'
, campaign_campaignConfig
- The configuration details of a campaign.
$sel:latestCampaignUpdate:Campaign'
, campaign_latestCampaignUpdate
- Undocumented member.
$sel:name:Campaign'
, campaign_name
- The name of the campaign.
$sel:minProvisionedTPS:Campaign'
, campaign_minProvisionedTPS
- Specifies the requested minimum provisioned transactions
(recommendations) per second.
$sel:creationDateTime:Campaign'
, campaign_creationDateTime
- The date and time (in Unix format) that the campaign was created.
$sel:campaignArn:Campaign'
, campaign_campaignArn
- The Amazon Resource Name (ARN) of the campaign.
$sel:solutionVersionArn:Campaign'
, campaign_solutionVersionArn
- The Amazon Resource Name (ARN) of a specific version of the solution.
campaign_failureReason :: Lens' Campaign (Maybe Text) Source #
If a campaign fails, the reason behind the failure.
campaign_status :: Lens' Campaign (Maybe Text) Source #
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_lastUpdatedDateTime :: Lens' Campaign (Maybe UTCTime) Source #
The date and time (in Unix format) that the campaign was last updated.
campaign_campaignConfig :: Lens' Campaign (Maybe CampaignConfig) Source #
The configuration details of a campaign.
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.
campaign_creationDateTime :: Lens' Campaign (Maybe UTCTime) Source #
The date and time (in Unix format) that the campaign was created.