blib/lib/Paws/ECRPublic/RegistryAlias.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::ECRPublic::RegistryAlias;
3 use Moose;
4 has DefaultRegistryAlias => (is => 'ro', isa => 'Bool', request_name => 'defaultRegistryAlias', traits => ['NameInRequest'], required => 1);
5 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
6 has PrimaryRegistryAlias => (is => 'ro', isa => 'Bool', request_name => 'primaryRegistryAlias', traits => ['NameInRequest'], required => 1);
7 has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest'], required => 1);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::ECRPublic::RegistryAlias
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::ECRPublic::RegistryAlias object:
27  
28 $service_obj->Method(Att1 => { DefaultRegistryAlias => $value, ..., Status => $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::ECRPublic::RegistryAlias object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->DefaultRegistryAlias
36  
37 =head1 DESCRIPTION
38  
39 An object representing the aliases for a public registry. A public
40 registry is given an alias upon creation but a custom alias can be set
41 using the Amazon ECR console. For more information, see Registries
42 (https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html)
43 in the I<Amazon Elastic Container Registry User Guide>.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 B<REQUIRED> DefaultRegistryAlias => Bool
49  
50 Whether or not the registry alias is the default alias for the
51 registry. When the first public repository is created, your public
52 registry is assigned a default registry alias.
53  
54  
55 =head2 B<REQUIRED> Name => Str
56  
57 The name of the registry alias.
58  
59  
60 =head2 B<REQUIRED> PrimaryRegistryAlias => Bool
61  
62 Whether or not the registry alias is the primary alias for the
63 registry. If true, the alias is the primary registry alias and is
64 displayed in both the repository URL and the image URI used in the
65 C<docker pull> commands on the Amazon ECR Public Gallery.
66  
67 A registry alias that is not the primary registry alias can be used in
68 the repository URI in a C<docker pull> command.
69  
70  
71 =head2 B<REQUIRED> Status => Str
72  
73 The status of the registry alias.
74  
75  
76  
77 =head1 SEE ALSO
78  
79 This class forms part of L<Paws>, describing an object used in L<Paws::ECRPublic>
80  
81 =head1 BUGS and CONTRIBUTIONS
82  
83 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
84  
85 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
86  
87 =cut
88