blib/lib/Paws/EMRContainers/ListVirtualClusters.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::EMRContainers::ListVirtualClusters;
3 use Moose;
4 has ContainerProviderId => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'containerProviderId');
5 has ContainerProviderType => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'containerProviderType');
6 has CreatedAfter => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'createdAfter');
7 has CreatedBefore => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'createdBefore');
8 has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults');
9 has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken');
10 has States => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['ParamInQuery'], query_name => 'states');
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListVirtualClusters');
15 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/virtualclusters');
16 class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
17 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EMRContainers::ListVirtualClustersResponse');
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::EMRContainers::ListVirtualClusters - Arguments for method ListVirtualClusters on L<Paws::EMRContainers>
25  
26 =head1 DESCRIPTION
27  
28 This class represents the parameters used for calling the method ListVirtualClusters on the
29 L<Amazon EMR Containers|Paws::EMRContainers> service. Use the attributes of this class
30 as arguments to method ListVirtualClusters.
31  
32 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListVirtualClusters.
33  
34 =head1 SYNOPSIS
35  
36 my $emr-containers = Paws->service('EMRContainers');
37 my $ListVirtualClustersResponse = $emr -containers->ListVirtualClusters(
38 ContainerProviderId => 'MyString1024', # OPTIONAL
39 ContainerProviderType => 'EKS', # OPTIONAL
40 CreatedAfter => '1970-01-01T01:00:00', # OPTIONAL
41 CreatedBefore => '1970-01-01T01:00:00', # OPTIONAL
42 MaxResults => 1, # OPTIONAL
43 NextToken => 'MyNextToken', # OPTIONAL
44 States => [
45 'RUNNING', ... # values: RUNNING, TERMINATING, TERMINATED, ARRESTED
46 ], # OPTIONAL
47 );
48  
49 # Results:
50 my $NextToken = $ListVirtualClustersResponse->NextToken;
51 my $VirtualClusters = $ListVirtualClustersResponse->VirtualClusters;
52  
53 # Returns a L<Paws::EMRContainers::ListVirtualClustersResponse> object.
54  
55 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.
56 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/emr-containers/ListVirtualClusters>
57  
58 =head1 ATTRIBUTES
59  
60  
61 =head2 ContainerProviderId => Str
62  
63 The container provider ID of the virtual cluster.
64  
65  
66  
67 =head2 ContainerProviderType => Str
68  
69 The container provider type of the virtual cluster. EKS is the only
70 supported type as of now.
71  
72 Valid values are: C<"EKS">
73  
74 =head2 CreatedAfter => Str
75  
76 The date and time after which the virtual clusters are created.
77  
78  
79  
80 =head2 CreatedBefore => Str
81  
82 The date and time before which the virtual clusters are created.
83  
84  
85  
86 =head2 MaxResults => Int
87  
88 The maximum number of virtual clusters that can be listed.
89  
90  
91  
92 =head2 NextToken => Str
93  
94 The token for the next set of virtual clusters to return.
95  
96  
97  
98 =head2 States => ArrayRef[Str|Undef]
99  
100 The states of the requested virtual clusters.
101  
102  
103  
104  
105 =head1 SEE ALSO
106  
107 This class forms part of L<Paws>, documenting arguments for method ListVirtualClusters in L<Paws::EMRContainers>
108  
109 =head1 BUGS and CONTRIBUTIONS
110  
111 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
112  
113 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
114  
115 =cut
116