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 a gateway's name. Specify which gateway to update using the Amazon Resource Name (ARN) of the gateway in your request.
Synopsis
- data UpdateGatewayInformation = UpdateGatewayInformation' {}
- newUpdateGatewayInformation :: Text -> UpdateGatewayInformation
- updateGatewayInformation_gatewayDisplayName :: Lens' UpdateGatewayInformation (Maybe Text)
- updateGatewayInformation_gatewayArn :: Lens' UpdateGatewayInformation Text
- data UpdateGatewayInformationResponse = UpdateGatewayInformationResponse' {
- gatewayArn :: Maybe Text
- httpStatus :: Int
- newUpdateGatewayInformationResponse :: Int -> UpdateGatewayInformationResponse
- updateGatewayInformationResponse_gatewayArn :: Lens' UpdateGatewayInformationResponse (Maybe Text)
- updateGatewayInformationResponse_httpStatus :: Lens' UpdateGatewayInformationResponse Int
Creating a Request
data UpdateGatewayInformation Source #
See: newUpdateGatewayInformation
smart constructor.
UpdateGatewayInformation' | |
|
Instances
newUpdateGatewayInformation Source #
Create a value of UpdateGatewayInformation
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:
UpdateGatewayInformation
, updateGatewayInformation_gatewayDisplayName
- The updated display name of the gateway.
UpdateGatewayInformation
, updateGatewayInformation_gatewayArn
- The Amazon Resource Name (ARN) of the gateway to update.
Request Lenses
updateGatewayInformation_gatewayDisplayName :: Lens' UpdateGatewayInformation (Maybe Text) Source #
The updated display name of the gateway.
updateGatewayInformation_gatewayArn :: Lens' UpdateGatewayInformation Text Source #
The Amazon Resource Name (ARN) of the gateway to update.
Destructuring the Response
data UpdateGatewayInformationResponse Source #
See: newUpdateGatewayInformationResponse
smart constructor.
UpdateGatewayInformationResponse' | |
|
Instances
Generic UpdateGatewayInformationResponse Source # | |
Read UpdateGatewayInformationResponse Source # | |
Show UpdateGatewayInformationResponse Source # | |
NFData UpdateGatewayInformationResponse Source # | |
Defined in Amazonka.BackupGateway.UpdateGatewayInformation rnf :: UpdateGatewayInformationResponse -> () # | |
Eq UpdateGatewayInformationResponse Source # | |
type Rep UpdateGatewayInformationResponse Source # | |
Defined in Amazonka.BackupGateway.UpdateGatewayInformation type Rep UpdateGatewayInformationResponse = D1 ('MetaData "UpdateGatewayInformationResponse" "Amazonka.BackupGateway.UpdateGatewayInformation" "amazonka-backup-gateway-2.0-Ee3gVOmXMeV2r3uv4sRO9" 'False) (C1 ('MetaCons "UpdateGatewayInformationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateGatewayInformationResponse Source #
Create a value of UpdateGatewayInformationResponse
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:
UpdateGatewayInformation
, updateGatewayInformationResponse_gatewayArn
- The Amazon Resource Name (ARN) of the gateway you updated.
$sel:httpStatus:UpdateGatewayInformationResponse'
, updateGatewayInformationResponse_httpStatus
- The response's http status code.
Response Lenses
updateGatewayInformationResponse_gatewayArn :: Lens' UpdateGatewayInformationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the gateway you updated.
updateGatewayInformationResponse_httpStatus :: Lens' UpdateGatewayInformationResponse Int Source #
The response's http status code.