Class: Aws::CodeArtifact::Types::ListPackageVersionsResult
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::ListPackageVersionsResult
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codeartifact/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#default_display_version ⇒ String
The default package version to display.
-
#format ⇒ String
A format of the package.
-
#namespace ⇒ String
The namespace of the package that contains the requested package versions.
-
#next_token ⇒ String
If there are additional results, this is the token for the next set of results.
-
#package ⇒ String
The name of the package.
-
#versions ⇒ Array<Types::PackageVersionSummary>
The returned list of [PackageVersionSummary] objects.
Instance Attribute Details
#default_display_version ⇒ String
The default package version to display. This depends on the package format:
-
For Maven and PyPI packages, it’s the most recently published package version.
-
For npm packages, it’s the version referenced by the
latesttag. If thelatesttag is not set, it’s the most recently published package version.
2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2572 class ListPackageVersionsResult < Struct.new( :default_display_version, :format, :namespace, :package, :versions, :next_token) SENSITIVE = [] include Aws::Structure end |
#format ⇒ String
A format of the package.
2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2572 class ListPackageVersionsResult < Struct.new( :default_display_version, :format, :namespace, :package, :versions, :next_token) SENSITIVE = [] include Aws::Structure end |
#namespace ⇒ String
The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its
groupId. -
The namespace of an npm or Swift package version is its
scope. -
The namespace of a generic package is its
namespace. -
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2572 class ListPackageVersionsResult < Struct.new( :default_display_version, :format, :namespace, :package, :versions, :next_token) SENSITIVE = [] include Aws::Structure end |
#next_token ⇒ String
If there are additional results, this is the token for the next set of results.
2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2572 class ListPackageVersionsResult < Struct.new( :default_display_version, :format, :namespace, :package, :versions, :next_token) SENSITIVE = [] include Aws::Structure end |
#package ⇒ String
The name of the package.
2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2572 class ListPackageVersionsResult < Struct.new( :default_display_version, :format, :namespace, :package, :versions, :next_token) SENSITIVE = [] include Aws::Structure end |
#versions ⇒ Array<Types::PackageVersionSummary>
The returned list of [PackageVersionSummary] objects.
[1]: docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionSummary.html
2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2572 class ListPackageVersionsResult < Struct.new( :default_display_version, :format, :namespace, :package, :versions, :next_token) SENSITIVE = [] include Aws::Structure end |