NAME
Paws::IoTEvents::Payload
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::IoTEvents::Payload object:
$service_obj->Method(Att1 => { ContentExpression => $value, ..., Type => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::IoTEvents::Payload object:
$result = $service_obj->Method(...);
$result->Att1->ContentExpression
DESCRIPTION
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use contentExpression
.
ATTRIBUTES
REQUIRED ContentExpression => Str
The content of the payload. You can use a string expression that includes quoted strings ('<string>'
), variables ($variable.<variable-name>
), input values ($input.<input-name>.<path-to-datum>
), string concatenations, and quoted strings that contain ${}
as the content. The recommended maximum size of a content expression is 1 KB.
REQUIRED Type => Str
The value of the payload type can be either STRING
or JSON
.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::IoTEvents
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