| 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.IoTWireless.AssociateWirelessGatewayWithThing
Description
Associates a wireless gateway with a thing.
Synopsis
- data AssociateWirelessGatewayWithThing = AssociateWirelessGatewayWithThing' {}
- newAssociateWirelessGatewayWithThing :: Text -> Text -> AssociateWirelessGatewayWithThing
- associateWirelessGatewayWithThing_id :: Lens' AssociateWirelessGatewayWithThing Text
- associateWirelessGatewayWithThing_thingArn :: Lens' AssociateWirelessGatewayWithThing Text
- data AssociateWirelessGatewayWithThingResponse = AssociateWirelessGatewayWithThingResponse' {
- httpStatus :: Int
- newAssociateWirelessGatewayWithThingResponse :: Int -> AssociateWirelessGatewayWithThingResponse
- associateWirelessGatewayWithThingResponse_httpStatus :: Lens' AssociateWirelessGatewayWithThingResponse Int
Creating a Request
data AssociateWirelessGatewayWithThing Source #
See: newAssociateWirelessGatewayWithThing smart constructor.
Constructors
| AssociateWirelessGatewayWithThing' | |
Instances
newAssociateWirelessGatewayWithThing Source #
Arguments
| :: Text | |
| -> Text | |
| -> AssociateWirelessGatewayWithThing |
Create a value of AssociateWirelessGatewayWithThing 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:
AssociateWirelessGatewayWithThing, associateWirelessGatewayWithThing_id - The ID of the resource to update.
$sel:thingArn:AssociateWirelessGatewayWithThing', associateWirelessGatewayWithThing_thingArn - The ARN of the thing to associate with the wireless gateway.
Request Lenses
associateWirelessGatewayWithThing_id :: Lens' AssociateWirelessGatewayWithThing Text Source #
The ID of the resource to update.
associateWirelessGatewayWithThing_thingArn :: Lens' AssociateWirelessGatewayWithThing Text Source #
The ARN of the thing to associate with the wireless gateway.
Destructuring the Response
data AssociateWirelessGatewayWithThingResponse Source #
See: newAssociateWirelessGatewayWithThingResponse smart constructor.
Constructors
| AssociateWirelessGatewayWithThingResponse' | |
Fields
| |
Instances
newAssociateWirelessGatewayWithThingResponse Source #
Arguments
| :: Int | |
| -> AssociateWirelessGatewayWithThingResponse |
Create a value of AssociateWirelessGatewayWithThingResponse 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:AssociateWirelessGatewayWithThingResponse', associateWirelessGatewayWithThingResponse_httpStatus - The response's http status code.
Response Lenses
associateWirelessGatewayWithThingResponse_httpStatus :: Lens' AssociateWirelessGatewayWithThingResponse Int Source #
The response's http status code.