Class: Aws::CodeArtifact::Types::PackageDescription

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

Overview

Details about a package.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#formatString

A format that specifies the type of the package.

Returns:

  • (String)


2964
2965
2966
2967
2968
2969
2970
2971
# File 'lib/aws-sdk-codeartifact/types.rb', line 2964

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

#nameString

The name of the package.

Returns:

  • (String)


2964
2965
2966
2967
2968
2969
2970
2971
# File 'lib/aws-sdk-codeartifact/types.rb', line 2964

class PackageDescription < Struct.new(
  :format,
  :namespace,
  :name,
  :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 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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

Returns:

  • (String)


2964
2965
2966
2967
2968
2969
2970
2971
# File 'lib/aws-sdk-codeartifact/types.rb', line 2964

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

#origin_configurationTypes::PackageOriginConfiguration

The package origin configuration for the package.



2964
2965
2966
2967
2968
2969
2970
2971
# File 'lib/aws-sdk-codeartifact/types.rb', line 2964

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