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

Contents

Description

Deletes the bucket. All objects (including all object versions and Delete Markers) in the bucket must be deleted before the bucket itself can be deleted.

Synopsis

Creating a Request

deleteBucket Source #

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

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

data DeleteBucket Source #

See: deleteBucket smart constructor.

Instances

Eq DeleteBucket Source # 
Data DeleteBucket Source # 

Methods

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

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

toConstr :: DeleteBucket -> Constr #

dataTypeOf :: DeleteBucket -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteBucket Source # 
Show DeleteBucket Source # 
Generic DeleteBucket Source # 

Associated Types

type Rep DeleteBucket :: * -> * #

Hashable DeleteBucket Source # 
NFData DeleteBucket Source # 

Methods

rnf :: DeleteBucket -> () #

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

Request Lenses

dbBucket :: Lens' DeleteBucket BucketName Source #

Undocumented member.

Destructuring the Response

deleteBucketResponse :: DeleteBucketResponse Source #

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

data DeleteBucketResponse Source #

See: deleteBucketResponse smart constructor.

Instances

Eq DeleteBucketResponse Source # 
Data DeleteBucketResponse Source # 

Methods

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

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

toConstr :: DeleteBucketResponse -> Constr #

dataTypeOf :: DeleteBucketResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteBucketResponse Source # 
Show DeleteBucketResponse Source # 
Generic DeleteBucketResponse Source # 
NFData DeleteBucketResponse Source # 

Methods

rnf :: DeleteBucketResponse -> () #

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