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.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
Eq RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Read RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Show RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Generic RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Associated Types

type Rep RemoveRegion :: Type -> Type #

NFData RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Methods

rnf :: RemoveRegion -> () #

Hashable RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

ToJSON RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

AWSRequest RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Associated Types

type AWSResponse 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

type Rep RemoveRegion Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

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

Defined in Amazonka.DirectoryService.RemoveRegion

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:

$sel:directoryId: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
Eq RemoveRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Read RemoveRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Show RemoveRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Generic RemoveRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Associated Types

type Rep RemoveRegionResponse :: Type -> Type #

NFData RemoveRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

Methods

rnf :: RemoveRegionResponse -> () #

type Rep RemoveRegionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.RemoveRegion

type Rep RemoveRegionResponse = D1 ('MetaData "RemoveRegionResponse" "Amazonka.DirectoryService.RemoveRegion" "libZSservicesZSamazonka-dsZSamazonka-ds" '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