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

Description

Stops all replication and removes the domain controllers from the specified Region. You cannot remove the primary Region with this operation. Instead, use the DeleteDirectory API.

Synopsis

Creating a Request

data RemoveRegion Source #

See: newRemoveRegion smart constructor.

Constructors

RemoveRegion' 

Fields

  • directoryId :: Text

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

Instances

Instances details
ToJSON RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

ToHeaders RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

ToPath RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

ToQuery RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

AWSRequest RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Associated Types

type AWSResponse RemoveRegion #

Generic RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Associated Types

type Rep RemoveRegion :: Type -> Type #

Read RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Show RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

NFData RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Methods

rnf :: RemoveRegion -> () #

Eq RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Hashable RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

type AWSResponse RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

type Rep RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

type Rep RemoveRegion = D1 ('MetaData "RemoveRegion" "Amazonka.DirectoryService.RemoveRegion" "amazonka-ds-2.0-AgXI5fcN8ZxCoi4kNvhD3" 'False) (C1 ('MetaCons "RemoveRegion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRemoveRegion Source #

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

RemoveRegion, removeRegion_directoryId - The identifier of the directory for which you want to remove Region replication.

Request Lenses

removeRegion_directoryId :: Lens' RemoveRegion Text Source #

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

Destructuring the Response

data RemoveRegionResponse Source #

See: newRemoveRegionResponse smart constructor.

Constructors

RemoveRegionResponse' 

Fields

Instances

Instances details
Generic RemoveRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Associated Types

type Rep RemoveRegionResponse :: Type -> Type #

Read RemoveRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Show RemoveRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

NFData RemoveRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Methods

rnf :: RemoveRegionResponse -> () #

Eq RemoveRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

type Rep RemoveRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

type Rep RemoveRegionResponse = D1 ('MetaData "RemoveRegionResponse" "Amazonka.DirectoryService.RemoveRegion" "amazonka-ds-2.0-AgXI5fcN8ZxCoi4kNvhD3" 'False) (C1 ('MetaCons "RemoveRegionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRemoveRegionResponse Source #

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

Response Lenses