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 |
Adds two domain controllers in the specified Region for the specified directory.
Synopsis
- data AddRegion = AddRegion' {}
- newAddRegion :: Text -> Text -> DirectoryVpcSettings -> AddRegion
- addRegion_directoryId :: Lens' AddRegion Text
- addRegion_regionName :: Lens' AddRegion Text
- addRegion_vPCSettings :: Lens' AddRegion DirectoryVpcSettings
- data AddRegionResponse = AddRegionResponse' {
- httpStatus :: Int
- newAddRegionResponse :: Int -> AddRegionResponse
- addRegionResponse_httpStatus :: Lens' AddRegionResponse Int
Creating a Request
See: newAddRegion
smart constructor.
AddRegion' | |
|
Instances
:: Text | |
-> Text | |
-> DirectoryVpcSettings | |
-> AddRegion |
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
.
addRegion_vPCSettings :: Lens' AddRegion DirectoryVpcSettings Source #
Undocumented member.
Destructuring the Response
data AddRegionResponse Source #
See: newAddRegionResponse
smart constructor.
AddRegionResponse' | |
|
Instances
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.