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
describe_gateway_information
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.
storagegateway_update_gateway_software_now(GatewayARN)
[required]
A list with the following syntax:
list( GatewayARN = "string" )
svc$update_gateway_software_now( GatewayARN = "string" )
# NOT RUN {
# Updates the gateway virtual machine (VM) software. The request
# immediately triggers the software update.
svc$update_gateway_software_now(
GatewayARN = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab