Class: Aws::CodeArtifact::Types::ListPackageVersionsResult

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codeartifact/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#default_display_versionString

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 ‘latest` tag. If the `latest` tag is not set, it’s the most recently published package version.

Returns:

  • (String)


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

#formatString

A format of the package.

Returns:

  • (String)


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

#namespaceString

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.

Returns:

  • (String)


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_tokenString

If there are additional results, this is the token for the next set of results.

Returns:

  • (String)


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

#packageString

The name of the package.

Returns:

  • (String)


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

#versionsArray<Types::PackageVersionSummary>

Returns:



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