libZSservicesZSamazonka-personalizeZSamazonka-personalize
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.Personalize.DescribeCampaign

Description

Describes the given campaign, including its status.

A campaign can be in one of the following states:

  • CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
  • DELETE PENDING > DELETE IN_PROGRESS

When the status is CREATE FAILED, the response includes the failureReason key, which describes why.

For more information on campaigns, see CreateCampaign.

Synopsis

Creating a Request

data DescribeCampaign Source #

See: newDescribeCampaign smart constructor.

Constructors

DescribeCampaign' 

Fields

Instances

Instances details
Eq DescribeCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

Read DescribeCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

Show DescribeCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

Generic DescribeCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

Associated Types

type Rep DescribeCampaign :: Type -> Type #

NFData DescribeCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

Methods

rnf :: DescribeCampaign -> () #

Hashable DescribeCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

ToJSON DescribeCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

AWSRequest DescribeCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

Associated Types

type AWSResponse DescribeCampaign #

ToHeaders DescribeCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

ToPath DescribeCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

ToQuery DescribeCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

type Rep DescribeCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

type Rep DescribeCampaign = D1 ('MetaData "DescribeCampaign" "Amazonka.Personalize.DescribeCampaign" "libZSservicesZSamazonka-personalizeZSamazonka-personalize" 'False) (C1 ('MetaCons "DescribeCampaign'" 'PrefixI 'True) (S1 ('MetaSel ('Just "campaignArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

newDescribeCampaign Source #

Create a value of DescribeCampaign 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:DescribeCampaign', describeCampaign_campaignArn - The Amazon Resource Name (ARN) of the campaign.

Request Lenses

describeCampaign_campaignArn :: Lens' DescribeCampaign Text Source #

The Amazon Resource Name (ARN) of the campaign.

Destructuring the Response

data DescribeCampaignResponse Source #

See: newDescribeCampaignResponse smart constructor.

Constructors

DescribeCampaignResponse' 

Fields

Instances

Instances details
Eq DescribeCampaignResponse Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

Read DescribeCampaignResponse Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

Show DescribeCampaignResponse Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

Generic DescribeCampaignResponse Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

Associated Types

type Rep DescribeCampaignResponse :: Type -> Type #

NFData DescribeCampaignResponse Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

type Rep DescribeCampaignResponse Source # 
Instance details

Defined in Amazonka.Personalize.DescribeCampaign

type Rep DescribeCampaignResponse = D1 ('MetaData "DescribeCampaignResponse" "Amazonka.Personalize.DescribeCampaign" "libZSservicesZSamazonka-personalizeZSamazonka-personalize" 'False) (C1 ('MetaCons "DescribeCampaignResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "campaign") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Campaign)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeCampaignResponse Source #

Create a value of DescribeCampaignResponse 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:campaign:DescribeCampaignResponse', describeCampaignResponse_campaign - The properties of the campaign.

$sel:httpStatus:DescribeCampaignResponse', describeCampaignResponse_httpStatus - The response's http status code.

Response Lenses