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 or removes domain controllers to or from the directory. Based on the difference between current value and new value (provided through this API call), domain controllers will be added or removed. It may take up to 45 minutes for any new domain controllers to become fully active once the requested number of domain controllers is updated. During this time, you cannot make another update request.
Synopsis
- data UpdateNumberOfDomainControllers = UpdateNumberOfDomainControllers' {}
- newUpdateNumberOfDomainControllers :: Text -> Natural -> UpdateNumberOfDomainControllers
- updateNumberOfDomainControllers_directoryId :: Lens' UpdateNumberOfDomainControllers Text
- updateNumberOfDomainControllers_desiredNumber :: Lens' UpdateNumberOfDomainControllers Natural
- data UpdateNumberOfDomainControllersResponse = UpdateNumberOfDomainControllersResponse' {
- httpStatus :: Int
- newUpdateNumberOfDomainControllersResponse :: Int -> UpdateNumberOfDomainControllersResponse
- updateNumberOfDomainControllersResponse_httpStatus :: Lens' UpdateNumberOfDomainControllersResponse Int
Creating a Request
data UpdateNumberOfDomainControllers Source #
See: newUpdateNumberOfDomainControllers
smart constructor.
UpdateNumberOfDomainControllers' | |
|
Instances
newUpdateNumberOfDomainControllers Source #
Create a value of UpdateNumberOfDomainControllers
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:UpdateNumberOfDomainControllers'
, updateNumberOfDomainControllers_directoryId
- Identifier of the directory to which the domain controllers will be
added or removed.
$sel:desiredNumber:UpdateNumberOfDomainControllers'
, updateNumberOfDomainControllers_desiredNumber
- The number of domain controllers desired in the directory.
Request Lenses
updateNumberOfDomainControllers_directoryId :: Lens' UpdateNumberOfDomainControllers Text Source #
Identifier of the directory to which the domain controllers will be added or removed.
updateNumberOfDomainControllers_desiredNumber :: Lens' UpdateNumberOfDomainControllers Natural Source #
The number of domain controllers desired in the directory.
Destructuring the Response
data UpdateNumberOfDomainControllersResponse Source #
See: newUpdateNumberOfDomainControllersResponse
smart constructor.
UpdateNumberOfDomainControllersResponse' | |
|
Instances
Eq UpdateNumberOfDomainControllersResponse Source # | |
Read UpdateNumberOfDomainControllersResponse Source # | |
Show UpdateNumberOfDomainControllersResponse Source # | |
Generic UpdateNumberOfDomainControllersResponse Source # | |
Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers type Rep UpdateNumberOfDomainControllersResponse :: Type -> Type # | |
NFData UpdateNumberOfDomainControllersResponse Source # | |
type Rep UpdateNumberOfDomainControllersResponse Source # | |
Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers type Rep UpdateNumberOfDomainControllersResponse = D1 ('MetaData "UpdateNumberOfDomainControllersResponse" "Amazonka.DirectoryService.UpdateNumberOfDomainControllers" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "UpdateNumberOfDomainControllersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateNumberOfDomainControllersResponse Source #
Create a value of UpdateNumberOfDomainControllersResponse
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:UpdateNumberOfDomainControllersResponse'
, updateNumberOfDomainControllersResponse_httpStatus
- The response's http status code.
Response Lenses
updateNumberOfDomainControllersResponse_httpStatus :: Lens' UpdateNumberOfDomainControllersResponse Int Source #
The response's http status code.