File Coverage

blib/lib/Paws/ECR/AuthorizationData.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::ECR::AuthorizationData;
2 1     1   420 use Moose;
  1         3  
  1         7  
3             has AuthorizationToken => (is => 'ro', isa => 'Str', request_name => 'authorizationToken', traits => ['NameInRequest']);
4             has ExpiresAt => (is => 'ro', isa => 'Str', request_name => 'expiresAt', traits => ['NameInRequest']);
5             has ProxyEndpoint => (is => 'ro', isa => 'Str', request_name => 'proxyEndpoint', traits => ['NameInRequest']);
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::ECR::AuthorizationData
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::ECR::AuthorizationData object:
24              
25             $service_obj->Method(Att1 => { AuthorizationToken => $value, ..., ProxyEndpoint => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::ECR::AuthorizationData object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->AuthorizationToken
33              
34             =head1 DESCRIPTION
35              
36             An object representing authorization data for an Amazon ECR registry.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 AuthorizationToken => Str
42              
43             A base64-encoded string that contains authorization data for the
44             specified Amazon ECR registry. When the string is decoded, it is
45             presented in the format C<user:password> for private registry
46             authentication using C<docker login>.
47              
48              
49             =head2 ExpiresAt => Str
50              
51             The Unix time in seconds and milliseconds when the authorization token
52             expires. Authorization tokens are valid for 12 hours.
53              
54              
55             =head2 ProxyEndpoint => Str
56              
57             The registry URL to use for this authorization token in a C<docker
58             login> command. The Amazon ECR registry URL format is
59             C<https://aws_account_id.dkr.ecr.region.amazonaws.com>. For example,
60             C<https://012345678910.dkr.ecr.us-east-1.amazonaws.com>..
61              
62              
63              
64             =head1 SEE ALSO
65              
66             This class forms part of L<Paws>, describing an object used in L<Paws::ECR>
67              
68             =head1 BUGS and CONTRIBUTIONS
69              
70             The source code is located here: https://github.com/pplu/aws-sdk-perl
71              
72             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
73              
74             =cut
75