| 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.AlexaBusiness.UpdateGateway
Description
Updates the details of a gateway. If any optional field is not provided, the existing corresponding value is left unmodified.
Synopsis
- data UpdateGateway = UpdateGateway' {
- description :: Maybe Text
- name :: Maybe Text
- softwareVersion :: Maybe Text
- gatewayArn :: Text
- newUpdateGateway :: Text -> UpdateGateway
- updateGateway_description :: Lens' UpdateGateway (Maybe Text)
- updateGateway_name :: Lens' UpdateGateway (Maybe Text)
- updateGateway_softwareVersion :: Lens' UpdateGateway (Maybe Text)
- updateGateway_gatewayArn :: Lens' UpdateGateway Text
- data UpdateGatewayResponse = UpdateGatewayResponse' {
- httpStatus :: Int
- newUpdateGatewayResponse :: Int -> UpdateGatewayResponse
- updateGatewayResponse_httpStatus :: Lens' UpdateGatewayResponse Int
Creating a Request
data UpdateGateway Source #
See: newUpdateGateway smart constructor.
Constructors
| UpdateGateway' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateGateway |
Create a value of UpdateGateway 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:
UpdateGateway, updateGateway_description - The updated description of the gateway.
UpdateGateway, updateGateway_name - The updated name of the gateway.
UpdateGateway, updateGateway_softwareVersion - The updated software version of the gateway. The gateway automatically
updates its software version during normal operation.
$sel:gatewayArn:UpdateGateway', updateGateway_gatewayArn - The ARN of the gateway to update.
Request Lenses
updateGateway_description :: Lens' UpdateGateway (Maybe Text) Source #
The updated description of the gateway.
updateGateway_name :: Lens' UpdateGateway (Maybe Text) Source #
The updated name of the gateway.
updateGateway_softwareVersion :: Lens' UpdateGateway (Maybe Text) Source #
The updated software version of the gateway. The gateway automatically updates its software version during normal operation.
updateGateway_gatewayArn :: Lens' UpdateGateway Text Source #
The ARN of the gateway to update.
Destructuring the Response
data UpdateGatewayResponse Source #
See: newUpdateGatewayResponse smart constructor.
Constructors
| UpdateGatewayResponse' | |
Fields
| |
Instances
newUpdateGatewayResponse Source #
Create a value of UpdateGatewayResponse 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:
$sel:httpStatus:UpdateGatewayResponse', updateGatewayResponse_httpStatus - The response's http status code.
Response Lenses
updateGatewayResponse_httpStatus :: Lens' UpdateGatewayResponse Int Source #
The response's http status code.