The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::DynamoDB::ExecuteTransaction - Arguments for method ExecuteTransaction on Paws::DynamoDB

DESCRIPTION

This class represents the parameters used for calling the method ExecuteTransaction on the Amazon DynamoDB service. Use the attributes of this class as arguments to method ExecuteTransaction.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ExecuteTransaction.

SYNOPSIS

my $dynamodb = Paws->service('DynamoDB');
my $ExecuteTransactionOutput = $dynamodb->ExecuteTransaction(
  TransactStatements => [
    {
      Statement  => 'MyPartiQLStatement',    # min: 1, max: 8192
      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
        },
        ...
      ],    # min: 1; OPTIONAL
    },
    ...
  ],
  ClientRequestToken => 'MyClientRequestToken',    # OPTIONAL
);

# Results:
my $Responses = $ExecuteTransactionOutput->Responses;

# Returns a L<Paws::DynamoDB::ExecuteTransactionOutput> 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/ExecuteTransaction

ATTRIBUTES

ClientRequestToken => Str

Set this value to get remaining results, if NextToken was returned in the statement response.

REQUIRED TransactStatements => ArrayRef[Paws::DynamoDB::ParameterizedStatement]

The list of PartiQL statements representing the transaction to run.

SEE ALSO

This class forms part of Paws, documenting arguments for method ExecuteTransaction 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