amazonka-ds-2.0: Amazon Directory Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.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

AWSRequest CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Associated Types

type AWSResponse CreateSnapshot #

Generic CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Associated Types

type Rep CreateSnapshot :: Type -> Type #

Read CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Show CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

NFData CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Methods

rnf :: CreateSnapshot -> () #

Eq CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Hashable CreateSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

type AWSResponse 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" "amazonka-ds-2.0-AgXI5fcN8ZxCoi4kNvhD3" '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)))

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:

CreateSnapshot, createSnapshot_name - The descriptive name to apply to the snapshot.

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
Generic CreateSnapshotResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Associated Types

type Rep CreateSnapshotResponse :: Type -> Type #

Read CreateSnapshotResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Show CreateSnapshotResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

NFData CreateSnapshotResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

Methods

rnf :: CreateSnapshotResponse -> () #

Eq CreateSnapshotResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

type Rep CreateSnapshotResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateSnapshot

type Rep CreateSnapshotResponse = D1 ('MetaData "CreateSnapshotResponse" "Amazonka.DirectoryService.CreateSnapshot" "amazonka-ds-2.0-AgXI5fcN8ZxCoi4kNvhD3" '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:

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.