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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codeartifact/types.rb

Overview

Details about a package, including its format, namespace, and name.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#formatString

The format of the package.

Returns:

  • (String)


2413
2414
2415
2416
2417
2418
2419
2420
# File 'lib/aws-sdk-codeartifact/types.rb', line 2413

class PackageSummary < Struct.new(
  :format,
  :namespace,
  :package,
  :origin_configuration)
  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`.

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

  • The namespace of a generic package is its ‘namespace`.

Returns:

  • (String)


2413
2414
2415
2416
2417
2418
2419
2420
# File 'lib/aws-sdk-codeartifact/types.rb', line 2413

class PackageSummary < Struct.new(
  :format,
  :namespace,
  :package,
  :origin_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#origin_configurationTypes::PackageOriginConfiguration

A [PackageOriginConfiguration] object that contains a

PackageOriginRestrictions][2

object that contains information

about the upstream and publish package origin restrictions.

[1]: docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginConfiguration.html [2]: docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html



2413
2414
2415
2416
2417
2418
2419
2420
# File 'lib/aws-sdk-codeartifact/types.rb', line 2413

class PackageSummary < Struct.new(
  :format,
  :namespace,
  :package,
  :origin_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#packageString

The name of the package.

Returns:

  • (String)


2413
2414
2415
2416
2417
2418
2419
2420
# File 'lib/aws-sdk-codeartifact/types.rb', line 2413

class PackageSummary < Struct.new(
  :format,
  :namespace,
  :package,
  :origin_configuration)
  SENSITIVE = []
  include Aws::Structure
end