blib/lib/Paws/DataPipeline/QueryObjects.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::DataPipeline::QueryObjects;
3 use Moose;
4 has Limit => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'limit' );
5 has Marker => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'marker' );
6 has PipelineId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'pipelineId' , required => 1);
7 has Query => (is => 'ro', isa => 'Paws::DataPipeline::Query', traits => ['NameInRequest'], request_name => 'query' );
8 has Sphere => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'sphere' , required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'QueryObjects');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DataPipeline::QueryObjectsOutput');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::DataPipeline::QueryObjects - Arguments for method QueryObjects on L<Paws::DataPipeline>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method QueryObjects on the
26 L<AWS Data Pipeline|Paws::DataPipeline> service. Use the attributes of this class
27 as arguments to method QueryObjects.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to QueryObjects.
30  
31 =head1 SYNOPSIS
32  
33 my $datapipeline = Paws->service('DataPipeline');
34 my $QueryObjectsOutput = $datapipeline->QueryObjects(
35 PipelineId => 'Myid',
36 Sphere => 'Mystring',
37 Limit => 1, # OPTIONAL
38 Marker => 'Mystring', # OPTIONAL
39 Query => {
40 Selectors => [
41 {
42 FieldName => 'Mystring', # max: 1024
43 Operator => {
44 Type => 'EQ', # values: EQ, REF_EQ, LE, GE, BETWEEN; OPTIONAL
45 Values => [
46 'Mystring', ... # max: 1024
47 ], # OPTIONAL
48 }, # OPTIONAL
49 },
50 ...
51 ], # OPTIONAL
52 }, # OPTIONAL
53 );
54  
55 # Results:
56 my $HasMoreResults = $QueryObjectsOutput->HasMoreResults;
57 my $Ids = $QueryObjectsOutput->Ids;
58 my $Marker = $QueryObjectsOutput->Marker;
59  
60 # Returns a L<Paws::DataPipeline::QueryObjectsOutput> object.
61  
62 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.
63 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/datapipeline/QueryObjects>
64  
65 =head1 ATTRIBUTES
66  
67  
68 =head2 Limit => Int
69  
70 The maximum number of object names that C<QueryObjects> will return in
71 a single call. The default value is 100.
72  
73  
74  
75 =head2 Marker => Str
76  
77 The starting point for the results to be returned. For the first call,
78 this value should be empty. As long as there are more results, continue
79 to call C<QueryObjects> with the marker value from the previous call to
80 retrieve the next set of results.
81  
82  
83  
84 =head2 B<REQUIRED> PipelineId => Str
85  
86 The ID of the pipeline.
87  
88  
89  
90 =head2 Query => L<Paws::DataPipeline::Query>
91  
92 The query that defines the objects to be returned. The C<Query> object
93 can contain a maximum of ten selectors. The conditions in the query are
94 limited to top-level String fields in the object. These filters can be
95 applied to components, instances, and attempts.
96  
97  
98  
99 =head2 B<REQUIRED> Sphere => Str
100  
101 Indicates whether the query applies to components or instances. The
102 possible values are: C<COMPONENT>, C<INSTANCE>, and C<ATTEMPT>.
103  
104  
105  
106  
107 =head1 SEE ALSO
108  
109 This class forms part of L<Paws>, documenting arguments for method QueryObjects in L<Paws::DataPipeline>
110  
111 =head1 BUGS and CONTRIBUTIONS
112  
113 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
114  
115 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
116  
117 =cut
118