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)


2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2560

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)


2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2560

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 and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

Returns:

  • (String)


2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2560

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)


2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2560

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)


2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2560

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:



2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2560

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