Class: Aws::CodeArtifact::Types::PackageVersionDescription

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

Overview

Details about a package version.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#display_nameString

The name of the package that is displayed. The ‘displayName` varies depending on the package version’s format. For example, if an npm package is named ‘ui`, is in the namespace `vue`, and has the format `npm`, then the `displayName` is `@vue/ui`.

Returns:

  • (String)


3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
# File 'lib/aws-sdk-codeartifact/types.rb', line 3363

class PackageVersionDescription < Struct.new(
  :format,
  :namespace,
  :package_name,
  :display_name,
  :version,
  :summary,
  :home_page,
  :source_code_repository,
  :published_time,
  :licenses,
  :revision,
  :status,
  :origin)
  SENSITIVE = []
  include Aws::Structure
end

#formatString

The format of the package version.

Returns:

  • (String)


3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
# File 'lib/aws-sdk-codeartifact/types.rb', line 3363

class PackageVersionDescription < Struct.new(
  :format,
  :namespace,
  :package_name,
  :display_name,
  :version,
  :summary,
  :home_page,
  :source_code_repository,
  :published_time,
  :licenses,
  :revision,
  :status,
  :origin)
  SENSITIVE = []
  include Aws::Structure
end

#home_pageString

The homepage associated with the package.

Returns:

  • (String)


3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
# File 'lib/aws-sdk-codeartifact/types.rb', line 3363

class PackageVersionDescription < Struct.new(
  :format,
  :namespace,
  :package_name,
  :display_name,
  :version,
  :summary,
  :home_page,
  :source_code_repository,
  :published_time,
  :licenses,
  :revision,
  :status,
  :origin)
  SENSITIVE = []
  include Aws::Structure
end

#licensesArray<Types::LicenseInfo>

Information about licenses associated with the package version.

Returns:



3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
# File 'lib/aws-sdk-codeartifact/types.rb', line 3363

class PackageVersionDescription < Struct.new(
  :format,
  :namespace,
  :package_name,
  :display_name,
  :version,
  :summary,
  :home_page,
  :source_code_repository,
  :published_time,
  :licenses,
  :revision,
  :status,
  :origin)
  SENSITIVE = []
  include Aws::Structure
end

#namespaceString

The namespace of the package version. 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)


3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
# File 'lib/aws-sdk-codeartifact/types.rb', line 3363

class PackageVersionDescription < Struct.new(
  :format,
  :namespace,
  :package_name,
  :display_name,
  :version,
  :summary,
  :home_page,
  :source_code_repository,
  :published_time,
  :licenses,
  :revision,
  :status,
  :origin)
  SENSITIVE = []
  include Aws::Structure
end

#originTypes::PackageVersionOrigin

A [PackageVersionOrigin] object that contains information about how the package version was added to the repository.

[1]: docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionOrigin.html



3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
# File 'lib/aws-sdk-codeartifact/types.rb', line 3363

class PackageVersionDescription < Struct.new(
  :format,
  :namespace,
  :package_name,
  :display_name,
  :version,
  :summary,
  :home_page,
  :source_code_repository,
  :published_time,
  :licenses,
  :revision,
  :status,
  :origin)
  SENSITIVE = []
  include Aws::Structure
end

#package_nameString

The name of the requested package.

Returns:

  • (String)


3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
# File 'lib/aws-sdk-codeartifact/types.rb', line 3363

class PackageVersionDescription < Struct.new(
  :format,
  :namespace,
  :package_name,
  :display_name,
  :version,
  :summary,
  :home_page,
  :source_code_repository,
  :published_time,
  :licenses,
  :revision,
  :status,
  :origin)
  SENSITIVE = []
  include Aws::Structure
end

#published_timeTime

A timestamp that contains the date and time the package version was published.

Returns:

  • (Time)


3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
# File 'lib/aws-sdk-codeartifact/types.rb', line 3363

class PackageVersionDescription < Struct.new(
  :format,
  :namespace,
  :package_name,
  :display_name,
  :version,
  :summary,
  :home_page,
  :source_code_repository,
  :published_time,
  :licenses,
  :revision,
  :status,
  :origin)
  SENSITIVE = []
  include Aws::Structure
end

#revisionString

The revision of the package version.

Returns:

  • (String)


3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
# File 'lib/aws-sdk-codeartifact/types.rb', line 3363

class PackageVersionDescription < Struct.new(
  :format,
  :namespace,
  :package_name,
  :display_name,
  :version,
  :summary,
  :home_page,
  :source_code_repository,
  :published_time,
  :licenses,
  :revision,
  :status,
  :origin)
  SENSITIVE = []
  include Aws::Structure
end

#source_code_repositoryString

The repository for the source code in the package version, or the source code used to build it.

Returns:

  • (String)


3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
# File 'lib/aws-sdk-codeartifact/types.rb', line 3363

class PackageVersionDescription < Struct.new(
  :format,
  :namespace,
  :package_name,
  :display_name,
  :version,
  :summary,
  :home_page,
  :source_code_repository,
  :published_time,
  :licenses,
  :revision,
  :status,
  :origin)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

A string that contains the status of the package version.

Returns:

  • (String)


3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
# File 'lib/aws-sdk-codeartifact/types.rb', line 3363

class PackageVersionDescription < Struct.new(
  :format,
  :namespace,
  :package_name,
  :display_name,
  :version,
  :summary,
  :home_page,
  :source_code_repository,
  :published_time,
  :licenses,
  :revision,
  :status,
  :origin)
  SENSITIVE = []
  include Aws::Structure
end

#summaryString

A summary of the package version. The summary is extracted from the package. The information in and detail level of the summary depends on the package version’s format.

Returns:

  • (String)


3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
# File 'lib/aws-sdk-codeartifact/types.rb', line 3363

class PackageVersionDescription < Struct.new(
  :format,
  :namespace,
  :package_name,
  :display_name,
  :version,
  :summary,
  :home_page,
  :source_code_repository,
  :published_time,
  :licenses,
  :revision,
  :status,
  :origin)
  SENSITIVE = []
  include Aws::Structure
end

#versionString

The version of the package.

Returns:

  • (String)


3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
# File 'lib/aws-sdk-codeartifact/types.rb', line 3363

class PackageVersionDescription < Struct.new(
  :format,
  :namespace,
  :package_name,
  :display_name,
  :version,
  :summary,
  :home_page,
  :source_code_repository,
  :published_time,
  :licenses,
  :revision,
  :status,
  :origin)
  SENSITIVE = []
  include Aws::Structure
end