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

Contents

Description

This operation enables you to delete multiple objects from a bucket using a single HTTP request. You may specify up to 1000 keys.

Synopsis

Creating a Request

deleteObjects Source #

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

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

  • dosMFA - The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.
  • dosRequestPayer - Undocumented member.
  • dosBucket - Undocumented member.
  • dosDelete - Undocumented member.

data DeleteObjects Source #

See: deleteObjects smart constructor.

Instances

Eq DeleteObjects Source # 
Data DeleteObjects Source # 

Methods

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

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

toConstr :: DeleteObjects -> Constr #

dataTypeOf :: DeleteObjects -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteObjects Source # 
Show DeleteObjects Source # 
Generic DeleteObjects Source # 

Associated Types

type Rep DeleteObjects :: * -> * #

Hashable DeleteObjects Source # 
NFData DeleteObjects Source # 

Methods

rnf :: DeleteObjects -> () #

AWSRequest DeleteObjects Source # 
ToElement DeleteObjects Source # 
ToQuery DeleteObjects Source # 
ToPath DeleteObjects Source # 
ToHeaders DeleteObjects Source # 
type Rep DeleteObjects Source # 
type Rep DeleteObjects = D1 (MetaData "DeleteObjects" "Network.AWS.S3.DeleteObjects" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "DeleteObjects'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dosMFA") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dosRequestPayer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RequestPayer)))) ((:*:) (S1 (MetaSel (Just Symbol "_dosBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketName)) (S1 (MetaSel (Just Symbol "_dosDelete") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Delete)))))
type Rs DeleteObjects Source # 

Request Lenses

dosMFA :: Lens' DeleteObjects (Maybe Text) Source #

The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.

dosDelete :: Lens' DeleteObjects Delete Source #

Undocumented member.

Destructuring the Response

deleteObjectsResponse Source #

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

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

data DeleteObjectsResponse Source #

See: deleteObjectsResponse smart constructor.

Instances

Eq DeleteObjectsResponse Source # 
Data DeleteObjectsResponse Source # 

Methods

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

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

toConstr :: DeleteObjectsResponse -> Constr #

dataTypeOf :: DeleteObjectsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteObjectsResponse Source # 
Show DeleteObjectsResponse Source # 
Generic DeleteObjectsResponse Source # 
NFData DeleteObjectsResponse Source # 

Methods

rnf :: DeleteObjectsResponse -> () #

type Rep DeleteObjectsResponse Source # 
type Rep DeleteObjectsResponse = D1 (MetaData "DeleteObjectsResponse" "Network.AWS.S3.DeleteObjects" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "DeleteObjectsResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_drsRequestCharged") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RequestCharged))) (S1 (MetaSel (Just Symbol "_drsDeleted") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DeletedObject])))) ((:*:) (S1 (MetaSel (Just Symbol "_drsErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [S3ServiceError]))) (S1 (MetaSel (Just Symbol "_drsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

drsResponseStatus :: Lens' DeleteObjectsResponse Int Source #

  • - | The response status code.