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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codeartifact/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)


2971
2972
2973
2974
2975
2976
2977
2978
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2971

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

#nameString

The name of the package.

Returns:

  • (String)


2971
2972
2973
2974
2975
2976
2977
2978
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2971

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

Returns:

  • (String)


2971
2972
2973
2974
2975
2976
2977
2978
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2971

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

#origin_configurationTypes::PackageOriginConfiguration

The package origin configuration for the package.



2971
2972
2973
2974
2975
2976
2977
2978
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2971

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