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

Amazonka.DirectoryService.CreateSnapshot

Description

Creates a snapshot of a Simple AD or Microsoft AD directory in the Amazon Web Services cloud.

You cannot take snapshots of AD Connector directories.

Synopsis

Creating a Request

data CreateSnapshot Source #

Contains the inputs for the CreateSnapshot operation.

See: newCreateSnapshot smart constructor.

Constructors

CreateSnapshot' 

Fields

  • name :: Maybe Text

    The descriptive name to apply to the snapshot.

  • directoryId :: Text

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

Instances

Instances details
Eq CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Read CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Show CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Generic CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Associated Types

type Rep CreateSnapshot :: Type -> Type #

NFData CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Methods

rnf :: CreateSnapshot -> () #

Hashable CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

ToJSON CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

AWSRequest CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Associated Types

type AWSResponse CreateSnapshot #

ToHeaders CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

ToPath CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

ToQuery CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

type Rep CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

type Rep CreateSnapshot = D1 ('MetaData "CreateSnapshot" "Amazonka.DirectoryService.CreateSnapshot" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "CreateSnapshot'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

newCreateSnapshot Source #

Create a value of CreateSnapshot with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:CreateSnapshot', createSnapshot_name - The descriptive name to apply to the snapshot.

$sel:directoryId:CreateSnapshot', createSnapshot_directoryId - The identifier of the directory of which to take a snapshot.

Request Lenses

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

The descriptive name to apply to the snapshot.

createSnapshot_directoryId :: Lens' CreateSnapshot Text Source #

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

Destructuring the Response

data CreateSnapshotResponse Source #

Contains the results of the CreateSnapshot operation.

See: newCreateSnapshotResponse smart constructor.

Constructors

CreateSnapshotResponse' 

Fields

Instances

Instances details
Eq CreateSnapshotResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Read CreateSnapshotResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Show CreateSnapshotResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Generic CreateSnapshotResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Associated Types

type Rep CreateSnapshotResponse :: Type -> Type #

NFData CreateSnapshotResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Methods

rnf :: CreateSnapshotResponse -> () #

type Rep CreateSnapshotResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

type Rep CreateSnapshotResponse = D1 ('MetaData "CreateSnapshotResponse" "Amazonka.DirectoryService.CreateSnapshot" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "CreateSnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "snapshotId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateSnapshotResponse Source #

Create a value of CreateSnapshotResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:snapshotId:CreateSnapshotResponse', createSnapshotResponse_snapshotId - The identifier of the snapshot that was created.

$sel:httpStatus:CreateSnapshotResponse', createSnapshotResponse_httpStatus - The response's http status code.

Response Lenses

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

The identifier of the snapshot that was created.