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

Contents

Description

Returns the website configuration for a bucket.

Synopsis

Creating a Request

getBucketWebsite Source #

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

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

data GetBucketWebsite Source #

See: getBucketWebsite smart constructor.

Instances
Eq GetBucketWebsite Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

Data GetBucketWebsite Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

Methods

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

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

toConstr :: GetBucketWebsite -> Constr #

dataTypeOf :: GetBucketWebsite -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBucketWebsite Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

Show GetBucketWebsite Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

Generic GetBucketWebsite Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

Associated Types

type Rep GetBucketWebsite :: Type -> Type #

Hashable GetBucketWebsite Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

AWSRequest GetBucketWebsite Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

Associated Types

type Rs GetBucketWebsite :: Type #

ToHeaders GetBucketWebsite Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

ToPath GetBucketWebsite Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

ToQuery GetBucketWebsite Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

NFData GetBucketWebsite Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

Methods

rnf :: GetBucketWebsite -> () #

type Rep GetBucketWebsite Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

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

Defined in Network.AWS.S3.GetBucketWebsite

Request Lenses

Destructuring the Response

getBucketWebsiteResponse Source #

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

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

data GetBucketWebsiteResponse Source #

See: getBucketWebsiteResponse smart constructor.

Instances
Eq GetBucketWebsiteResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

Data GetBucketWebsiteResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

Methods

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

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

toConstr :: GetBucketWebsiteResponse -> Constr #

dataTypeOf :: GetBucketWebsiteResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBucketWebsiteResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

Show GetBucketWebsiteResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

Generic GetBucketWebsiteResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

Associated Types

type Rep GetBucketWebsiteResponse :: Type -> Type #

NFData GetBucketWebsiteResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

type Rep GetBucketWebsiteResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketWebsite

type Rep GetBucketWebsiteResponse = D1 (MetaData "GetBucketWebsiteResponse" "Network.AWS.S3.GetBucketWebsite" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "GetBucketWebsiteResponse'" PrefixI True) ((S1 (MetaSel (Just "_gbwrsRedirectAllRequestsTo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RedirectAllRequestsTo)) :*: S1 (MetaSel (Just "_gbwrsErrorDocument") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ErrorDocument))) :*: (S1 (MetaSel (Just "_gbwrsIndexDocument") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe IndexDocument)) :*: (S1 (MetaSel (Just "_gbwrsRoutingRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [RoutingRule])) :*: S1 (MetaSel (Just "_gbwrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses