libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTWireless.SendDataToWirelessDevice

Description

Sends a decrypted application data frame to a device.

Synopsis

Creating a Request

data SendDataToWirelessDevice Source #

See: newSendDataToWirelessDevice smart constructor.

Constructors

SendDataToWirelessDevice' 

Fields

Instances

Instances details
Eq SendDataToWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

Read SendDataToWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

Show SendDataToWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

Generic SendDataToWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

Associated Types

type Rep SendDataToWirelessDevice :: Type -> Type #

NFData SendDataToWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

Hashable SendDataToWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

ToJSON SendDataToWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

AWSRequest SendDataToWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

ToHeaders SendDataToWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

ToPath SendDataToWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

ToQuery SendDataToWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

type Rep SendDataToWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

type Rep SendDataToWirelessDevice = D1 ('MetaData "SendDataToWirelessDevice" "Amazonka.IoTWireless.SendDataToWirelessDevice" "libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless" 'False) (C1 ('MetaCons "SendDataToWirelessDevice'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "wirelessMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WirelessMetadata)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "transmitMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "payloadData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse SendDataToWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

newSendDataToWirelessDevice Source #

Create a value of SendDataToWirelessDevice 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:wirelessMetadata:SendDataToWirelessDevice', sendDataToWirelessDevice_wirelessMetadata - Metadata about the message request.

$sel:id:SendDataToWirelessDevice', sendDataToWirelessDevice_id - The ID of the wireless device to receive the data.

$sel:transmitMode:SendDataToWirelessDevice', sendDataToWirelessDevice_transmitMode - The transmit mode to use to send data to the wireless device. Can be: 0 for UM (unacknowledge mode) or 1 for AM (acknowledge mode).

$sel:payloadData:SendDataToWirelessDevice', sendDataToWirelessDevice_payloadData - The binary to be sent to the end device, encoded in base64.

Request Lenses

sendDataToWirelessDevice_id :: Lens' SendDataToWirelessDevice Text Source #

The ID of the wireless device to receive the data.

sendDataToWirelessDevice_transmitMode :: Lens' SendDataToWirelessDevice Natural Source #

The transmit mode to use to send data to the wireless device. Can be: 0 for UM (unacknowledge mode) or 1 for AM (acknowledge mode).

sendDataToWirelessDevice_payloadData :: Lens' SendDataToWirelessDevice Text Source #

The binary to be sent to the end device, encoded in base64.

Destructuring the Response

data SendDataToWirelessDeviceResponse Source #

See: newSendDataToWirelessDeviceResponse smart constructor.

Constructors

SendDataToWirelessDeviceResponse' 

Fields

Instances

Instances details
Eq SendDataToWirelessDeviceResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

Read SendDataToWirelessDeviceResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

Show SendDataToWirelessDeviceResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

Generic SendDataToWirelessDeviceResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

Associated Types

type Rep SendDataToWirelessDeviceResponse :: Type -> Type #

NFData SendDataToWirelessDeviceResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

type Rep SendDataToWirelessDeviceResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.SendDataToWirelessDevice

type Rep SendDataToWirelessDeviceResponse = D1 ('MetaData "SendDataToWirelessDeviceResponse" "Amazonka.IoTWireless.SendDataToWirelessDevice" "libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless" 'False) (C1 ('MetaCons "SendDataToWirelessDeviceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newSendDataToWirelessDeviceResponse Source #

Create a value of SendDataToWirelessDeviceResponse 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:messageId:SendDataToWirelessDeviceResponse', sendDataToWirelessDeviceResponse_messageId - The ID of the message sent to the wireless device.

$sel:httpStatus:SendDataToWirelessDeviceResponse', sendDataToWirelessDeviceResponse_httpStatus - The response's http status code.

Response Lenses