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

Defined in Network.AWS.S3.DeleteObjects

Data DeleteObjects Source # 
Instance details

Defined in Network.AWS.S3.DeleteObjects

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

Defined in Network.AWS.S3.DeleteObjects

Show DeleteObjects Source # 
Instance details

Defined in Network.AWS.S3.DeleteObjects

Generic DeleteObjects Source # 
Instance details

Defined in Network.AWS.S3.DeleteObjects

Associated Types

type Rep DeleteObjects :: Type -> Type #

Hashable DeleteObjects Source # 
Instance details

Defined in Network.AWS.S3.DeleteObjects

AWSRequest DeleteObjects Source # 
Instance details

Defined in Network.AWS.S3.DeleteObjects

Associated Types

type Rs DeleteObjects :: Type #

ToElement DeleteObjects Source # 
Instance details

Defined in Network.AWS.S3.DeleteObjects

ToHeaders DeleteObjects Source # 
Instance details

Defined in Network.AWS.S3.DeleteObjects

ToPath DeleteObjects Source # 
Instance details

Defined in Network.AWS.S3.DeleteObjects

ToQuery DeleteObjects Source # 
Instance details

Defined in Network.AWS.S3.DeleteObjects

NFData DeleteObjects Source # 
Instance details

Defined in Network.AWS.S3.DeleteObjects

Methods

rnf :: DeleteObjects -> () #

type Rep DeleteObjects Source # 
Instance details

Defined in Network.AWS.S3.DeleteObjects

type Rep DeleteObjects = D1 (MetaData "DeleteObjects" "Network.AWS.S3.DeleteObjects" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "DeleteObjects'" PrefixI True) ((S1 (MetaSel (Just "_dosMFA") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dosRequestPayer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RequestPayer))) :*: (S1 (MetaSel (Just "_dosBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketName) :*: S1 (MetaSel (Just "_dosDelete") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Delete))))
type Rs DeleteObjects Source # 
Instance details

Defined in Network.AWS.S3.DeleteObjects

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

Defined in Network.AWS.S3.DeleteObjects

Data DeleteObjectsResponse Source # 
Instance details

Defined in Network.AWS.S3.DeleteObjects

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

Defined in Network.AWS.S3.DeleteObjects

Show DeleteObjectsResponse Source # 
Instance details

Defined in Network.AWS.S3.DeleteObjects

Generic DeleteObjectsResponse Source # 
Instance details

Defined in Network.AWS.S3.DeleteObjects

Associated Types

type Rep DeleteObjectsResponse :: Type -> Type #

NFData DeleteObjectsResponse Source # 
Instance details

Defined in Network.AWS.S3.DeleteObjects

Methods

rnf :: DeleteObjectsResponse -> () #

type Rep DeleteObjectsResponse Source # 
Instance details

Defined in Network.AWS.S3.DeleteObjects

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

Response Lenses

drsResponseStatus :: Lens' DeleteObjectsResponse Int Source #

  • - | The response status code.