File Coverage

blib/lib/Paws/ECS/RegisterContainerInstance.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::ECS::RegisterContainerInstance;
3 1     1   425 use Moose;
  1         4  
  1         8  
4             has Attributes => (is => 'ro', isa => 'ArrayRef[Paws::ECS::Attribute]', traits => ['NameInRequest'], request_name => 'attributes' );
5             has Cluster => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'cluster' );
6             has ContainerInstanceArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'containerInstanceArn' );
7             has InstanceIdentityDocument => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'instanceIdentityDocument' );
8             has InstanceIdentityDocumentSignature => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'instanceIdentityDocumentSignature' );
9             has TotalResources => (is => 'ro', isa => 'ArrayRef[Paws::ECS::Resource]', traits => ['NameInRequest'], request_name => 'totalResources' );
10             has VersionInfo => (is => 'ro', isa => 'Paws::ECS::VersionInfo', traits => ['NameInRequest'], request_name => 'versionInfo' );
11              
12 1     1   6413 use MooseX::ClassAttribute;
  1         3  
  1         8  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'RegisterContainerInstance');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ECS::RegisterContainerInstanceResponse');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::ECS::RegisterContainerInstance - Arguments for method RegisterContainerInstance on Paws::ECS
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method RegisterContainerInstance on the
28             Amazon EC2 Container Service service. Use the attributes of this class
29             as arguments to method RegisterContainerInstance.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RegisterContainerInstance.
32              
33             As an example:
34              
35             $service_obj->RegisterContainerInstance(Att1 => $value1, Att2 => $value2, ...);
36              
37             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.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 Attributes => ArrayRef[L<Paws::ECS::Attribute>]
43              
44             The container instance attributes that this container instance
45             supports.
46              
47              
48              
49             =head2 Cluster => Str
50              
51             The short name or full Amazon Resource Name (ARN) of the cluster with
52             which to register your container instance. If you do not specify a
53             cluster, the default cluster is assumed.
54              
55              
56              
57             =head2 ContainerInstanceArn => Str
58              
59             The Amazon Resource Name (ARN) of the container instance (if it was
60             previously registered).
61              
62              
63              
64             =head2 InstanceIdentityDocument => Str
65              
66             The instance identity document for the EC2 instance to register. This
67             document can be found by running the following command from the
68             instance: C<curl
69             http://169.254.169.254/latest/dynamic/instance-identity/document/>
70              
71              
72              
73             =head2 InstanceIdentityDocumentSignature => Str
74              
75             The instance identity document signature for the EC2 instance to
76             register. This signature can be found by running the following command
77             from the instance: C<curl
78             http://169.254.169.254/latest/dynamic/instance-identity/signature/>
79              
80              
81              
82             =head2 TotalResources => ArrayRef[L<Paws::ECS::Resource>]
83              
84             The resources available on the instance.
85              
86              
87              
88             =head2 VersionInfo => L<Paws::ECS::VersionInfo>
89              
90             The version information for the Amazon ECS container agent and Docker
91             daemon running on the container instance.
92              
93              
94              
95              
96             =head1 SEE ALSO
97              
98             This class forms part of L<Paws>, documenting arguments for method RegisterContainerInstance in L<Paws::ECS>
99              
100             =head1 BUGS and CONTRIBUTIONS
101              
102             The source code is located here: https://github.com/pplu/aws-sdk-perl
103              
104             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
105              
106             =cut
107