blib/lib/Paws/CodeArtifact/ListPackageVersionDependencies.pm untested

filter: Statementstmt 0.0% 0 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 28 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CodeArtifact::ListPackageVersionDependencies;
3 use Moose;
4 has Domain => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'domain', required => 1);
5 has DomainOwner => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'domain-owner');
6 has Format => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'format', required => 1);
7 has Namespace => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'namespace');
8 has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'next-token');
9 has Package => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'package', required => 1);
10 has PackageVersion => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'version', required => 1);
11 has Repository => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'repository', required => 1);
12  
13 use MooseX::ClassAttribute;
14  
15 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListPackageVersionDependencies');
16 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/package/version/dependencies');
17 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
18 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeArtifact::ListPackageVersionDependenciesResult');
19 1;
20  
21 ### main pod documentation begin ###
22  
23 =head1 NAME
24  
25 Paws::CodeArtifact::ListPackageVersionDependencies - Arguments for method ListPackageVersionDependencies on L<Paws::CodeArtifact>
26  
27 =head1 DESCRIPTION
28  
29 This class represents the parameters used for calling the method ListPackageVersionDependencies on the
30 L<CodeArtifact|Paws::CodeArtifact> service. Use the attributes of this class
31 as arguments to method ListPackageVersionDependencies.
32  
33 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListPackageVersionDependencies.
34  
35 =head1 SYNOPSIS
36  
37 my $codeartifact = Paws->service('CodeArtifact');
38 my $ListPackageVersionDependenciesResult =
39 $codeartifact->ListPackageVersionDependencies(
40 Domain => 'MyDomainName',
41 Format => 'npm',
42 Package => 'MyPackageName',
43 PackageVersion => 'MyPackageVersion',
44 Repository => 'MyRepositoryName',
45 DomainOwner => 'MyAccountId', # OPTIONAL
46 Namespace => 'MyPackageNamespace', # OPTIONAL
47 NextToken => 'MyPaginationToken', # OPTIONAL
48 );
49  
50 # Results:
51 my $Dependencies = $ListPackageVersionDependenciesResult->Dependencies;
52 my $Format = $ListPackageVersionDependenciesResult->Format;
53 my $Namespace = $ListPackageVersionDependenciesResult->Namespace;
54 my $NextToken = $ListPackageVersionDependenciesResult->NextToken;
55 my $Package = $ListPackageVersionDependenciesResult->Package;
56 my $Version = $ListPackageVersionDependenciesResult->Version;
57 my $VersionRevision =
58 $ListPackageVersionDependenciesResult->VersionRevision;
59  
60 # Returns a L<Paws::CodeArtifact::ListPackageVersionDependenciesResult> object.
61  
62 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.
63 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codeartifact/ListPackageVersionDependencies>
64  
65 =head1 ATTRIBUTES
66  
67  
68 =head2 B<REQUIRED> Domain => Str
69  
70 The name of the domain that contains the repository that contains the
71 requested package version dependencies.
72  
73  
74  
75 =head2 DomainOwner => Str
76  
77 The 12-digit account number of the AWS account that owns the domain. It
78 does not include dashes or spaces.
79  
80  
81  
82 =head2 B<REQUIRED> Format => Str
83  
84 The format of the package with the requested dependencies. The valid
85 package types are:
86  
87 =over
88  
89 =item *
90  
91 C<npm>: A Node Package Manager (npm) package.
92  
93 =item *
94  
95 C<pypi>: A Python Package Index (PyPI) package.
96  
97 =item *
98  
99 C<maven>: A Maven package that contains compiled code in a
100 distributable format, such as a JAR file.
101  
102 =back
103  
104  
105 Valid values are: C<"npm">, C<"pypi">, C<"maven">, C<"nuget">
106  
107 =head2 Namespace => Str
108  
109 The namespace of the package. The package component that specifies its
110 namespace depends on its type. For example:
111  
112 =over
113  
114 =item *
115  
116 The namespace of a Maven package is its C<groupId>.
117  
118 =item *
119  
120 The namespace of an npm package is its C<scope>.
121  
122 =item *
123  
124 A Python package does not contain a corresponding component, so Python
125 packages do not have a namespace.
126  
127 =back
128  
129  
130  
131  
132 =head2 NextToken => Str
133  
134 The token for the next set of results. Use the value returned in the
135 previous response in the next request to retrieve the next set of
136 results.
137  
138  
139  
140 =head2 B<REQUIRED> Package => Str
141  
142 The name of the package versions' package.
143  
144  
145  
146 =head2 B<REQUIRED> PackageVersion => Str
147  
148 A string that contains the package version (for example, C<3.5.2>).
149  
150  
151  
152 =head2 B<REQUIRED> Repository => Str
153  
154 The name of the repository that contains the requested package version.
155  
156  
157  
158  
159 =head1 SEE ALSO
160  
161 This class forms part of L<Paws>, documenting arguments for method ListPackageVersionDependencies in L<Paws::CodeArtifact>
162  
163 =head1 BUGS and CONTRIBUTIONS
164  
165 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
166  
167 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
168  
169 =cut
170