Class: Aws::CodeArtifact::Types::DescribePackageVersionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::DescribePackageVersionRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codeartifact/types.rb
Overview
When making an API call, you may pass DescribePackageVersionRequest data as a hash:
{
domain: "DomainName", # required
domain_owner: "AccountId",
repository: "RepositoryName", # required
format: "npm", # required, accepts npm, pypi, maven, nuget
namespace: "PackageNamespace",
package: "PackageName", # required
package_version: "PackageVersion", # required
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#domain ⇒ String
The name of the domain that contains the repository that contains the package version.
-
#domain_owner ⇒ String
The 12-digit account number of the Amazon Web Services account that owns the domain.
-
#format ⇒ String
A format that specifies the type of the requested package version.
-
#namespace ⇒ String
The namespace of the requested package version.
-
#package ⇒ String
The name of the requested package version.
-
#package_version ⇒ String
A string that contains the package version (for example, `3.5.2`).
-
#repository ⇒ String
The name of the repository that contains the package version.
Instance Attribute Details
#domain ⇒ String
The name of the domain that contains the repository that contains the package version.
907 908 909 910 911 912 913 914 915 916 917 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 907 class DescribePackageVersionRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :package_version) SENSITIVE = [] include Aws::Structure end |
#domain_owner ⇒ String
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
907 908 909 910 911 912 913 914 915 916 917 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 907 class DescribePackageVersionRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :package_version) SENSITIVE = [] include Aws::Structure end |
#format ⇒ String
A format that specifies the type of the requested package version.
907 908 909 910 911 912 913 914 915 916 917 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 907 class DescribePackageVersionRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :package_version) SENSITIVE = [] include Aws::Structure end |
#namespace ⇒ String
The namespace of the requested 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.
907 908 909 910 911 912 913 914 915 916 917 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 907 class DescribePackageVersionRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :package_version) SENSITIVE = [] include Aws::Structure end |
#package ⇒ String
The name of the requested package version.
907 908 909 910 911 912 913 914 915 916 917 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 907 class DescribePackageVersionRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :package_version) SENSITIVE = [] include Aws::Structure end |
#package_version ⇒ String
A string that contains the package version (for example, `3.5.2`).
907 908 909 910 911 912 913 914 915 916 917 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 907 class DescribePackageVersionRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :package_version) SENSITIVE = [] include Aws::Structure end |
#repository ⇒ String
The name of the repository that contains the package version.
907 908 909 910 911 912 913 914 915 916 917 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 907 class DescribePackageVersionRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :package_version) SENSITIVE = [] include Aws::Structure end |