Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
This operation 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.
See: AWS API Reference for UpdateGatewaySoftwareNow.
- updateGatewaySoftwareNow :: Text -> UpdateGatewaySoftwareNow
- data UpdateGatewaySoftwareNow
- ugsnGatewayARN :: Lens' UpdateGatewaySoftwareNow Text
- updateGatewaySoftwareNowResponse :: Int -> UpdateGatewaySoftwareNowResponse
- data UpdateGatewaySoftwareNowResponse
- ugsnrsGatewayARN :: Lens' UpdateGatewaySoftwareNowResponse (Maybe Text)
- ugsnrsResponseStatus :: Lens' UpdateGatewaySoftwareNowResponse Int
Creating a Request
updateGatewaySoftwareNow Source
Creates a value of UpdateGatewaySoftwareNow
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateGatewaySoftwareNow Source
A JSON object containing the of the gateway to update.
See: updateGatewaySoftwareNow
smart constructor.
Request Lenses
ugsnGatewayARN :: Lens' UpdateGatewaySoftwareNow Text Source
Undocumented member.
Destructuring the Response
updateGatewaySoftwareNowResponse Source
Creates a value of UpdateGatewaySoftwareNowResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateGatewaySoftwareNowResponse Source
A JSON object containing the of the gateway that was updated.
See: updateGatewaySoftwareNowResponse
smart constructor.
Response Lenses
ugsnrsGatewayARN :: Lens' UpdateGatewaySoftwareNowResponse (Maybe Text) Source
Undocumented member.
ugsnrsResponseStatus :: Lens' UpdateGatewaySoftwareNowResponse Int Source
The response status code.