| 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.AssociateWirelessDeviceWithThing
Description
Associates a wireless device with a thing.
Synopsis
- data AssociateWirelessDeviceWithThing = AssociateWirelessDeviceWithThing' {}
- newAssociateWirelessDeviceWithThing :: Text -> Text -> AssociateWirelessDeviceWithThing
- associateWirelessDeviceWithThing_id :: Lens' AssociateWirelessDeviceWithThing Text
- associateWirelessDeviceWithThing_thingArn :: Lens' AssociateWirelessDeviceWithThing Text
- data AssociateWirelessDeviceWithThingResponse = AssociateWirelessDeviceWithThingResponse' {
- httpStatus :: Int
- newAssociateWirelessDeviceWithThingResponse :: Int -> AssociateWirelessDeviceWithThingResponse
- associateWirelessDeviceWithThingResponse_httpStatus :: Lens' AssociateWirelessDeviceWithThingResponse Int
Creating a Request
data AssociateWirelessDeviceWithThing Source #
See: newAssociateWirelessDeviceWithThing smart constructor.
Constructors
| AssociateWirelessDeviceWithThing' | |
Instances
newAssociateWirelessDeviceWithThing Source #
Arguments
| :: Text | |
| -> Text | |
| -> AssociateWirelessDeviceWithThing |
Create a value of AssociateWirelessDeviceWithThing 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:
AssociateWirelessDeviceWithThing, associateWirelessDeviceWithThing_id - The ID of the resource to update.
$sel:thingArn:AssociateWirelessDeviceWithThing', associateWirelessDeviceWithThing_thingArn - The ARN of the thing to associate with the wireless device.
Request Lenses
associateWirelessDeviceWithThing_id :: Lens' AssociateWirelessDeviceWithThing Text Source #
The ID of the resource to update.
associateWirelessDeviceWithThing_thingArn :: Lens' AssociateWirelessDeviceWithThing Text Source #
The ARN of the thing to associate with the wireless device.
Destructuring the Response
data AssociateWirelessDeviceWithThingResponse Source #
See: newAssociateWirelessDeviceWithThingResponse smart constructor.
Constructors
| AssociateWirelessDeviceWithThingResponse' | |
Fields
| |
Instances
newAssociateWirelessDeviceWithThingResponse Source #
Arguments
| :: Int | |
| -> AssociateWirelessDeviceWithThingResponse |
Create a value of AssociateWirelessDeviceWithThingResponse 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:AssociateWirelessDeviceWithThingResponse', associateWirelessDeviceWithThingResponse_httpStatus - The response's http status code.
Response Lenses
associateWirelessDeviceWithThingResponse_httpStatus :: Lens' AssociateWirelessDeviceWithThingResponse Int Source #
The response's http status code.