PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` # Generated by default/object.tt package Paws::IoTEvents::DynamoDBv2Action; use Moose; has Payload => (is => 'ro', isa => 'Paws::IoTEvents::Payload', request_name => 'payload', traits => ['NameInRequest']); has TableName => (is => 'ro', isa => 'Str', request_name => 'tableName', traits => ['NameInRequest'], required => 1); 1; ### main pod documentation begin ### =head1 NAME Paws::IoTEvents::DynamoDBv2Action =head1 USAGE This class represents one of two things: =head3 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::DynamoDBv2Action object: $service_obj->Method(Att1 => { Payload => $value, ..., TableName => $value }); =head3 Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::IoTEvents::DynamoDBv2Action object: $result = $service_obj->Method(...); $result->Att1->Payload =head1 DESCRIPTION Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the payload (https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify. You must use expressions for all parameters in C. The expressions accept literals, operators, functions, references, and substitution templates. B =over =item * For literal values, the expressions must contain single quotes. For example, the value for the C parameter can be C<'GreenhouseTemperatureTable'>. =item * For references, you must specify either variables or input values. For example, the value for the C parameter can be C<$variable.ddbtableName>. =item * For a substitution template, you must use C<${}>, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. In the following example, the value for the C parameter in C uses a substitution template. C<'{\"sensorID\": \"${$input.GreenhouseInput.sensor_id}\", \"temperature\": \"${$input.GreenhouseInput.temperature * 9 / 5 + 32}\"}'> =item * For a string concatenation, you must use C<+>. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates. In the following example, the value for the C parameter uses a string concatenation. C<'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date> =back For more information, see Expressions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the I. The value for the C parameter in C must be C. =head1 ATTRIBUTES =head2 Payload => L =head2 B TableName => Str The name of the DynamoDB table. =head1 SEE ALSO This class forms part of L, describing an object used in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut