amazonka-backup-gateway-2.0: Amazon Backup Gateway 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.BackupGateway.UpdateGatewaySoftwareNow

Description

Updates the gateway virtual machine (VM) software. The request immediately triggers the software update.

When you make this request, you get a 200 OK success response immediately. However, it might take some time for the update to complete.

Synopsis

Creating a Request

data UpdateGatewaySoftwareNow Source #

See: newUpdateGatewaySoftwareNow smart constructor.

Constructors

UpdateGatewaySoftwareNow' 

Fields

  • gatewayArn :: Text

    The Amazon Resource Name (ARN) of the gateway to be updated.

Instances

Instances details
ToJSON UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

ToHeaders UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

ToPath UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

ToQuery UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

AWSRequest UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

Generic UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

Associated Types

type Rep UpdateGatewaySoftwareNow :: Type -> Type #

Read UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

Show UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

NFData UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

Eq UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

Hashable UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

type AWSResponse UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

type Rep UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

type Rep UpdateGatewaySoftwareNow = D1 ('MetaData "UpdateGatewaySoftwareNow" "Amazonka.BackupGateway.UpdateGatewaySoftwareNow" "amazonka-backup-gateway-2.0-Ee3gVOmXMeV2r3uv4sRO9" 'False) (C1 ('MetaCons "UpdateGatewaySoftwareNow'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newUpdateGatewaySoftwareNow Source #

Create a value of UpdateGatewaySoftwareNow 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:

UpdateGatewaySoftwareNow, updateGatewaySoftwareNow_gatewayArn - The Amazon Resource Name (ARN) of the gateway to be updated.

Request Lenses

updateGatewaySoftwareNow_gatewayArn :: Lens' UpdateGatewaySoftwareNow Text Source #

The Amazon Resource Name (ARN) of the gateway to be updated.

Destructuring the Response

data UpdateGatewaySoftwareNowResponse Source #

See: newUpdateGatewaySoftwareNowResponse smart constructor.

Constructors

UpdateGatewaySoftwareNowResponse' 

Fields

Instances

Instances details
Generic UpdateGatewaySoftwareNowResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

Associated Types

type Rep UpdateGatewaySoftwareNowResponse :: Type -> Type #

Read UpdateGatewaySoftwareNowResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

Show UpdateGatewaySoftwareNowResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

NFData UpdateGatewaySoftwareNowResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

Eq UpdateGatewaySoftwareNowResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

type Rep UpdateGatewaySoftwareNowResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow

type Rep UpdateGatewaySoftwareNowResponse = D1 ('MetaData "UpdateGatewaySoftwareNowResponse" "Amazonka.BackupGateway.UpdateGatewaySoftwareNow" "amazonka-backup-gateway-2.0-Ee3gVOmXMeV2r3uv4sRO9" 'False) (C1 ('MetaCons "UpdateGatewaySoftwareNowResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateGatewaySoftwareNowResponse Source #

Create a value of UpdateGatewaySoftwareNowResponse 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:

UpdateGatewaySoftwareNow, updateGatewaySoftwareNowResponse_gatewayArn - The Amazon Resource Name (ARN) of the gateway you updated.

$sel:httpStatus:UpdateGatewaySoftwareNowResponse', updateGatewaySoftwareNowResponse_httpStatus - The response's http status code.

Response Lenses

updateGatewaySoftwareNowResponse_gatewayArn :: Lens' UpdateGatewaySoftwareNowResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the gateway you updated.