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.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 # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

Data GetBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

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 # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

Show GetBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

Generic GetBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

Associated Types

type Rep GetBucketCORS :: Type -> Type #

Hashable GetBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

AWSRequest GetBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

Associated Types

type Rs GetBucketCORS :: Type #

ToHeaders GetBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

ToPath GetBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

ToQuery GetBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

NFData GetBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

Methods

rnf :: GetBucketCORS -> () #

type Rep GetBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

type Rep GetBucketCORS = D1 (MetaData "GetBucketCORS" "Network.AWS.S3.GetBucketCORS" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" True) (C1 (MetaCons "GetBucketCORS'" PrefixI True) (S1 (MetaSel (Just "_gbcBucket") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 BucketName)))
type Rs GetBucketCORS Source # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

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 # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

Data GetBucketCORSResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

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 # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

Show GetBucketCORSResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

Generic GetBucketCORSResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

Associated Types

type Rep GetBucketCORSResponse :: Type -> Type #

NFData GetBucketCORSResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

Methods

rnf :: GetBucketCORSResponse -> () #

type Rep GetBucketCORSResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketCORS

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

Response Lenses

gbcrsResponseStatus :: Lens' GetBucketCORSResponse Int Source #

  • - | The response status code.