You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeArtifact::Types::PackageSummary

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Details about a package, including its format, namespace, and name. The ListPackages operation returns a list of PackageSummary objects.

Instance Attribute Summary collapse

Instance Attribute Details

#formatString

The format of the package. Valid values are:

  • npm

  • pypi

  • maven

    Possible values:

    • npm
    • pypi
    • maven

Returns:

  • (String)

    The format of the package.

#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)

    The namespace of the package.

#packageString

The name of the package.

Returns:

  • (String)

    The name of the package.