Paws::DynamoDB::AttributeValue
This class represents one of two things:
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::DynamoDB::AttributeValue object:
$service_obj->Method(Att1 => { B => $value, ..., SS => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::DynamoDB::AttributeValue object:
$result = $service_obj->Method(...); $result->Att1->B
Represents the data for an attribute.
Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.
For more information, see Data Types in the Amazon DynamoDB Developer Guide.
An attribute of type Binary. For example:
"B": "dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk"
An attribute of type Boolean. For example:
"BOOL": true
An attribute of type Binary Set. For example:
"BS": ["U3Vubnk=", "UmFpbnk=", "U25vd3k="]
An attribute of type List. For example:
"L": ["Cookies", "Coffee", 3.14159]
An attribute of type Map. For example:
"M": {"Name": {"S": "Joe"}, "Age": {"N": "35"}}
An attribute of type Number. For example:
"N": "123.45"
Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.
An attribute of type Number Set. For example:
"NS": ["42.2", "-19", "7.5", "3.14"]
An attribute of type Null. For example:
"NULL": true
An attribute of type String. For example:
"S": "Hello"
An attribute of type String Set. For example:
"SS": ["Giraffe", "Hippo" ,"Zebra"]
This class forms part of Paws, describing an object used in Paws::DynamoDB
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
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.