NAME
Paws::DynamoDB::AttributeValue
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::DynamoDB::AttributeValue object:
$service_obj->Method(Att1 => { B => $value, ..., SS => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::DynamoDB::AttributeValue object:
$result = $service_obj->Method(...);
$result->Att1->B
DESCRIPTION
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 (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes) in the Amazon DynamoDB Developer Guide.
ATTRIBUTES
B => Str
An attribute of type Binary. For example:
"B": "dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk"
BOOL => Bool
An attribute of type Boolean. For example:
"BOOL": true
BS => ArrayRef[Str|Undef]
An attribute of type Binary Set. For example:
"BS": ["U3Vubnk=", "UmFpbnk=", "U25vd3k="]
L => ArrayRef[Paws::DynamoDB::AttributeValue]
An attribute of type List. For example:
"L": [ {"S": "Cookies"} , {"S": "Coffee"}, {"N", "3.14159"}]
M => Paws::DynamoDB::MapAttributeValue
An attribute of type Map. For example:
"M": {"Name": {"S": "Joe"}, "Age": {"N": "35"}}
N => Str
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.
NS => ArrayRef[Str|Undef]
An attribute of type Number Set. For example:
"NS": ["42.2", "-19", "7.5", "3.14"]
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.
NULL => Bool
An attribute of type Null. For example:
"NULL": true
S => Str
An attribute of type String. For example:
"S": "Hello"
SS => ArrayRef[Str|Undef]
An attribute of type String Set. For example:
"SS": ["Giraffe", "Hippo" ,"Zebra"]
SEE ALSO
This class forms part of Paws, describing an object used in Paws::DynamoDB
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