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.StartSchemaExtension

Description

Applies a schema extension to a Microsoft AD directory.

Synopsis

Creating a Request

data StartSchemaExtension Source #

See: newStartSchemaExtension smart constructor.

Constructors

StartSchemaExtension' 

Fields

  • directoryId :: Text

    The identifier of the directory for which the schema extension will be applied to.

  • createSnapshotBeforeSchemaExtension :: Bool

    If true, creates a snapshot of the directory before applying the schema extension.

  • ldifContent :: Text

    The LDIF file represented as a string. To construct the LdifContent string, precede each line as it would be formatted in an ldif file with \n. See the example request below for more details. The file size can be no larger than 1MB.

  • description :: Text

    A description of the schema extension.

Instances

Instances details
Eq StartSchemaExtension Source # 
Instance details

Defined in Amazonka.DirectoryService.StartSchemaExtension

Read StartSchemaExtension Source # 
Instance details

Defined in Amazonka.DirectoryService.StartSchemaExtension

Show StartSchemaExtension Source # 
Instance details

Defined in Amazonka.DirectoryService.StartSchemaExtension

Generic StartSchemaExtension Source # 
Instance details

Defined in Amazonka.DirectoryService.StartSchemaExtension

Associated Types

type Rep StartSchemaExtension :: Type -> Type #

NFData StartSchemaExtension Source # 
Instance details

Defined in Amazonka.DirectoryService.StartSchemaExtension

Methods

rnf :: StartSchemaExtension -> () #

Hashable StartSchemaExtension Source # 
Instance details

Defined in Amazonka.DirectoryService.StartSchemaExtension

ToJSON StartSchemaExtension Source # 
Instance details

Defined in Amazonka.DirectoryService.StartSchemaExtension

AWSRequest StartSchemaExtension Source # 
Instance details

Defined in Amazonka.DirectoryService.StartSchemaExtension

Associated Types

type AWSResponse StartSchemaExtension #

ToHeaders StartSchemaExtension Source # 
Instance details

Defined in Amazonka.DirectoryService.StartSchemaExtension

ToPath StartSchemaExtension Source # 
Instance details

Defined in Amazonka.DirectoryService.StartSchemaExtension

ToQuery StartSchemaExtension Source # 
Instance details

Defined in Amazonka.DirectoryService.StartSchemaExtension

type Rep StartSchemaExtension Source # 
Instance details

Defined in Amazonka.DirectoryService.StartSchemaExtension

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

Defined in Amazonka.DirectoryService.StartSchemaExtension

newStartSchemaExtension Source #

Create a value of StartSchemaExtension 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:directoryId:StartSchemaExtension', startSchemaExtension_directoryId - The identifier of the directory for which the schema extension will be applied to.

$sel:createSnapshotBeforeSchemaExtension:StartSchemaExtension', startSchemaExtension_createSnapshotBeforeSchemaExtension - If true, creates a snapshot of the directory before applying the schema extension.

$sel:ldifContent:StartSchemaExtension', startSchemaExtension_ldifContent - The LDIF file represented as a string. To construct the LdifContent string, precede each line as it would be formatted in an ldif file with \n. See the example request below for more details. The file size can be no larger than 1MB.

$sel:description:StartSchemaExtension', startSchemaExtension_description - A description of the schema extension.

Request Lenses

startSchemaExtension_directoryId :: Lens' StartSchemaExtension Text Source #

The identifier of the directory for which the schema extension will be applied to.

startSchemaExtension_createSnapshotBeforeSchemaExtension :: Lens' StartSchemaExtension Bool Source #

If true, creates a snapshot of the directory before applying the schema extension.

startSchemaExtension_ldifContent :: Lens' StartSchemaExtension Text Source #

The LDIF file represented as a string. To construct the LdifContent string, precede each line as it would be formatted in an ldif file with \n. See the example request below for more details. The file size can be no larger than 1MB.

startSchemaExtension_description :: Lens' StartSchemaExtension Text Source #

A description of the schema extension.

Destructuring the Response

data StartSchemaExtensionResponse Source #

See: newStartSchemaExtensionResponse smart constructor.

Constructors

StartSchemaExtensionResponse' 

Fields

Instances

Instances details
Eq StartSchemaExtensionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.StartSchemaExtension

Read StartSchemaExtensionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.StartSchemaExtension

Show StartSchemaExtensionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.StartSchemaExtension

Generic StartSchemaExtensionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.StartSchemaExtension

Associated Types

type Rep StartSchemaExtensionResponse :: Type -> Type #

NFData StartSchemaExtensionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.StartSchemaExtension

type Rep StartSchemaExtensionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.StartSchemaExtension

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

newStartSchemaExtensionResponse Source #

Create a value of StartSchemaExtensionResponse 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:schemaExtensionId:StartSchemaExtensionResponse', startSchemaExtensionResponse_schemaExtensionId - The identifier of the schema extension that will be applied.

$sel:httpStatus:StartSchemaExtensionResponse', startSchemaExtensionResponse_httpStatus - The response's http status code.

Response Lenses

startSchemaExtensionResponse_schemaExtensionId :: Lens' StartSchemaExtensionResponse (Maybe Text) Source #

The identifier of the schema extension that will be applied.