amazonka-ds-1.4.4: 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.CreateSnapshot

Contents

Description

Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.

You cannot take snapshots of AD Connector directories.

Synopsis

Creating a Request

createSnapshot Source #

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

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

data CreateSnapshot Source #

Contains the inputs for the CreateSnapshot operation.

See: createSnapshot smart constructor.

Instances

Eq CreateSnapshot Source # 
Data CreateSnapshot Source # 

Methods

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

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

toConstr :: CreateSnapshot -> Constr #

dataTypeOf :: CreateSnapshot -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateSnapshot Source # 
Show CreateSnapshot Source # 
Generic CreateSnapshot Source # 

Associated Types

type Rep CreateSnapshot :: * -> * #

Hashable CreateSnapshot Source # 
NFData CreateSnapshot Source # 

Methods

rnf :: CreateSnapshot -> () #

AWSRequest CreateSnapshot Source # 
ToPath CreateSnapshot Source # 
ToHeaders CreateSnapshot Source # 
ToQuery CreateSnapshot Source # 
ToJSON CreateSnapshot Source # 
type Rep CreateSnapshot Source # 
type Rep CreateSnapshot = D1 (MetaData "CreateSnapshot" "Network.AWS.DirectoryService.CreateSnapshot" "amazonka-ds-1.4.4-9k5BNLMvpUcC12HvOZ6S1s" False) (C1 (MetaCons "CreateSnapshot'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_csName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_csDirectoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateSnapshot Source # 

Request Lenses

csName :: Lens' CreateSnapshot (Maybe Text) Source #

The descriptive name to apply to the snapshot.

csDirectoryId :: Lens' CreateSnapshot Text Source #

The identifier of the directory of which to take a snapshot.

Destructuring the Response

createSnapshotResponse Source #

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

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

data CreateSnapshotResponse Source #

Contains the results of the CreateSnapshot operation.

See: createSnapshotResponse smart constructor.

Instances

Eq CreateSnapshotResponse Source # 
Data CreateSnapshotResponse Source # 

Methods

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

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

toConstr :: CreateSnapshotResponse -> Constr #

dataTypeOf :: CreateSnapshotResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateSnapshotResponse Source # 
Show CreateSnapshotResponse Source # 
Generic CreateSnapshotResponse Source # 
NFData CreateSnapshotResponse Source # 

Methods

rnf :: CreateSnapshotResponse -> () #

type Rep CreateSnapshotResponse Source # 
type Rep CreateSnapshotResponse = D1 (MetaData "CreateSnapshotResponse" "Network.AWS.DirectoryService.CreateSnapshot" "amazonka-ds-1.4.4-9k5BNLMvpUcC12HvOZ6S1s" False) (C1 (MetaCons "CreateSnapshotResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_csrsSnapshotId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_csrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

csrsSnapshotId :: Lens' CreateSnapshotResponse (Maybe Text) Source #

The identifier of the snapshot that was created.