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

Defined in Network.AWS.S3.DeleteBucket

Data DeleteBucket Source # 
Instance details

Defined in Network.AWS.S3.DeleteBucket

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

Defined in Network.AWS.S3.DeleteBucket

Show DeleteBucket Source # 
Instance details

Defined in Network.AWS.S3.DeleteBucket

Generic DeleteBucket Source # 
Instance details

Defined in Network.AWS.S3.DeleteBucket

Associated Types

type Rep DeleteBucket :: Type -> Type #

Hashable DeleteBucket Source # 
Instance details

Defined in Network.AWS.S3.DeleteBucket

AWSRequest DeleteBucket Source # 
Instance details

Defined in Network.AWS.S3.DeleteBucket

Associated Types

type Rs DeleteBucket :: Type #

ToHeaders DeleteBucket Source # 
Instance details

Defined in Network.AWS.S3.DeleteBucket

ToPath DeleteBucket Source # 
Instance details

Defined in Network.AWS.S3.DeleteBucket

ToQuery DeleteBucket Source # 
Instance details

Defined in Network.AWS.S3.DeleteBucket

NFData DeleteBucket Source # 
Instance details

Defined in Network.AWS.S3.DeleteBucket

Methods

rnf :: DeleteBucket -> () #

type Rep DeleteBucket Source # 
Instance details

Defined in Network.AWS.S3.DeleteBucket

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

Defined in Network.AWS.S3.DeleteBucket

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

Defined in Network.AWS.S3.DeleteBucket

Data DeleteBucketResponse Source # 
Instance details

Defined in Network.AWS.S3.DeleteBucket

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

Defined in Network.AWS.S3.DeleteBucket

Show DeleteBucketResponse Source # 
Instance details

Defined in Network.AWS.S3.DeleteBucket

Generic DeleteBucketResponse Source # 
Instance details

Defined in Network.AWS.S3.DeleteBucket

Associated Types

type Rep DeleteBucketResponse :: Type -> Type #

NFData DeleteBucketResponse Source # 
Instance details

Defined in Network.AWS.S3.DeleteBucket

Methods

rnf :: DeleteBucketResponse -> () #

type Rep DeleteBucketResponse Source # 
Instance details

Defined in Network.AWS.S3.DeleteBucket

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