NAME
Paws::IoTWireless::SendDataToWirelessDevice - Arguments for method SendDataToWirelessDevice on Paws::IoTWireless
DESCRIPTION
This class represents the parameters used for calling the method SendDataToWirelessDevice on the AWS IoT Wireless service. Use the attributes of this class as arguments to method SendDataToWirelessDevice.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SendDataToWirelessDevice.
SYNOPSIS
my $api.iotwireless = Paws->service('IoTWireless');
my $SendDataToWirelessDeviceResponse =
$api . iotwireless->SendDataToWirelessDevice(
Id => 'MyWirelessDeviceId',
PayloadData => 'MyPayloadData',
TransmitMode => 1,
WirelessMetadata => {
LoRaWAN => {
FPort => 1, # min: 1, max: 223; OPTIONAL
}, # OPTIONAL
Sidewalk => {
MessageType => 'CUSTOM_COMMAND_ID_NOTIFY'
, # values: CUSTOM_COMMAND_ID_NOTIFY, CUSTOM_COMMAND_ID_GET, CUSTOM_COMMAND_ID_SET, CUSTOM_COMMAND_ID_RESP; OPTIONAL
Seq => 1, # max: 16383; OPTIONAL
}, # OPTIONAL
}, # OPTIONAL
);
# Results:
my $MessageId = $SendDataToWirelessDeviceResponse->MessageId;
# Returns a L<Paws::IoTWireless::SendDataToWirelessDeviceResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/api.iotwireless/SendDataToWirelessDevice
ATTRIBUTES
REQUIRED Id => Str
The ID of the wireless device to receive the data.
REQUIRED PayloadData => Str
The message payload to send.
REQUIRED TransmitMode => Int
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).
WirelessMetadata => Paws::IoTWireless::WirelessMetadata
Metadata about the message request.
SEE ALSO
This class forms part of Paws, documenting arguments for method SendDataToWirelessDevice in Paws::IoTWireless
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues