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.UpdateNumberOfDomainControllers

Description

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

Creating a Request

data UpdateNumberOfDomainControllers Source #

See: newUpdateNumberOfDomainControllers smart constructor.

Constructors

UpdateNumberOfDomainControllers' 

Fields

  • directoryId :: Text

    Identifier of the directory to which the domain controllers will be added or removed.

  • desiredNumber :: Natural

    The number of domain controllers desired in the directory.

Instances

Instances details
Eq UpdateNumberOfDomainControllers Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers

Read UpdateNumberOfDomainControllers Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers

Show UpdateNumberOfDomainControllers Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers

Generic UpdateNumberOfDomainControllers Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers

Associated Types

type Rep UpdateNumberOfDomainControllers :: Type -> Type #

NFData UpdateNumberOfDomainControllers Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers

Hashable UpdateNumberOfDomainControllers Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers

ToJSON UpdateNumberOfDomainControllers Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers

AWSRequest UpdateNumberOfDomainControllers Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers

ToHeaders UpdateNumberOfDomainControllers Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers

ToPath UpdateNumberOfDomainControllers Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers

ToQuery UpdateNumberOfDomainControllers Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers

type Rep UpdateNumberOfDomainControllers Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers

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

Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers

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 #

Constructors

UpdateNumberOfDomainControllersResponse' 

Fields

Instances

Instances details
Eq UpdateNumberOfDomainControllersResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers

Read UpdateNumberOfDomainControllersResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers

Show UpdateNumberOfDomainControllersResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers

Generic UpdateNumberOfDomainControllersResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers

NFData UpdateNumberOfDomainControllersResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateNumberOfDomainControllers

type Rep UpdateNumberOfDomainControllersResponse Source # 
Instance details

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