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

Contents

Description

This operation is useful to determine if a bucket exists and you have permission to access it.

Synopsis

Creating a Request

headBucket Source #

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

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

data HeadBucket Source #

See: headBucket smart constructor.

Instances

Eq HeadBucket Source # 
Data HeadBucket Source # 

Methods

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

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

toConstr :: HeadBucket -> Constr #

dataTypeOf :: HeadBucket -> DataType #

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

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

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

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

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

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

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

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

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

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

Read HeadBucket Source # 
Show HeadBucket Source # 
Generic HeadBucket Source # 

Associated Types

type Rep HeadBucket :: * -> * #

Hashable HeadBucket Source # 
NFData HeadBucket Source # 

Methods

rnf :: HeadBucket -> () #

AWSRequest HeadBucket Source # 
ToQuery HeadBucket Source # 
ToPath HeadBucket Source # 
ToHeaders HeadBucket Source # 

Methods

toHeaders :: HeadBucket -> [Header] #

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

Request Lenses

hbBucket :: Lens' HeadBucket BucketName Source #

Undocumented member.

Destructuring the Response

headBucketResponse :: HeadBucketResponse Source #

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

data HeadBucketResponse Source #

See: headBucketResponse smart constructor.

Instances

Eq HeadBucketResponse Source # 
Data HeadBucketResponse Source # 

Methods

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

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

toConstr :: HeadBucketResponse -> Constr #

dataTypeOf :: HeadBucketResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read HeadBucketResponse Source # 
Show HeadBucketResponse Source # 
Generic HeadBucketResponse Source # 
NFData HeadBucketResponse Source # 

Methods

rnf :: HeadBucketResponse -> () #

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