amazonka-cloudfront-1.6.0: Amazon CloudFront SDK.

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

Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity

Contents

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

createCloudFrontOriginAccessIdentity Source #

Creates a value of CreateCloudFrontOriginAccessIdentity with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateCloudFrontOriginAccessIdentity Source #

The request to create a new origin access identity.

See: createCloudFrontOriginAccessIdentity smart constructor.

Instances

Eq CreateCloudFrontOriginAccessIdentity Source # 
Data CreateCloudFrontOriginAccessIdentity Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateCloudFrontOriginAccessIdentity -> c CreateCloudFrontOriginAccessIdentity #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateCloudFrontOriginAccessIdentity #

toConstr :: CreateCloudFrontOriginAccessIdentity -> Constr #

dataTypeOf :: CreateCloudFrontOriginAccessIdentity -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateCloudFrontOriginAccessIdentity) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateCloudFrontOriginAccessIdentity) #

gmapT :: (forall b. Data b => b -> b) -> CreateCloudFrontOriginAccessIdentity -> CreateCloudFrontOriginAccessIdentity #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateCloudFrontOriginAccessIdentity -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateCloudFrontOriginAccessIdentity -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateCloudFrontOriginAccessIdentity -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateCloudFrontOriginAccessIdentity -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateCloudFrontOriginAccessIdentity -> m CreateCloudFrontOriginAccessIdentity #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateCloudFrontOriginAccessIdentity -> m CreateCloudFrontOriginAccessIdentity #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateCloudFrontOriginAccessIdentity -> m CreateCloudFrontOriginAccessIdentity #

Read CreateCloudFrontOriginAccessIdentity Source # 
Show CreateCloudFrontOriginAccessIdentity Source # 
Generic CreateCloudFrontOriginAccessIdentity Source # 
Hashable CreateCloudFrontOriginAccessIdentity Source # 
NFData CreateCloudFrontOriginAccessIdentity Source # 
AWSRequest CreateCloudFrontOriginAccessIdentity Source # 
ToElement CreateCloudFrontOriginAccessIdentity Source # 
ToHeaders CreateCloudFrontOriginAccessIdentity Source # 
ToPath CreateCloudFrontOriginAccessIdentity Source # 
ToQuery CreateCloudFrontOriginAccessIdentity Source # 
type Rep CreateCloudFrontOriginAccessIdentity Source # 
type Rep CreateCloudFrontOriginAccessIdentity = D1 * (MetaData "CreateCloudFrontOriginAccessIdentity" "Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity" "amazonka-cloudfront-1.6.0-GTmJBWQTc5OFcqzFNdHHM3" True) (C1 * (MetaCons "CreateCloudFrontOriginAccessIdentity'" PrefixI True) (S1 * (MetaSel (Just Symbol "_ccfoaiCloudFrontOriginAccessIdentityConfig") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * CloudFrontOriginAccessIdentityConfig)))
type Rs CreateCloudFrontOriginAccessIdentity Source # 

Request Lenses

Destructuring the Response

createCloudFrontOriginAccessIdentityResponse Source #

Creates a value of CreateCloudFrontOriginAccessIdentityResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateCloudFrontOriginAccessIdentityResponse Source #

The returned result of the corresponding request.

See: createCloudFrontOriginAccessIdentityResponse smart constructor.

Instances

Eq CreateCloudFrontOriginAccessIdentityResponse Source # 
Data CreateCloudFrontOriginAccessIdentityResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateCloudFrontOriginAccessIdentityResponse -> c CreateCloudFrontOriginAccessIdentityResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateCloudFrontOriginAccessIdentityResponse #

toConstr :: CreateCloudFrontOriginAccessIdentityResponse -> Constr #

dataTypeOf :: CreateCloudFrontOriginAccessIdentityResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateCloudFrontOriginAccessIdentityResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateCloudFrontOriginAccessIdentityResponse) #

gmapT :: (forall b. Data b => b -> b) -> CreateCloudFrontOriginAccessIdentityResponse -> CreateCloudFrontOriginAccessIdentityResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateCloudFrontOriginAccessIdentityResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateCloudFrontOriginAccessIdentityResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateCloudFrontOriginAccessIdentityResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateCloudFrontOriginAccessIdentityResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateCloudFrontOriginAccessIdentityResponse -> m CreateCloudFrontOriginAccessIdentityResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateCloudFrontOriginAccessIdentityResponse -> m CreateCloudFrontOriginAccessIdentityResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateCloudFrontOriginAccessIdentityResponse -> m CreateCloudFrontOriginAccessIdentityResponse #

Read CreateCloudFrontOriginAccessIdentityResponse Source # 
Show CreateCloudFrontOriginAccessIdentityResponse Source # 
Generic CreateCloudFrontOriginAccessIdentityResponse Source # 
NFData CreateCloudFrontOriginAccessIdentityResponse Source # 
type Rep CreateCloudFrontOriginAccessIdentityResponse Source # 
type Rep CreateCloudFrontOriginAccessIdentityResponse = D1 * (MetaData "CreateCloudFrontOriginAccessIdentityResponse" "Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity" "amazonka-cloudfront-1.6.0-GTmJBWQTc5OFcqzFNdHHM3" False) (C1 * (MetaCons "CreateCloudFrontOriginAccessIdentityResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ccfoairsETag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ccfoairsLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ccfoairsCloudFrontOriginAccessIdentity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe CloudFrontOriginAccessIdentity))) (S1 * (MetaSel (Just Symbol "_ccfoairsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

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

The current version of the origin access identity created.