blib/lib/Paws/QLDBSession.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 8 Podpod 0.0% 0 / 7 totaltotal 0.0% 0 / 33 CC 1 SCAR 6.9
CC
1
Cov
0%
service
2.0
signing_name
2.0
version
2.0
CRAP 2.0
1 package Paws::QLDBSession;
2 use Moose;
3 sub service { 'session.qldb' }
4 sub signing_name { 'qldb' }
5 sub version { '2019-07-11' }
6 sub target_prefix { 'QLDBSession' }
7 sub json_version { "1.0" }
8 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
9 has retry => (is => 'ro', isa => 'HashRef', default => sub {
10 { base => 'rand', type => 'exponential', growth_factor => 2 }
11 });
12 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
13 ] });
14  
15 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller';
16  
17
18 sub SendCommand {
19 my $self = shift;
20 my $call_object = $self->new_with_coercions('Paws::QLDBSession::SendCommand', @_);
21 return $self->caller->do_call($self, $call_object);
22 }
23
24  
25  
26 sub operations { qw/SendCommand / }
27  
28 1;
29  
30 ### main pod documentation begin ###
31  
32 =head1 NAME
33  
34 Paws::QLDBSession - Perl Interface to AWS Amazon QLDB Session
35  
36 =head1 SYNOPSIS
37  
38 use Paws;
39  
40 my $obj = Paws->service('QLDBSession');
41 my $res = $obj->Method(
42 Arg1 => $val1,
43 Arg2 => [ 'V1', 'V2' ],
44 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
45 # of the arguments type
46 Arg3 => { Att1 => 'Val1' },
47 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
48 # the constructor of the arguments type
49 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
50 );
51  
52 =head1 DESCRIPTION
53  
54 The transactional data APIs for Amazon QLDB
55  
56 Instead of interacting directly with this API, we recommend using the
57 QLDB driver or the QLDB shell to execute data transactions on a ledger.
58  
59 =over
60  
61 =item *
62  
63 If you are working with an AWS SDK, use the QLDB driver. The driver
64 provides a high-level abstraction layer above this I<QLDB Session> data
65 plane and manages C<SendCommand> API calls for you. For information and
66 a list of supported programming languages, see Getting started with the
67 driver
68 (https://docs.aws.amazon.com/qldb/latest/developerguide/getting-started-driver.html)
69 in the I<Amazon QLDB Developer Guide>.
70  
71 =item *
72  
73 If you are working with the AWS Command Line Interface (AWS CLI), use
74 the QLDB shell. The shell is a command line interface that uses the
75 QLDB driver to interact with a ledger. For information, see Accessing
76 Amazon QLDB using the QLDB shell
77 (https://docs.aws.amazon.com/qldb/latest/developerguide/data-shell.html).
78  
79 =back
80  
81  
82 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/session.qldb-2019-07-11>
83  
84  
85 =head1 METHODS
86  
87 =head2 SendCommand
88  
89 =over
90  
91 =item [AbortTransaction => L<Paws::QLDBSession::AbortTransactionRequest>]
92  
93 =item [CommitTransaction => L<Paws::QLDBSession::CommitTransactionRequest>]
94  
95 =item [EndSession => L<Paws::QLDBSession::EndSessionRequest>]
96  
97 =item [ExecuteStatement => L<Paws::QLDBSession::ExecuteStatementRequest>]
98  
99 =item [FetchPage => L<Paws::QLDBSession::FetchPageRequest>]
100  
101 =item [SessionToken => Str]
102  
103 =item [StartSession => L<Paws::QLDBSession::StartSessionRequest>]
104  
105 =item [StartTransaction => L<Paws::QLDBSession::StartTransactionRequest>]
106  
107  
108 =back
109  
110 Each argument is described in detail in: L<Paws::QLDBSession::SendCommand>
111  
112 Returns: a L<Paws::QLDBSession::SendCommandResult> instance
113  
114 Sends a command to an Amazon QLDB ledger.
115  
116 Instead of interacting directly with this API, we recommend using the
117 QLDB driver or the QLDB shell to execute data transactions on a ledger.
118  
119 =over
120  
121 =item *
122  
123 If you are working with an AWS SDK, use the QLDB driver. The driver
124 provides a high-level abstraction layer above this I<QLDB Session> data
125 plane and manages C<SendCommand> API calls for you. For information and
126 a list of supported programming languages, see Getting started with the
127 driver
128 (https://docs.aws.amazon.com/qldb/latest/developerguide/getting-started-driver.html)
129 in the I<Amazon QLDB Developer Guide>.
130  
131 =item *
132  
133 If you are working with the AWS Command Line Interface (AWS CLI), use
134 the QLDB shell. The shell is a command line interface that uses the
135 QLDB driver to interact with a ledger. For information, see Accessing
136 Amazon QLDB using the QLDB shell
137 (https://docs.aws.amazon.com/qldb/latest/developerguide/data-shell.html).
138  
139 =back
140  
141  
142  
143  
144  
145 =head1 PAGINATORS
146  
147 Paginator methods are helpers that repetively call methods that return partial results
148  
149  
150  
151  
152 =head1 SEE ALSO
153  
154 This service class forms part of L<Paws>
155  
156 =head1 BUGS and CONTRIBUTIONS
157  
158 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
159  
160 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
161  
162 =cut
163