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