« blib/lib/Paws/CodeArtifact/PackageVersionRevisionMap.pm
↑ Summary
blib/lib/Paws/CodeArtifact/PutDomainPermissionsPolicy.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CodeArtifact::PackageVersionSummary; | ||
| 3 | use Moose; | ||
| 4 | has Revision => (is => 'ro', isa => 'Str', request_name => 'revision', traits => ['NameInRequest']); | ||
| 5 | has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest'], required => 1); | ||
| 6 | has Version => (is => 'ro', isa => 'Str', request_name => 'version', traits => ['NameInRequest'], required => 1); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::CodeArtifact::PackageVersionSummary | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::CodeArtifact::PackageVersionSummary object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { Revision => $value, ..., Version => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::CodeArtifact::PackageVersionSummary object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->Revision | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Details about a package version, including its status, version, and | ||
| 39 | revision. The ListPackageVersions | ||
| 40 | (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html) | ||
| 41 | operation returns a list of C<PackageVersionSummary> objects. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 Revision => Str | ||
| 47 | |||
| 48 | The revision associated with a package version. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 B<REQUIRED> Status => Str | ||
| 52 | |||
| 53 | A string that contains the status of the package version. It can be one | ||
| 54 | of the following: | ||
| 55 | |||
| 56 | =over | ||
| 57 | |||
| 58 | =item * | ||
| 59 | |||
| 60 | C<Published> | ||
| 61 | |||
| 62 | =item * | ||
| 63 | |||
| 64 | C<Unfinished> | ||
| 65 | |||
| 66 | =item * | ||
| 67 | |||
| 68 | C<Unlisted> | ||
| 69 | |||
| 70 | =item * | ||
| 71 | |||
| 72 | C<Archived> | ||
| 73 | |||
| 74 | =item * | ||
| 75 | |||
| 76 | C<Disposed> | ||
| 77 | |||
| 78 | =back | ||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | =head2 B<REQUIRED> Version => Str | ||
| 83 | |||
| 84 | Information about a package version. | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head1 SEE ALSO | ||
| 89 | |||
| 90 | This class forms part of L<Paws>, describing an object used in L<Paws::CodeArtifact> | ||
| 91 | |||
| 92 | =head1 BUGS and CONTRIBUTIONS | ||
| 93 | |||
| 94 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 95 | |||
| 96 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 97 | |||
| 98 | =cut | ||
| 99 |