File Coverage

blib/lib/Paws/Athena/StartQueryExecution.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::Athena::StartQueryExecution;
3 1     1   458 use Moose;
  1         3  
  1         10  
4             has ClientRequestToken => (is => 'ro', isa => 'Str');
5             has QueryExecutionContext => (is => 'ro', isa => 'Paws::Athena::QueryExecutionContext');
6             has QueryString => (is => 'ro', isa => 'Str', required => 1);
7             has ResultConfiguration => (is => 'ro', isa => 'Paws::Athena::ResultConfiguration', required => 1);
8              
9 1     1   6064 use MooseX::ClassAttribute;
  1         5  
  1         9  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'StartQueryExecution');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Athena::StartQueryExecutionOutput');
13             class_has _result_key => (isa => 'Str', is => 'ro');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::Athena::StartQueryExecution - Arguments for method StartQueryExecution on Paws::Athena
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method StartQueryExecution on the
25             Amazon Athena service. Use the attributes of this class
26             as arguments to method StartQueryExecution.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartQueryExecution.
29              
30             As an example:
31              
32             $service_obj->StartQueryExecution(Att1 => $value1, Att2 => $value2, ...);
33              
34             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.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 ClientRequestToken => Str
40              
41             A unique case-sensitive string used to ensure the request to create the
42             query is idempotent (executes only once). If another
43             C<StartQueryExecution> request is received, the same response is
44             returned and another query is not created. If a parameter has changed,
45             for example, the C<QueryString>, an error is returned.
46              
47             This token is listed as not required because AWS SDKs (for example the
48             AWS SDK for Java) auto-generate the token for users. If you are not
49             using the AWS SDK or the AWS CLI, you must provide this token or the
50             action will fail.
51              
52              
53              
54             =head2 QueryExecutionContext => L<Paws::Athena::QueryExecutionContext>
55              
56             The database within which the query executes.
57              
58              
59              
60             =head2 B<REQUIRED> QueryString => Str
61              
62             The SQL query statements to be executed.
63              
64              
65              
66             =head2 B<REQUIRED> ResultConfiguration => L<Paws::Athena::ResultConfiguration>
67              
68             Specifies information about where and how to save the results of the
69             query execution.
70              
71              
72              
73              
74             =head1 SEE ALSO
75              
76             This class forms part of L<Paws>, documenting arguments for method StartQueryExecution in L<Paws::Athena>
77              
78             =head1 BUGS and CONTRIBUTIONS
79              
80             The source code is located here: https://github.com/pplu/aws-sdk-perl
81              
82             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
83              
84             =cut
85