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 |
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.
Instances
newAssociateWirelessDeviceWithThing Source #
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:
$sel:id: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.
AssociateWirelessDeviceWithThingResponse' | |
|
Instances
Eq AssociateWirelessDeviceWithThingResponse Source # | |
Read AssociateWirelessDeviceWithThingResponse Source # | |
Show AssociateWirelessDeviceWithThingResponse Source # | |
Generic AssociateWirelessDeviceWithThingResponse Source # | |
Defined in Amazonka.IoTWireless.AssociateWirelessDeviceWithThing type Rep AssociateWirelessDeviceWithThingResponse :: Type -> Type # | |
NFData AssociateWirelessDeviceWithThingResponse Source # | |
type Rep AssociateWirelessDeviceWithThingResponse Source # | |
Defined in Amazonka.IoTWireless.AssociateWirelessDeviceWithThing type Rep AssociateWirelessDeviceWithThingResponse = D1 ('MetaData "AssociateWirelessDeviceWithThingResponse" "Amazonka.IoTWireless.AssociateWirelessDeviceWithThing" "libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless" 'False) (C1 ('MetaCons "AssociateWirelessDeviceWithThingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newAssociateWirelessDeviceWithThingResponse Source #
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.