libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Pinpoint.Types.CampaignState

Description

 
Synopsis

Documentation

data CampaignState Source #

Provides information about the status of a campaign.

See: newCampaignState smart constructor.

Constructors

CampaignState' 

Fields

  • campaignStatus :: Maybe CampaignStatus

    The current status of the campaign, or the current status of a treatment that belongs to an A/B test campaign.

    If a campaign uses A/B testing, the campaign has a status of COMPLETED only if all campaign treatments have a status of COMPLETED. If you delete the segment that's associated with a campaign, the campaign fails and has a status of DELETED.

Instances

Instances details
Eq CampaignState Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignState

Read CampaignState Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignState

Show CampaignState Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignState

Generic CampaignState Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignState

Associated Types

type Rep CampaignState :: Type -> Type #

NFData CampaignState Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignState

Methods

rnf :: CampaignState -> () #

Hashable CampaignState Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignState

FromJSON CampaignState Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignState

type Rep CampaignState Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignState

type Rep CampaignState = D1 ('MetaData "CampaignState" "Amazonka.Pinpoint.Types.CampaignState" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "CampaignState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "campaignStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CampaignStatus))))

newCampaignState :: CampaignState Source #

Create a value of CampaignState 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:campaignStatus:CampaignState', campaignState_campaignStatus - The current status of the campaign, or the current status of a treatment that belongs to an A/B test campaign.

If a campaign uses A/B testing, the campaign has a status of COMPLETED only if all campaign treatments have a status of COMPLETED. If you delete the segment that's associated with a campaign, the campaign fails and has a status of DELETED.

campaignState_campaignStatus :: Lens' CampaignState (Maybe CampaignStatus) Source #

The current status of the campaign, or the current status of a treatment that belongs to an A/B test campaign.

If a campaign uses A/B testing, the campaign has a status of COMPLETED only if all campaign treatments have a status of COMPLETED. If you delete the segment that's associated with a campaign, the campaign fails and has a status of DELETED.