amazonka-s3-1.6.1: Amazon Simple Storage Service 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.S3.PutBucketCORS

Contents

Description

Sets the cors configuration for a bucket.

Synopsis

Creating a Request

putBucketCORS Source #

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

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

data PutBucketCORS Source #

See: putBucketCORS smart constructor.

Instances
Eq PutBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

Data PutBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

Methods

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

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

toConstr :: PutBucketCORS -> Constr #

dataTypeOf :: PutBucketCORS -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

Show PutBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

Generic PutBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

Associated Types

type Rep PutBucketCORS :: Type -> Type #

Hashable PutBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

AWSRequest PutBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

Associated Types

type Rs PutBucketCORS :: Type #

ToElement PutBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

ToHeaders PutBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

ToPath PutBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

ToQuery PutBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

NFData PutBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

Methods

rnf :: PutBucketCORS -> () #

type Rep PutBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

type Rep PutBucketCORS = D1 (MetaData "PutBucketCORS" "Network.AWS.S3.PutBucketCORS" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "PutBucketCORS'" PrefixI True) (S1 (MetaSel (Just "_pbcContentMD5") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pbcBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketName) :*: S1 (MetaSel (Just "_pbcCORSConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CORSConfiguration))))
type Rs PutBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

Request Lenses

Destructuring the Response

putBucketCORSResponse :: PutBucketCORSResponse Source #

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

data PutBucketCORSResponse Source #

See: putBucketCORSResponse smart constructor.

Instances
Eq PutBucketCORSResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

Data PutBucketCORSResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

Methods

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

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

toConstr :: PutBucketCORSResponse -> Constr #

dataTypeOf :: PutBucketCORSResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutBucketCORSResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

Show PutBucketCORSResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

Generic PutBucketCORSResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

Associated Types

type Rep PutBucketCORSResponse :: Type -> Type #

NFData PutBucketCORSResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

Methods

rnf :: PutBucketCORSResponse -> () #

type Rep PutBucketCORSResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketCORS

type Rep PutBucketCORSResponse = D1 (MetaData "PutBucketCORSResponse" "Network.AWS.S3.PutBucketCORS" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "PutBucketCORSResponse'" PrefixI False) (U1 :: Type -> Type))