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 CampaignSummary = CampaignSummary' {}
- newCampaignSummary :: CampaignSummary
- campaignSummary_failureReason :: Lens' CampaignSummary (Maybe Text)
- campaignSummary_status :: Lens' CampaignSummary (Maybe Text)
- campaignSummary_lastUpdatedDateTime :: Lens' CampaignSummary (Maybe UTCTime)
- campaignSummary_name :: Lens' CampaignSummary (Maybe Text)
- campaignSummary_creationDateTime :: Lens' CampaignSummary (Maybe UTCTime)
- campaignSummary_campaignArn :: Lens' CampaignSummary (Maybe Text)
Documentation
data CampaignSummary Source #
Provides a summary of the properties of a campaign. For a complete listing, call the DescribeCampaign API.
See: newCampaignSummary
smart constructor.
CampaignSummary' | |
|
Instances
newCampaignSummary :: CampaignSummary Source #
Create a value of CampaignSummary
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:CampaignSummary'
, campaignSummary_failureReason
- If a campaign fails, the reason behind the failure.
$sel:status:CampaignSummary'
, campaignSummary_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:CampaignSummary'
, campaignSummary_lastUpdatedDateTime
- The date and time (in Unix time) that the campaign was last updated.
$sel:name:CampaignSummary'
, campaignSummary_name
- The name of the campaign.
$sel:creationDateTime:CampaignSummary'
, campaignSummary_creationDateTime
- The date and time (in Unix time) that the campaign was created.
$sel:campaignArn:CampaignSummary'
, campaignSummary_campaignArn
- The Amazon Resource Name (ARN) of the campaign.
campaignSummary_failureReason :: Lens' CampaignSummary (Maybe Text) Source #
If a campaign fails, the reason behind the failure.
campaignSummary_status :: Lens' CampaignSummary (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
campaignSummary_lastUpdatedDateTime :: Lens' CampaignSummary (Maybe UTCTime) Source #
The date and time (in Unix time) that the campaign was last updated.
campaignSummary_name :: Lens' CampaignSummary (Maybe Text) Source #
The name of the campaign.
campaignSummary_creationDateTime :: Lens' CampaignSummary (Maybe UTCTime) Source #
The date and time (in Unix time) that the campaign was created.
campaignSummary_campaignArn :: Lens' CampaignSummary (Maybe Text) Source #
The Amazon Resource Name (ARN) of the campaign.