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

Defined in Network.AWS.S3.HeadBucket

Data HeadBucket Source # 
Instance details

Defined in Network.AWS.S3.HeadBucket

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

Defined in Network.AWS.S3.HeadBucket

Show HeadBucket Source # 
Instance details

Defined in Network.AWS.S3.HeadBucket

Generic HeadBucket Source # 
Instance details

Defined in Network.AWS.S3.HeadBucket

Associated Types

type Rep HeadBucket :: Type -> Type #

Hashable HeadBucket Source # 
Instance details

Defined in Network.AWS.S3.HeadBucket

AWSRequest HeadBucket Source # 
Instance details

Defined in Network.AWS.S3.HeadBucket

Associated Types

type Rs HeadBucket :: Type #

ToHeaders HeadBucket Source # 
Instance details

Defined in Network.AWS.S3.HeadBucket

Methods

toHeaders :: HeadBucket -> [Header] #

ToPath HeadBucket Source # 
Instance details

Defined in Network.AWS.S3.HeadBucket

ToQuery HeadBucket Source # 
Instance details

Defined in Network.AWS.S3.HeadBucket

NFData HeadBucket Source # 
Instance details

Defined in Network.AWS.S3.HeadBucket

Methods

rnf :: HeadBucket -> () #

type Rep HeadBucket Source # 
Instance details

Defined in Network.AWS.S3.HeadBucket

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

Defined in Network.AWS.S3.HeadBucket

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

Defined in Network.AWS.S3.HeadBucket

Data HeadBucketResponse Source # 
Instance details

Defined in Network.AWS.S3.HeadBucket

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

Defined in Network.AWS.S3.HeadBucket

Show HeadBucketResponse Source # 
Instance details

Defined in Network.AWS.S3.HeadBucket

Generic HeadBucketResponse Source # 
Instance details

Defined in Network.AWS.S3.HeadBucket

Associated Types

type Rep HeadBucketResponse :: Type -> Type #

NFData HeadBucketResponse Source # 
Instance details

Defined in Network.AWS.S3.HeadBucket

Methods

rnf :: HeadBucketResponse -> () #

type Rep HeadBucketResponse Source # 
Instance details

Defined in Network.AWS.S3.HeadBucket

type Rep HeadBucketResponse = D1 (MetaData "HeadBucketResponse" "Network.AWS.S3.HeadBucket" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "HeadBucketResponse'" PrefixI False) (U1 :: Type -> Type))