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