AWS SDK for .NET Documentation
UpdateGatewaySoftwareNow Method (updateGatewaySoftwareNowRequest)
AmazonAmazon.StorageGatewayAmazonStorageGatewayClientUpdateGatewaySoftwareNow(UpdateGatewaySoftwareNowRequest) Did this page help you?   Yes   No    Tell us about it...

This operation updates the gateway virtual machine (VM) software. The request immediately triggers the software update.

NOTE: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.

IMPORTANT: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.

Declaration Syntax
C#
public UpdateGatewaySoftwareNowResponse UpdateGatewaySoftwareNow(
	UpdateGatewaySoftwareNowRequest updateGatewaySoftwareNowRequest
)
Parameters
updateGatewaySoftwareNowRequest (UpdateGatewaySoftwareNowRequest)
Container for the necessary parameters to execute the UpdateGatewaySoftwareNow service method on AmazonStorageGateway.
Return Value
The response from the UpdateGatewaySoftwareNow service method, as returned by AmazonStorageGateway.
Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)