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

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


3263
3264
3265
3266
3267
3268
3269
3270
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3263

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


3263
3264
3265
3266
3267
3268
3269
3270
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3263

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

#origin_configurationTypes::PackageOriginConfiguration

A PackageOriginConfiguration object that contains a PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions.



3263
3264
3265
3266
3267
3268
3269
3270
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3263

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

#packageString

The name of the package.

Returns:

  • (String)


3263
3264
3265
3266
3267
3268
3269
3270
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3263

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