const completionSpec = { name : "codeartifact" , description : "AWS CodeArtifact is a fully managed artifact repository compatible with language-native package managers and build tools such as npm, Apache Maven, and pip. You can use CodeArtifact to share packages with development teams and pull packages. Packages can be pulled from both public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact repository and another repository, which effectively merges their contents from the point of view of a package manager client.   AWS CodeArtifact Components  Use the information in this guide to help you work with the following CodeArtifact components:    Repository: A CodeArtifact repository contains a set of package versions, each of which maps to a set of assets, or files. Repositories are polyglot, so a single repository can contain packages of any supported type. Each repository exposes endpoints for fetching and publishing packages using tools like the  npm  CLI, the Maven CLI ( mvn ), and  pip .    Domain: Repositories are aggregated into a higher-level entity known as a domain. All package assets and metadata are stored in the domain, but are consumed through repositories. A given package asset, such as a Maven JAR file, is stored once per domain, no matter how many repositories it's present in. All of the assets and metadata in a domain are encrypted with the same customer master key (CMK) stored in AWS Key Management Service (AWS KMS). Each repository is a member of a single domain and can't be moved to a different domain. The domain allows organizational policy to be applied across multiple repositories, such as which accounts can access repositories in the domain, and which public repositories can be used as sources of packages. Although an organization can have multiple domains, we recommend a single production domain that contains all published artifacts so that teams can find and share packages across their organization.    Package: A package is a bundle of software and the metadata required to resolve dependencies and install the software. CodeArtifact supports npm, PyPI, and Maven package formats. In CodeArtifact, a package consists of:   A name (for example, webpack is the name of a popular npm package)   An optional namespace (for example, @types in @types/node)   A set of versions (for example, 1.0.0, 1.0.1, 1.0.2, etc.)    Package-level metadata (for example, npm tags)      Package version: A version of a package, such as @types/node 12.6.9. The version number format and semantics vary for different package formats. For example, npm package versions must conform to the Semantic Versioning specification. In CodeArtifact, a package version consists of the version identifier, metadata at the package version level, and a set of assets.    Upstream repository: One repository is upstream of another when the package versions in it can be accessed from the repository endpoint of the downstream repository, effectively merging the contents of the two repositories from the point of view of a client. CodeArtifact allows creating an upstream relationship between two repositories.    Asset: An individual file stored in CodeArtifact associated with a package version, such as an npm .tgz file or Maven POM and JAR files.   CodeArtifact supports these operations:    AssociateExternalConnection: Adds an existing external connection to a repository.     CopyPackageVersions: Copies package versions from one repository to another repository in the same domain.    CreateDomain: Creates a domain    CreateRepository: Creates a CodeArtifact repository in a domain.     DeleteDomain: Deletes a domain. You cannot delete a domain that contains repositories.     DeleteDomainPermissionsPolicy: Deletes the resource policy that is set on a domain.    DeletePackageVersions: Deletes versions of a package. After a package has been deleted, it can be republished, but its assets and metadata cannot be restored because they have been permanently removed from storage.    DeleteRepository: Deletes a repository.     DeleteRepositoryPermissionsPolicy: Deletes the resource policy that is set on a repository.    DescribeDomain: Returns a DomainDescription object that contains information about the requested domain.    DescribePackageVersion: Returns a PackageVersionDescription object that contains details about a package version.     DescribeRepository: Returns a RepositoryDescription object that contains detailed information about the requested repository.     DisposePackageVersions: Disposes versions of a package. A package version with the status Disposed cannot be restored because they have been permanently removed from storage.    DisassociateExternalConnection: Removes an existing external connection from a repository.     GetAuthorizationToken: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed. The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.    GetDomainPermissionsPolicy: Returns the policy of a resource that is attached to the specified domain.     GetPackageVersionAsset: Returns the contents of an asset that is in a package version.     GetPackageVersionReadme: Gets the readme file or descriptive text for a package version.    GetRepositoryEndpoint: Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:     npm     pypi     maven       GetRepositoryPermissionsPolicy: Returns the resource policy that is set on a repository.     ListDomains: Returns a list of DomainSummary objects. Each returned DomainSummary object contains information about a domain.    ListPackages: Lists the packages in a repository.    ListPackageVersionAssets: Lists the assets for a given package version.    ListPackageVersionDependencies: Returns a list of the direct dependencies for a package version.     ListPackageVersions: Returns a list of package versions for a specified package in a repository.    ListRepositories: Returns a list of repositories owned by the AWS account that called this method.    ListRepositoriesInDomain: Returns a list of the repositories in a domain.    PutDomainPermissionsPolicy: Attaches a resource policy to a domain.    PutRepositoryPermissionsPolicy: Sets the resource policy on a repository that specifies permissions to access it.     UpdatePackageVersionsStatus: Updates the status of one or more versions of a package.    UpdateRepository: Updates the properties of a repository" , subcommands : [ { name : "associate-external-connection" , description : "Adds an existing external connection to a repository. One external connection is allowed per repository.  A repository can have one or more upstream repositories, or an external connection" , options : [ { name : "--domain" , description : "The name of the domain that contains the repository" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The name of the repository to which the external connection is added" , args : { name : "string" , } , } , { name : "--external-connection" , description : "The name of the external connection to add to the repository. The following values are supported:     public:npmjs - for the npm public repository.     public:pypi - for the Python Package Index.     public:maven-central - for Maven Central.     public:maven-googleandroid - for the Google Android repository.     public:maven-gradleplugins - for the Gradle plugins repository.     public:maven-commonsware - for the CommonsWare Android repository" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "copy-package-versions" , description : "Copies package versions from one repository to another repository in the same domain.    You must specify versions or versionRevisions. You cannot specify both" , options : [ { name : "--domain" , description : "The name of the domain that contains the source and destination repositories" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--source-repository" , description : "The name of the repository that contains the package versions to copy" , args : { name : "string" , } , } , { name : "--destination-repository" , description : "The name of the repository into which package versions are copied" , args : { name : "string" , } , } , { name : "--format" , description : "The format of the package that is copied. The valid package types 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" , args : { name : "string" , } , } , { name : "--namespace" , description : "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" , args : { name : "string" , } , } , { name : "--package" , description : "The name of the package that is copied" , args : { name : "string" , } , } , { name : "--versions" , description : "The versions of the package to copy.    You must specify versions or versionRevisions. You cannot specify both" , args : { name : "list" , } , } , { name : "--version-revisions" , description : "A list of key-value pairs. The keys are package versions and the values are package version revisions. A CopyPackageVersion operation succeeds if the specified versions in the source repository match the specified package version revision.    You must specify versions or versionRevisions. You cannot specify both" , args : { name : "map" , } , } , { name : "--allow-overwrite" , description : "Set to true to overwrite a package version that already exists in the destination repository. If set to false and the package version already exists in the destination repository, the package version is returned in the failedVersions field of the response with an ALREADY_EXISTS error code" , } , { name : "--no-allow-overwrite" , description : "Set to true to overwrite a package version that already exists in the destination repository. If set to false and the package version already exists in the destination repository, the package version is returned in the failedVersions field of the response with an ALREADY_EXISTS error code" , } , { name : "--include-from-upstream" , description : "Set to true to copy packages from repositories that are upstream from the source repository to the destination repository. The default setting is false. For more information, see Working with upstream repositories" , } , { name : "--no-include-from-upstream" , description : "Set to true to copy packages from repositories that are upstream from the source repository to the destination repository. The default setting is false. For more information, see Working with upstream repositories" , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "create-domain" , description : "Creates a domain. CodeArtifact domains make it easier to manage multiple repositories across an organization. You can use a domain to apply permissions across many repositories owned by different AWS accounts. An asset is stored only once in a domain, even if it's in multiple repositories.  Although you can have multiple domains, we recommend a single production domain that contains all published artifacts so that your development teams can find and share packages. You can use a second pre-production domain to test changes to the production domain configuration" , options : [ { name : "--domain" , description : "The name of the domain to create. All domain names in an AWS Region that are in the same AWS account must be unique. The domain name is used as the prefix in DNS hostnames. Do not use sensitive information in a domain name because it is publicly discoverable" , args : { name : "string" , } , } , { name : "--encryption-key" , description : "The encryption key for the domain. This is used to encrypt content stored in a domain. An encryption key can be a key ID, a key Amazon Resource Name (ARN), a key alias, or a key alias ARN. To specify an encryptionKey, your IAM role must have kms:DescribeKey and kms:CreateGrant permissions on the encryption key that is used. For more information, see DescribeKey in the AWS Key Management Service API Reference and AWS KMS API Permissions Reference in the AWS Key Management Service Developer Guide.    CodeArtifact supports only symmetric CMKs. Do not associate an asymmetric CMK with your domain. For more information, see Using symmetric and asymmetric keys in the AWS Key Management Service Developer Guide" , args : { name : "string" , } , } , { name : "--tags" , description : "One or more tag key-value pairs for the domain" , args : { name : "list" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "create-repository" , description : "Creates a repository" , options : [ { name : "--domain" , description : "The name of the domain that contains the created repository" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The name of the repository to create" , args : { name : "string" , } , } , { name : "--description" , description : "A description of the created repository" , args : { name : "string" , } , } , { name : "--upstreams" , description : "A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when AWS CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories" , args : { name : "list" , } , } , { name : "--tags" , description : "One or more tag key-value pairs for the repository" , args : { name : "list" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "delete-domain" , description : "Deletes a domain. You cannot delete a domain that contains repositories. If you want to delete a domain with repositories, first delete its repositories" , options : [ { name : "--domain" , description : "The name of the domain to delete" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "delete-domain-permissions-policy" , description : "Deletes the resource policy set on a domain" , options : [ { name : "--domain" , description : "The name of the domain associated with the resource policy to be deleted" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--policy-revision" , description : "The current revision of the resource policy to be deleted. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "delete-package-versions" , description : "Deletes one or more versions of a package. A deleted package version cannot be restored in your repository. If you want to remove a package version from your repository and be able to restore it later, set its status to Archived. Archived packages cannot be downloaded from a repository and don't show up with list package APIs (for example, ListackageVersions), but you can restore them using UpdatePackageVersionsStatus" , options : [ { name : "--domain" , description : "The name of the domain that contains the package to delete" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The name of the repository that contains the package versions to delete" , args : { name : "string" , } , } , { name : "--format" , description : "The format of the package versions to delete. The valid values are:     npm     pypi     maven" , args : { name : "string" , } , } , { name : "--namespace" , description : "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" , args : { name : "string" , } , } , { name : "--package" , description : "The name of the package with the versions to delete" , args : { name : "string" , } , } , { name : "--versions" , description : "An array of strings that specify the versions of the package to delete" , args : { name : "list" , } , } , { name : "--expected-status" , description : "The expected status of the package version to delete. Valid values are:     Published     Unfinished     Unlisted     Archived     Disposed" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "delete-repository" , description : "Deletes a repository" , options : [ { name : "--domain" , description : "The name of the domain that contains the repository to delete" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The name of the repository to delete" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "delete-repository-permissions-policy" , description : "Deletes the resource policy that is set on a repository. After a resource policy is deleted, the permissions allowed and denied by the deleted policy are removed. The effect of deleting a resource policy might not be immediate.    Use DeleteRepositoryPermissionsPolicy with caution. After a policy is deleted, AWS users, roles, and accounts lose permissions to perform the repository actions granted by the deleted policy" , options : [ { name : "--domain" , description : "The name of the domain that contains the repository associated with the resource policy to be deleted" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The name of the repository that is associated with the resource policy to be deleted" , args : { name : "string" , } , } , { name : "--policy-revision" , description : "The revision of the repository's resource policy to be deleted. This revision is used for optimistic locking, which prevents others from accidentally overwriting your changes to the repository's resource policy" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "describe-domain" , description : "Returns a  DomainDescription  object that contains information about the requested domain" , options : [ { name : "--domain" , description : "A string that specifies the name of the requested domain" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "describe-package-version" , description : "Returns a  PackageVersionDescription  object that contains information about the requested package version" , options : [ { name : "--domain" , description : "The name of the domain that contains the repository that contains the package version" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The name of the repository that contains the package version" , args : { name : "string" , } , } , { name : "--format" , description : "A format that specifies the type of the requested package version. The valid values are:     npm     pypi     maven" , args : { name : "string" , } , } , { name : "--namespace" , description : "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" , args : { name : "string" , } , } , { name : "--package" , description : "The name of the requested package version" , args : { name : "string" , } , } , { name : "--package-version" , description : "A string that contains the package version (for example, 3.5.2)" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "describe-repository" , description : "Returns a RepositoryDescription object that contains detailed information about the requested repository" , options : [ { name : "--domain" , description : "The name of the domain that contains the repository to describe" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "A string that specifies the name of the requested repository" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "disassociate-external-connection" , description : "Removes an existing external connection from a repository" , options : [ { name : "--domain" , description : "The name of the domain that contains the repository from which to remove the external repository" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The name of the repository from which the external connection will be removed" , args : { name : "string" , } , } , { name : "--external-connection" , description : "The name of the external connection to be removed from the repository" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "dispose-package-versions" , description : "Deletes the assets in package versions and sets the package versions' status to Disposed. A disposed package version cannot be restored in your repository because its assets are deleted.   To view all disposed package versions in a repository, use  ListPackageVersions  and set the  status  parameter to Disposed.   To view information about a disposed package version, use  DescribePackageVersion" , options : [ { name : "--domain" , description : "The name of the domain that contains the repository you want to dispose" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The name of the repository that contains the package versions you want to dispose" , args : { name : "string" , } , } , { name : "--format" , description : "A format that specifies the type of package versions you want to dispose. The valid values are:     npm     pypi     maven" , args : { name : "string" , } , } , { name : "--namespace" , description : "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" , args : { name : "string" , } , } , { name : "--package" , description : "The name of the package with the versions you want to dispose" , args : { name : "string" , } , } , { name : "--versions" , description : "The versions of the package you want to dispose" , args : { name : "list" , } , } , { name : "--version-revisions" , description : "The revisions of the package versions you want to dispose" , args : { name : "map" , } , } , { name : "--expected-status" , description : "The expected status of the package version to dispose. Valid values are:     Published     Unfinished     Unlisted     Archived     Disposed" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "get-authorization-token" , description : "Generates a temporary authorization token for accessing repositories in the domain. This API requires the codeartifact:GetAuthorizationToken and sts:GetServiceBearerToken permissions. For more information about authorization tokens, see AWS CodeArtifact authentication and tokens.   CodeArtifact authorization tokens are valid for a period of 12 hours when created with the login command. You can call login periodically to refresh the token. When you create an authorization token with the GetAuthorizationToken API, you can set a custom authorization period, up to a maximum of 12 hours, with the durationSeconds parameter. The authorization period begins after login or GetAuthorizationToken is called. If login or GetAuthorizationToken is called while assuming a role, the token lifetime is independent of the maximum session duration of the role. For example, if you call sts assume-role and specify a session duration of 15 minutes, then generate a CodeArtifact authorization token, the token will be valid for the full authorization period even though this is longer than the 15-minute session duration. See Using IAM Roles for more information on controlling session duration" , options : [ { name : "--domain" , description : "The name of the domain that is in scope for the generated authorization token" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--duration-seconds" , description : "The time, in seconds, that the generated authorization token is valid. Valid values are 0 and any number between 900 (15 minutes) and 43200 (12 hours). A value of 0 will set the expiration of the authorization token to the same expiration of the user's role's temporary credentials" , args : { name : "long" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "get-domain-permissions-policy" , description : "Returns the resource policy attached to the specified domain.    The policy is a resource-based policy, not an identity-based policy. For more information, see Identity-based policies and resource-based policies  in the AWS Identity and Access Management User Guide" , options : [ { name : "--domain" , description : "The name of the domain to which the resource policy is attached" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "get-package-version-asset" , description : "Returns an asset (or file) that is in a package. For example, for a Maven package version, use GetPackageVersionAsset to download a JAR file, a POM file, or any other assets in the package version" , options : [ { name : "--domain" , description : "The name of the domain that contains the repository that contains the package version with the requested asset" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The repository that contains the package version with the requested asset" , args : { name : "string" , } , } , { name : "--format" , description : "A format that specifies the type of the package version with the requested asset file. The valid values are:     npm     pypi     maven" , args : { name : "string" , } , } , { name : "--namespace" , description : "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" , args : { name : "string" , } , } , { name : "--package" , description : "The name of the package that contains the requested asset" , args : { name : "string" , } , } , { name : "--package-version" , description : "A string that contains the package version (for example, 3.5.2)" , args : { name : "string" , } , } , { name : "--asset" , description : "The name of the requested asset" , args : { name : "string" , } , } , { name : "--package-version-revision" , description : "The name of the package version revision that contains the requested asset" , args : { name : "string" , } , } , { name : "outfile" , description : "Filename where the content will be saved" , args : { name : "string" , } , } , ] , } , { name : "get-package-version-readme" , description : "Gets the readme file or descriptive text for a package version. For packages that do not contain a readme file, CodeArtifact extracts a description from a metadata file. For example, from the &lt;description&gt; element in the pom.xml file of a Maven package.   The returned text might contain formatting. For example, it might contain formatting for Markdown or reStructuredText" , options : [ { name : "--domain" , description : "The name of the domain that contains the repository that contains the package version with the requested readme file" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The repository that contains the package with the requested readme file" , args : { name : "string" , } , } , { name : "--format" , description : "A format that specifies the type of the package version with the requested readme file. The valid values are:     npm     pypi     maven" , args : { name : "string" , } , } , { name : "--namespace" , description : "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" , args : { name : "string" , } , } , { name : "--package" , description : "The name of the package version that contains the requested readme file" , args : { name : "string" , } , } , { name : "--package-version" , description : "A string that contains the package version (for example, 3.5.2)" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "get-repository-endpoint" , description : "Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:     npm     pypi     maven" , options : [ { name : "--domain" , description : "The name of the domain that contains the repository" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain that contains the repository. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The name of the repository" , args : { name : "string" , } , } , { name : "--format" , description : "Returns which endpoint of a repository to return. A repository has one endpoint for each package format:     npm     pypi     maven" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "get-repository-permissions-policy" , description : "Returns the resource policy that is set on a repository" , options : [ { name : "--domain" , description : "The name of the domain containing the repository whose associated resource policy is to be retrieved" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The name of the repository whose associated resource policy is to be retrieved" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "list-domains" , description : "Returns a list of DomainSummary objects for all domains owned by the AWS account that makes this call. Each returned DomainSummary object contains information about a domain" , options : [ { name : "--max-results" , description : "The maximum number of results to return per page" , args : { name : "integer" , } , } , { name : "--next-token" , description : "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--starting-token" , description : "A token to specify where to start paginating.  This is the\nNextToken from a previously truncated response.\nFor usage examples, see Pagination in the AWS Command Line Interface User\nGuide" , args : { name : "string" , } , } , { name : "--page-size" , description : "The size of each page to get in the AWS service call.  This\ndoes not affect the number of items returned in the command's\noutput.  Setting a smaller page size results in more calls to\nthe AWS service, retrieving fewer items in each call.  This can\nhelp prevent the AWS service calls from timing out.\nFor usage examples, see Pagination in the AWS Command Line Interface User\nGuide" , args : { name : "integer" , } , } , { name : "--max-items" , description : "The total number of items to return in the command's output.\nIf the total number of items available is more than the value\nspecified, a NextToken is provided in the command's\noutput.  To resume pagination, provide the\nNextToken value in the starting-token\nargument of a subsequent command.  Do not use the\nNextToken response element directly outside of the\nAWS CLI.\nFor usage examples, see Pagination in the AWS Command Line Interface User\nGuide" , args : { name : "integer" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "list-package-version-assets" , description : "Returns a list of  AssetSummary  objects for assets in a package version" , options : [ { name : "--domain" , description : "The name of the domain that contains the repository associated with the package version assets" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The name of the repository that contains the package that contains the returned package version assets" , args : { name : "string" , } , } , { name : "--format" , description : "The format of the package that contains the returned package version assets. The valid package types 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" , args : { name : "string" , } , } , { name : "--namespace" , description : "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" , args : { name : "string" , } , } , { name : "--package" , description : "The name of the package that contains the returned package version assets" , args : { name : "string" , } , } , { name : "--package-version" , description : "A string that contains the package version (for example, 3.5.2)" , args : { name : "string" , } , } , { name : "--max-results" , description : "The maximum number of results to return per page" , args : { name : "integer" , } , } , { name : "--next-token" , description : "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--starting-token" , description : "A token to specify where to start paginating.  This is the\nNextToken from a previously truncated response.\nFor usage examples, see Pagination in the AWS Command Line Interface User\nGuide" , args : { name : "string" , } , } , { name : "--page-size" , description : "The size of each page to get in the AWS service call.  This\ndoes not affect the number of items returned in the command's\noutput.  Setting a smaller page size results in more calls to\nthe AWS service, retrieving fewer items in each call.  This can\nhelp prevent the AWS service calls from timing out.\nFor usage examples, see Pagination in the AWS Command Line Interface User\nGuide" , args : { name : "integer" , } , } , { name : "--max-items" , description : "The total number of items to return in the command's output.\nIf the total number of items available is more than the value\nspecified, a NextToken is provided in the command's\noutput.  To resume pagination, provide the\nNextToken value in the starting-token\nargument of a subsequent command.  Do not use the\nNextToken response element directly outside of the\nAWS CLI.\nFor usage examples, see Pagination in the AWS Command Line Interface User\nGuide" , args : { name : "integer" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "list-package-version-dependencies" , description : "Returns the direct dependencies for a package version. The dependencies are returned as  PackageDependency  objects. CodeArtifact extracts the dependencies for a package version from the metadata file for the package format (for example, the package.json file for npm packages and the pom.xml file for Maven). Any package version dependencies that are not listed in the configuration file are not returned" , options : [ { name : "--domain" , description : "The name of the domain that contains the repository that contains the requested package version dependencies" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The name of the repository that contains the requested package version" , args : { name : "string" , } , } , { name : "--format" , description : "The format of the package with the requested dependencies. The valid package types 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" , args : { name : "string" , } , } , { name : "--namespace" , description : "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" , args : { name : "string" , } , } , { name : "--package" , description : "The name of the package versions' package" , args : { name : "string" , } , } , { name : "--package-version" , description : "A string that contains the package version (for example, 3.5.2)" , args : { name : "string" , } , } , { name : "--next-token" , description : "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "list-package-versions" , description : "Returns a list of  PackageVersionSummary  objects for package versions in a repository that match the request parameters" , options : [ { name : "--domain" , description : "The name of the domain that contains the repository that contains the returned package versions" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The name of the repository that contains the package" , args : { name : "string" , } , } , { name : "--format" , description : "The format of the returned packages. The valid package types 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" , args : { name : "string" , } , } , { name : "--namespace" , description : "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" , args : { name : "string" , } , } , { name : "--package" , description : "The name of the package for which you want to return a list of package versions" , args : { name : "string" , } , } , { name : "--status" , description : "A string that specifies the status of the package versions to include in the returned list. It can be one of the following:     Published     Unfinished     Unlisted     Archived     Disposed" , args : { name : "string" , } , } , { name : "--sort-by" , description : "How to sort the returned list of package versions" , args : { name : "string" , } , } , { name : "--max-results" , description : "The maximum number of results to return per page" , args : { name : "integer" , } , } , { name : "--next-token" , description : "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--starting-token" , description : "A token to specify where to start paginating.  This is the\nNextToken from a previously truncated response.\nFor usage examples, see Pagination in the AWS Command Line Interface User\nGuide" , args : { name : "string" , } , } , { name : "--page-size" , description : "The size of each page to get in the AWS service call.  This\ndoes not affect the number of items returned in the command's\noutput.  Setting a smaller page size results in more calls to\nthe AWS service, retrieving fewer items in each call.  This can\nhelp prevent the AWS service calls from timing out.\nFor usage examples, see Pagination in the AWS Command Line Interface User\nGuide" , args : { name : "integer" , } , } , { name : "--max-items" , description : "The total number of items to return in the command's output.\nIf the total number of items available is more than the value\nspecified, a NextToken is provided in the command's\noutput.  To resume pagination, provide the\nNextToken value in the starting-token\nargument of a subsequent command.  Do not use the\nNextToken response element directly outside of the\nAWS CLI.\nFor usage examples, see Pagination in the AWS Command Line Interface User\nGuide" , args : { name : "integer" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "list-packages" , description : "Returns a list of  PackageSummary  objects for packages in a repository that match the request parameters" , options : [ { name : "--domain" , description : "The name of the domain that contains the repository that contains the requested list of packages" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The name of the repository from which packages are to be listed" , args : { name : "string" , } , } , { name : "--format" , description : "The format of the packages. The valid package types 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" , args : { name : "string" , } , } , { name : "--namespace" , description : "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" , args : { name : "string" , } , } , { name : "--package-prefix" , description : "A prefix used to filter returned packages. Only packages with names that start with packagePrefix are returned" , args : { name : "string" , } , } , { name : "--max-results" , description : "The maximum number of results to return per page" , args : { name : "integer" , } , } , { name : "--next-token" , description : "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--starting-token" , description : "A token to specify where to start paginating.  This is the\nNextToken from a previously truncated response.\nFor usage examples, see Pagination in the AWS Command Line Interface User\nGuide" , args : { name : "string" , } , } , { name : "--page-size" , description : "The size of each page to get in the AWS service call.  This\ndoes not affect the number of items returned in the command's\noutput.  Setting a smaller page size results in more calls to\nthe AWS service, retrieving fewer items in each call.  This can\nhelp prevent the AWS service calls from timing out.\nFor usage examples, see Pagination in the AWS Command Line Interface User\nGuide" , args : { name : "integer" , } , } , { name : "--max-items" , description : "The total number of items to return in the command's output.\nIf the total number of items available is more than the value\nspecified, a NextToken is provided in the command's\noutput.  To resume pagination, provide the\nNextToken value in the starting-token\nargument of a subsequent command.  Do not use the\nNextToken response element directly outside of the\nAWS CLI.\nFor usage examples, see Pagination in the AWS Command Line Interface User\nGuide" , args : { name : "integer" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "list-repositories" , description : "Returns a list of  RepositorySummary  objects. Each RepositorySummary contains information about a repository in the specified AWS account and that matches the input parameters" , options : [ { name : "--repository-prefix" , description : "A prefix used to filter returned repositories. Only repositories with names that start with repositoryPrefix are returned" , args : { name : "string" , } , } , { name : "--max-results" , description : "The maximum number of results to return per page" , args : { name : "integer" , } , } , { name : "--next-token" , description : "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--starting-token" , description : "A token to specify where to start paginating.  This is the\nNextToken from a previously truncated response.\nFor usage examples, see Pagination in the AWS Command Line Interface User\nGuide" , args : { name : "string" , } , } , { name : "--page-size" , description : "The size of each page to get in the AWS service call.  This\ndoes not affect the number of items returned in the command's\noutput.  Setting a smaller page size results in more calls to\nthe AWS service, retrieving fewer items in each call.  This can\nhelp prevent the AWS service calls from timing out.\nFor usage examples, see Pagination in the AWS Command Line Interface User\nGuide" , args : { name : "integer" , } , } , { name : "--max-items" , description : "The total number of items to return in the command's output.\nIf the total number of items available is more than the value\nspecified, a NextToken is provided in the command's\noutput.  To resume pagination, provide the\nNextToken value in the starting-token\nargument of a subsequent command.  Do not use the\nNextToken response element directly outside of the\nAWS CLI.\nFor usage examples, see Pagination in the AWS Command Line Interface User\nGuide" , args : { name : "integer" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "list-repositories-in-domain" , description : "Returns a list of  RepositorySummary  objects. Each RepositorySummary contains information about a repository in the specified domain and that matches the input parameters" , options : [ { name : "--domain" , description : "The name of the domain that contains the returned list of repositories" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--administrator-account" , description : "Filter the list of repositories to only include those that are managed by the AWS account ID" , args : { name : "string" , } , } , { name : "--repository-prefix" , description : "A prefix used to filter returned repositories. Only repositories with names that start with repositoryPrefix are returned" , args : { name : "string" , } , } , { name : "--max-results" , description : "The maximum number of results to return per page" , args : { name : "integer" , } , } , { name : "--next-token" , description : "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--starting-token" , description : "A token to specify where to start paginating.  This is the\nNextToken from a previously truncated response.\nFor usage examples, see Pagination in the AWS Command Line Interface User\nGuide" , args : { name : "string" , } , } , { name : "--page-size" , description : "The size of each page to get in the AWS service call.  This\ndoes not affect the number of items returned in the command's\noutput.  Setting a smaller page size results in more calls to\nthe AWS service, retrieving fewer items in each call.  This can\nhelp prevent the AWS service calls from timing out.\nFor usage examples, see Pagination in the AWS Command Line Interface User\nGuide" , args : { name : "integer" , } , } , { name : "--max-items" , description : "The total number of items to return in the command's output.\nIf the total number of items available is more than the value\nspecified, a NextToken is provided in the command's\noutput.  To resume pagination, provide the\nNextToken value in the starting-token\nargument of a subsequent command.  Do not use the\nNextToken response element directly outside of the\nAWS CLI.\nFor usage examples, see Pagination in the AWS Command Line Interface User\nGuide" , args : { name : "integer" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "list-tags-for-resource" , description : "Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeArtifact" , options : [ { name : "--resource-arn" , description : "The Amazon Resource Name (ARN) of the resource to get tags for" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "put-domain-permissions-policy" , description : "Sets a resource policy on a domain that specifies permissions to access it.   When you call PutDomainPermissionsPolicy, the resource policy on the domain is ignored when evaluting permissions. This ensures that the owner of a domain cannot lock themselves out of the domain, which would prevent them from being able to update the resource policy" , options : [ { name : "--domain" , description : "The name of the domain on which to set the resource policy" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--policy-revision" , description : "The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy" , args : { name : "string" , } , } , { name : "--policy-document" , description : "A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "put-repository-permissions-policy" , description : "Sets the resource policy on a repository that specifies permissions to access it.   When you call PutRepositoryPermissionsPolicy, the resource policy on the repository is ignored when evaluting permissions. This ensures that the owner of a repository cannot lock themselves out of the repository, which would prevent them from being able to update the resource policy" , options : [ { name : "--domain" , description : "The name of the domain containing the repository to set the resource policy on" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The name of the repository to set the resource policy on" , args : { name : "string" , } , } , { name : "--policy-revision" , description : "Sets the revision of the resource policy that specifies permissions to access the repository. This revision is used for optimistic locking, which prevents others from overwriting your changes to the repository's resource policy" , args : { name : "string" , } , } , { name : "--policy-document" , description : "A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided repository" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "tag-resource" , description : "Adds or updates tags for a resource in AWS CodeArtifact" , options : [ { name : "--resource-arn" , description : "The Amazon Resource Name (ARN) of the resource that you want to add or update tags for" , args : { name : "string" , } , } , { name : "--tags" , description : "The tags you want to modify or add to the resource" , args : { name : "list" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "untag-resource" , description : "Removes tags from a resource in AWS CodeArtifact" , options : [ { name : "--resource-arn" , description : "The Amazon Resource Name (ARN) of the resource that you want to remove tags from" , args : { name : "string" , } , } , { name : "--tag-keys" , description : "The tag key for each tag that you want to remove from the resource" , args : { name : "list" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "update-package-versions-status" , description : "Updates the status of one or more versions of a package" , options : [ { name : "--domain" , description : "The name of the domain that contains the repository that contains the package versions with a status to be updated" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The repository that contains the package versions with the status you want to update" , args : { name : "string" , } , } , { name : "--format" , description : "A format that specifies the type of the package with the statuses to update. The valid values are:     npm     pypi     maven" , args : { name : "string" , } , } , { name : "--namespace" , description : "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" , args : { name : "string" , } , } , { name : "--package" , description : "The name of the package with the version statuses to update" , args : { name : "string" , } , } , { name : "--versions" , description : "An array of strings that specify the versions of the package with the statuses to update" , args : { name : "list" , } , } , { name : "--version-revisions" , description : "A map of package versions and package version revisions. The map key is the package version (for example, 3.5.2), and the map value is the package version revision" , args : { name : "map" , } , } , { name : "--expected-status" , description : "The package version\u2019s expected status before it is updated. If expectedStatus is provided, the package version's status is updated only if its status at the time UpdatePackageVersionsStatus is called matches expectedStatus" , args : { name : "string" , } , } , { name : "--target-status" , description : "The status you want to change the package version status to" , args : { name : "string" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "update-repository" , description : "Update the properties of a repository" , options : [ { name : "--domain" , description : "The name of the domain associated with the repository to update" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces" , args : { name : "string" , } , } , { name : "--repository" , description : "The name of the repository to update" , args : { name : "string" , } , } , { name : "--description" , description : "An updated repository description" , args : { name : "string" , } , } , { name : "--upstreams" , description : "A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when AWS CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories" , args : { name : "list" , } , } , { name : "--cli-input-json" , description : "Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI 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" , args : { name : "string" , } , } , { name : "--generate-cli-skeleton" , description : "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``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command" , args : { name : "string" , suggestions : [ "input" , "output" ] , } , } , ] , } , { name : "login" , description : "Sets up the idiomatic tool for your package format to use your CodeArtifact repository. Your login information is valid for up to 12 hours after which you must login again" , options : [ { name : "--tool" , description : "The tool you want to connect with your repository" , args : { name : "string" , suggestions : [ "nuget" , "dotnet" , "npm" , "pip" , "twine" ] , } , } , { name : "--domain" , description : "Your CodeArtifact domain name" , args : { name : "string" , } , } , { name : "--domain-owner" , description : "The AWS account ID that owns your CodeArtifact domain" , args : { name : "string" , } , } , { name : "--namespace" , description : "Associates a namespace with your repository tool" , args : { name : "string" , } , } , { name : "--duration-seconds" , description : "The time, in seconds, that the login information is valid" , args : { name : "integer" , } , } , { name : "--repository" , description : "Your CodeArtifact repository name" , args : { name : "string" , } , } , { name : "--dry-run" , description : "Only print the commands that would be executed to connect your tool with your repository without making any changes to your configuration" , } , ] , } , ] , } ; export default completionSpec ;