NAME
Paws::DynamoDB::ExecuteStatement - Arguments for method ExecuteStatement on Paws::DynamoDB
DESCRIPTION
This class represents the parameters used for calling the method ExecuteStatement on the Amazon DynamoDB service. Use the attributes of this class as arguments to method ExecuteStatement.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ExecuteStatement.
SYNOPSIS
my $dynamodb = Paws->service('DynamoDB');
my $ExecuteStatementOutput = $dynamodb->ExecuteStatement(
Statement => 'MyPartiQLStatement',
ConsistentRead => 1, # OPTIONAL
NextToken => 'MyPartiQLNextToken', # OPTIONAL
Parameters => [
{
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
},
...
], # OPTIONAL
);
# Results:
my $Items = $ExecuteStatementOutput->Items;
my $NextToken = $ExecuteStatementOutput->NextToken;
# Returns a L<Paws::DynamoDB::ExecuteStatementOutput> 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/ExecuteStatement
ATTRIBUTES
ConsistentRead => Bool
The consistency of a read operation. If set to true
, then a strongly consistent read is used; otherwise, an eventually consistent read is used.
NextToken => Str
Set this value to get remaining results, if NextToken
was returned in the statement response.
Parameters => ArrayRef[Paws::DynamoDB::AttributeValue]
The parameters for the PartiQL statement, if any.
REQUIRED Statement => Str
The PartiQL statement representing the operation to run.
SEE ALSO
This class forms part of Paws, documenting arguments for method ExecuteStatement 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