Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data RemoveRegion = RemoveRegion' {
- directoryId :: Text
- newRemoveRegion :: Text -> RemoveRegion
- removeRegion_directoryId :: Lens' RemoveRegion Text
- data RemoveRegionResponse = RemoveRegionResponse' {
- httpStatus :: Int
- newRemoveRegionResponse :: Int -> RemoveRegionResponse
- removeRegionResponse_httpStatus :: Lens' RemoveRegionResponse Int
Creating a Request
data RemoveRegion Source #
See: newRemoveRegion
smart constructor.
RemoveRegion' | |
|
Instances
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.
RemoveRegionResponse' | |
|
Instances
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
removeRegionResponse_httpStatus :: Lens' RemoveRegionResponse Int Source #
The response's http status code.