NAME
Paws::DynamoDB::TransactGetItems - Arguments for method TransactGetItems on Paws::DynamoDB
DESCRIPTION
This class represents the parameters used for calling the method TransactGetItems on the Amazon DynamoDB service. Use the attributes of this class as arguments to method TransactGetItems.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to TransactGetItems.
SYNOPSIS
my $dynamodb = Paws->service('DynamoDB');
my $TransactGetItemsOutput = $dynamodb->TransactGetItems(
TransactItems => [
{
Get => {
Key => {
'MyAttributeName' => {
B => 'BlobBinaryAttributeValue', # OPTIONAL
BOOL => 1, # OPTIONAL
BS => [
'BlobBinaryAttributeValue', ... # OPTIONAL
], # OPTIONAL
L => [ <AttributeValue>, ... ], # OPTIONAL
M => {
'MyAttributeName' => <AttributeValue>, # key: max: 65535
}, # OPTIONAL
N => 'MyNumberAttributeValue', # OPTIONAL
NS => [
'MyNumberAttributeValue', ... # OPTIONAL
], # OPTIONAL
NULL => 1, # OPTIONAL
S => 'MyStringAttributeValue', # OPTIONAL
SS => [
'MyStringAttributeValue', ... # OPTIONAL
], # OPTIONAL
}, # key: max: 65535
},
TableName => 'MyTableName', # min: 3, max: 255
ExpressionAttributeNames => {
'MyExpressionAttributeNameVariable' =>
'MyAttributeName', # , value: max: 65535
}, # OPTIONAL
ProjectionExpression => 'MyProjectionExpression', # OPTIONAL
},
},
...
],
ReturnConsumedCapacity => 'INDEXES', # OPTIONAL
);
# Results:
my $ConsumedCapacity = $TransactGetItemsOutput->ConsumedCapacity;
my $Responses = $TransactGetItemsOutput->Responses;
# Returns a L<Paws::DynamoDB::TransactGetItemsOutput> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/dynamodb/TransactGetItems
ATTRIBUTES
ReturnConsumedCapacity => Str
A value of TOTAL
causes consumed capacity information to be returned, and a value of NONE
prevents that information from being returned. No other value is valid.
Valid values are: "INDEXES"
, "TOTAL"
, "NONE"
REQUIRED TransactItems => ArrayRef[Paws::DynamoDB::TransactGetItem]
An ordered array of up to 25 TransactGetItem
objects, each of which contains a Get
structure.
SEE ALSO
This class forms part of Paws, documenting arguments for method TransactGetItems 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