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)


1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 1983

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)


1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 1983

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 is its groupId.

  • The namespace of an npm package is its scope.

  • Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.

Returns:

  • (String)


1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 1983

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)


1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 1983

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)


1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 1983

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:



1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 1983

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