amazonka-ds-1.4.5: Amazon Directory Service SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.DirectoryService.DeleteSnapshot

Contents

Description

Deletes a directory snapshot.

Synopsis

Creating a Request

deleteSnapshot Source #

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

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

  • dsSnapshotId - The identifier of the directory snapshot to be deleted.

data DeleteSnapshot Source #

Contains the inputs for the DeleteSnapshot operation.

See: deleteSnapshot smart constructor.

Instances

Eq DeleteSnapshot Source # 
Data DeleteSnapshot Source # 

Methods

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

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

toConstr :: DeleteSnapshot -> Constr #

dataTypeOf :: DeleteSnapshot -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteSnapshot Source # 
Show DeleteSnapshot Source # 
Generic DeleteSnapshot Source # 

Associated Types

type Rep DeleteSnapshot :: * -> * #

Hashable DeleteSnapshot Source # 
ToJSON DeleteSnapshot Source # 
NFData DeleteSnapshot Source # 

Methods

rnf :: DeleteSnapshot -> () #

AWSRequest DeleteSnapshot Source # 
ToPath DeleteSnapshot Source # 
ToHeaders DeleteSnapshot Source # 
ToQuery DeleteSnapshot Source # 
type Rep DeleteSnapshot Source # 
type Rep DeleteSnapshot = D1 (MetaData "DeleteSnapshot" "Network.AWS.DirectoryService.DeleteSnapshot" "amazonka-ds-1.4.5-24h2k11yeH0J6s1sLl4Gzu" True) (C1 (MetaCons "DeleteSnapshot'" PrefixI True) (S1 (MetaSel (Just Symbol "_dsSnapshotId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteSnapshot Source # 

Request Lenses

dsSnapshotId :: Lens' DeleteSnapshot Text Source #

The identifier of the directory snapshot to be deleted.

Destructuring the Response

deleteSnapshotResponse Source #

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

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

data DeleteSnapshotResponse Source #

Contains the results of the DeleteSnapshot operation.

See: deleteSnapshotResponse smart constructor.

Instances

Eq DeleteSnapshotResponse Source # 
Data DeleteSnapshotResponse Source # 

Methods

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

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

toConstr :: DeleteSnapshotResponse -> Constr #

dataTypeOf :: DeleteSnapshotResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteSnapshotResponse Source # 
Show DeleteSnapshotResponse Source # 
Generic DeleteSnapshotResponse Source # 
NFData DeleteSnapshotResponse Source # 

Methods

rnf :: DeleteSnapshotResponse -> () #

type Rep DeleteSnapshotResponse Source # 
type Rep DeleteSnapshotResponse = D1 (MetaData "DeleteSnapshotResponse" "Network.AWS.DirectoryService.DeleteSnapshot" "amazonka-ds-1.4.5-24h2k11yeH0J6s1sLl4Gzu" False) (C1 (MetaCons "DeleteSnapshotResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsrsSnapshotId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

dsrsSnapshotId :: Lens' DeleteSnapshotResponse (Maybe Text) Source #

The identifier of the directory snapshot that was deleted.

dsrsResponseStatus :: Lens' DeleteSnapshotResponse Int Source #

  • - | The response status code.