![]() |
![]()
| ![]() |
![]()
NAMEPaws::IoT::DynamoDBAction USAGEThis 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::IoT::DynamoDBAction object: $service_obj->Method(Att1 => { HashKeyField => $value, ..., TableName => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::DynamoDBAction object: $result = $service_obj->Method(...); $result->Att1->HashKeyField DESCRIPTIONDescribes an action to write to a DynamoDB table. The "tableName", "hashKeyField", and "rangeKeyField" values must match the values used when you created the table. The "hashKeyValue" and "rangeKeyvalue" fields use a substitution template syntax. These templates provide data at runtime. The syntax is as follows: ${sql-expression}. You can specify any valid expression in a WHERE or SELECT clause, including JSON properties, comparisons, calculations, and functions. For example, the following field uses the third level of the topic: "hashKeyValue": "${topic(3)}" The following field uses the timestamp: "rangeKeyValue": "${timestamp()}" ATTRIBUTESREQUIRED HashKeyField => StrThe hash key name. HashKeyType => StrThe hash key type. Valid values are "STRING" or "NUMBER" REQUIRED HashKeyValue => StrThe hash key value. Operation => StrThe type of operation to be performed. This follows the substitution template, so it can be "${operation}", but the substitution must result in one of the following: "INSERT", "UPDATE", or "DELETE". PayloadField => StrThe action payload. This name can be customized. RangeKeyField => StrThe range key name. RangeKeyType => StrThe range key type. Valid values are "STRING" or "NUMBER" RangeKeyValue => StrThe range key value. REQUIRED RoleArn => StrThe ARN of the IAM role that grants access to the DynamoDB table. REQUIRED TableName => StrThe name of the DynamoDB table. SEE ALSOThis class forms part of Paws, describing an object used in Paws::IoT BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|