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

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


2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2636

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

#formatString

The format of the package version. The valid package formats are:

  • npm: A Node Package Manager (npm) package.

  • pypi: A Python Package Index (PyPI) package.

  • maven: A Maven package that contains compiled code in a distributable format, such as a JAR file.

Returns:

  • (String)


2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2636

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

#home_pageString

The homepage associated with the package.

Returns:

  • (String)


2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2636

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

#licensesArray<Types::LicenseInfo>

Information about licenses associated with the package version.

Returns:



2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2636

class PackageVersionDescription < Struct.new(
  :format,
  :namespace,
  :package_name,
  :display_name,
  :version,
  :summary,
  :home_page,
  :source_code_repository,
  :published_time,
  :licenses,
  :revision,
  :status)
  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 is its groupId.

  • The namespace of an npm package is its scope.

  • A Python package does not contain a corresponding component, so Python packages do not have a namespace.

Returns:

  • (String)


2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2636

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

#package_nameString

The name of the requested package.

Returns:

  • (String)


2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2636

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

#published_timeTime

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

Returns:

  • (Time)


2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2636

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

#revisionString

The revision of the package version.

Returns:

  • (String)


2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2636

class PackageVersionDescription < Struct.new(
  :format,
  :namespace,
  :package_name,
  :display_name,
  :version,
  :summary,
  :home_page,
  :source_code_repository,
  :published_time,
  :licenses,
  :revision,
  :status)
  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)


2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2636

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

#statusString

A string that contains the status of the package version. It can be one of the following:

  • Published

  • Unfinished

  • Unlisted

  • Archived

  • Disposed

Returns:

  • (String)


2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2636

class PackageVersionDescription < Struct.new(
  :format,
  :namespace,
  :package_name,
  :display_name,
  :version,
  :summary,
  :home_page,
  :source_code_repository,
  :published_time,
  :licenses,
  :revision,
  :status)
  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)


2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2636

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

#versionString

The version of the package.

Returns:

  • (String)


2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 2636

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