| 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.IoTSiteWise.UpdateGateway
Description
Updates a gateway's name.
Synopsis
- data UpdateGateway = UpdateGateway' {
- gatewayId :: Text
- gatewayName :: Text
- newUpdateGateway :: Text -> Text -> UpdateGateway
- updateGateway_gatewayId :: Lens' UpdateGateway Text
- updateGateway_gatewayName :: Lens' UpdateGateway Text
- data UpdateGatewayResponse = UpdateGatewayResponse' {
- newUpdateGatewayResponse :: UpdateGatewayResponse
Creating a Request
data UpdateGateway Source #
See: newUpdateGateway smart constructor.
Constructors
| UpdateGateway' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> 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_gatewayId - The ID of the gateway to update.
UpdateGateway, updateGateway_gatewayName - A unique, friendly name for the gateway.
Request Lenses
updateGateway_gatewayId :: Lens' UpdateGateway Text Source #
The ID of the gateway to update.
updateGateway_gatewayName :: Lens' UpdateGateway Text Source #
A unique, friendly name for the gateway.
Destructuring the Response
data UpdateGatewayResponse Source #
See: newUpdateGatewayResponse smart constructor.
Constructors
| UpdateGatewayResponse' | |
Instances
newUpdateGatewayResponse :: UpdateGatewayResponse Source #
Create a value of UpdateGatewayResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.