amazonka-mediastore-dataplane-1.6.0: Amazon Elemental MediaStore Data Plane 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.MediaStoreData.DeleteObject

Contents

Description

Deletes an object at the specified path.

Synopsis

Creating a Request

deleteObject Source #

Arguments

:: Text

doPath

-> DeleteObject 

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

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

  • doPath - The path (including the file name) where the object is stored in the container. Format: namenamename

data DeleteObject Source #

See: deleteObject smart constructor.

Instances

Eq DeleteObject Source # 
Data DeleteObject Source # 

Methods

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

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

toConstr :: DeleteObject -> Constr #

dataTypeOf :: DeleteObject -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteObject Source # 
Show DeleteObject Source # 
Generic DeleteObject Source # 

Associated Types

type Rep DeleteObject :: * -> * #

Hashable DeleteObject Source # 
NFData DeleteObject Source # 

Methods

rnf :: DeleteObject -> () #

AWSRequest DeleteObject Source # 
ToHeaders DeleteObject Source # 
ToPath DeleteObject Source # 
ToQuery DeleteObject Source # 
type Rep DeleteObject Source # 
type Rep DeleteObject = D1 * (MetaData "DeleteObject" "Network.AWS.MediaStoreData.DeleteObject" "amazonka-mediastore-dataplane-1.6.0-Kk3OG8iEUhA6OSUNkx09QK" True) (C1 * (MetaCons "DeleteObject'" PrefixI True) (S1 * (MetaSel (Just Symbol "_doPath") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DeleteObject Source # 

Request Lenses

doPath :: Lens' DeleteObject Text Source #

The path (including the file name) where the object is stored in the container. Format: namenamename

Destructuring the Response

deleteObjectResponse Source #

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

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

data DeleteObjectResponse Source #

See: deleteObjectResponse smart constructor.

Instances

Eq DeleteObjectResponse Source # 
Data DeleteObjectResponse Source # 

Methods

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

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

toConstr :: DeleteObjectResponse -> Constr #

dataTypeOf :: DeleteObjectResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteObjectResponse Source # 
Show DeleteObjectResponse Source # 
Generic DeleteObjectResponse Source # 
NFData DeleteObjectResponse Source # 

Methods

rnf :: DeleteObjectResponse -> () #

type Rep DeleteObjectResponse Source # 
type Rep DeleteObjectResponse = D1 * (MetaData "DeleteObjectResponse" "Network.AWS.MediaStoreData.DeleteObject" "amazonka-mediastore-dataplane-1.6.0-Kk3OG8iEUhA6OSUNkx09QK" True) (C1 * (MetaCons "DeleteObjectResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dorsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses

dorsResponseStatus :: Lens' DeleteObjectResponse Int Source #

  • - | The response status code.