| 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.UpdateGatewayInformation
Description
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.
Constructors
| UpdateGatewayInformation' | |
Fields
| |
Instances
newUpdateGatewayInformation Source #
Arguments
| :: Text | |
| -> UpdateGatewayInformation |
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.
Constructors
| UpdateGatewayInformationResponse' | |
Fields
| |
Instances
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.