Class: Aws::CodeArtifact::Types::DescribePackageRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::DescribePackageRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codeartifact/types.rb
Overview
When making an API call, you may pass DescribePackageRequest 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
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#domain ⇒ String
The name of the domain that contains the repository that contains the package.
-
#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.
-
#namespace ⇒ String
The namespace of the requested package.
-
#package ⇒ String
The name of the requested package.
-
#repository ⇒ String
The name of the repository that contains the requested package.
Instance Attribute Details
#domain ⇒ String
The name of the domain that contains the repository that contains the package.
824 825 826 827 828 829 830 831 832 833 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 824 class DescribePackageRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package) 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.
824 825 826 827 828 829 830 831 832 833 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 824 class DescribePackageRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package) SENSITIVE = [] include Aws::Structure end |
#format ⇒ String
A format that specifies the type of the requested package.
824 825 826 827 828 829 830 831 832 833 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 824 class DescribePackageRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package) SENSITIVE = [] include Aws::Structure end |
#namespace ⇒ String
The namespace of the requested 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 is required when requesting Maven packages.
-
The namespace of an npm package is its `scope`.
-
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
824 825 826 827 828 829 830 831 832 833 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 824 class DescribePackageRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package) SENSITIVE = [] include Aws::Structure end |
#package ⇒ String
The name of the requested package.
824 825 826 827 828 829 830 831 832 833 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 824 class DescribePackageRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package) SENSITIVE = [] include Aws::Structure end |
#repository ⇒ String
The name of the repository that contains the requested package.
824 825 826 827 828 829 830 831 832 833 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 824 class DescribePackageRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package) SENSITIVE = [] include Aws::Structure end |