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

Contents

Description

Returns the cors configuration for the bucket.

Synopsis

Creating a Request

getBucketCORS Source #

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

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

data GetBucketCORS Source #

See: getBucketCORS smart constructor.

Instances

Eq GetBucketCORS Source # 
Data GetBucketCORS Source # 

Methods

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

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

toConstr :: GetBucketCORS -> Constr #

dataTypeOf :: GetBucketCORS -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBucketCORS Source # 
Show GetBucketCORS Source # 
Generic GetBucketCORS Source # 

Associated Types

type Rep GetBucketCORS :: * -> * #

Hashable GetBucketCORS Source # 
NFData GetBucketCORS Source # 

Methods

rnf :: GetBucketCORS -> () #

AWSRequest GetBucketCORS Source # 
ToQuery GetBucketCORS Source # 
ToPath GetBucketCORS Source # 
ToHeaders GetBucketCORS Source # 
type Rep GetBucketCORS Source # 
type Rep GetBucketCORS = D1 (MetaData "GetBucketCORS" "Network.AWS.S3.GetBucketCORS" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" True) (C1 (MetaCons "GetBucketCORS'" PrefixI True) (S1 (MetaSel (Just Symbol "_gbcBucket") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 BucketName)))
type Rs GetBucketCORS Source # 

Request Lenses

Destructuring the Response

getBucketCORSResponse Source #

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

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

data GetBucketCORSResponse Source #

See: getBucketCORSResponse smart constructor.

Instances

Eq GetBucketCORSResponse Source # 
Data GetBucketCORSResponse Source # 

Methods

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

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

toConstr :: GetBucketCORSResponse -> Constr #

dataTypeOf :: GetBucketCORSResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBucketCORSResponse Source # 
Show GetBucketCORSResponse Source # 
Generic GetBucketCORSResponse Source # 
NFData GetBucketCORSResponse Source # 

Methods

rnf :: GetBucketCORSResponse -> () #

type Rep GetBucketCORSResponse Source # 
type Rep GetBucketCORSResponse = D1 (MetaData "GetBucketCORSResponse" "Network.AWS.S3.GetBucketCORS" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "GetBucketCORSResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gbcrsCORSRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CORSRule]))) (S1 (MetaSel (Just Symbol "_gbcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gbcrsResponseStatus :: Lens' GetBucketCORSResponse Int Source #

  • - | The response status code.