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

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

AWSRequest AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Associated Types

type AWSResponse AddRegion #

Generic AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Associated Types

type Rep AddRegion :: Type -> Type #

Read AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Show AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

NFData AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Methods

rnf :: AddRegion -> () #

Eq AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Hashable AddRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

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

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:

AddRegion, addRegion_directoryId - The identifier of the directory to which you want to add Region replication.

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

Defined in Amazonka.DirectoryService.AddRegion

Associated Types

type Rep AddRegionResponse :: Type -> Type #

Read AddRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Show AddRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

NFData AddRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

Methods

rnf :: AddRegionResponse -> () #

Eq AddRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

type Rep AddRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.AddRegion

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