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)


2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'lib/aws-sdk-codeartifact/types.rb', line 2425

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)


2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'lib/aws-sdk-codeartifact/types.rb', line 2425

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)


2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'lib/aws-sdk-codeartifact/types.rb', line 2425

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:



2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'lib/aws-sdk-codeartifact/types.rb', line 2425

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 version 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 package version is its `scope`.

  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

Returns:

  • (String)


2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'lib/aws-sdk-codeartifact/types.rb', line 2425

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



2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'lib/aws-sdk-codeartifact/types.rb', line 2425

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)


2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'lib/aws-sdk-codeartifact/types.rb', line 2425

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)


2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'lib/aws-sdk-codeartifact/types.rb', line 2425

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)


2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'lib/aws-sdk-codeartifact/types.rb', line 2425

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)


2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'lib/aws-sdk-codeartifact/types.rb', line 2425

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)


2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'lib/aws-sdk-codeartifact/types.rb', line 2425

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)


2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'lib/aws-sdk-codeartifact/types.rb', line 2425

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)


2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'lib/aws-sdk-codeartifact/types.rb', line 2425

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