![]() |
![]()
| ![]() |
![]()
NAMEPaws::CodeArtifact::ListPackageVersions - Arguments for method ListPackageVersions on Paws::CodeArtifact DESCRIPTIONThis class represents the parameters used for calling the method ListPackageVersions on the CodeArtifact service. Use the attributes of this class as arguments to method ListPackageVersions. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListPackageVersions. SYNOPSISmy $codeartifact = Paws->service('CodeArtifact'); my $ListPackageVersionsResult = $codeartifact->ListPackageVersions( Domain => 'MyDomainName', Format => 'npm', Package => 'MyPackageName', Repository => 'MyRepositoryName', DomainOwner => 'MyAccountId', # OPTIONAL MaxResults => 1, # OPTIONAL Namespace => 'MyPackageNamespace', # OPTIONAL NextToken => 'MyPaginationToken', # OPTIONAL SortBy => 'PUBLISHED_TIME', # OPTIONAL Status => 'Published', # OPTIONAL ); # Results: my $DefaultDisplayVersion = $ListPackageVersionsResult->DefaultDisplayVersion; my $Format = $ListPackageVersionsResult->Format; my $Namespace = $ListPackageVersionsResult->Namespace; my $NextToken = $ListPackageVersionsResult->NextToken; my $Package = $ListPackageVersionsResult->Package; my $Versions = $ListPackageVersionsResult->Versions; # Returns a L<Paws::CodeArtifact::ListPackageVersionsResult> object. 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. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/codeartifact/ListPackageVersions> ATTRIBUTESREQUIRED Domain => StrThe name of the domain that contains the repository that contains the returned package versions. DomainOwner => StrThe 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces. REQUIRED Format => StrThe format of the returned packages. The valid package types are:
Valid values are: "npm", "pypi", "maven", "nuget" MaxResults => IntThe maximum number of results to return per page. Namespace => StrThe namespace of the package. The package component that specifies its namespace depends on its type. For example:
NextToken => StrThe token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. REQUIRED Package => StrThe name of the package for which you want to return a list of package versions. REQUIRED Repository => StrThe name of the repository that contains the package. SortBy => StrHow to sort the returned list of package versions. Valid values are: "PUBLISHED_TIME" Status => StrA string that specifies the status of the package versions to include in the returned list. It can be one of the following:
Valid values are: "Published", "Unfinished", "Unlisted", "Archived", "Disposed", "Deleted" SEE ALSOThis class forms part of Paws, documenting arguments for method ListPackageVersions in Paws::CodeArtifact BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|