blib/lib/Paws/DynamoDB/ExecuteTransaction.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::DynamoDB::ExecuteTransaction;
3 use Moose;
4 has ClientRequestToken => (is => 'ro', isa => 'Str');
5 has TransactStatements => (is => 'ro', isa => 'ArrayRef[Paws::DynamoDB::ParameterizedStatement]', required => 1);
6  
7 use MooseX::ClassAttribute;
8  
9 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ExecuteTransaction');
10 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DynamoDB::ExecuteTransactionOutput');
11 class_has _result_key => (isa => 'Str', is => 'ro');
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::DynamoDB::ExecuteTransaction - Arguments for method ExecuteTransaction on L<Paws::DynamoDB>
19  
20 =head1 DESCRIPTION
21  
22 This class represents the parameters used for calling the method ExecuteTransaction on the
23 L<Amazon DynamoDB|Paws::DynamoDB> service. Use the attributes of this class
24 as arguments to method ExecuteTransaction.
25  
26 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ExecuteTransaction.
27  
28 =head1 SYNOPSIS
29  
30 my $dynamodb = Paws->service('DynamoDB');
31 my $ExecuteTransactionOutput = $dynamodb->ExecuteTransaction(
32 TransactStatements => [
33 {
34 Statement => 'MyPartiQLStatement', # min: 1, max: 8192
35 Parameters => [
36 {
37 B => 'BlobBinaryAttributeValue', # OPTIONAL
38 BOOL => 1, # OPTIONAL
39 BS => [
40 'BlobBinaryAttributeValue', ... # OPTIONAL
41 ], # OPTIONAL
42 L => [ <AttributeValue>, ... ], # OPTIONAL
43 M => {
44 'MyAttributeName' => <AttributeValue>, # key: max: 65535
45 }, # OPTIONAL
46 N => 'MyNumberAttributeValue', # OPTIONAL
47 NS => [
48 'MyNumberAttributeValue', ... # OPTIONAL
49 ], # OPTIONAL
50 NULL => 1, # OPTIONAL
51 S => 'MyStringAttributeValue', # OPTIONAL
52 SS => [
53 'MyStringAttributeValue', ... # OPTIONAL
54 ], # OPTIONAL
55 },
56 ...
57 ], # min: 1; OPTIONAL
58 },
59 ...
60 ],
61 ClientRequestToken => 'MyClientRequestToken', # OPTIONAL
62 );
63  
64 # Results:
65 my $Responses = $ExecuteTransactionOutput->Responses;
66  
67 # Returns a L<Paws::DynamoDB::ExecuteTransactionOutput> object.
68  
69 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.
70 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/dynamodb/ExecuteTransaction>
71  
72 =head1 ATTRIBUTES
73  
74  
75 =head2 ClientRequestToken => Str
76  
77 Set this value to get remaining results, if C<NextToken> was returned
78 in the statement response.
79  
80  
81  
82 =head2 B<REQUIRED> TransactStatements => ArrayRef[L<Paws::DynamoDB::ParameterizedStatement>]
83  
84 The list of PartiQL statements representing the transaction to run.
85  
86  
87  
88  
89 =head1 SEE ALSO
90  
91 This class forms part of L<Paws>, documenting arguments for method ExecuteTransaction in L<Paws::DynamoDB>
92  
93 =head1 BUGS and CONTRIBUTIONS
94  
95 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
96  
97 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
98  
99 =cut
100