Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.BackupGateway.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.
Synopsis
- data UpdateGatewaySoftwareNow = UpdateGatewaySoftwareNow' {
- gatewayArn :: Text
- newUpdateGatewaySoftwareNow :: Text -> UpdateGatewaySoftwareNow
- updateGatewaySoftwareNow_gatewayArn :: Lens' UpdateGatewaySoftwareNow Text
- data UpdateGatewaySoftwareNowResponse = UpdateGatewaySoftwareNowResponse' {
- gatewayArn :: Maybe Text
- httpStatus :: Int
- newUpdateGatewaySoftwareNowResponse :: Int -> UpdateGatewaySoftwareNowResponse
- updateGatewaySoftwareNowResponse_gatewayArn :: Lens' UpdateGatewaySoftwareNowResponse (Maybe Text)
- updateGatewaySoftwareNowResponse_httpStatus :: Lens' UpdateGatewaySoftwareNowResponse Int
Creating a Request
data UpdateGatewaySoftwareNow Source #
See: newUpdateGatewaySoftwareNow
smart constructor.
Constructors
UpdateGatewaySoftwareNow' | |
Fields
|
Instances
newUpdateGatewaySoftwareNow Source #
Arguments
:: Text | |
-> UpdateGatewaySoftwareNow |
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:
UpdateGatewaySoftwareNow
, updateGatewaySoftwareNow_gatewayArn
- The Amazon Resource Name (ARN) of the gateway to be updated.
Request Lenses
updateGatewaySoftwareNow_gatewayArn :: Lens' UpdateGatewaySoftwareNow Text Source #
The Amazon Resource Name (ARN) of the gateway to be updated.
Destructuring the Response
data UpdateGatewaySoftwareNowResponse Source #
See: newUpdateGatewaySoftwareNowResponse
smart constructor.
Constructors
UpdateGatewaySoftwareNowResponse' | |
Fields
|
Instances
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:
UpdateGatewaySoftwareNow
, updateGatewaySoftwareNowResponse_gatewayArn
- The Amazon Resource Name (ARN) of the gateway you updated.
$sel:httpStatus:UpdateGatewaySoftwareNowResponse'
, updateGatewaySoftwareNowResponse_httpStatus
- The response's http status code.
Response Lenses
updateGatewaySoftwareNowResponse_gatewayArn :: Lens' UpdateGatewaySoftwareNowResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the gateway you updated.
updateGatewaySoftwareNowResponse_httpStatus :: Lens' UpdateGatewaySoftwareNowResponse Int Source #
The response's http status code.