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

Description

Adds two domain controllers in the specified Region for the specified directory.

Synopsis

Creating a Request

data AddRegion Source #

See: newAddRegion smart constructor.

Constructors

AddRegion' 

Fields

Instances

Instances details
Eq AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Read AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Show AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Generic AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Associated Types

type Rep AddRegion :: Type -> Type #

NFData AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Methods

rnf :: AddRegion -> () #

Hashable AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

ToJSON AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

AWSRequest AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Associated Types

type AWSResponse AddRegion #

ToHeaders AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Methods

toHeaders :: AddRegion -> [Header] #

ToPath AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

ToQuery AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

type Rep AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

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

Defined in Amazonka.DirectoryService.AddRegion

newAddRegion Source #

Create a value of AddRegion 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:AddRegion', addRegion_directoryId - The identifier of the directory to which you want to add Region replication.

$sel:regionName:AddRegion', addRegion_regionName - The name of the Region where you want to add domain controllers for replication. For example, us-east-1.

$sel:vPCSettings:AddRegion', addRegion_vPCSettings - Undocumented member.

Request Lenses

addRegion_directoryId :: Lens' AddRegion Text Source #

The identifier of the directory to which you want to add Region replication.

addRegion_regionName :: Lens' AddRegion Text Source #

The name of the Region where you want to add domain controllers for replication. For example, us-east-1.

Destructuring the Response

data AddRegionResponse Source #

See: newAddRegionResponse smart constructor.

Constructors

AddRegionResponse' 

Fields

Instances

Instances details
Eq AddRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Read AddRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Show AddRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Generic AddRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Associated Types

type Rep AddRegionResponse :: Type -> Type #

NFData AddRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Methods

rnf :: AddRegionResponse -> () #

type Rep AddRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

type Rep AddRegionResponse = D1 ('MetaData "AddRegionResponse" "Amazonka.DirectoryService.AddRegion" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "AddRegionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAddRegionResponse Source #

Create a value of AddRegionResponse 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:httpStatus:AddRegionResponse', addRegionResponse_httpStatus - The response's http status code.

Response Lenses

addRegionResponse_httpStatus :: Lens' AddRegionResponse Int Source #

The response's http status code.