| 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.CampaignSummary
Description
Synopsis
- data CampaignSummary = CampaignSummary' {}
- newCampaignSummary :: CampaignSummary
- campaignSummary_campaignArn :: Lens' CampaignSummary (Maybe Text)
- campaignSummary_creationDateTime :: Lens' CampaignSummary (Maybe UTCTime)
- campaignSummary_failureReason :: Lens' CampaignSummary (Maybe Text)
- campaignSummary_lastUpdatedDateTime :: Lens' CampaignSummary (Maybe UTCTime)
- campaignSummary_name :: Lens' CampaignSummary (Maybe Text)
- campaignSummary_status :: 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.
Constructors
| CampaignSummary' | |
Fields
| |
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:campaignArn:CampaignSummary', campaignSummary_campaignArn - The Amazon Resource Name (ARN) of the campaign.
$sel:creationDateTime:CampaignSummary', campaignSummary_creationDateTime - The date and time (in Unix time) that the campaign was created.
$sel:failureReason:CampaignSummary', campaignSummary_failureReason - If a campaign fails, the reason behind the failure.
$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: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
campaignSummary_campaignArn :: Lens' CampaignSummary (Maybe Text) Source #
The Amazon Resource Name (ARN) of the campaign.
campaignSummary_creationDateTime :: Lens' CampaignSummary (Maybe UTCTime) Source #
The date and time (in Unix time) that the campaign was created.
campaignSummary_failureReason :: Lens' CampaignSummary (Maybe Text) Source #
If a campaign fails, the reason behind the failure.
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_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