libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway
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.StorageGateway.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. You can call DescribeGatewayInformation to verify the gateway is in the STATE_RUNNING state.

A software update forces a system restart of your gateway. You can minimize the chance of any disruption to your applications by increasing your iSCSI Initiators' timeouts. For more information about increasing iSCSI Initiator timeouts for Windows and Linux, see Customizing your Windows iSCSI settings and Customizing your Linux iSCSI settings, respectively.

Synopsis

Creating a Request

data UpdateGatewaySoftwareNow Source #

A JSON object containing the Amazon Resource Name (ARN) of the gateway to update.

See: newUpdateGatewaySoftwareNow smart constructor.

Constructors

UpdateGatewaySoftwareNow' 

Fields

Instances

Instances details
Eq UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

Read UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

Show UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

Generic UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

Associated Types

type Rep UpdateGatewaySoftwareNow :: Type -> Type #

NFData UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

Hashable UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

ToJSON UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

AWSRequest UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

ToHeaders UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

ToPath UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

ToQuery UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

type Rep UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

type Rep UpdateGatewaySoftwareNow = D1 ('MetaData "UpdateGatewaySoftwareNow" "Amazonka.StorageGateway.UpdateGatewaySoftwareNow" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "UpdateGatewaySoftwareNow'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

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:

$sel:gatewayARN:UpdateGatewaySoftwareNow', updateGatewaySoftwareNow_gatewayARN - Undocumented member.

Request Lenses

Destructuring the Response

data UpdateGatewaySoftwareNowResponse Source #

A JSON object containing the Amazon Resource Name (ARN) of the gateway that was updated.

See: newUpdateGatewaySoftwareNowResponse smart constructor.

Constructors

UpdateGatewaySoftwareNowResponse' 

Fields

Instances

Instances details
Eq UpdateGatewaySoftwareNowResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

Read UpdateGatewaySoftwareNowResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

Show UpdateGatewaySoftwareNowResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

Generic UpdateGatewaySoftwareNowResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

Associated Types

type Rep UpdateGatewaySoftwareNowResponse :: Type -> Type #

NFData UpdateGatewaySoftwareNowResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

type Rep UpdateGatewaySoftwareNowResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewaySoftwareNow

type Rep UpdateGatewaySoftwareNowResponse = D1 ('MetaData "UpdateGatewaySoftwareNowResponse" "Amazonka.StorageGateway.UpdateGatewaySoftwareNow" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" '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:

$sel:gatewayARN:UpdateGatewaySoftwareNow', updateGatewaySoftwareNowResponse_gatewayARN - Undocumented member.

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

Response Lenses