[ aws . codeartifact ]
Returns a PackageDescription object that contains information about the requested package.
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
describe-package
--domain <value>
[--domain-owner <value>]
--repository <value>
--format <value>
[--namespace <value>]
--package <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
--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. It does not include dashes or spaces.
--repository
(string)
The name of the repository that contains the requested package.
--format
(string)
A format that specifies the type of the requested package.
Possible values:
npm
pypi
maven
nuget
--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.
--package
(string)
The name of the requested package.
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
See ‘aws help’ for descriptions of global parameters.
package -> (structure)
A PackageDescription object that contains information about the requested package.
format -> (string)
A format that specifies the type of the package.
namespace -> (string)
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
.Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
name -> (string)
The name of the package.
originConfiguration -> (structure)
The package origin configuration for the package.
restrictions -> (structure)
A
PackageOriginRestrictions
object that contains information about the upstream and publish package origin configuration for the package.publish -> (string)
The package origin configuration that determines if new versions of the package can be published directly to the repository.
upstream -> (string)
The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.