File Coverage

blib/lib/Paws/Batch/ComputeEnvironmentDetail.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Batch::ComputeEnvironmentDetail;
2 1     1   564 use Moose;
  1         3  
  1         8  
3             has ComputeEnvironmentArn => (is => 'ro', isa => 'Str', request_name => 'computeEnvironmentArn', traits => ['NameInRequest'], required => 1);
4             has ComputeEnvironmentName => (is => 'ro', isa => 'Str', request_name => 'computeEnvironmentName', traits => ['NameInRequest'], required => 1);
5             has ComputeResources => (is => 'ro', isa => 'Paws::Batch::ComputeResource', request_name => 'computeResources', traits => ['NameInRequest']);
6             has EcsClusterArn => (is => 'ro', isa => 'Str', request_name => 'ecsClusterArn', traits => ['NameInRequest'], required => 1);
7             has ServiceRole => (is => 'ro', isa => 'Str', request_name => 'serviceRole', traits => ['NameInRequest']);
8             has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']);
9             has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
10             has StatusReason => (is => 'ro', isa => 'Str', request_name => 'statusReason', traits => ['NameInRequest']);
11             has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::Batch::ComputeEnvironmentDetail
19              
20             =head1 USAGE
21              
22             This class represents one of two things:
23              
24             =head3 Arguments in a call to a service
25              
26             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27             Each attribute should be used as a named argument in the calls that expect this type of object.
28              
29             As an example, if Att1 is expected to be a Paws::Batch::ComputeEnvironmentDetail object:
30              
31             $service_obj->Method(Att1 => { ComputeEnvironmentArn => $value, ..., Type => $value });
32              
33             =head3 Results returned from an API call
34              
35             Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::ComputeEnvironmentDetail object:
36              
37             $result = $service_obj->Method(...);
38             $result->Att1->ComputeEnvironmentArn
39              
40             =head1 DESCRIPTION
41              
42             An object representing an AWS Batch compute environment.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 B<REQUIRED> ComputeEnvironmentArn => Str
48              
49             The Amazon Resource Name (ARN) of the compute environment.
50              
51              
52             =head2 B<REQUIRED> ComputeEnvironmentName => Str
53              
54             The name of the compute environment.
55              
56              
57             =head2 ComputeResources => L<Paws::Batch::ComputeResource>
58              
59             The compute resources defined for the compute environment.
60              
61              
62             =head2 B<REQUIRED> EcsClusterArn => Str
63              
64             The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster
65             used by the compute environment.
66              
67              
68             =head2 ServiceRole => Str
69              
70             The service role associated with the compute environment that allows
71             AWS Batch to make calls to AWS API operations on your behalf.
72              
73              
74             =head2 State => Str
75              
76             The state of the compute environment. The valid values are C<ENABLED>
77             or C<DISABLED>. An C<ENABLED> state indicates that you can register
78             instances with the compute environment and that the associated
79             instances can accept jobs.
80              
81              
82             =head2 Status => Str
83              
84             The current status of the compute environment (for example, C<CREATING>
85             or C<VALID>).
86              
87              
88             =head2 StatusReason => Str
89              
90             A short, human-readable string to provide additional details about the
91             current status of the compute environment.
92              
93              
94             =head2 Type => Str
95              
96             The type of the compute environment.
97              
98              
99              
100             =head1 SEE ALSO
101              
102             This class forms part of L<Paws>, describing an object used in L<Paws::Batch>
103              
104             =head1 BUGS and CONTRIBUTIONS
105              
106             The source code is located here: https://github.com/pplu/aws-sdk-perl
107              
108             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
109              
110             =cut
111