File Coverage

blib/lib/Paws/Batch/DescribeComputeEnvironments.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::Batch::DescribeComputeEnvironments;
3 1     1   461 use Moose;
  1         3  
  1         7  
4             has ComputeEnvironments => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'computeEnvironments');
5             has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults');
6             has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken');
7              
8 1     1   6116 use MooseX::ClassAttribute;
  1         5  
  1         8  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeComputeEnvironments');
11             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/describecomputeenvironments');
12             class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Batch::DescribeComputeEnvironmentsResponse');
14             class_has _result_key => (isa => 'Str', is => 'ro');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::Batch::DescribeComputeEnvironments - Arguments for method DescribeComputeEnvironments on Paws::Batch
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method DescribeComputeEnvironments on the
26             AWS Batch service. Use the attributes of this class
27             as arguments to method DescribeComputeEnvironments.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeComputeEnvironments.
30              
31             As an example:
32              
33             $service_obj->DescribeComputeEnvironments(Att1 => $value1, Att2 => $value2, ...);
34              
35             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.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 ComputeEnvironments => ArrayRef[Str|Undef]
41              
42             A list of up to 100 compute environment names or full Amazon Resource
43             Name (ARN) entries.
44              
45              
46              
47             =head2 MaxResults => Int
48              
49             The maximum number of cluster results returned by
50             C<DescribeComputeEnvironments> in paginated output. When this parameter
51             is used, C<DescribeComputeEnvironments> only returns C<maxResults>
52             results in a single page along with a C<nextToken> response element.
53             The remaining results of the initial request can be seen by sending
54             another C<DescribeComputeEnvironments> request with the returned
55             C<nextToken> value. This value can be between 1 and 100. If this
56             parameter is not used, then C<DescribeComputeEnvironments> returns up
57             to 100 results and a C<nextToken> value if applicable.
58              
59              
60              
61             =head2 NextToken => Str
62              
63             The C<nextToken> value returned from a previous paginated
64             C<DescribeComputeEnvironments> request where C<maxResults> was used and
65             the results exceeded the value of that parameter. Pagination continues
66             from the end of the previous results that returned the C<nextToken>
67             value. This value is C<null> when there are no more results to return.
68              
69             This token should be treated as an opaque identifier that is only used
70             to retrieve the next items in a list and not for other programmatic
71             purposes.
72              
73              
74              
75              
76             =head1 SEE ALSO
77              
78             This class forms part of L<Paws>, documenting arguments for method DescribeComputeEnvironments in L<Paws::Batch>
79              
80             =head1 BUGS and CONTRIBUTIONS
81              
82             The source code is located here: https://github.com/pplu/aws-sdk-perl
83              
84             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
85              
86             =cut
87