| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DirectoryService.AddRegion
Description
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.
Constructors
| AddRegion' | |
Fields
| |
Instances
Arguments
| :: 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:
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.
addRegion_vPCSettings :: Lens' AddRegion DirectoryVpcSettings Source #
Undocumented member.
Destructuring the Response
data AddRegionResponse Source #
See: newAddRegionResponse smart constructor.
Constructors
| AddRegionResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> AddRegionResponse |
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.