« blib/lib/Paws/CodeArtifact/ListPackageVersions.pm
↑ Summary
blib/lib/Paws/CodeArtifact/ListPackages.pm »
| 1 | |||
| 2 | package Paws::CodeArtifact::ListPackageVersionsResult; | ||
| 3 | use Moose; | ||
| 4 | has DefaultDisplayVersion => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'defaultDisplayVersion'); | ||
| 5 | has Format => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'format'); | ||
| 6 | has Namespace => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'namespace'); | ||
| 7 | has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken'); | ||
| 8 | has Package => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'package'); | ||
| 9 | has Versions => (is => 'ro', isa => 'ArrayRef[Paws::CodeArtifact::PackageVersionSummary]', traits => ['NameInRequest'], request_name => 'versions'); | ||
| 10 | |||
| 11 | has _request_id => (is => 'ro', isa => 'Str'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::CodeArtifact::ListPackageVersionsResult | ||
| 19 | |||
| 20 | =head1 ATTRIBUTES | ||
| 21 | |||
| 22 | |||
| 23 | =head2 DefaultDisplayVersion => Str | ||
| 24 | |||
| 25 | The default package version to display. This depends on the package | ||
| 26 | format: | ||
| 27 | |||
| 28 | =over | ||
| 29 | |||
| 30 | =item * | ||
| 31 | |||
| 32 | For Maven and PyPI packages, it's the most recently published package | ||
| 33 | version. | ||
| 34 | |||
| 35 | =item * | ||
| 36 | |||
| 37 | For npm packages, it's the version referenced by the C<latest> tag. If | ||
| 38 | the C<latest> tag is not set, it's the most recently published package | ||
| 39 | version. | ||
| 40 | |||
| 41 | =back | ||
| 42 | |||
| 43 | |||
| 44 | |||
| 45 | =head2 Format => Str | ||
| 46 | |||
| 47 | A format of the package. Valid package format values are: | ||
| 48 | |||
| 49 | =over | ||
| 50 | |||
| 51 | =item * | ||
| 52 | |||
| 53 | C<npm> | ||
| 54 | |||
| 55 | =item * | ||
| 56 | |||
| 57 | C<pypi> | ||
| 58 | |||
| 59 | =item * | ||
| 60 | |||
| 61 | C<maven> | ||
| 62 | |||
| 63 | =back | ||
| 64 | |||
| 65 | |||
| 66 | Valid values are: C<"npm">, C<"pypi">, C<"maven">, C<"nuget"> | ||
| 67 | =head2 Namespace => Str | ||
| 68 | |||
| 69 | The namespace of the package. The package component that specifies its | ||
| 70 | namespace depends on its type. For example: | ||
| 71 | |||
| 72 | =over | ||
| 73 | |||
| 74 | =item * | ||
| 75 | |||
| 76 | The namespace of a Maven package is its C<groupId>. | ||
| 77 | |||
| 78 | =item * | ||
| 79 | |||
| 80 | The namespace of an npm package is its C<scope>. | ||
| 81 | |||
| 82 | =item * | ||
| 83 | |||
| 84 | A Python package does not contain a corresponding component, so Python | ||
| 85 | packages do not have a namespace. | ||
| 86 | |||
| 87 | =back | ||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | =head2 NextToken => Str | ||
| 92 | |||
| 93 | If there are additional results, this is the token for the next set of | ||
| 94 | results. | ||
| 95 | |||
| 96 | |||
| 97 | =head2 Package => Str | ||
| 98 | |||
| 99 | The name of the package. | ||
| 100 | |||
| 101 | |||
| 102 | =head2 Versions => ArrayRef[L<Paws::CodeArtifact::PackageVersionSummary>] | ||
| 103 | |||
| 104 | The returned list of PackageVersionSummary | ||
| 105 | (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionSummary.html) | ||
| 106 | objects. | ||
| 107 | |||
| 108 | |||
| 109 | =head2 _request_id => Str | ||
| 110 | |||
| 111 | |||
| 112 | =cut | ||
| 113 |