amazonka-ds-1.6.1: Amazon Directory 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.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 # 
Instance details

Defined in Network.AWS.DirectoryService.DeleteSnapshot

Data DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.DirectoryService.DeleteSnapshot

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

Defined in Network.AWS.DirectoryService.DeleteSnapshot

Show DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.DirectoryService.DeleteSnapshot

Generic DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.DirectoryService.DeleteSnapshot

Associated Types

type Rep DeleteSnapshot :: Type -> Type #

Hashable DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.DirectoryService.DeleteSnapshot

ToJSON DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.DirectoryService.DeleteSnapshot

AWSRequest DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.DirectoryService.DeleteSnapshot

Associated Types

type Rs DeleteSnapshot :: Type #

ToHeaders DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.DirectoryService.DeleteSnapshot

ToPath DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.DirectoryService.DeleteSnapshot

ToQuery DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.DirectoryService.DeleteSnapshot

NFData DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.DirectoryService.DeleteSnapshot

Methods

rnf :: DeleteSnapshot -> () #

type Rep DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.DirectoryService.DeleteSnapshot

type Rep DeleteSnapshot = D1 (MetaData "DeleteSnapshot" "Network.AWS.DirectoryService.DeleteSnapshot" "amazonka-ds-1.6.1-GgbrksYrd5fGA0sALmSRaP" True) (C1 (MetaCons "DeleteSnapshot'" PrefixI True) (S1 (MetaSel (Just "_dsSnapshotId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.DirectoryService.DeleteSnapshot

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

Defined in Network.AWS.DirectoryService.DeleteSnapshot

Data DeleteSnapshotResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.DeleteSnapshot

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

Defined in Network.AWS.DirectoryService.DeleteSnapshot

Show DeleteSnapshotResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.DeleteSnapshot

Generic DeleteSnapshotResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.DeleteSnapshot

Associated Types

type Rep DeleteSnapshotResponse :: Type -> Type #

NFData DeleteSnapshotResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.DeleteSnapshot

Methods

rnf :: DeleteSnapshotResponse -> () #

type Rep DeleteSnapshotResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.DeleteSnapshot

type Rep DeleteSnapshotResponse = D1 (MetaData "DeleteSnapshotResponse" "Network.AWS.DirectoryService.DeleteSnapshot" "amazonka-ds-1.6.1-GgbrksYrd5fGA0sALmSRaP" False) (C1 (MetaCons "DeleteSnapshotResponse'" PrefixI True) (S1 (MetaSel (Just "_dsrsSnapshotId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.