blib/lib/Paws/ECS/ServiceRegistry.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ECS::ServiceRegistry;
3 use Moose;
4 has ContainerName => (is => 'ro', isa => 'Str', request_name => 'containerName', traits => ['NameInRequest']);
5 has ContainerPort => (is => 'ro', isa => 'Int', request_name => 'containerPort', traits => ['NameInRequest']);
6 has Port => (is => 'ro', isa => 'Int', request_name => 'port', traits => ['NameInRequest']);
7 has RegistryArn => (is => 'ro', isa => 'Str', request_name => 'registryArn', traits => ['NameInRequest']);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::ECS::ServiceRegistry
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::ECS::ServiceRegistry object:
27  
28 $service_obj->Method(Att1 => { ContainerName => $value, ..., RegistryArn => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::ServiceRegistry object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->ContainerName
36  
37 =head1 DESCRIPTION
38  
39 Details of the service registry.
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 ContainerName => Str
45  
46 The container name value, already specified in the task definition, to
47 be used for your service discovery service. If the task definition that
48 your service task specifies uses the C<bridge> or C<host> network mode,
49 you must specify a C<containerName> and C<containerPort> combination
50 from the task definition. If the task definition that your service task
51 specifies uses the C<awsvpc> network mode and a type SRV DNS record is
52 used, you must specify either a C<containerName> and C<containerPort>
53 combination or a C<port> value, but not both.
54  
55  
56 =head2 ContainerPort => Int
57  
58 The port value, already specified in the task definition, to be used
59 for your service discovery service. If the task definition your service
60 task specifies uses the C<bridge> or C<host> network mode, you must
61 specify a C<containerName> and C<containerPort> combination from the
62 task definition. If the task definition your service task specifies
63 uses the C<awsvpc> network mode and a type SRV DNS record is used, you
64 must specify either a C<containerName> and C<containerPort> combination
65 or a C<port> value, but not both.
66  
67  
68 =head2 Port => Int
69  
70 The port value used if your service discovery service specified an SRV
71 record. This field may be used if both the C<awsvpc> network mode and
72 SRV records are used.
73  
74  
75 =head2 RegistryArn => Str
76  
77 The Amazon Resource Name (ARN) of the service registry. The currently
78 supported service registry is AWS Cloud Map. For more information, see
79 CreateService
80 (https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html).
81  
82  
83  
84 =head1 SEE ALSO
85  
86 This class forms part of L<Paws>, describing an object used in L<Paws::ECS>
87  
88 =head1 BUGS and CONTRIBUTIONS
89  
90 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
91  
92 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
93  
94 =cut
95