Class: Aws::CodeArtifact::Types::PackageSummary
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::PackageSummary
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codeartifact/types.rb
Overview
Details about a package, including its format, namespace, and name. The [ListPackages] operation returns a list of `PackageSummary` objects.
[1]: docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackages.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#format ⇒ String
The format of the package.
-
#namespace ⇒ String
The namespace of the package.
-
#package ⇒ String
The name of the package.
Instance Attribute Details
#format ⇒ String
The format of the package. Valid values are:
-
`npm`
-
`pypi`
-
`maven`
2543 2544 2545 2546 2547 2548 2549 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2543 class PackageSummary < Struct.new( :format, :namespace, :package) SENSITIVE = [] include Aws::Structure end |
#namespace ⇒ String
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.
2543 2544 2545 2546 2547 2548 2549 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2543 class PackageSummary < Struct.new( :format, :namespace, :package) SENSITIVE = [] include Aws::Structure end |
#package ⇒ String
The name of the package.
2543 2544 2545 2546 2547 2548 2549 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2543 class PackageSummary < Struct.new( :format, :namespace, :package) SENSITIVE = [] include Aws::Structure end |