code: @Override
      public UpdateGatewaySoftwareNowResult updateGatewaySoftwareNow(UpdateGatewaySoftwareNowRequest request) {
          request = beforeClientExecution(request);
          return executeUpdateGatewaySoftwareNow(request);
      }
docs: <p>
  Updates the gateway virtual machine (VM) software. The request immediately triggers the software update.
  </p>
  <note>
  <p>
  When you make this request, you get a <code>200 OK</code> success response immediately. However, it might take
  some time for the update to complete. You can call <a>DescribeGatewayInformation</a> to verify the gateway is in
  the <code>STATE_RUNNING</code> state.
  </p>
  </note> <important>
  <p>
  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 <a href=
  "https://docs.aws.amazon.com/storagegateway/latest/userguide/ConfiguringiSCSIClientInitiatorWindowsClient.html#CustomizeWindowsiSCSISettings"
  >Customizing Your Windows iSCSI Settings</a> and <a href=
  "https://docs.aws.amazon.com/storagegateway/latest/userguide/ConfiguringiSCSIClientInitiatorRedHatClient.html#CustomizeLinuxiSCSISettings"
  >Customizing Your Linux iSCSI Settings</a>, respectively.
  </p>
  </important>
  
  @param updateGatewaySoftwareNowRequest
  A JSON object containing the of the gateway to update.
  @return Result of the UpdateGatewaySoftwareNow operation returned by the service.
  @throws InvalidGatewayRequestException
  An exception occurred because an invalid gateway request was issued to the service. For more information,
  see the error and message fields.
  @throws InternalServerErrorException
  An internal server error has occurred during the request. For more information, see the error and message
  fields.
  @sample AWSStorageGateway.UpdateGatewaySoftwareNow
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateGatewaySoftwareNow"
  target="_top">AWS API Documentation</a>