amazonka-s3-1.5.0: Amazon Simple Storage Service SDK.

Copyright(c) 2013-2017 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 # 
Data PutBucketCORS Source # 

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 # 
Show PutBucketCORS Source # 
Generic PutBucketCORS Source # 

Associated Types

type Rep PutBucketCORS :: * -> * #

Hashable PutBucketCORS Source # 
NFData PutBucketCORS Source # 

Methods

rnf :: PutBucketCORS -> () #

AWSRequest PutBucketCORS Source # 
ToElement PutBucketCORS Source # 
ToQuery PutBucketCORS Source # 
ToPath PutBucketCORS Source # 
ToHeaders PutBucketCORS Source # 
type Rep PutBucketCORS Source # 
type Rep PutBucketCORS = D1 (MetaData "PutBucketCORS" "Network.AWS.S3.PutBucketCORS" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "PutBucketCORS'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pbcContentMD5") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_pbcBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketName)) (S1 (MetaSel (Just Symbol "_pbcCORSConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CORSConfiguration)))))
type Rs PutBucketCORS Source # 

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 # 
Data PutBucketCORSResponse Source # 

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 # 
Show PutBucketCORSResponse Source # 
Generic PutBucketCORSResponse Source # 
NFData PutBucketCORSResponse Source # 

Methods

rnf :: PutBucketCORSResponse -> () #

type Rep PutBucketCORSResponse Source # 
type Rep PutBucketCORSResponse = D1 (MetaData "PutBucketCORSResponse" "Network.AWS.S3.PutBucketCORS" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "PutBucketCORSResponse'" PrefixI False) U1)