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 |
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.
UpdateGatewaySoftwareNow' | |
|
Instances
newUpdateGatewaySoftwareNow Source #
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.
UpdateGatewaySoftwareNowResponse' | |
|
Instances
Generic UpdateGatewaySoftwareNowResponse Source # | |
Read UpdateGatewaySoftwareNowResponse Source # | |
Show UpdateGatewaySoftwareNowResponse Source # | |
NFData UpdateGatewaySoftwareNowResponse Source # | |
Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow rnf :: UpdateGatewaySoftwareNowResponse -> () # | |
Eq UpdateGatewaySoftwareNowResponse Source # | |
type Rep UpdateGatewaySoftwareNowResponse Source # | |
Defined in Amazonka.BackupGateway.UpdateGatewaySoftwareNow type Rep UpdateGatewaySoftwareNowResponse = D1 ('MetaData "UpdateGatewaySoftwareNowResponse" "Amazonka.BackupGateway.UpdateGatewaySoftwareNow" "amazonka-backup-gateway-2.0-Ee3gVOmXMeV2r3uv4sRO9" 'False) (C1 ('MetaCons "UpdateGatewaySoftwareNowResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.