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

Description

Creates a Microsoft AD directory in the Amazon Web Services Cloud. For more information, see Managed Microsoft AD in the Directory Service Admin Guide.

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

Synopsis

Creating a Request

data CreateMicrosoftAD Source #

Creates an Managed Microsoft AD directory.

See: newCreateMicrosoftAD smart constructor.

Constructors

CreateMicrosoftAD' 

Fields

  • description :: Maybe Text

    A description for the directory. This label will appear on the Amazon Web Services console Directory Details page after the directory is created.

  • edition :: Maybe DirectoryEdition

    Managed Microsoft AD is available in two editions: Standard and Enterprise. Enterprise is the default.

  • shortName :: Maybe Text

    The NetBIOS name for your domain, such as CORP. If you don't specify a NetBIOS name, it will default to the first part of your directory DNS. For example, CORP for the directory DNS corp.example.com.

  • tags :: Maybe [Tag]

    The tags to be assigned to the Managed Microsoft AD directory.

  • name :: Text

    The fully qualified domain name for the Managed Microsoft AD directory, such as corp.example.com. This name will resolve inside your VPC only. It does not need to be publicly resolvable.

  • password :: Sensitive Text

    The password for the default administrative user named Admin.

    If you need to change the password for the administrator account, you can use the ResetUserPassword API call.

  • vpcSettings :: DirectoryVpcSettings

    Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.

Instances

Instances details
ToJSON CreateMicrosoftAD Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateMicrosoftAD

ToHeaders CreateMicrosoftAD Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateMicrosoftAD

ToPath CreateMicrosoftAD Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateMicrosoftAD

ToQuery CreateMicrosoftAD Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateMicrosoftAD

AWSRequest CreateMicrosoftAD Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateMicrosoftAD

Associated Types

type AWSResponse CreateMicrosoftAD #

Generic CreateMicrosoftAD Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateMicrosoftAD

Associated Types

type Rep CreateMicrosoftAD :: Type -> Type #

Show CreateMicrosoftAD Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateMicrosoftAD

NFData CreateMicrosoftAD Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateMicrosoftAD

Methods

rnf :: CreateMicrosoftAD -> () #

Eq CreateMicrosoftAD Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateMicrosoftAD

Hashable CreateMicrosoftAD Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateMicrosoftAD

type AWSResponse CreateMicrosoftAD Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateMicrosoftAD

type Rep CreateMicrosoftAD Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateMicrosoftAD

newCreateMicrosoftAD Source #

Create a value of CreateMicrosoftAD 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:

CreateMicrosoftAD, createMicrosoftAD_description - A description for the directory. This label will appear on the Amazon Web Services console Directory Details page after the directory is created.

CreateMicrosoftAD, createMicrosoftAD_edition - Managed Microsoft AD is available in two editions: Standard and Enterprise. Enterprise is the default.

CreateMicrosoftAD, createMicrosoftAD_shortName - The NetBIOS name for your domain, such as CORP. If you don't specify a NetBIOS name, it will default to the first part of your directory DNS. For example, CORP for the directory DNS corp.example.com.

$sel:tags:CreateMicrosoftAD', createMicrosoftAD_tags - The tags to be assigned to the Managed Microsoft AD directory.

CreateMicrosoftAD, createMicrosoftAD_name - The fully qualified domain name for the Managed Microsoft AD directory, such as corp.example.com. This name will resolve inside your VPC only. It does not need to be publicly resolvable.

$sel:password:CreateMicrosoftAD', createMicrosoftAD_password - The password for the default administrative user named Admin.

If you need to change the password for the administrator account, you can use the ResetUserPassword API call.

CreateMicrosoftAD, createMicrosoftAD_vpcSettings - Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.

Request Lenses

createMicrosoftAD_description :: Lens' CreateMicrosoftAD (Maybe Text) Source #

A description for the directory. This label will appear on the Amazon Web Services console Directory Details page after the directory is created.

createMicrosoftAD_edition :: Lens' CreateMicrosoftAD (Maybe DirectoryEdition) Source #

Managed Microsoft AD is available in two editions: Standard and Enterprise. Enterprise is the default.

createMicrosoftAD_shortName :: Lens' CreateMicrosoftAD (Maybe Text) Source #

The NetBIOS name for your domain, such as CORP. If you don't specify a NetBIOS name, it will default to the first part of your directory DNS. For example, CORP for the directory DNS corp.example.com.

createMicrosoftAD_tags :: Lens' CreateMicrosoftAD (Maybe [Tag]) Source #

The tags to be assigned to the Managed Microsoft AD directory.

createMicrosoftAD_name :: Lens' CreateMicrosoftAD Text Source #

The fully qualified domain name for the Managed Microsoft AD directory, such as corp.example.com. This name will resolve inside your VPC only. It does not need to be publicly resolvable.

createMicrosoftAD_password :: Lens' CreateMicrosoftAD Text Source #

The password for the default administrative user named Admin.

If you need to change the password for the administrator account, you can use the ResetUserPassword API call.

createMicrosoftAD_vpcSettings :: Lens' CreateMicrosoftAD DirectoryVpcSettings Source #

Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.

Destructuring the Response

data CreateMicrosoftADResponse Source #

Result of a CreateMicrosoftAD request.

See: newCreateMicrosoftADResponse smart constructor.

Constructors

CreateMicrosoftADResponse' 

Fields

Instances

Instances details
Generic CreateMicrosoftADResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateMicrosoftAD

Associated Types

type Rep CreateMicrosoftADResponse :: Type -> Type #

Read CreateMicrosoftADResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateMicrosoftAD

Show CreateMicrosoftADResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateMicrosoftAD

NFData CreateMicrosoftADResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateMicrosoftAD

Eq CreateMicrosoftADResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateMicrosoftAD

type Rep CreateMicrosoftADResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateMicrosoftAD

type Rep CreateMicrosoftADResponse = D1 ('MetaData "CreateMicrosoftADResponse" "Amazonka.DirectoryService.CreateMicrosoftAD" "amazonka-ds-2.0-AgXI5fcN8ZxCoi4kNvhD3" 'False) (C1 ('MetaCons "CreateMicrosoftADResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateMicrosoftADResponse Source #

Create a value of CreateMicrosoftADResponse 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:

CreateMicrosoftADResponse, createMicrosoftADResponse_directoryId - The identifier of the directory that was created.

$sel:httpStatus:CreateMicrosoftADResponse', createMicrosoftADResponse_httpStatus - The response's http status code.

Response Lenses

createMicrosoftADResponse_directoryId :: Lens' CreateMicrosoftADResponse (Maybe Text) Source #

The identifier of the directory that was created.