Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
UpdateGateway' | |
|
Instances
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:
$sel:gatewayId:UpdateGateway'
, updateGateway_gatewayId
- The ID of the gateway to update.
$sel:gatewayName: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.
Instances
Eq UpdateGatewayResponse Source # | |
Defined in Amazonka.IoTSiteWise.UpdateGateway (==) :: UpdateGatewayResponse -> UpdateGatewayResponse -> Bool # (/=) :: UpdateGatewayResponse -> UpdateGatewayResponse -> Bool # | |
Read UpdateGatewayResponse Source # | |
Show UpdateGatewayResponse Source # | |
Defined in Amazonka.IoTSiteWise.UpdateGateway showsPrec :: Int -> UpdateGatewayResponse -> ShowS # show :: UpdateGatewayResponse -> String # showList :: [UpdateGatewayResponse] -> ShowS # | |
Generic UpdateGatewayResponse Source # | |
Defined in Amazonka.IoTSiteWise.UpdateGateway type Rep UpdateGatewayResponse :: Type -> Type # | |
NFData UpdateGatewayResponse Source # | |
Defined in Amazonka.IoTSiteWise.UpdateGateway rnf :: UpdateGatewayResponse -> () # | |
type Rep UpdateGatewayResponse Source # | |
Defined in Amazonka.IoTSiteWise.UpdateGateway |
newUpdateGatewayResponse :: UpdateGatewayResponse Source #
Create a value of UpdateGatewayResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.