amazonka-ds-2.0: Amazon Directory Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DirectoryService.UpdateDirectorySetup

Description

Updates the directory for a particular update type.

Synopsis

Creating a Request

data UpdateDirectorySetup Source #

See: newUpdateDirectorySetup smart constructor.

Constructors

UpdateDirectorySetup' 

Fields

Instances

Instances details
ToJSON UpdateDirectorySetup Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

ToHeaders UpdateDirectorySetup Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

ToPath UpdateDirectorySetup Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

ToQuery UpdateDirectorySetup Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

AWSRequest UpdateDirectorySetup Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

Associated Types

type AWSResponse UpdateDirectorySetup #

Generic UpdateDirectorySetup Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

Associated Types

type Rep UpdateDirectorySetup :: Type -> Type #

Read UpdateDirectorySetup Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

Show UpdateDirectorySetup Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

NFData UpdateDirectorySetup Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

Methods

rnf :: UpdateDirectorySetup -> () #

Eq UpdateDirectorySetup Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

Hashable UpdateDirectorySetup Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

type AWSResponse UpdateDirectorySetup Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

type Rep UpdateDirectorySetup Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

type Rep UpdateDirectorySetup = D1 ('MetaData "UpdateDirectorySetup" "Amazonka.DirectoryService.UpdateDirectorySetup" "amazonka-ds-2.0-AgXI5fcN8ZxCoi4kNvhD3" 'False) (C1 ('MetaCons "UpdateDirectorySetup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createSnapshotBeforeUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "oSUpdateSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OSUpdateSettings))) :*: (S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updateType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UpdateType))))

newUpdateDirectorySetup Source #

Create a value of UpdateDirectorySetup 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:createSnapshotBeforeUpdate:UpdateDirectorySetup', updateDirectorySetup_createSnapshotBeforeUpdate - The boolean that specifies if a snapshot for the directory needs to be taken before updating the directory.

UpdateDirectorySetup, updateDirectorySetup_oSUpdateSettings - The settings for the OS update that needs to be performed on the directory.

UpdateDirectorySetup, updateDirectorySetup_directoryId - The identifier of the directory on which you want to perform the update.

$sel:updateType:UpdateDirectorySetup', updateDirectorySetup_updateType - The type of update that needs to be performed on the directory. For example, OS.

Request Lenses

updateDirectorySetup_createSnapshotBeforeUpdate :: Lens' UpdateDirectorySetup (Maybe Bool) Source #

The boolean that specifies if a snapshot for the directory needs to be taken before updating the directory.

updateDirectorySetup_oSUpdateSettings :: Lens' UpdateDirectorySetup (Maybe OSUpdateSettings) Source #

The settings for the OS update that needs to be performed on the directory.

updateDirectorySetup_directoryId :: Lens' UpdateDirectorySetup Text Source #

The identifier of the directory on which you want to perform the update.

updateDirectorySetup_updateType :: Lens' UpdateDirectorySetup UpdateType Source #

The type of update that needs to be performed on the directory. For example, OS.

Destructuring the Response

data UpdateDirectorySetupResponse Source #

See: newUpdateDirectorySetupResponse smart constructor.

Constructors

UpdateDirectorySetupResponse' 

Fields

Instances

Instances details
Generic UpdateDirectorySetupResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

Associated Types

type Rep UpdateDirectorySetupResponse :: Type -> Type #

Read UpdateDirectorySetupResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

Show UpdateDirectorySetupResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

NFData UpdateDirectorySetupResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

Eq UpdateDirectorySetupResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

type Rep UpdateDirectorySetupResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.UpdateDirectorySetup

type Rep UpdateDirectorySetupResponse = D1 ('MetaData "UpdateDirectorySetupResponse" "Amazonka.DirectoryService.UpdateDirectorySetup" "amazonka-ds-2.0-AgXI5fcN8ZxCoi4kNvhD3" 'False) (C1 ('MetaCons "UpdateDirectorySetupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateDirectorySetupResponse Source #

Create a value of UpdateDirectorySetupResponse 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:UpdateDirectorySetupResponse', updateDirectorySetupResponse_httpStatus - The response's http status code.

Response Lenses