Class: Aws::Continuum::Types::PackageIdentity

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb

Overview

Identifies a package or a set of versions of a package. The ecosystem and name are required; the version members narrow the match when present. Omitting both version members matches every version.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ecosystem ⇒ String

The package ecosystem, such as npm or pypi.

Returns:

  • (String)


4430
4431
4432
4433
4434
4435
4436
4437
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 4430

class PackageIdentity < Struct.new(
  :ecosystem,
  :name,
  :version,
  :version_range)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The package name, as used in its ecosystem.

Returns:

  • (String)


4430
4431
4432
4433
4434
4435
4436
4437
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 4430

class PackageIdentity < Struct.new(
  :ecosystem,
  :name,
  :version,
  :version_range)
  SENSITIVE = []
  include Aws::Structure
end

#version ⇒ String

Exact version. Mutually exclusive with versionRange, validated server-side.

Returns:

  • (String)


4430
4431
4432
4433
4434
4435
4436
4437
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 4430

class PackageIdentity < Struct.new(
  :ecosystem,
  :name,
  :version,
  :version_range)
  SENSITIVE = []
  include Aws::Structure
end

#version_range ⇒ String

A version range as one or more comparisons separated by commas, such as >=1.0, <2.0. Each comparison is =, >, >=, <, or <= followed by a version in the ecosystem's own format. Ecosystem shorthands such as ^1.0 or ~=1.2 aren't accepted. Mutually exclusive with version.

Returns:

  • (String)


4430
4431
4432
4433
4434
4435
4436
4437
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 4430

class PackageIdentity < Struct.new(
  :ecosystem,
  :name,
  :version,
  :version_range)
  SENSITIVE = []
  include Aws::Structure
end