libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront
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.CloudFront.CreateInvalidation

Description

Create a new invalidation.

Synopsis

Creating a Request

data CreateInvalidation Source #

The request to create an invalidation.

See: newCreateInvalidation smart constructor.

Constructors

CreateInvalidation' 

Fields

Instances

Instances details
Eq CreateInvalidation Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

Read CreateInvalidation Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

Show CreateInvalidation Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

Generic CreateInvalidation Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

Associated Types

type Rep CreateInvalidation :: Type -> Type #

NFData CreateInvalidation Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

Methods

rnf :: CreateInvalidation -> () #

Hashable CreateInvalidation Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

AWSRequest CreateInvalidation Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

Associated Types

type AWSResponse CreateInvalidation #

ToHeaders CreateInvalidation Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

ToPath CreateInvalidation Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

ToQuery CreateInvalidation Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

ToElement CreateInvalidation Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

type Rep CreateInvalidation Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

type Rep CreateInvalidation = D1 ('MetaData "CreateInvalidation" "Amazonka.CloudFront.CreateInvalidation" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CreateInvalidation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "distributionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "invalidationBatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InvalidationBatch)))
type AWSResponse CreateInvalidation Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

newCreateInvalidation Source #

Create a value of CreateInvalidation 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:distributionId:CreateInvalidation', createInvalidation_distributionId - The distribution's id.

$sel:invalidationBatch:CreateInvalidation', createInvalidation_invalidationBatch - The batch information for the invalidation.

Request Lenses

Destructuring the Response

data CreateInvalidationResponse Source #

The returned result of the corresponding request.

See: newCreateInvalidationResponse smart constructor.

Constructors

CreateInvalidationResponse' 

Fields

Instances

Instances details
Eq CreateInvalidationResponse Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

Read CreateInvalidationResponse Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

Show CreateInvalidationResponse Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

Generic CreateInvalidationResponse Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

Associated Types

type Rep CreateInvalidationResponse :: Type -> Type #

NFData CreateInvalidationResponse Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

type Rep CreateInvalidationResponse Source # 
Instance details

Defined in Amazonka.CloudFront.CreateInvalidation

type Rep CreateInvalidationResponse = D1 ('MetaData "CreateInvalidationResponse" "Amazonka.CloudFront.CreateInvalidation" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CreateInvalidationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "invalidation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Invalidation)) :*: (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateInvalidationResponse Source #

Create a value of CreateInvalidationResponse 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:invalidation:CreateInvalidationResponse', createInvalidationResponse_invalidation - The invalidation's information.

$sel:location:CreateInvalidationResponse', createInvalidationResponse_location - The fully qualified URI of the distribution and invalidation batch request, including the Invalidation ID.

$sel:httpStatus:CreateInvalidationResponse', createInvalidationResponse_httpStatus - The response's http status code.

Response Lenses

createInvalidationResponse_location :: Lens' CreateInvalidationResponse (Maybe Text) Source #

The fully qualified URI of the distribution and invalidation batch request, including the Invalidation ID.