blib/lib/Paws/ECRPublic/DescribeImages.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ECRPublic::DescribeImages;
3 use Moose;
4 has ImageIds => (is => 'ro', isa => 'ArrayRef[Paws::ECRPublic::ImageIdentifier]', traits => ['NameInRequest'], request_name => 'imageIds' );
5 has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' );
6 has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
7 has RegistryId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'registryId' );
8 has RepositoryName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'repositoryName' , required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeImages');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ECRPublic::DescribeImagesResponse');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::ECRPublic::DescribeImages - Arguments for method DescribeImages on L<Paws::ECRPublic>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method DescribeImages on the
26 L<Amazon Elastic Container Registry Public|Paws::ECRPublic> service. Use the attributes of this class
27 as arguments to method DescribeImages.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeImages.
30  
31 =head1 SYNOPSIS
32  
33 my $api.ecr-public = Paws->service('ECRPublic');
34 my $DescribeImagesResponse = $api . ecr-public->DescribeImages(
35 RepositoryName => 'MyRepositoryName',
36 ImageIds => [
37 {
38 ImageDigest => 'MyImageDigest', # OPTIONAL
39 ImageTag => 'MyImageTag', # min: 1, max: 300; OPTIONAL
40 },
41 ...
42 ], # OPTIONAL
43 MaxResults => 1, # OPTIONAL
44 NextToken => 'MyNextToken', # OPTIONAL
45 RegistryId => 'MyRegistryId', # OPTIONAL
46 );
47  
48 # Results:
49 my $ImageDetails = $DescribeImagesResponse->ImageDetails;
50 my $NextToken = $DescribeImagesResponse->NextToken;
51  
52 # Returns a L<Paws::ECRPublic::DescribeImagesResponse> object.
53  
54 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.
55 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.ecr-public/DescribeImages>
56  
57 =head1 ATTRIBUTES
58  
59  
60 =head2 ImageIds => ArrayRef[L<Paws::ECRPublic::ImageIdentifier>]
61  
62 The list of image IDs for the requested repository.
63  
64  
65  
66 =head2 MaxResults => Int
67  
68 The maximum number of repository results returned by C<DescribeImages>
69 in paginated output. When this parameter is used, C<DescribeImages>
70 only returns C<maxResults> results in a single page along with a
71 C<nextToken> response element. The remaining results of the initial
72 request can be seen by sending another C<DescribeImages> request with
73 the returned C<nextToken> value. This value can be between 1 and 1000.
74 If this parameter is not used, then C<DescribeImages> returns up to 100
75 results and a C<nextToken> value, if applicable. This option cannot be
76 used when you specify images with C<imageIds>.
77  
78  
79  
80 =head2 NextToken => Str
81  
82 The C<nextToken> value returned from a previous paginated
83 C<DescribeImages> request where C<maxResults> was used and the results
84 exceeded the value of that parameter. Pagination continues from the end
85 of the previous results that returned the C<nextToken> value. This
86 value is C<null> when there are no more results to return. This option
87 cannot be used when you specify images with C<imageIds>.
88  
89  
90  
91 =head2 RegistryId => Str
92  
93 The AWS account ID associated with the public registry that contains
94 the repository in which to describe images. If you do not specify a
95 registry, the default public registry is assumed.
96  
97  
98  
99 =head2 B<REQUIRED> RepositoryName => Str
100  
101 The repository that contains the images to describe.
102  
103  
104  
105  
106 =head1 SEE ALSO
107  
108 This class forms part of L<Paws>, documenting arguments for method DescribeImages in L<Paws::ECRPublic>
109  
110 =head1 BUGS and CONTRIBUTIONS
111  
112 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
113  
114 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
115  
116 =cut
117