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

Description

Creates an AD Connector to connect to a self-managed directory.

Before you call ConnectDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the ConnectDirectory operation, see Directory Service API Permissions: Actions, Resources, and Conditions Reference.

Synopsis

Creating a Request

data ConnectDirectory Source #

Contains the inputs for the ConnectDirectory operation.

See: newConnectDirectory smart constructor.

Constructors

ConnectDirectory' 

Fields

Instances

Instances details
Eq ConnectDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.ConnectDirectory

Show ConnectDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.ConnectDirectory

Generic ConnectDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.ConnectDirectory

Associated Types

type Rep ConnectDirectory :: Type -> Type #

NFData ConnectDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.ConnectDirectory

Methods

rnf :: ConnectDirectory -> () #

Hashable ConnectDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.ConnectDirectory

ToJSON ConnectDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.ConnectDirectory

AWSRequest ConnectDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.ConnectDirectory

Associated Types

type AWSResponse ConnectDirectory #

ToHeaders ConnectDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.ConnectDirectory

ToPath ConnectDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.ConnectDirectory

ToQuery ConnectDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.ConnectDirectory

type Rep ConnectDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.ConnectDirectory

type AWSResponse ConnectDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.ConnectDirectory

newConnectDirectory Source #

Create a value of ConnectDirectory 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:shortName:ConnectDirectory', connectDirectory_shortName - The NetBIOS name of your self-managed directory, such as CORP.

$sel:description:ConnectDirectory', connectDirectory_description - A description for the directory.

$sel:tags:ConnectDirectory', connectDirectory_tags - The tags to be assigned to AD Connector.

$sel:name:ConnectDirectory', connectDirectory_name - The fully qualified name of your self-managed directory, such as corp.example.com.

$sel:password:ConnectDirectory', connectDirectory_password - The password for your self-managed user account.

$sel:size:ConnectDirectory', connectDirectory_size - The size of the directory.

$sel:connectSettings:ConnectDirectory', connectDirectory_connectSettings - A DirectoryConnectSettings object that contains additional information for the operation.

Request Lenses

connectDirectory_shortName :: Lens' ConnectDirectory (Maybe Text) Source #

The NetBIOS name of your self-managed directory, such as CORP.

connectDirectory_tags :: Lens' ConnectDirectory (Maybe [Tag]) Source #

The tags to be assigned to AD Connector.

connectDirectory_name :: Lens' ConnectDirectory Text Source #

The fully qualified name of your self-managed directory, such as corp.example.com.

connectDirectory_password :: Lens' ConnectDirectory Text Source #

The password for your self-managed user account.

connectDirectory_connectSettings :: Lens' ConnectDirectory DirectoryConnectSettings Source #

A DirectoryConnectSettings object that contains additional information for the operation.

Destructuring the Response

data ConnectDirectoryResponse Source #

Contains the results of the ConnectDirectory operation.

See: newConnectDirectoryResponse smart constructor.

Constructors

ConnectDirectoryResponse' 

Fields

Instances

Instances details
Eq ConnectDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ConnectDirectory

Read ConnectDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ConnectDirectory

Show ConnectDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ConnectDirectory

Generic ConnectDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ConnectDirectory

Associated Types

type Rep ConnectDirectoryResponse :: Type -> Type #

NFData ConnectDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ConnectDirectory

type Rep ConnectDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ConnectDirectory

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

newConnectDirectoryResponse Source #

Create a value of ConnectDirectoryResponse 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:ConnectDirectoryResponse', connectDirectoryResponse_directoryId - The identifier of the new directory.

$sel:httpStatus:ConnectDirectoryResponse', connectDirectoryResponse_httpStatus - The response's http status code.

Response Lenses