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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codeartifact/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)


2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2190

class ListPackageVersionsResult < Struct.new(
  :default_display_version,
  :format,
  :namespace,
  :package,
  :versions,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#formatString

A format of the package. Valid package format values are:

  • npm

  • pypi

  • maven

Returns:

  • (String)


2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2190

class ListPackageVersionsResult < Struct.new(
  :default_display_version,
  :format,
  :namespace,
  :package,
  :versions,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#namespaceString

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package is its groupId.

  • The namespace of an npm package is its scope.

  • A Python package does not contain a corresponding component, so Python packages do not have a namespace.

Returns:

  • (String)


2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2190

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)


2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2190

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)


2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2190

class ListPackageVersionsResult < Struct.new(
  :default_display_version,
  :format,
  :namespace,
  :package,
  :versions,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#versionsArray<Types::PackageVersionSummary>

The returned list of PackageVersionSummary objects.

Returns:



2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2190

class ListPackageVersionsResult < Struct.new(
  :default_display_version,
  :format,
  :namespace,
  :package,
  :versions,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end