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.CreateCloudFrontOriginAccessIdentity

Description

Creates a new origin access identity. If you're using Amazon S3 for your origin, you can use an origin access identity to require users to access your content using a CloudFront URL instead of the Amazon S3 URL. For more information about how to use origin access identities, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

Synopsis

Creating a Request

data CreateCloudFrontOriginAccessIdentity Source #

The request to create a new origin access identity (OAI). An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content. For more information, see Restricting Access to Amazon S3 Content by Using an Origin Access Identity in the Amazon CloudFront Developer Guide.

See: newCreateCloudFrontOriginAccessIdentity smart constructor.

Constructors

CreateCloudFrontOriginAccessIdentity' 

Fields

Instances

Instances details
Eq CreateCloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

Read CreateCloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

Show CreateCloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

Generic CreateCloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

NFData CreateCloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

Hashable CreateCloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

AWSRequest CreateCloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

ToHeaders CreateCloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

ToPath CreateCloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

ToQuery CreateCloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

ToElement CreateCloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

type Rep CreateCloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

type Rep CreateCloudFrontOriginAccessIdentity = D1 ('MetaData "CreateCloudFrontOriginAccessIdentity" "Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CreateCloudFrontOriginAccessIdentity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cloudFrontOriginAccessIdentityConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CloudFrontOriginAccessIdentityConfig)))
type AWSResponse CreateCloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

newCreateCloudFrontOriginAccessIdentity Source #

Create a value of CreateCloudFrontOriginAccessIdentity 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:cloudFrontOriginAccessIdentityConfig:CreateCloudFrontOriginAccessIdentity', createCloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig - The current configuration information for the identity.

Request Lenses

Destructuring the Response

data CreateCloudFrontOriginAccessIdentityResponse Source #

The returned result of the corresponding request.

See: newCreateCloudFrontOriginAccessIdentityResponse smart constructor.

Constructors

CreateCloudFrontOriginAccessIdentityResponse' 

Fields

Instances

Instances details
Eq CreateCloudFrontOriginAccessIdentityResponse Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

Read CreateCloudFrontOriginAccessIdentityResponse Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

Show CreateCloudFrontOriginAccessIdentityResponse Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

Generic CreateCloudFrontOriginAccessIdentityResponse Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

NFData CreateCloudFrontOriginAccessIdentityResponse Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

type Rep CreateCloudFrontOriginAccessIdentityResponse Source # 
Instance details

Defined in Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity

type Rep CreateCloudFrontOriginAccessIdentityResponse = D1 ('MetaData "CreateCloudFrontOriginAccessIdentityResponse" "Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CreateCloudFrontOriginAccessIdentityResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "cloudFrontOriginAccessIdentity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CloudFrontOriginAccessIdentity)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

Response Lenses

createCloudFrontOriginAccessIdentityResponse_location :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe Text) Source #

The fully qualified URI of the new origin access identity just created.