| 1 | package Paws::CodeArtifact; | ||
| 2 | use Moose; | ||
| 3 | sub service { 'codeartifact' } | ||
| 4 | sub signing_name { 'codeartifact' } | ||
| 5 | sub version { '2018-09-22' } | ||
| 6 | sub flattened_arrays { 0 } | ||
| 7 | has max_attempts => (is => 'ro', isa => 'Int', default => 5); | ||
| 8 | has retry => (is => 'ro', isa => 'HashRef', default => sub { | ||
| 9 | { base => 'rand', type => 'exponential', growth_factor => 2 } | ||
| 10 | }); | ||
| 11 | has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ | ||
| 12 | ] }); | ||
| 13 | |||
| 14 | with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller'; | ||
| 15 | |||
| 16 | |||
| 17 | sub AssociateExternalConnection { | ||
| 18 | my $self = shift; | ||
| 19 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::AssociateExternalConnection', @_); | ||
| 20 | return $self->caller->do_call($self, $call_object); | ||
| 21 | } | ||
| 22 | sub CopyPackageVersions { | ||
| 23 | my $self = shift; | ||
| 24 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::CopyPackageVersions', @_); | ||
| 25 | return $self->caller->do_call($self, $call_object); | ||
| 26 | } | ||
| 27 | sub CreateDomain { | ||
| 28 | my $self = shift; | ||
| 29 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::CreateDomain', @_); | ||
| 30 | return $self->caller->do_call($self, $call_object); | ||
| 31 | } | ||
| 32 | sub CreateRepository { | ||
| 33 | my $self = shift; | ||
| 34 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::CreateRepository', @_); | ||
| 35 | return $self->caller->do_call($self, $call_object); | ||
| 36 | } | ||
| 37 | sub DeleteDomain { | ||
| 38 | my $self = shift; | ||
| 39 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::DeleteDomain', @_); | ||
| 40 | return $self->caller->do_call($self, $call_object); | ||
| 41 | } | ||
| 42 | sub DeleteDomainPermissionsPolicy { | ||
| 43 | my $self = shift; | ||
| 44 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::DeleteDomainPermissionsPolicy', @_); | ||
| 45 | return $self->caller->do_call($self, $call_object); | ||
| 46 | } | ||
| 47 | sub DeletePackageVersions { | ||
| 48 | my $self = shift; | ||
| 49 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::DeletePackageVersions', @_); | ||
| 50 | return $self->caller->do_call($self, $call_object); | ||
| 51 | } | ||
| 52 | sub DeleteRepository { | ||
| 53 | my $self = shift; | ||
| 54 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::DeleteRepository', @_); | ||
| 55 | return $self->caller->do_call($self, $call_object); | ||
| 56 | } | ||
| 57 | sub DeleteRepositoryPermissionsPolicy { | ||
| 58 | my $self = shift; | ||
| 59 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::DeleteRepositoryPermissionsPolicy', @_); | ||
| 60 | return $self->caller->do_call($self, $call_object); | ||
| 61 | } | ||
| 62 | sub DescribeDomain { | ||
| 63 | my $self = shift; | ||
| 64 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::DescribeDomain', @_); | ||
| 65 | return $self->caller->do_call($self, $call_object); | ||
| 66 | } | ||
| 67 | sub DescribePackageVersion { | ||
| 68 | my $self = shift; | ||
| 69 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::DescribePackageVersion', @_); | ||
| 70 | return $self->caller->do_call($self, $call_object); | ||
| 71 | } | ||
| 72 | sub DescribeRepository { | ||
| 73 | my $self = shift; | ||
| 74 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::DescribeRepository', @_); | ||
| 75 | return $self->caller->do_call($self, $call_object); | ||
| 76 | } | ||
| 77 | sub DisassociateExternalConnection { | ||
| 78 | my $self = shift; | ||
| 79 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::DisassociateExternalConnection', @_); | ||
| 80 | return $self->caller->do_call($self, $call_object); | ||
| 81 | } | ||
| 82 | sub DisposePackageVersions { | ||
| 83 | my $self = shift; | ||
| 84 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::DisposePackageVersions', @_); | ||
| 85 | return $self->caller->do_call($self, $call_object); | ||
| 86 | } | ||
| 87 | sub GetAuthorizationToken { | ||
| 88 | my $self = shift; | ||
| 89 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::GetAuthorizationToken', @_); | ||
| 90 | return $self->caller->do_call($self, $call_object); | ||
| 91 | } | ||
| 92 | sub GetDomainPermissionsPolicy { | ||
| 93 | my $self = shift; | ||
| 94 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::GetDomainPermissionsPolicy', @_); | ||
| 95 | return $self->caller->do_call($self, $call_object); | ||
| 96 | } | ||
| 97 | sub GetPackageVersionAsset { | ||
| 98 | my $self = shift; | ||
| 99 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::GetPackageVersionAsset', @_); | ||
| 100 | return $self->caller->do_call($self, $call_object); | ||
| 101 | } | ||
| 102 | sub GetPackageVersionReadme { | ||
| 103 | my $self = shift; | ||
| 104 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::GetPackageVersionReadme', @_); | ||
| 105 | return $self->caller->do_call($self, $call_object); | ||
| 106 | } | ||
| 107 | sub GetRepositoryEndpoint { | ||
| 108 | my $self = shift; | ||
| 109 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::GetRepositoryEndpoint', @_); | ||
| 110 | return $self->caller->do_call($self, $call_object); | ||
| 111 | } | ||
| 112 | sub GetRepositoryPermissionsPolicy { | ||
| 113 | my $self = shift; | ||
| 114 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::GetRepositoryPermissionsPolicy', @_); | ||
| 115 | return $self->caller->do_call($self, $call_object); | ||
| 116 | } | ||
| 117 | sub ListDomains { | ||
| 118 | my $self = shift; | ||
| 119 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::ListDomains', @_); | ||
| 120 | return $self->caller->do_call($self, $call_object); | ||
| 121 | } | ||
| 122 | sub ListPackages { | ||
| 123 | my $self = shift; | ||
| 124 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::ListPackages', @_); | ||
| 125 | return $self->caller->do_call($self, $call_object); | ||
| 126 | } | ||
| 127 | sub ListPackageVersionAssets { | ||
| 128 | my $self = shift; | ||
| 129 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::ListPackageVersionAssets', @_); | ||
| 130 | return $self->caller->do_call($self, $call_object); | ||
| 131 | } | ||
| 132 | sub ListPackageVersionDependencies { | ||
| 133 | my $self = shift; | ||
| 134 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::ListPackageVersionDependencies', @_); | ||
| 135 | return $self->caller->do_call($self, $call_object); | ||
| 136 | } | ||
| 137 | sub ListPackageVersions { | ||
| 138 | my $self = shift; | ||
| 139 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::ListPackageVersions', @_); | ||
| 140 | return $self->caller->do_call($self, $call_object); | ||
| 141 | } | ||
| 142 | sub ListRepositories { | ||
| 143 | my $self = shift; | ||
| 144 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::ListRepositories', @_); | ||
| 145 | return $self->caller->do_call($self, $call_object); | ||
| 146 | } | ||
| 147 | sub ListRepositoriesInDomain { | ||
| 148 | my $self = shift; | ||
| 149 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::ListRepositoriesInDomain', @_); | ||
| 150 | return $self->caller->do_call($self, $call_object); | ||
| 151 | } | ||
| 152 | sub ListTagsForResource { | ||
| 153 | my $self = shift; | ||
| 154 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::ListTagsForResource', @_); | ||
| 155 | return $self->caller->do_call($self, $call_object); | ||
| 156 | } | ||
| 157 | sub PutDomainPermissionsPolicy { | ||
| 158 | my $self = shift; | ||
| 159 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::PutDomainPermissionsPolicy', @_); | ||
| 160 | return $self->caller->do_call($self, $call_object); | ||
| 161 | } | ||
| 162 | sub PutRepositoryPermissionsPolicy { | ||
| 163 | my $self = shift; | ||
| 164 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::PutRepositoryPermissionsPolicy', @_); | ||
| 165 | return $self->caller->do_call($self, $call_object); | ||
| 166 | } | ||
| 167 | sub TagResource { | ||
| 168 | my $self = shift; | ||
| 169 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::TagResource', @_); | ||
| 170 | return $self->caller->do_call($self, $call_object); | ||
| 171 | } | ||
| 172 | sub UntagResource { | ||
| 173 | my $self = shift; | ||
| 174 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::UntagResource', @_); | ||
| 175 | return $self->caller->do_call($self, $call_object); | ||
| 176 | } | ||
| 177 | sub UpdatePackageVersionsStatus { | ||
| 178 | my $self = shift; | ||
| 179 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::UpdatePackageVersionsStatus', @_); | ||
| 180 | return $self->caller->do_call($self, $call_object); | ||
| 181 | } | ||
| 182 | sub UpdateRepository { | ||
| 183 | my $self = shift; | ||
| 184 | my $call_object = $self->new_with_coercions('Paws::CodeArtifact::UpdateRepository', @_); | ||
| 185 | return $self->caller->do_call($self, $call_object); | ||
| 186 | } | ||
| 187 | |||
| 188 | sub ListAllDomains { | ||
| 189 | my $self = shift; | ||
| 190 | |||
| 191 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 192 | my $result = $self->ListDomains(@_); | ||
| 193 | my $next_result = $result; | ||
| 194 | |||
| 195 | if (not defined $callback) { | ||
| 196 | while ($next_result->nextToken) { | ||
| 197 | $next_result = $self->ListDomains(@_, nextToken => $next_result->nextToken); | ||
| 198 | push @{ $result->domains }, @{ $next_result->domains }; | ||
| 199 | } | ||
| 200 | return $result; | ||
| 201 | } else { | ||
| 202 | while ($result->nextToken) { | ||
| 203 | $callback->($_ => 'domains') foreach (@{ $result->domains }); | ||
| 204 | $result = $self->ListDomains(@_, nextToken => $result->nextToken); | ||
| 205 | } | ||
| 206 | $callback->($_ => 'domains') foreach (@{ $result->domains }); | ||
| 207 | } | ||
| 208 | |||
| 209 | return undef | ||
| 210 | } | ||
| 211 | sub ListAllPackages { | ||
| 212 | my $self = shift; | ||
| 213 | |||
| 214 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 215 | my $result = $self->ListPackages(@_); | ||
| 216 | my $next_result = $result; | ||
| 217 | |||
| 218 | if (not defined $callback) { | ||
| 219 | while ($next_result->nextToken) { | ||
| 220 | $next_result = $self->ListPackages(@_, nextToken => $next_result->nextToken); | ||
| 221 | push @{ $result->packages }, @{ $next_result->packages }; | ||
| 222 | } | ||
| 223 | return $result; | ||
| 224 | } else { | ||
| 225 | while ($result->nextToken) { | ||
| 226 | $callback->($_ => 'packages') foreach (@{ $result->packages }); | ||
| 227 | $result = $self->ListPackages(@_, nextToken => $result->nextToken); | ||
| 228 | } | ||
| 229 | $callback->($_ => 'packages') foreach (@{ $result->packages }); | ||
| 230 | } | ||
| 231 | |||
| 232 | return undef | ||
| 233 | } | ||
| 234 | sub ListAllPackageVersionAssets { | ||
| 235 | my $self = shift; | ||
| 236 | |||
| 237 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 238 | my $result = $self->ListPackageVersionAssets(@_); | ||
| 239 | my $next_result = $result; | ||
| 240 | |||
| 241 | if (not defined $callback) { | ||
| 242 | while ($next_result->nextToken) { | ||
| 243 | $next_result = $self->ListPackageVersionAssets(@_, nextToken => $next_result->nextToken); | ||
| 244 | push @{ $result->assets }, @{ $next_result->assets }; | ||
| 245 | } | ||
| 246 | return $result; | ||
| 247 | } else { | ||
| 248 | while ($result->nextToken) { | ||
| 249 | $callback->($_ => 'assets') foreach (@{ $result->assets }); | ||
| 250 | $result = $self->ListPackageVersionAssets(@_, nextToken => $result->nextToken); | ||
| 251 | } | ||
| 252 | $callback->($_ => 'assets') foreach (@{ $result->assets }); | ||
| 253 | } | ||
| 254 | |||
| 255 | return undef | ||
| 256 | } | ||
| 257 | sub ListAllPackageVersions { | ||
| 258 | my $self = shift; | ||
| 259 | |||
| 260 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 261 | my $result = $self->ListPackageVersions(@_); | ||
| 262 | my $next_result = $result; | ||
| 263 | |||
| 264 | if (not defined $callback) { | ||
| 265 | while ($next_result->nextToken) { | ||
| 266 | $next_result = $self->ListPackageVersions(@_, nextToken => $next_result->nextToken); | ||
| 267 | push @{ $result->versions }, @{ $next_result->versions }; | ||
| 268 | } | ||
| 269 | return $result; | ||
| 270 | } else { | ||
| 271 | while ($result->nextToken) { | ||
| 272 | $callback->($_ => 'versions') foreach (@{ $result->versions }); | ||
| 273 | $result = $self->ListPackageVersions(@_, nextToken => $result->nextToken); | ||
| 274 | } | ||
| 275 | $callback->($_ => 'versions') foreach (@{ $result->versions }); | ||
| 276 | } | ||
| 277 | |||
| 278 | return undef | ||
| 279 | } | ||
| 280 | sub ListAllRepositories { | ||
| 281 | my $self = shift; | ||
| 282 | |||
| 283 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 284 | my $result = $self->ListRepositories(@_); | ||
| 285 | my $next_result = $result; | ||
| 286 | |||
| 287 | if (not defined $callback) { | ||
| 288 | while ($next_result->nextToken) { | ||
| 289 | $next_result = $self->ListRepositories(@_, nextToken => $next_result->nextToken); | ||
| 290 | push @{ $result->repositories }, @{ $next_result->repositories }; | ||
| 291 | } | ||
| 292 | return $result; | ||
| 293 | } else { | ||
| 294 | while ($result->nextToken) { | ||
| 295 | $callback->($_ => 'repositories') foreach (@{ $result->repositories }); | ||
| 296 | $result = $self->ListRepositories(@_, nextToken => $result->nextToken); | ||
| 297 | } | ||
| 298 | $callback->($_ => 'repositories') foreach (@{ $result->repositories }); | ||
| 299 | } | ||
| 300 | |||
| 301 | return undef | ||
| 302 | } | ||
| 303 | sub ListAllRepositoriesInDomain { | ||
| 304 | my $self = shift; | ||
| 305 | |||
| 306 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 307 | my $result = $self->ListRepositoriesInDomain(@_); | ||
| 308 | my $next_result = $result; | ||
| 309 | |||
| 310 | if (not defined $callback) { | ||
| 311 | while ($next_result->nextToken) { | ||
| 312 | $next_result = $self->ListRepositoriesInDomain(@_, nextToken => $next_result->nextToken); | ||
| 313 | push @{ $result->repositories }, @{ $next_result->repositories }; | ||
| 314 | } | ||
| 315 | return $result; | ||
| 316 | } else { | ||
| 317 | while ($result->nextToken) { | ||
| 318 | $callback->($_ => 'repositories') foreach (@{ $result->repositories }); | ||
| 319 | $result = $self->ListRepositoriesInDomain(@_, nextToken => $result->nextToken); | ||
| 320 | } | ||
| 321 | $callback->($_ => 'repositories') foreach (@{ $result->repositories }); | ||
| 322 | } | ||
| 323 | |||
| 324 | return undef | ||
| 325 | } | ||
| 326 | |||
| 327 | |||
| 328 | sub operations { qw/AssociateExternalConnection CopyPackageVersions CreateDomain CreateRepository DeleteDomain DeleteDomainPermissionsPolicy DeletePackageVersions DeleteRepository DeleteRepositoryPermissionsPolicy DescribeDomain DescribePackageVersion DescribeRepository DisassociateExternalConnection DisposePackageVersions GetAuthorizationToken GetDomainPermissionsPolicy GetPackageVersionAsset GetPackageVersionReadme GetRepositoryEndpoint GetRepositoryPermissionsPolicy ListDomains ListPackages ListPackageVersionAssets ListPackageVersionDependencies ListPackageVersions ListRepositories ListRepositoriesInDomain ListTagsForResource PutDomainPermissionsPolicy PutRepositoryPermissionsPolicy TagResource UntagResource UpdatePackageVersionsStatus UpdateRepository / } | ||
| 329 | |||
| 330 | 1; | ||
| 331 | |||
| 332 | ### main pod documentation begin ### | ||
| 333 | |||
| 334 | =head1 NAME | ||
| 335 | |||
| 336 | Paws::CodeArtifact - Perl Interface to AWS CodeArtifact | ||
| 337 | |||
| 338 | =head1 SYNOPSIS | ||
| 339 | |||
| 340 | use Paws; | ||
| 341 | |||
| 342 | my $obj = Paws->service('CodeArtifact'); | ||
| 343 | my $res = $obj->Method( | ||
| 344 | Arg1 => $val1, | ||
| 345 | Arg2 => [ 'V1', 'V2' ], | ||
| 346 | # if Arg3 is an object, the HashRef will be used as arguments to the constructor | ||
| 347 | # of the arguments type | ||
| 348 | Arg3 => { Att1 => 'Val1' }, | ||
| 349 | # if Arg4 is an array of objects, the HashRefs will be passed as arguments to | ||
| 350 | # the constructor of the arguments type | ||
| 351 | Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], | ||
| 352 | ); | ||
| 353 | |||
| 354 | =head1 DESCRIPTION | ||
| 355 | |||
| 356 | AWS CodeArtifact is a fully managed artifact repository compatible with | ||
| 357 | language-native package managers and build tools such as npm, Apache | ||
| 358 | Maven, and pip. You can use CodeArtifact to share packages with | ||
| 359 | development teams and pull packages. Packages can be pulled from both | ||
| 360 | public and CodeArtifact repositories. You can also create an upstream | ||
| 361 | relationship between a CodeArtifact repository and another repository, | ||
| 362 | which effectively merges their contents from the point of view of a | ||
| 363 | package manager client. | ||
| 364 | |||
| 365 | B<AWS CodeArtifact Components> | ||
| 366 | |||
| 367 | Use the information in this guide to help you work with the following | ||
| 368 | CodeArtifact components: | ||
| 369 | |||
| 370 | =over | ||
| 371 | |||
| 372 | =item * | ||
| 373 | |||
| 374 | B<Repository>: A CodeArtifact repository contains a set of package | ||
| 375 | versions | ||
| 376 | (https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html#welcome-concepts-package-version), | ||
| 377 | each of which maps to a set of assets, or files. Repositories are | ||
| 378 | polyglot, so a single repository can contain packages of any supported | ||
| 379 | type. Each repository exposes endpoints for fetching and publishing | ||
| 380 | packages using tools like the B< C<npm> > CLI, the Maven CLI (B< C<mvn> | ||
| 381 | >), and B< C<pip> >. | ||
| 382 | |||
| 383 | =item * | ||
| 384 | |||
| 385 | B<Domain>: Repositories are aggregated into a higher-level entity known | ||
| 386 | as a I<domain>. All package assets and metadata are stored in the | ||
| 387 | domain, but are consumed through repositories. A given package asset, | ||
| 388 | such as a Maven JAR file, is stored once per domain, no matter how many | ||
| 389 | repositories it's present in. All of the assets and metadata in a | ||
| 390 | domain are encrypted with the same customer master key (CMK) stored in | ||
| 391 | AWS Key Management Service (AWS KMS). | ||
| 392 | |||
| 393 | Each repository is a member of a single domain and can't be moved to a | ||
| 394 | different domain. | ||
| 395 | |||
| 396 | The domain allows organizational policy to be applied across multiple | ||
| 397 | repositories, such as which accounts can access repositories in the | ||
| 398 | domain, and which public repositories can be used as sources of | ||
| 399 | packages. | ||
| 400 | |||
| 401 | Although an organization can have multiple domains, we recommend a | ||
| 402 | single production domain that contains all published artifacts so that | ||
| 403 | teams can find and share packages across their organization. | ||
| 404 | |||
| 405 | =item * | ||
| 406 | |||
| 407 | B<Package>: A I<package> is a bundle of software and the metadata | ||
| 408 | required to resolve dependencies and install the software. CodeArtifact | ||
| 409 | supports npm | ||
| 410 | (https://docs.aws.amazon.com/codeartifact/latest/ug/using-npm.html), | ||
| 411 | PyPI | ||
| 412 | (https://docs.aws.amazon.com/codeartifact/latest/ug/using-python.html), | ||
| 413 | and Maven | ||
| 414 | (https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven) | ||
| 415 | package formats. | ||
| 416 | |||
| 417 | In CodeArtifact, a package consists of: | ||
| 418 | |||
| 419 | =over | ||
| 420 | |||
| 421 | =item * | ||
| 422 | |||
| 423 | A I<name> (for example, C<webpack> is the name of a popular npm | ||
| 424 | package) | ||
| 425 | |||
| 426 | =item * | ||
| 427 | |||
| 428 | An optional namespace (for example, C<@types> in C<@types/node>) | ||
| 429 | |||
| 430 | =item * | ||
| 431 | |||
| 432 | A set of versions (for example, C<1.0.0>, C<1.0.1>, C<1.0.2>, etc.) | ||
| 433 | |||
| 434 | =item * | ||
| 435 | |||
| 436 | Package-level metadata (for example, npm tags) | ||
| 437 | |||
| 438 | =back | ||
| 439 | |||
| 440 | =item * | ||
| 441 | |||
| 442 | B<Package version>: A version of a package, such as C<@types/node | ||
| 443 | 12.6.9>. The version number format and semantics vary for different | ||
| 444 | package formats. For example, npm package versions must conform to the | ||
| 445 | Semantic Versioning specification (https://semver.org/). In | ||
| 446 | CodeArtifact, a package version consists of the version identifier, | ||
| 447 | metadata at the package version level, and a set of assets. | ||
| 448 | |||
| 449 | =item * | ||
| 450 | |||
| 451 | B<Upstream repository>: One repository is I<upstream> of another when | ||
| 452 | the package versions in it can be accessed from the repository endpoint | ||
| 453 | of the downstream repository, effectively merging the contents of the | ||
| 454 | two repositories from the point of view of a client. CodeArtifact | ||
| 455 | allows creating an upstream relationship between two repositories. | ||
| 456 | |||
| 457 | =item * | ||
| 458 | |||
| 459 | B<Asset>: An individual file stored in CodeArtifact associated with a | ||
| 460 | package version, such as an npm C<.tgz> file or Maven POM and JAR | ||
| 461 | files. | ||
| 462 | |||
| 463 | =back | ||
| 464 | |||
| 465 | CodeArtifact supports these operations: | ||
| 466 | |||
| 467 | =over | ||
| 468 | |||
| 469 | =item * | ||
| 470 | |||
| 471 | C<AssociateExternalConnection>: Adds an existing external connection to | ||
| 472 | a repository. | ||
| 473 | |||
| 474 | =item * | ||
| 475 | |||
| 476 | C<CopyPackageVersions>: Copies package versions from one repository to | ||
| 477 | another repository in the same domain. | ||
| 478 | |||
| 479 | =item * | ||
| 480 | |||
| 481 | C<CreateDomain>: Creates a domain | ||
| 482 | |||
| 483 | =item * | ||
| 484 | |||
| 485 | C<CreateRepository>: Creates a CodeArtifact repository in a domain. | ||
| 486 | |||
| 487 | =item * | ||
| 488 | |||
| 489 | C<DeleteDomain>: Deletes a domain. You cannot delete a domain that | ||
| 490 | contains repositories. | ||
| 491 | |||
| 492 | =item * | ||
| 493 | |||
| 494 | C<DeleteDomainPermissionsPolicy>: Deletes the resource policy that is | ||
| 495 | set on a domain. | ||
| 496 | |||
| 497 | =item * | ||
| 498 | |||
| 499 | C<DeletePackageVersions>: Deletes versions of a package. After a | ||
| 500 | package has been deleted, it can be republished, but its assets and | ||
| 501 | metadata cannot be restored because they have been permanently removed | ||
| 502 | from storage. | ||
| 503 | |||
| 504 | =item * | ||
| 505 | |||
| 506 | C<DeleteRepository>: Deletes a repository. | ||
| 507 | |||
| 508 | =item * | ||
| 509 | |||
| 510 | C<DeleteRepositoryPermissionsPolicy>: Deletes the resource policy that | ||
| 511 | is set on a repository. | ||
| 512 | |||
| 513 | =item * | ||
| 514 | |||
| 515 | C<DescribeDomain>: Returns a C<DomainDescription> object that contains | ||
| 516 | information about the requested domain. | ||
| 517 | |||
| 518 | =item * | ||
| 519 | |||
| 520 | C<DescribePackageVersion>: Returns a PackageVersionDescription | ||
| 521 | (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html) | ||
| 522 | object that contains details about a package version. | ||
| 523 | |||
| 524 | =item * | ||
| 525 | |||
| 526 | C<DescribeRepository>: Returns a C<RepositoryDescription> object that | ||
| 527 | contains detailed information about the requested repository. | ||
| 528 | |||
| 529 | =item * | ||
| 530 | |||
| 531 | C<DisposePackageVersions>: Disposes versions of a package. A package | ||
| 532 | version with the status C<Disposed> cannot be restored because they | ||
| 533 | have been permanently removed from storage. | ||
| 534 | |||
| 535 | =item * | ||
| 536 | |||
| 537 | C<DisassociateExternalConnection>: Removes an existing external | ||
| 538 | connection from a repository. | ||
| 539 | |||
| 540 | =item * | ||
| 541 | |||
| 542 | C<GetAuthorizationToken>: Generates a temporary authorization token for | ||
| 543 | accessing repositories in the domain. The token expires the | ||
| 544 | authorization period has passed. The default authorization period is 12 | ||
| 545 | hours and can be customized to any length with a maximum of 12 hours. | ||
| 546 | |||
| 547 | =item * | ||
| 548 | |||
| 549 | C<GetDomainPermissionsPolicy>: Returns the policy of a resource that is | ||
| 550 | attached to the specified domain. | ||
| 551 | |||
| 552 | =item * | ||
| 553 | |||
| 554 | C<GetPackageVersionAsset>: Returns the contents of an asset that is in | ||
| 555 | a package version. | ||
| 556 | |||
| 557 | =item * | ||
| 558 | |||
| 559 | C<GetPackageVersionReadme>: Gets the readme file or descriptive text | ||
| 560 | for a package version. | ||
| 561 | |||
| 562 | =item * | ||
| 563 | |||
| 564 | C<GetRepositoryEndpoint>: Returns the endpoint of a repository for a | ||
| 565 | specific package format. A repository has one endpoint for each package | ||
| 566 | format: | ||
| 567 | |||
| 568 | =over | ||
| 569 | |||
| 570 | =item * | ||
| 571 | |||
| 572 | C<npm> | ||
| 573 | |||
| 574 | =item * | ||
| 575 | |||
| 576 | C<pypi> | ||
| 577 | |||
| 578 | =item * | ||
| 579 | |||
| 580 | C<maven> | ||
| 581 | |||
| 582 | =back | ||
| 583 | |||
| 584 | =item * | ||
| 585 | |||
| 586 | C<GetRepositoryPermissionsPolicy>: Returns the resource policy that is | ||
| 587 | set on a repository. | ||
| 588 | |||
| 589 | =item * | ||
| 590 | |||
| 591 | C<ListDomains>: Returns a list of C<DomainSummary> objects. Each | ||
| 592 | returned C<DomainSummary> object contains information about a domain. | ||
| 593 | |||
| 594 | =item * | ||
| 595 | |||
| 596 | C<ListPackages>: Lists the packages in a repository. | ||
| 597 | |||
| 598 | =item * | ||
| 599 | |||
| 600 | C<ListPackageVersionAssets>: Lists the assets for a given package | ||
| 601 | version. | ||
| 602 | |||
| 603 | =item * | ||
| 604 | |||
| 605 | C<ListPackageVersionDependencies>: Returns a list of the direct | ||
| 606 | dependencies for a package version. | ||
| 607 | |||
| 608 | =item * | ||
| 609 | |||
| 610 | C<ListPackageVersions>: Returns a list of package versions for a | ||
| 611 | specified package in a repository. | ||
| 612 | |||
| 613 | =item * | ||
| 614 | |||
| 615 | C<ListRepositories>: Returns a list of repositories owned by the AWS | ||
| 616 | account that called this method. | ||
| 617 | |||
| 618 | =item * | ||
| 619 | |||
| 620 | C<ListRepositoriesInDomain>: Returns a list of the repositories in a | ||
| 621 | domain. | ||
| 622 | |||
| 623 | =item * | ||
| 624 | |||
| 625 | C<PutDomainPermissionsPolicy>: Attaches a resource policy to a domain. | ||
| 626 | |||
| 627 | =item * | ||
| 628 | |||
| 629 | C<PutRepositoryPermissionsPolicy>: Sets the resource policy on a | ||
| 630 | repository that specifies permissions to access it. | ||
| 631 | |||
| 632 | =item * | ||
| 633 | |||
| 634 | C<UpdatePackageVersionsStatus>: Updates the status of one or more | ||
| 635 | versions of a package. | ||
| 636 | |||
| 637 | =item * | ||
| 638 | |||
| 639 | C<UpdateRepository>: Updates the properties of a repository. | ||
| 640 | |||
| 641 | =back | ||
| 642 | |||
| 643 | |||
| 644 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22> | ||
| 645 | |||
| 646 | |||
| 647 | =head1 METHODS | ||
| 648 | |||
| 649 | =head2 AssociateExternalConnection | ||
| 650 | |||
| 651 | =over | ||
| 652 | |||
| 653 | =item Domain => Str | ||
| 654 | |||
| 655 | =item ExternalConnection => Str | ||
| 656 | |||
| 657 | =item Repository => Str | ||
| 658 | |||
| 659 | =item [DomainOwner => Str] | ||
| 660 | |||
| 661 | |||
| 662 | =back | ||
| 663 | |||
| 664 | Each argument is described in detail in: L<Paws::CodeArtifact::AssociateExternalConnection> | ||
| 665 | |||
| 666 | Returns: a L<Paws::CodeArtifact::AssociateExternalConnectionResult> instance | ||
| 667 | |||
| 668 | Adds an existing external connection to a repository. One external | ||
| 669 | connection is allowed per repository. | ||
| 670 | |||
| 671 | A repository can have one or more upstream repositories, or an external | ||
| 672 | connection. | ||
| 673 | |||
| 674 | |||
| 675 | =head2 CopyPackageVersions | ||
| 676 | |||
| 677 | =over | ||
| 678 | |||
| 679 | =item DestinationRepository => Str | ||
| 680 | |||
| 681 | =item Domain => Str | ||
| 682 | |||
| 683 | =item Format => Str | ||
| 684 | |||
| 685 | =item Package => Str | ||
| 686 | |||
| 687 | =item SourceRepository => Str | ||
| 688 | |||
| 689 | =item [AllowOverwrite => Bool] | ||
| 690 | |||
| 691 | =item [DomainOwner => Str] | ||
| 692 | |||
| 693 | =item [IncludeFromUpstream => Bool] | ||
| 694 | |||
| 695 | =item [Namespace => Str] | ||
| 696 | |||
| 697 | =item [VersionRevisions => L<Paws::CodeArtifact::PackageVersionRevisionMap>] | ||
| 698 | |||
| 699 | =item [Versions => ArrayRef[Str|Undef]] | ||
| 700 | |||
| 701 | |||
| 702 | =back | ||
| 703 | |||
| 704 | Each argument is described in detail in: L<Paws::CodeArtifact::CopyPackageVersions> | ||
| 705 | |||
| 706 | Returns: a L<Paws::CodeArtifact::CopyPackageVersionsResult> instance | ||
| 707 | |||
| 708 | Copies package versions from one repository to another repository in | ||
| 709 | the same domain. | ||
| 710 | |||
| 711 | You must specify C<versions> or C<versionRevisions>. You cannot specify | ||
| 712 | both. | ||
| 713 | |||
| 714 | |||
| 715 | =head2 CreateDomain | ||
| 716 | |||
| 717 | =over | ||
| 718 | |||
| 719 | =item Domain => Str | ||
| 720 | |||
| 721 | =item [EncryptionKey => Str] | ||
| 722 | |||
| 723 | =item [Tags => ArrayRef[L<Paws::CodeArtifact::Tag>]] | ||
| 724 | |||
| 725 | |||
| 726 | =back | ||
| 727 | |||
| 728 | Each argument is described in detail in: L<Paws::CodeArtifact::CreateDomain> | ||
| 729 | |||
| 730 | Returns: a L<Paws::CodeArtifact::CreateDomainResult> instance | ||
| 731 | |||
| 732 | Creates a domain. CodeArtifact I<domains> make it easier to manage | ||
| 733 | multiple repositories across an organization. You can use a domain to | ||
| 734 | apply permissions across many repositories owned by different AWS | ||
| 735 | accounts. An asset is stored only once in a domain, even if it's in | ||
| 736 | multiple repositories. | ||
| 737 | |||
| 738 | Although you can have multiple domains, we recommend a single | ||
| 739 | production domain that contains all published artifacts so that your | ||
| 740 | development teams can find and share packages. You can use a second | ||
| 741 | pre-production domain to test changes to the production domain | ||
| 742 | configuration. | ||
| 743 | |||
| 744 | |||
| 745 | =head2 CreateRepository | ||
| 746 | |||
| 747 | =over | ||
| 748 | |||
| 749 | =item Domain => Str | ||
| 750 | |||
| 751 | =item Repository => Str | ||
| 752 | |||
| 753 | =item [Description => Str] | ||
| 754 | |||
| 755 | =item [DomainOwner => Str] | ||
| 756 | |||
| 757 | =item [Tags => ArrayRef[L<Paws::CodeArtifact::Tag>]] | ||
| 758 | |||
| 759 | =item [Upstreams => ArrayRef[L<Paws::CodeArtifact::UpstreamRepository>]] | ||
| 760 | |||
| 761 | |||
| 762 | =back | ||
| 763 | |||
| 764 | Each argument is described in detail in: L<Paws::CodeArtifact::CreateRepository> | ||
| 765 | |||
| 766 | Returns: a L<Paws::CodeArtifact::CreateRepositoryResult> instance | ||
| 767 | |||
| 768 | Creates a repository. | ||
| 769 | |||
| 770 | |||
| 771 | =head2 DeleteDomain | ||
| 772 | |||
| 773 | =over | ||
| 774 | |||
| 775 | =item Domain => Str | ||
| 776 | |||
| 777 | =item [DomainOwner => Str] | ||
| 778 | |||
| 779 | |||
| 780 | =back | ||
| 781 | |||
| 782 | Each argument is described in detail in: L<Paws::CodeArtifact::DeleteDomain> | ||
| 783 | |||
| 784 | Returns: a L<Paws::CodeArtifact::DeleteDomainResult> instance | ||
| 785 | |||
| 786 | Deletes a domain. You cannot delete a domain that contains | ||
| 787 | repositories. If you want to delete a domain with repositories, first | ||
| 788 | delete its repositories. | ||
| 789 | |||
| 790 | |||
| 791 | =head2 DeleteDomainPermissionsPolicy | ||
| 792 | |||
| 793 | =over | ||
| 794 | |||
| 795 | =item Domain => Str | ||
| 796 | |||
| 797 | =item [DomainOwner => Str] | ||
| 798 | |||
| 799 | =item [PolicyRevision => Str] | ||
| 800 | |||
| 801 | |||
| 802 | =back | ||
| 803 | |||
| 804 | Each argument is described in detail in: L<Paws::CodeArtifact::DeleteDomainPermissionsPolicy> | ||
| 805 | |||
| 806 | Returns: a L<Paws::CodeArtifact::DeleteDomainPermissionsPolicyResult> instance | ||
| 807 | |||
| 808 | Deletes the resource policy set on a domain. | ||
| 809 | |||
| 810 | |||
| 811 | =head2 DeletePackageVersions | ||
| 812 | |||
| 813 | =over | ||
| 814 | |||
| 815 | =item Domain => Str | ||
| 816 | |||
| 817 | =item Format => Str | ||
| 818 | |||
| 819 | =item Package => Str | ||
| 820 | |||
| 821 | =item Repository => Str | ||
| 822 | |||
| 823 | =item Versions => ArrayRef[Str|Undef] | ||
| 824 | |||
| 825 | =item [DomainOwner => Str] | ||
| 826 | |||
| 827 | =item [ExpectedStatus => Str] | ||
| 828 | |||
| 829 | =item [Namespace => Str] | ||
| 830 | |||
| 831 | |||
| 832 | =back | ||
| 833 | |||
| 834 | Each argument is described in detail in: L<Paws::CodeArtifact::DeletePackageVersions> | ||
| 835 | |||
| 836 | Returns: a L<Paws::CodeArtifact::DeletePackageVersionsResult> instance | ||
| 837 | |||
| 838 | Deletes one or more versions of a package. A deleted package version | ||
| 839 | cannot be restored in your repository. If you want to remove a package | ||
| 840 | version from your repository and be able to restore it later, set its | ||
| 841 | status to C<Archived>. Archived packages cannot be downloaded from a | ||
| 842 | repository and don't show up with list package APIs (for example, | ||
| 843 | ListackageVersions | ||
| 844 | (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html)), | ||
| 845 | but you can restore them using UpdatePackageVersionsStatus | ||
| 846 | (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageVersionsStatus.html). | ||
| 847 | |||
| 848 | |||
| 849 | =head2 DeleteRepository | ||
| 850 | |||
| 851 | =over | ||
| 852 | |||
| 853 | =item Domain => Str | ||
| 854 | |||
| 855 | =item Repository => Str | ||
| 856 | |||
| 857 | =item [DomainOwner => Str] | ||
| 858 | |||
| 859 | |||
| 860 | =back | ||
| 861 | |||
| 862 | Each argument is described in detail in: L<Paws::CodeArtifact::DeleteRepository> | ||
| 863 | |||
| 864 | Returns: a L<Paws::CodeArtifact::DeleteRepositoryResult> instance | ||
| 865 | |||
| 866 | Deletes a repository. | ||
| 867 | |||
| 868 | |||
| 869 | =head2 DeleteRepositoryPermissionsPolicy | ||
| 870 | |||
| 871 | =over | ||
| 872 | |||
| 873 | =item Domain => Str | ||
| 874 | |||
| 875 | =item Repository => Str | ||
| 876 | |||
| 877 | =item [DomainOwner => Str] | ||
| 878 | |||
| 879 | =item [PolicyRevision => Str] | ||
| 880 | |||
| 881 | |||
| 882 | =back | ||
| 883 | |||
| 884 | Each argument is described in detail in: L<Paws::CodeArtifact::DeleteRepositoryPermissionsPolicy> | ||
| 885 | |||
| 886 | Returns: a L<Paws::CodeArtifact::DeleteRepositoryPermissionsPolicyResult> instance | ||
| 887 | |||
| 888 | Deletes the resource policy that is set on a repository. After a | ||
| 889 | resource policy is deleted, the permissions allowed and denied by the | ||
| 890 | deleted policy are removed. The effect of deleting a resource policy | ||
| 891 | might not be immediate. | ||
| 892 | |||
| 893 | Use C<DeleteRepositoryPermissionsPolicy> with caution. After a policy | ||
| 894 | is deleted, AWS users, roles, and accounts lose permissions to perform | ||
| 895 | the repository actions granted by the deleted policy. | ||
| 896 | |||
| 897 | |||
| 898 | =head2 DescribeDomain | ||
| 899 | |||
| 900 | =over | ||
| 901 | |||
| 902 | =item Domain => Str | ||
| 903 | |||
| 904 | =item [DomainOwner => Str] | ||
| 905 | |||
| 906 | |||
| 907 | =back | ||
| 908 | |||
| 909 | Each argument is described in detail in: L<Paws::CodeArtifact::DescribeDomain> | ||
| 910 | |||
| 911 | Returns: a L<Paws::CodeArtifact::DescribeDomainResult> instance | ||
| 912 | |||
| 913 | Returns a DomainDescription | ||
| 914 | (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DomainDescription.html) | ||
| 915 | object that contains information about the requested domain. | ||
| 916 | |||
| 917 | |||
| 918 | =head2 DescribePackageVersion | ||
| 919 | |||
| 920 | =over | ||
| 921 | |||
| 922 | =item Domain => Str | ||
| 923 | |||
| 924 | =item Format => Str | ||
| 925 | |||
| 926 | =item Package => Str | ||
| 927 | |||
| 928 | =item PackageVersion => Str | ||
| 929 | |||
| 930 | =item Repository => Str | ||
| 931 | |||
| 932 | =item [DomainOwner => Str] | ||
| 933 | |||
| 934 | =item [Namespace => Str] | ||
| 935 | |||
| 936 | |||
| 937 | =back | ||
| 938 | |||
| 939 | Each argument is described in detail in: L<Paws::CodeArtifact::DescribePackageVersion> | ||
| 940 | |||
| 941 | Returns: a L<Paws::CodeArtifact::DescribePackageVersionResult> instance | ||
| 942 | |||
| 943 | Returns a PackageVersionDescription | ||
| 944 | (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html) | ||
| 945 | object that contains information about the requested package version. | ||
| 946 | |||
| 947 | |||
| 948 | =head2 DescribeRepository | ||
| 949 | |||
| 950 | =over | ||
| 951 | |||
| 952 | =item Domain => Str | ||
| 953 | |||
| 954 | =item Repository => Str | ||
| 955 | |||
| 956 | =item [DomainOwner => Str] | ||
| 957 | |||
| 958 | |||
| 959 | =back | ||
| 960 | |||
| 961 | Each argument is described in detail in: L<Paws::CodeArtifact::DescribeRepository> | ||
| 962 | |||
| 963 | Returns: a L<Paws::CodeArtifact::DescribeRepositoryResult> instance | ||
| 964 | |||
| 965 | Returns a C<RepositoryDescription> object that contains detailed | ||
| 966 | information about the requested repository. | ||
| 967 | |||
| 968 | |||
| 969 | =head2 DisassociateExternalConnection | ||
| 970 | |||
| 971 | =over | ||
| 972 | |||
| 973 | =item Domain => Str | ||
| 974 | |||
| 975 | =item ExternalConnection => Str | ||
| 976 | |||
| 977 | =item Repository => Str | ||
| 978 | |||
| 979 | =item [DomainOwner => Str] | ||
| 980 | |||
| 981 | |||
| 982 | =back | ||
| 983 | |||
| 984 | Each argument is described in detail in: L<Paws::CodeArtifact::DisassociateExternalConnection> | ||
| 985 | |||
| 986 | Returns: a L<Paws::CodeArtifact::DisassociateExternalConnectionResult> instance | ||
| 987 | |||
| 988 | Removes an existing external connection from a repository. | ||
| 989 | |||
| 990 | |||
| 991 | =head2 DisposePackageVersions | ||
| 992 | |||
| 993 | =over | ||
| 994 | |||
| 995 | =item Domain => Str | ||
| 996 | |||
| 997 | =item Format => Str | ||
| 998 | |||
| 999 | =item Package => Str | ||
| 1000 | |||
| 1001 | =item Repository => Str | ||
| 1002 | |||
| 1003 | =item Versions => ArrayRef[Str|Undef] | ||
| 1004 | |||
| 1005 | =item [DomainOwner => Str] | ||
| 1006 | |||
| 1007 | =item [ExpectedStatus => Str] | ||
| 1008 | |||
| 1009 | =item [Namespace => Str] | ||
| 1010 | |||
| 1011 | =item [VersionRevisions => L<Paws::CodeArtifact::PackageVersionRevisionMap>] | ||
| 1012 | |||
| 1013 | |||
| 1014 | =back | ||
| 1015 | |||
| 1016 | Each argument is described in detail in: L<Paws::CodeArtifact::DisposePackageVersions> | ||
| 1017 | |||
| 1018 | Returns: a L<Paws::CodeArtifact::DisposePackageVersionsResult> instance | ||
| 1019 | |||
| 1020 | Deletes the assets in package versions and sets the package versions' | ||
| 1021 | status to C<Disposed>. A disposed package version cannot be restored in | ||
| 1022 | your repository because its assets are deleted. | ||
| 1023 | |||
| 1024 | To view all disposed package versions in a repository, use | ||
| 1025 | ListPackageVersions | ||
| 1026 | (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html) | ||
| 1027 | and set the status | ||
| 1028 | (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html#API_ListPackageVersions_RequestSyntax) | ||
| 1029 | parameter to C<Disposed>. | ||
| 1030 | |||
| 1031 | To view information about a disposed package version, use | ||
| 1032 | DescribePackageVersion | ||
| 1033 | (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DescribePackageVersion.html). | ||
| 1034 | |||
| 1035 | |||
| 1036 | =head2 GetAuthorizationToken | ||
| 1037 | |||
| 1038 | =over | ||
| 1039 | |||
| 1040 | =item Domain => Str | ||
| 1041 | |||
| 1042 | =item [DomainOwner => Str] | ||
| 1043 | |||
| 1044 | =item [DurationSeconds => Int] | ||
| 1045 | |||
| 1046 | |||
| 1047 | =back | ||
| 1048 | |||
| 1049 | Each argument is described in detail in: L<Paws::CodeArtifact::GetAuthorizationToken> | ||
| 1050 | |||
| 1051 | Returns: a L<Paws::CodeArtifact::GetAuthorizationTokenResult> instance | ||
| 1052 | |||
| 1053 | Generates a temporary authorization token for accessing repositories in | ||
| 1054 | the domain. This API requires the C<codeartifact:GetAuthorizationToken> | ||
| 1055 | and C<sts:GetServiceBearerToken> permissions. For more information | ||
| 1056 | about authorization tokens, see AWS CodeArtifact authentication and | ||
| 1057 | tokens | ||
| 1058 | (https://docs.aws.amazon.com/codeartifact/latest/ug/tokens-authentication.html). | ||
| 1059 | |||
| 1060 | CodeArtifact authorization tokens are valid for a period of 12 hours | ||
| 1061 | when created with the C<login> command. You can call C<login> | ||
| 1062 | periodically to refresh the token. When you create an authorization | ||
| 1063 | token with the C<GetAuthorizationToken> API, you can set a custom | ||
| 1064 | authorization period, up to a maximum of 12 hours, with the | ||
| 1065 | C<durationSeconds> parameter. | ||
| 1066 | |||
| 1067 | The authorization period begins after C<login> or | ||
| 1068 | C<GetAuthorizationToken> is called. If C<login> or | ||
| 1069 | C<GetAuthorizationToken> is called while assuming a role, the token | ||
| 1070 | lifetime is independent of the maximum session duration of the role. | ||
| 1071 | For example, if you call C<sts assume-role> and specify a session | ||
| 1072 | duration of 15 minutes, then generate a CodeArtifact authorization | ||
| 1073 | token, the token will be valid for the full authorization period even | ||
| 1074 | though this is longer than the 15-minute session duration. | ||
| 1075 | |||
| 1076 | See Using IAM Roles | ||
| 1077 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html) | ||
| 1078 | for more information on controlling session duration. | ||
| 1079 | |||
| 1080 | |||
| 1081 | =head2 GetDomainPermissionsPolicy | ||
| 1082 | |||
| 1083 | =over | ||
| 1084 | |||
| 1085 | =item Domain => Str | ||
| 1086 | |||
| 1087 | =item [DomainOwner => Str] | ||
| 1088 | |||
| 1089 | |||
| 1090 | =back | ||
| 1091 | |||
| 1092 | Each argument is described in detail in: L<Paws::CodeArtifact::GetDomainPermissionsPolicy> | ||
| 1093 | |||
| 1094 | Returns: a L<Paws::CodeArtifact::GetDomainPermissionsPolicyResult> instance | ||
| 1095 | |||
| 1096 | Returns the resource policy attached to the specified domain. | ||
| 1097 | |||
| 1098 | The policy is a resource-based policy, not an identity-based policy. | ||
| 1099 | For more information, see Identity-based policies and resource-based | ||
| 1100 | policies | ||
| 1101 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html) | ||
| 1102 | in the I<AWS Identity and Access Management User Guide>. | ||
| 1103 | |||
| 1104 | |||
| 1105 | =head2 GetPackageVersionAsset | ||
| 1106 | |||
| 1107 | =over | ||
| 1108 | |||
| 1109 | =item Asset => Str | ||
| 1110 | |||
| 1111 | =item Domain => Str | ||
| 1112 | |||
| 1113 | =item Format => Str | ||
| 1114 | |||
| 1115 | =item Package => Str | ||
| 1116 | |||
| 1117 | =item PackageVersion => Str | ||
| 1118 | |||
| 1119 | =item Repository => Str | ||
| 1120 | |||
| 1121 | =item [DomainOwner => Str] | ||
| 1122 | |||
| 1123 | =item [Namespace => Str] | ||
| 1124 | |||
| 1125 | =item [PackageVersionRevision => Str] | ||
| 1126 | |||
| 1127 | |||
| 1128 | =back | ||
| 1129 | |||
| 1130 | Each argument is described in detail in: L<Paws::CodeArtifact::GetPackageVersionAsset> | ||
| 1131 | |||
| 1132 | Returns: a L<Paws::CodeArtifact::GetPackageVersionAssetResult> instance | ||
| 1133 | |||
| 1134 | Returns an asset (or file) that is in a package. For example, for a | ||
| 1135 | Maven package version, use C<GetPackageVersionAsset> to download a | ||
| 1136 | C<JAR> file, a C<POM> file, or any other assets in the package version. | ||
| 1137 | |||
| 1138 | |||
| 1139 | =head2 GetPackageVersionReadme | ||
| 1140 | |||
| 1141 | =over | ||
| 1142 | |||
| 1143 | =item Domain => Str | ||
| 1144 | |||
| 1145 | =item Format => Str | ||
| 1146 | |||
| 1147 | =item Package => Str | ||
| 1148 | |||
| 1149 | =item PackageVersion => Str | ||
| 1150 | |||
| 1151 | =item Repository => Str | ||
| 1152 | |||
| 1153 | =item [DomainOwner => Str] | ||
| 1154 | |||
| 1155 | =item [Namespace => Str] | ||
| 1156 | |||
| 1157 | |||
| 1158 | =back | ||
| 1159 | |||
| 1160 | Each argument is described in detail in: L<Paws::CodeArtifact::GetPackageVersionReadme> | ||
| 1161 | |||
| 1162 | Returns: a L<Paws::CodeArtifact::GetPackageVersionReadmeResult> instance | ||
| 1163 | |||
| 1164 | Gets the readme file or descriptive text for a package version. For | ||
| 1165 | packages that do not contain a readme file, CodeArtifact extracts a | ||
| 1166 | description from a metadata file. For example, from the | ||
| 1167 | C<E<lt>descriptionE<gt>> element in the C<pom.xml> file of a Maven | ||
| 1168 | package. | ||
| 1169 | |||
| 1170 | The returned text might contain formatting. For example, it might | ||
| 1171 | contain formatting for Markdown or reStructuredText. | ||
| 1172 | |||
| 1173 | |||
| 1174 | =head2 GetRepositoryEndpoint | ||
| 1175 | |||
| 1176 | =over | ||
| 1177 | |||
| 1178 | =item Domain => Str | ||
| 1179 | |||
| 1180 | =item Format => Str | ||
| 1181 | |||
| 1182 | =item Repository => Str | ||
| 1183 | |||
| 1184 | =item [DomainOwner => Str] | ||
| 1185 | |||
| 1186 | |||
| 1187 | =back | ||
| 1188 | |||
| 1189 | Each argument is described in detail in: L<Paws::CodeArtifact::GetRepositoryEndpoint> | ||
| 1190 | |||
| 1191 | Returns: a L<Paws::CodeArtifact::GetRepositoryEndpointResult> instance | ||
| 1192 | |||
| 1193 | Returns the endpoint of a repository for a specific package format. A | ||
| 1194 | repository has one endpoint for each package format: | ||
| 1195 | |||
| 1196 | =over | ||
| 1197 | |||
| 1198 | =item * | ||
| 1199 | |||
| 1200 | C<npm> | ||
| 1201 | |||
| 1202 | =item * | ||
| 1203 | |||
| 1204 | C<pypi> | ||
| 1205 | |||
| 1206 | =item * | ||
| 1207 | |||
| 1208 | C<maven> | ||
| 1209 | |||
| 1210 | =back | ||
| 1211 | |||
| 1212 | |||
| 1213 | |||
| 1214 | =head2 GetRepositoryPermissionsPolicy | ||
| 1215 | |||
| 1216 | =over | ||
| 1217 | |||
| 1218 | =item Domain => Str | ||
| 1219 | |||
| 1220 | =item Repository => Str | ||
| 1221 | |||
| 1222 | =item [DomainOwner => Str] | ||
| 1223 | |||
| 1224 | |||
| 1225 | =back | ||
| 1226 | |||
| 1227 | Each argument is described in detail in: L<Paws::CodeArtifact::GetRepositoryPermissionsPolicy> | ||
| 1228 | |||
| 1229 | Returns: a L<Paws::CodeArtifact::GetRepositoryPermissionsPolicyResult> instance | ||
| 1230 | |||
| 1231 | Returns the resource policy that is set on a repository. | ||
| 1232 | |||
| 1233 | |||
| 1234 | =head2 ListDomains | ||
| 1235 | |||
| 1236 | =over | ||
| 1237 | |||
| 1238 | =item [MaxResults => Int] | ||
| 1239 | |||
| 1240 | =item [NextToken => Str] | ||
| 1241 | |||
| 1242 | |||
| 1243 | =back | ||
| 1244 | |||
| 1245 | Each argument is described in detail in: L<Paws::CodeArtifact::ListDomains> | ||
| 1246 | |||
| 1247 | Returns: a L<Paws::CodeArtifact::ListDomainsResult> instance | ||
| 1248 | |||
| 1249 | Returns a list of DomainSummary | ||
| 1250 | (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html) | ||
| 1251 | objects for all domains owned by the AWS account that makes this call. | ||
| 1252 | Each returned C<DomainSummary> object contains information about a | ||
| 1253 | domain. | ||
| 1254 | |||
| 1255 | |||
| 1256 | =head2 ListPackages | ||
| 1257 | |||
| 1258 | =over | ||
| 1259 | |||
| 1260 | =item Domain => Str | ||
| 1261 | |||
| 1262 | =item Repository => Str | ||
| 1263 | |||
| 1264 | =item [DomainOwner => Str] | ||
| 1265 | |||
| 1266 | =item [Format => Str] | ||
| 1267 | |||
| 1268 | =item [MaxResults => Int] | ||
| 1269 | |||
| 1270 | =item [Namespace => Str] | ||
| 1271 | |||
| 1272 | =item [NextToken => Str] | ||
| 1273 | |||
| 1274 | =item [PackagePrefix => Str] | ||
| 1275 | |||
| 1276 | |||
| 1277 | =back | ||
| 1278 | |||
| 1279 | Each argument is described in detail in: L<Paws::CodeArtifact::ListPackages> | ||
| 1280 | |||
| 1281 | Returns: a L<Paws::CodeArtifact::ListPackagesResult> instance | ||
| 1282 | |||
| 1283 | Returns a list of PackageSummary | ||
| 1284 | (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageSummary.html) | ||
| 1285 | objects for packages in a repository that match the request parameters. | ||
| 1286 | |||
| 1287 | |||
| 1288 | =head2 ListPackageVersionAssets | ||
| 1289 | |||
| 1290 | =over | ||
| 1291 | |||
| 1292 | =item Domain => Str | ||
| 1293 | |||
| 1294 | =item Format => Str | ||
| 1295 | |||
| 1296 | =item Package => Str | ||
| 1297 | |||
| 1298 | =item PackageVersion => Str | ||
| 1299 | |||
| 1300 | =item Repository => Str | ||
| 1301 | |||
| 1302 | =item [DomainOwner => Str] | ||
| 1303 | |||
| 1304 | =item [MaxResults => Int] | ||
| 1305 | |||
| 1306 | =item [Namespace => Str] | ||
| 1307 | |||
| 1308 | =item [NextToken => Str] | ||
| 1309 | |||
| 1310 | |||
| 1311 | =back | ||
| 1312 | |||
| 1313 | Each argument is described in detail in: L<Paws::CodeArtifact::ListPackageVersionAssets> | ||
| 1314 | |||
| 1315 | Returns: a L<Paws::CodeArtifact::ListPackageVersionAssetsResult> instance | ||
| 1316 | |||
| 1317 | Returns a list of AssetSummary | ||
| 1318 | (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_AssetSummary.html) | ||
| 1319 | objects for assets in a package version. | ||
| 1320 | |||
| 1321 | |||
| 1322 | =head2 ListPackageVersionDependencies | ||
| 1323 | |||
| 1324 | =over | ||
| 1325 | |||
| 1326 | =item Domain => Str | ||
| 1327 | |||
| 1328 | =item Format => Str | ||
| 1329 | |||
| 1330 | =item Package => Str | ||
| 1331 | |||
| 1332 | =item PackageVersion => Str | ||
| 1333 | |||
| 1334 | =item Repository => Str | ||
| 1335 | |||
| 1336 | =item [DomainOwner => Str] | ||
| 1337 | |||
| 1338 | =item [Namespace => Str] | ||
| 1339 | |||
| 1340 | =item [NextToken => Str] | ||
| 1341 | |||
| 1342 | |||
| 1343 | =back | ||
| 1344 | |||
| 1345 | Each argument is described in detail in: L<Paws::CodeArtifact::ListPackageVersionDependencies> | ||
| 1346 | |||
| 1347 | Returns: a L<Paws::CodeArtifact::ListPackageVersionDependenciesResult> instance | ||
| 1348 | |||
| 1349 | Returns the direct dependencies for a package version. The dependencies | ||
| 1350 | are returned as PackageDependency | ||
| 1351 | (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDependency.html) | ||
| 1352 | objects. CodeArtifact extracts the dependencies for a package version | ||
| 1353 | from the metadata file for the package format (for example, the | ||
| 1354 | C<package.json> file for npm packages and the C<pom.xml> file for | ||
| 1355 | Maven). Any package version dependencies that are not listed in the | ||
| 1356 | configuration file are not returned. | ||
| 1357 | |||
| 1358 | |||
| 1359 | =head2 ListPackageVersions | ||
| 1360 | |||
| 1361 | =over | ||
| 1362 | |||
| 1363 | =item Domain => Str | ||
| 1364 | |||
| 1365 | =item Format => Str | ||
| 1366 | |||
| 1367 | =item Package => Str | ||
| 1368 | |||
| 1369 | =item Repository => Str | ||
| 1370 | |||
| 1371 | =item [DomainOwner => Str] | ||
| 1372 | |||
| 1373 | =item [MaxResults => Int] | ||
| 1374 | |||
| 1375 | =item [Namespace => Str] | ||
| 1376 | |||
| 1377 | =item [NextToken => Str] | ||
| 1378 | |||
| 1379 | =item [SortBy => Str] | ||
| 1380 | |||
| 1381 | =item [Status => Str] | ||
| 1382 | |||
| 1383 | |||
| 1384 | =back | ||
| 1385 | |||
| 1386 | Each argument is described in detail in: L<Paws::CodeArtifact::ListPackageVersions> | ||
| 1387 | |||
| 1388 | Returns: a L<Paws::CodeArtifact::ListPackageVersionsResult> instance | ||
| 1389 | |||
| 1390 | Returns a list of PackageVersionSummary | ||
| 1391 | (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionSummary.html) | ||
| 1392 | objects for package versions in a repository that match the request | ||
| 1393 | parameters. | ||
| 1394 | |||
| 1395 | |||
| 1396 | =head2 ListRepositories | ||
| 1397 | |||
| 1398 | =over | ||
| 1399 | |||
| 1400 | =item [MaxResults => Int] | ||
| 1401 | |||
| 1402 | =item [NextToken => Str] | ||
| 1403 | |||
| 1404 | =item [RepositoryPrefix => Str] | ||
| 1405 | |||
| 1406 | |||
| 1407 | =back | ||
| 1408 | |||
| 1409 | Each argument is described in detail in: L<Paws::CodeArtifact::ListRepositories> | ||
| 1410 | |||
| 1411 | Returns: a L<Paws::CodeArtifact::ListRepositoriesResult> instance | ||
| 1412 | |||
| 1413 | Returns a list of RepositorySummary | ||
| 1414 | (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_RepositorySummary.html) | ||
| 1415 | objects. Each C<RepositorySummary> contains information about a | ||
| 1416 | repository in the specified AWS account and that matches the input | ||
| 1417 | parameters. | ||
| 1418 | |||
| 1419 | |||
| 1420 | =head2 ListRepositoriesInDomain | ||
| 1421 | |||
| 1422 | =over | ||
| 1423 | |||
| 1424 | =item Domain => Str | ||
| 1425 | |||
| 1426 | =item [AdministratorAccount => Str] | ||
| 1427 | |||
| 1428 | =item [DomainOwner => Str] | ||
| 1429 | |||
| 1430 | =item [MaxResults => Int] | ||
| 1431 | |||
| 1432 | =item [NextToken => Str] | ||
| 1433 | |||
| 1434 | =item [RepositoryPrefix => Str] | ||
| 1435 | |||
| 1436 | |||
| 1437 | =back | ||
| 1438 | |||
| 1439 | Each argument is described in detail in: L<Paws::CodeArtifact::ListRepositoriesInDomain> | ||
| 1440 | |||
| 1441 | Returns: a L<Paws::CodeArtifact::ListRepositoriesInDomainResult> instance | ||
| 1442 | |||
| 1443 | Returns a list of RepositorySummary | ||
| 1444 | (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_RepositorySummary.html) | ||
| 1445 | objects. Each C<RepositorySummary> contains information about a | ||
| 1446 | repository in the specified domain and that matches the input | ||
| 1447 | parameters. | ||
| 1448 | |||
| 1449 | |||
| 1450 | =head2 ListTagsForResource | ||
| 1451 | |||
| 1452 | =over | ||
| 1453 | |||
| 1454 | =item ResourceArn => Str | ||
| 1455 | |||
| 1456 | |||
| 1457 | =back | ||
| 1458 | |||
| 1459 | Each argument is described in detail in: L<Paws::CodeArtifact::ListTagsForResource> | ||
| 1460 | |||
| 1461 | Returns: a L<Paws::CodeArtifact::ListTagsForResourceResult> instance | ||
| 1462 | |||
| 1463 | Gets information about AWS tags for a specified Amazon Resource Name | ||
| 1464 | (ARN) in AWS CodeArtifact. | ||
| 1465 | |||
| 1466 | |||
| 1467 | =head2 PutDomainPermissionsPolicy | ||
| 1468 | |||
| 1469 | =over | ||
| 1470 | |||
| 1471 | =item Domain => Str | ||
| 1472 | |||
| 1473 | =item PolicyDocument => Str | ||
| 1474 | |||
| 1475 | =item [DomainOwner => Str] | ||
| 1476 | |||
| 1477 | =item [PolicyRevision => Str] | ||
| 1478 | |||
| 1479 | |||
| 1480 | =back | ||
| 1481 | |||
| 1482 | Each argument is described in detail in: L<Paws::CodeArtifact::PutDomainPermissionsPolicy> | ||
| 1483 | |||
| 1484 | Returns: a L<Paws::CodeArtifact::PutDomainPermissionsPolicyResult> instance | ||
| 1485 | |||
| 1486 | Sets a resource policy on a domain that specifies permissions to access | ||
| 1487 | it. | ||
| 1488 | |||
| 1489 | When you call C<PutDomainPermissionsPolicy>, the resource policy on the | ||
| 1490 | domain is ignored when evaluting permissions. This ensures that the | ||
| 1491 | owner of a domain cannot lock themselves out of the domain, which would | ||
| 1492 | prevent them from being able to update the resource policy. | ||
| 1493 | |||
| 1494 | |||
| 1495 | =head2 PutRepositoryPermissionsPolicy | ||
| 1496 | |||
| 1497 | =over | ||
| 1498 | |||
| 1499 | =item Domain => Str | ||
| 1500 | |||
| 1501 | =item PolicyDocument => Str | ||
| 1502 | |||
| 1503 | =item Repository => Str | ||
| 1504 | |||
| 1505 | =item [DomainOwner => Str] | ||
| 1506 | |||
| 1507 | =item [PolicyRevision => Str] | ||
| 1508 | |||
| 1509 | |||
| 1510 | =back | ||
| 1511 | |||
| 1512 | Each argument is described in detail in: L<Paws::CodeArtifact::PutRepositoryPermissionsPolicy> | ||
| 1513 | |||
| 1514 | Returns: a L<Paws::CodeArtifact::PutRepositoryPermissionsPolicyResult> instance | ||
| 1515 | |||
| 1516 | Sets the resource policy on a repository that specifies permissions to | ||
| 1517 | access it. | ||
| 1518 | |||
| 1519 | When you call C<PutRepositoryPermissionsPolicy>, the resource policy on | ||
| 1520 | the repository is ignored when evaluting permissions. This ensures that | ||
| 1521 | the owner of a repository cannot lock themselves out of the repository, | ||
| 1522 | which would prevent them from being able to update the resource policy. | ||
| 1523 | |||
| 1524 | |||
| 1525 | =head2 TagResource | ||
| 1526 | |||
| 1527 | =over | ||
| 1528 | |||
| 1529 | =item ResourceArn => Str | ||
| 1530 | |||
| 1531 | =item Tags => ArrayRef[L<Paws::CodeArtifact::Tag>] | ||
| 1532 | |||
| 1533 | |||
| 1534 | =back | ||
| 1535 | |||
| 1536 | Each argument is described in detail in: L<Paws::CodeArtifact::TagResource> | ||
| 1537 | |||
| 1538 | Returns: a L<Paws::CodeArtifact::TagResourceResult> instance | ||
| 1539 | |||
| 1540 | Adds or updates tags for a resource in AWS CodeArtifact. | ||
| 1541 | |||
| 1542 | |||
| 1543 | =head2 UntagResource | ||
| 1544 | |||
| 1545 | =over | ||
| 1546 | |||
| 1547 | =item ResourceArn => Str | ||
| 1548 | |||
| 1549 | =item TagKeys => ArrayRef[Str|Undef] | ||
| 1550 | |||
| 1551 | |||
| 1552 | =back | ||
| 1553 | |||
| 1554 | Each argument is described in detail in: L<Paws::CodeArtifact::UntagResource> | ||
| 1555 | |||
| 1556 | Returns: a L<Paws::CodeArtifact::UntagResourceResult> instance | ||
| 1557 | |||
| 1558 | Removes tags from a resource in AWS CodeArtifact. | ||
| 1559 | |||
| 1560 | |||
| 1561 | =head2 UpdatePackageVersionsStatus | ||
| 1562 | |||
| 1563 | =over | ||
| 1564 | |||
| 1565 | =item Domain => Str | ||
| 1566 | |||
| 1567 | =item Format => Str | ||
| 1568 | |||
| 1569 | =item Package => Str | ||
| 1570 | |||
| 1571 | =item Repository => Str | ||
| 1572 | |||
| 1573 | =item TargetStatus => Str | ||
| 1574 | |||
| 1575 | =item Versions => ArrayRef[Str|Undef] | ||
| 1576 | |||
| 1577 | =item [DomainOwner => Str] | ||
| 1578 | |||
| 1579 | =item [ExpectedStatus => Str] | ||
| 1580 | |||
| 1581 | =item [Namespace => Str] | ||
| 1582 | |||
| 1583 | =item [VersionRevisions => L<Paws::CodeArtifact::PackageVersionRevisionMap>] | ||
| 1584 | |||
| 1585 | |||
| 1586 | =back | ||
| 1587 | |||
| 1588 | Each argument is described in detail in: L<Paws::CodeArtifact::UpdatePackageVersionsStatus> | ||
| 1589 | |||
| 1590 | Returns: a L<Paws::CodeArtifact::UpdatePackageVersionsStatusResult> instance | ||
| 1591 | |||
| 1592 | Updates the status of one or more versions of a package. | ||
| 1593 | |||
| 1594 | |||
| 1595 | =head2 UpdateRepository | ||
| 1596 | |||
| 1597 | =over | ||
| 1598 | |||
| 1599 | =item Domain => Str | ||
| 1600 | |||
| 1601 | =item Repository => Str | ||
| 1602 | |||
| 1603 | =item [Description => Str] | ||
| 1604 | |||
| 1605 | =item [DomainOwner => Str] | ||
| 1606 | |||
| 1607 | =item [Upstreams => ArrayRef[L<Paws::CodeArtifact::UpstreamRepository>]] | ||
| 1608 | |||
| 1609 | |||
| 1610 | =back | ||
| 1611 | |||
| 1612 | Each argument is described in detail in: L<Paws::CodeArtifact::UpdateRepository> | ||
| 1613 | |||
| 1614 | Returns: a L<Paws::CodeArtifact::UpdateRepositoryResult> instance | ||
| 1615 | |||
| 1616 | Update the properties of a repository. | ||
| 1617 | |||
| 1618 | |||
| 1619 | |||
| 1620 | |||
| 1621 | =head1 PAGINATORS | ||
| 1622 | |||
| 1623 | Paginator methods are helpers that repetively call methods that return partial results | ||
| 1624 | |||
| 1625 | =head2 ListAllDomains(sub { },[MaxResults => Int, NextToken => Str]) | ||
| 1626 | |||
| 1627 | =head2 ListAllDomains([MaxResults => Int, NextToken => Str]) | ||
| 1628 | |||
| 1629 | |||
| 1630 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1631 | |||
| 1632 | - domains, passing the object as the first parameter, and the string 'domains' as the second parameter | ||
| 1633 | |||
| 1634 | If not, it will return a a L<Paws::CodeArtifact::ListDomainsResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 1635 | |||
| 1636 | |||
| 1637 | =head2 ListAllPackages(sub { },Domain => Str, Repository => Str, [DomainOwner => Str, Format => Str, MaxResults => Int, Namespace => Str, NextToken => Str, PackagePrefix => Str]) | ||
| 1638 | |||
| 1639 | =head2 ListAllPackages(Domain => Str, Repository => Str, [DomainOwner => Str, Format => Str, MaxResults => Int, Namespace => Str, NextToken => Str, PackagePrefix => Str]) | ||
| 1640 | |||
| 1641 | |||
| 1642 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1643 | |||
| 1644 | - packages, passing the object as the first parameter, and the string 'packages' as the second parameter | ||
| 1645 | |||
| 1646 | If not, it will return a a L<Paws::CodeArtifact::ListPackagesResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 1647 | |||
| 1648 | |||
| 1649 | =head2 ListAllPackageVersionAssets(sub { },Domain => Str, Format => Str, Package => Str, PackageVersion => Str, Repository => Str, [DomainOwner => Str, MaxResults => Int, Namespace => Str, NextToken => Str]) | ||
| 1650 | |||
| 1651 | =head2 ListAllPackageVersionAssets(Domain => Str, Format => Str, Package => Str, PackageVersion => Str, Repository => Str, [DomainOwner => Str, MaxResults => Int, Namespace => Str, NextToken => Str]) | ||
| 1652 | |||
| 1653 | |||
| 1654 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1655 | |||
| 1656 | - assets, passing the object as the first parameter, and the string 'assets' as the second parameter | ||
| 1657 | |||
| 1658 | If not, it will return a a L<Paws::CodeArtifact::ListPackageVersionAssetsResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 1659 | |||
| 1660 | |||
| 1661 | =head2 ListAllPackageVersions(sub { },Domain => Str, Format => Str, Package => Str, Repository => Str, [DomainOwner => Str, MaxResults => Int, Namespace => Str, NextToken => Str, SortBy => Str, Status => Str]) | ||
| 1662 | |||
| 1663 | =head2 ListAllPackageVersions(Domain => Str, Format => Str, Package => Str, Repository => Str, [DomainOwner => Str, MaxResults => Int, Namespace => Str, NextToken => Str, SortBy => Str, Status => Str]) | ||
| 1664 | |||
| 1665 | |||
| 1666 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1667 | |||
| 1668 | - versions, passing the object as the first parameter, and the string 'versions' as the second parameter | ||
| 1669 | |||
| 1670 | If not, it will return a a L<Paws::CodeArtifact::ListPackageVersionsResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 1671 | |||
| 1672 | |||
| 1673 | =head2 ListAllRepositories(sub { },[MaxResults => Int, NextToken => Str, RepositoryPrefix => Str]) | ||
| 1674 | |||
| 1675 | =head2 ListAllRepositories([MaxResults => Int, NextToken => Str, RepositoryPrefix => Str]) | ||
| 1676 | |||
| 1677 | |||
| 1678 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1679 | |||
| 1680 | - repositories, passing the object as the first parameter, and the string 'repositories' as the second parameter | ||
| 1681 | |||
| 1682 | If not, it will return a a L<Paws::CodeArtifact::ListRepositoriesResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 1683 | |||
| 1684 | |||
| 1685 | =head2 ListAllRepositoriesInDomain(sub { },Domain => Str, [AdministratorAccount => Str, DomainOwner => Str, MaxResults => Int, NextToken => Str, RepositoryPrefix => Str]) | ||
| 1686 | |||
| 1687 | =head2 ListAllRepositoriesInDomain(Domain => Str, [AdministratorAccount => Str, DomainOwner => Str, MaxResults => Int, NextToken => Str, RepositoryPrefix => Str]) | ||
| 1688 | |||
| 1689 | |||
| 1690 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1691 | |||
| 1692 | - repositories, passing the object as the first parameter, and the string 'repositories' as the second parameter | ||
| 1693 | |||
| 1694 | If not, it will return a a L<Paws::CodeArtifact::ListRepositoriesInDomainResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 1695 | |||
| 1696 | |||
| 1697 | |||
| 1698 | |||
| 1699 | |||
| 1700 | =head1 SEE ALSO | ||
| 1701 | |||
| 1702 | This service class forms part of L<Paws> | ||
| 1703 | |||
| 1704 | =head1 BUGS and CONTRIBUTIONS | ||
| 1705 | |||
| 1706 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 1707 | |||
| 1708 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 1709 | |||
| 1710 | =cut | ||
| 1711 |