{ "version": "2.0", "metadata": { "apiVersion": "2018-09-22", "endpointPrefix": "codeartifact", "jsonVersion": "1.1", "protocol": "rest-json", "serviceFullName": "CodeArtifact", "serviceId": "codeartifact", "signatureVersion": "v4", "signingName": "codeartifact", "uid": "codeartifact-2018-09-22" }, "operations": { "AssociateExternalConnection": { "name": "AssociateExternalConnection", "http": { "method": "POST", "requestUri": "/v1/repository/external-connection" }, "input": { "shape": "AssociateExternalConnectionRequest" }, "output": { "shape": "AssociateExternalConnectionResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ServiceQuotaExceededException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

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.

" }, "CopyPackageVersions": { "name": "CopyPackageVersions", "http": { "method": "POST", "requestUri": "/v1/package/versions/copy" }, "input": { "shape": "CopyPackageVersionsRequest" }, "output": { "shape": "CopyPackageVersionsResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ServiceQuotaExceededException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Copies package versions from one repository to another repository in the same domain.

You must specify versions or versionRevisions. You cannot specify both.

" }, "CreateDomain": { "name": "CreateDomain", "http": { "method": "POST", "requestUri": "/v1/domain" }, "input": { "shape": "CreateDomainRequest" }, "output": { "shape": "CreateDomainResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ServiceQuotaExceededException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

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 Amazon Web Services 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.

" }, "CreatePackageGroup": { "name": "CreatePackageGroup", "http": { "method": "POST", "requestUri": "/v1/package-group" }, "input": { "shape": "CreatePackageGroupRequest" }, "output": { "shape": "CreatePackageGroupResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ServiceQuotaExceededException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Creates a package group. For more information about creating package groups, including example CLI commands, see Create a package group in the CodeArtifact User Guide.

" }, "CreateRepository": { "name": "CreateRepository", "http": { "method": "POST", "requestUri": "/v1/repository" }, "input": { "shape": "CreateRepositoryRequest" }, "output": { "shape": "CreateRepositoryResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ServiceQuotaExceededException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Creates a repository.

" }, "DeleteDomain": { "name": "DeleteDomain", "http": { "method": "DELETE", "requestUri": "/v1/domain" }, "input": { "shape": "DeleteDomainRequest" }, "output": { "shape": "DeleteDomainResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Deletes a domain. You cannot delete a domain that contains repositories. If you want to delete a domain with repositories, first delete its repositories.

" }, "DeleteDomainPermissionsPolicy": { "name": "DeleteDomainPermissionsPolicy", "http": { "method": "DELETE", "requestUri": "/v1/domain/permissions/policy" }, "input": { "shape": "DeleteDomainPermissionsPolicyRequest" }, "output": { "shape": "DeleteDomainPermissionsPolicyResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Deletes the resource policy set on a domain.

" }, "DeletePackage": { "name": "DeletePackage", "http": { "method": "DELETE", "requestUri": "/v1/package" }, "input": { "shape": "DeletePackageRequest" }, "output": { "shape": "DeletePackageResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Deletes a package and all associated package versions. A deleted package cannot be restored. To delete one or more package versions, use the DeletePackageVersions API.

" }, "DeletePackageGroup": { "name": "DeletePackageGroup", "http": { "method": "DELETE", "requestUri": "/v1/package-group" }, "input": { "shape": "DeletePackageGroupRequest" }, "output": { "shape": "DeletePackageGroupResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ServiceQuotaExceededException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Deletes a package group. Deleting a package group does not delete packages or package versions associated with the package group. When a package group is deleted, the direct child package groups will become children of the package group's direct parent package group. Therefore, if any of the child groups are inheriting any settings from the parent, those settings could change.

", "idempotent": true }, "DeletePackageVersions": { "name": "DeletePackageVersions", "http": { "method": "POST", "requestUri": "/v1/package/versions/delete" }, "input": { "shape": "DeletePackageVersionsRequest" }, "output": { "shape": "DeletePackageVersionsResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

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, ListPackageVersions), but you can restore them using UpdatePackageVersionsStatus.

" }, "DeleteRepository": { "name": "DeleteRepository", "http": { "method": "DELETE", "requestUri": "/v1/repository" }, "input": { "shape": "DeleteRepositoryRequest" }, "output": { "shape": "DeleteRepositoryResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Deletes a repository.

" }, "DeleteRepositoryPermissionsPolicy": { "name": "DeleteRepositoryPermissionsPolicy", "http": { "method": "DELETE", "requestUri": "/v1/repository/permissions/policies" }, "input": { "shape": "DeleteRepositoryPermissionsPolicyRequest" }, "output": { "shape": "DeleteRepositoryPermissionsPolicyResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

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, Amazon Web Services users, roles, and accounts lose permissions to perform the repository actions granted by the deleted policy.

" }, "DescribeDomain": { "name": "DescribeDomain", "http": { "method": "GET", "requestUri": "/v1/domain" }, "input": { "shape": "DescribeDomainRequest" }, "output": { "shape": "DescribeDomainResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Returns a DomainDescription object that contains information about the requested domain.

" }, "DescribePackage": { "name": "DescribePackage", "http": { "method": "GET", "requestUri": "/v1/package" }, "input": { "shape": "DescribePackageRequest" }, "output": { "shape": "DescribePackageResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Returns a PackageDescription object that contains information about the requested package.

" }, "DescribePackageGroup": { "name": "DescribePackageGroup", "http": { "method": "GET", "requestUri": "/v1/package-group" }, "input": { "shape": "DescribePackageGroupRequest" }, "output": { "shape": "DescribePackageGroupResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Returns a PackageGroupDescription object that contains information about the requested package group.

" }, "DescribePackageVersion": { "name": "DescribePackageVersion", "http": { "method": "GET", "requestUri": "/v1/package/version" }, "input": { "shape": "DescribePackageVersionRequest" }, "output": { "shape": "DescribePackageVersionResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Returns a PackageVersionDescription object that contains information about the requested package version.

" }, "DescribeRepository": { "name": "DescribeRepository", "http": { "method": "GET", "requestUri": "/v1/repository" }, "input": { "shape": "DescribeRepositoryRequest" }, "output": { "shape": "DescribeRepositoryResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Returns a RepositoryDescription object that contains detailed information about the requested repository.

" }, "DisassociateExternalConnection": { "name": "DisassociateExternalConnection", "http": { "method": "DELETE", "requestUri": "/v1/repository/external-connection" }, "input": { "shape": "DisassociateExternalConnectionRequest" }, "output": { "shape": "DisassociateExternalConnectionResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ServiceQuotaExceededException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Removes an existing external connection from a repository.

" }, "DisposePackageVersions": { "name": "DisposePackageVersions", "http": { "method": "POST", "requestUri": "/v1/package/versions/dispose" }, "input": { "shape": "DisposePackageVersionsRequest" }, "output": { "shape": "DisposePackageVersionsResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

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.

" }, "GetAssociatedPackageGroup": { "name": "GetAssociatedPackageGroup", "http": { "method": "GET", "requestUri": "/v1/get-associated-package-group" }, "input": { "shape": "GetAssociatedPackageGroupRequest" }, "output": { "shape": "GetAssociatedPackageGroupResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Returns the most closely associated package group to the specified package. This API does not require that the package exist in any repository in the domain. As such, GetAssociatedPackageGroup can be used to see which package group's origin configuration applies to a package before that package is in a repository. This can be helpful to check if public packages are blocked without ingesting them.

For information package group association and matching, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.

" }, "GetAuthorizationToken": { "name": "GetAuthorizationToken", "http": { "method": "POST", "requestUri": "/v1/authorization-token" }, "input": { "shape": "GetAuthorizationTokenRequest" }, "output": { "shape": "GetAuthorizationTokenResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

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 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.

" }, "GetDomainPermissionsPolicy": { "name": "GetDomainPermissionsPolicy", "http": { "method": "GET", "requestUri": "/v1/domain/permissions/policy" }, "input": { "shape": "GetDomainPermissionsPolicyRequest" }, "output": { "shape": "GetDomainPermissionsPolicyResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

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 IAM User Guide.

" }, "GetPackageVersionAsset": { "name": "GetPackageVersionAsset", "http": { "method": "GET", "requestUri": "/v1/package/version/asset" }, "input": { "shape": "GetPackageVersionAssetRequest" }, "output": { "shape": "GetPackageVersionAssetResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" }, { "shape": "ConflictException" } ], "documentation": "

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.

" }, "GetPackageVersionReadme": { "name": "GetPackageVersionReadme", "http": { "method": "GET", "requestUri": "/v1/package/version/readme" }, "input": { "shape": "GetPackageVersionReadmeRequest" }, "output": { "shape": "GetPackageVersionReadmeResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Gets the readme file or descriptive text for a package version.

The returned text might contain formatting. For example, it might contain formatting for Markdown or reStructuredText.

" }, "GetRepositoryEndpoint": { "name": "GetRepositoryEndpoint", "http": { "method": "GET", "requestUri": "/v1/repository/endpoint" }, "input": { "shape": "GetRepositoryEndpointRequest" }, "output": { "shape": "GetRepositoryEndpointResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:

" }, "GetRepositoryPermissionsPolicy": { "name": "GetRepositoryPermissionsPolicy", "http": { "method": "GET", "requestUri": "/v1/repository/permissions/policy" }, "input": { "shape": "GetRepositoryPermissionsPolicyRequest" }, "output": { "shape": "GetRepositoryPermissionsPolicyResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Returns the resource policy that is set on a repository.

" }, "ListAllowedRepositoriesForGroup": { "name": "ListAllowedRepositoriesForGroup", "http": { "method": "GET", "requestUri": "/v1/package-group-allowed-repositories" }, "input": { "shape": "ListAllowedRepositoriesForGroupRequest" }, "output": { "shape": "ListAllowedRepositoriesForGroupResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ServiceQuotaExceededException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Lists the repositories in the added repositories list of the specified restriction type for a package group. For more information about restriction types and added repository lists, see Package group origin controls in the CodeArtifact User Guide.

" }, "ListAssociatedPackages": { "name": "ListAssociatedPackages", "http": { "method": "GET", "requestUri": "/v1/list-associated-packages" }, "input": { "shape": "ListAssociatedPackagesRequest" }, "output": { "shape": "ListAssociatedPackagesResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Returns a list of packages associated with the requested package group. For information package group association and matching, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.

" }, "ListDomains": { "name": "ListDomains", "http": { "method": "POST", "requestUri": "/v1/domains" }, "input": { "shape": "ListDomainsRequest" }, "output": { "shape": "ListDomainsResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Returns a list of DomainSummary objects for all domains owned by the Amazon Web Services account that makes this call. Each returned DomainSummary object contains information about a domain.

" }, "ListPackageGroups": { "name": "ListPackageGroups", "http": { "method": "POST", "requestUri": "/v1/package-groups" }, "input": { "shape": "ListPackageGroupsRequest" }, "output": { "shape": "ListPackageGroupsResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Returns a list of package groups in the requested domain.

" }, "ListPackageVersionAssets": { "name": "ListPackageVersionAssets", "http": { "method": "POST", "requestUri": "/v1/package/version/assets" }, "input": { "shape": "ListPackageVersionAssetsRequest" }, "output": { "shape": "ListPackageVersionAssetsResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Returns a list of AssetSummary objects for assets in a package version.

" }, "ListPackageVersionDependencies": { "name": "ListPackageVersionDependencies", "http": { "method": "POST", "requestUri": "/v1/package/version/dependencies" }, "input": { "shape": "ListPackageVersionDependenciesRequest" }, "output": { "shape": "ListPackageVersionDependenciesResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

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.

" }, "ListPackageVersions": { "name": "ListPackageVersions", "http": { "method": "POST", "requestUri": "/v1/package/versions" }, "input": { "shape": "ListPackageVersionsRequest" }, "output": { "shape": "ListPackageVersionsResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Returns a list of PackageVersionSummary objects for package versions in a repository that match the request parameters. Package versions of all statuses will be returned by default when calling list-package-versions with no --status parameter.

" }, "ListPackages": { "name": "ListPackages", "http": { "method": "POST", "requestUri": "/v1/packages" }, "input": { "shape": "ListPackagesRequest" }, "output": { "shape": "ListPackagesResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Returns a list of PackageSummary objects for packages in a repository that match the request parameters.

" }, "ListRepositories": { "name": "ListRepositories", "http": { "method": "POST", "requestUri": "/v1/repositories" }, "input": { "shape": "ListRepositoriesRequest" }, "output": { "shape": "ListRepositoriesResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Returns a list of RepositorySummary objects. Each RepositorySummary contains information about a repository in the specified Amazon Web Services account and that matches the input parameters.

" }, "ListRepositoriesInDomain": { "name": "ListRepositoriesInDomain", "http": { "method": "POST", "requestUri": "/v1/domain/repositories" }, "input": { "shape": "ListRepositoriesInDomainRequest" }, "output": { "shape": "ListRepositoriesInDomainResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Returns a list of RepositorySummary objects. Each RepositorySummary contains information about a repository in the specified domain and that matches the input parameters.

" }, "ListSubPackageGroups": { "name": "ListSubPackageGroups", "http": { "method": "POST", "requestUri": "/v1/package-groups/sub-groups" }, "input": { "shape": "ListSubPackageGroupsRequest" }, "output": { "shape": "ListSubPackageGroupsResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Returns a list of direct children of the specified package group.

For information package group hierarchy, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.

" }, "ListTagsForResource": { "name": "ListTagsForResource", "http": { "method": "POST", "requestUri": "/v1/tags" }, "input": { "shape": "ListTagsForResourceRequest" }, "output": { "shape": "ListTagsForResourceResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in CodeArtifact.

" }, "PublishPackageVersion": { "name": "PublishPackageVersion", "http": { "method": "POST", "requestUri": "/v1/package/version/publish" }, "input": { "shape": "PublishPackageVersionRequest" }, "output": { "shape": "PublishPackageVersionResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ServiceQuotaExceededException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Creates a new package version containing one or more assets (or files).

The unfinished flag can be used to keep the package version in the Unfinished state until all of its assets have been uploaded (see Package version status in the CodeArtifact user guide). To set the package version’s status to Published, omit the unfinished flag when uploading the final asset, or set the status using UpdatePackageVersionStatus. Once a package version’s status is set to Published, it cannot change back to Unfinished.

Only generic packages can be published using this API. For more information, see Using generic packages in the CodeArtifact User Guide.

" }, "PutDomainPermissionsPolicy": { "name": "PutDomainPermissionsPolicy", "http": { "method": "PUT", "requestUri": "/v1/domain/permissions/policy" }, "input": { "shape": "PutDomainPermissionsPolicyRequest" }, "output": { "shape": "PutDomainPermissionsPolicyResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ServiceQuotaExceededException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

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.

" }, "PutPackageOriginConfiguration": { "name": "PutPackageOriginConfiguration", "http": { "method": "POST", "requestUri": "/v1/package" }, "input": { "shape": "PutPackageOriginConfigurationRequest" }, "output": { "shape": "PutPackageOriginConfigurationResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Sets the package origin configuration for a package.

The package origin configuration determines how new versions of a package can be added to a repository. You can allow or block direct publishing of new package versions, or ingestion and retaining of new package versions from an external connection or upstream source. For more information about package origin controls and configuration, see Editing package origin controls in the CodeArtifact User Guide.

PutPackageOriginConfiguration can be called on a package that doesn't yet exist in the repository. When called on a package that does not exist, a package is created in the repository with no versions and the requested restrictions are set on the package. This can be used to preemptively block ingesting or retaining any versions from external connections or upstream repositories, or to block publishing any versions of the package into the repository before connecting any package managers or publishers to the repository.

" }, "PutRepositoryPermissionsPolicy": { "name": "PutRepositoryPermissionsPolicy", "http": { "method": "PUT", "requestUri": "/v1/repository/permissions/policy" }, "input": { "shape": "PutRepositoryPermissionsPolicyRequest" }, "output": { "shape": "PutRepositoryPermissionsPolicyResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ServiceQuotaExceededException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

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.

" }, "TagResource": { "name": "TagResource", "http": { "method": "POST", "requestUri": "/v1/tag" }, "input": { "shape": "TagResourceRequest" }, "output": { "shape": "TagResourceResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ServiceQuotaExceededException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Adds or updates tags for a resource in CodeArtifact.

" }, "UntagResource": { "name": "UntagResource", "http": { "method": "POST", "requestUri": "/v1/untag" }, "input": { "shape": "UntagResourceRequest" }, "output": { "shape": "UntagResourceResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Removes tags from a resource in CodeArtifact.

" }, "UpdatePackageGroup": { "name": "UpdatePackageGroup", "http": { "method": "PUT", "requestUri": "/v1/package-group" }, "input": { "shape": "UpdatePackageGroupRequest" }, "output": { "shape": "UpdatePackageGroupResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ServiceQuotaExceededException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Updates a package group. This API cannot be used to update a package group's origin configuration or pattern. To update a package group's origin configuration, use UpdatePackageGroupOriginConfiguration.

", "idempotent": true }, "UpdatePackageGroupOriginConfiguration": { "name": "UpdatePackageGroupOriginConfiguration", "http": { "method": "PUT", "requestUri": "/v1/package-group-origin-configuration" }, "input": { "shape": "UpdatePackageGroupOriginConfigurationRequest" }, "output": { "shape": "UpdatePackageGroupOriginConfigurationResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ServiceQuotaExceededException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Updates the package origin configuration for a package group.

The package origin configuration determines how new versions of a package can be added to a repository. You can allow or block direct publishing of new package versions, or ingestion and retaining of new package versions from an external connection or upstream source. For more information about package group origin controls and configuration, see Package group origin controls in the CodeArtifact User Guide.

", "idempotent": true }, "UpdatePackageVersionsStatus": { "name": "UpdatePackageVersionsStatus", "http": { "method": "POST", "requestUri": "/v1/package/versions/update_status" }, "input": { "shape": "UpdatePackageVersionsStatusRequest" }, "output": { "shape": "UpdatePackageVersionsStatusResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Updates the status of one or more versions of a package. Using UpdatePackageVersionsStatus, you can update the status of package versions to Archived, Published, or Unlisted. To set the status of a package version to Disposed, use DisposePackageVersions.

" }, "UpdateRepository": { "name": "UpdateRepository", "http": { "method": "PUT", "requestUri": "/v1/repository" }, "input": { "shape": "UpdateRepositoryRequest" }, "output": { "shape": "UpdateRepositoryResult" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "InternalServerException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ServiceQuotaExceededException" }, { "shape": "ThrottlingException" }, { "shape": "ValidationException" } ], "documentation": "

Update the properties of a repository.

" } }, "shapes": { "AccountId": { "type": "string", "max": 12, "min": 12, "pattern": "[0-9]{12}" }, "AllowPublish": { "type": "string", "enum": [ "ALLOW", "BLOCK" ] }, "AllowUpstream": { "type": "string", "enum": [ "ALLOW", "BLOCK" ] }, "Arn": { "type": "string", "max": 1011, "min": 1, "pattern": "\\S+" }, "Asset": { "type": "blob", "streaming": true }, "AssetHashes": { "type": "map", "key": { "shape": "HashAlgorithm" }, "value": { "shape": "HashValue" } }, "AssetName": { "type": "string", "max": 255, "min": 1, "pattern": "\\P{C}+" }, "AssetSummary": { "type": "structure", "required": [ "name" ], "members": { "name": { "shape": "AssetName", "documentation": "

The name of the asset.

" }, "size": { "shape": "LongOptional", "documentation": "

The size of the asset.

" }, "hashes": { "shape": "AssetHashes", "documentation": "

The hashes of the asset.

" } }, "documentation": "

Contains details about a package version asset.

" }, "AssetSummaryList": { "type": "list", "member": { "shape": "AssetSummary" } }, "AssociateExternalConnectionRequest": { "type": "structure", "required": [ "domain", "repository", "externalConnection" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository to which the external connection is added.

", "location": "querystring", "locationName": "repository" }, "externalConnection": { "shape": "ExternalConnectionName", "documentation": "

The name of the external connection to add to the repository. The following values are supported:

", "location": "querystring", "locationName": "external-connection" } } }, "AssociateExternalConnectionResult": { "type": "structure", "members": { "repository": { "shape": "RepositoryDescription", "documentation": "

Information about the connected repository after processing the request.

" } } }, "AssociatedPackage": { "type": "structure", "members": { "format": { "shape": "PackageFormat", "documentation": "

A format that specifies the type of the associated package.

" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the associated package. The package component that specifies its namespace depends on its type. For example:

" }, "package": { "shape": "PackageName", "documentation": "

The name of the associated package.

" }, "associationType": { "shape": "PackageGroupAssociationType", "documentation": "

Describes the strength of the association between the package and package group. A strong match can be thought of as an exact match, and a weak match can be thought of as a variation match, for example, the package name matches a variation of the package group pattern. For more information about package group pattern matching, including strong and weak matches, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.

" } }, "documentation": "

A package associated with a package group.

" }, "AssociatedPackageList": { "type": "list", "member": { "shape": "AssociatedPackage" } }, "AuthorizationTokenDurationSeconds": { "type": "long", "max": 43200, "min": 0 }, "BooleanOptional": { "type": "boolean" }, "CopyPackageVersionsRequest": { "type": "structure", "required": [ "domain", "sourceRepository", "destinationRepository", "format", "package" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the source and destination repositories.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "sourceRepository": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the package versions to be copied.

", "location": "querystring", "locationName": "source-repository" }, "destinationRepository": { "shape": "RepositoryName", "documentation": "

The name of the repository into which package versions are copied.

", "location": "querystring", "locationName": "destination-repository" }, "format": { "shape": "PackageFormat", "documentation": "

The format of the package versions to be copied.

", "location": "querystring", "locationName": "format" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package versions to be copied. The package component that specifies its namespace depends on its type. For example:

The namespace is required when copying package versions of the following formats:

", "location": "querystring", "locationName": "namespace" }, "package": { "shape": "PackageName", "documentation": "

The name of the package that contains the versions to be copied.

", "location": "querystring", "locationName": "package" }, "versions": { "shape": "PackageVersionList", "documentation": "

The versions of the package to be copied.

You must specify versions or versionRevisions. You cannot specify both.

" }, "versionRevisions": { "shape": "PackageVersionRevisionMap", "documentation": "

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.

" }, "allowOverwrite": { "shape": "BooleanOptional", "documentation": "

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.

" }, "includeFromUpstream": { "shape": "BooleanOptional", "documentation": "

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.

" } } }, "CopyPackageVersionsResult": { "type": "structure", "members": { "successfulVersions": { "shape": "SuccessfulPackageVersionInfoMap", "documentation": "

A list of the package versions that were successfully copied to your repository.

" }, "failedVersions": { "shape": "PackageVersionErrorMap", "documentation": "

A map of package versions that failed to copy and their error codes. The possible error codes are in the PackageVersionError data type. They are:

" } } }, "CreateDomainRequest": { "type": "structure", "required": [ "domain" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain to create. All domain names in an Amazon Web Services Region that are in the same Amazon Web Services 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.

", "location": "querystring", "locationName": "domain" }, "encryptionKey": { "shape": "Arn", "documentation": "

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 Key Management Service API Reference and Key Management Service API Permissions Reference in the 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 Key Management Service Developer Guide.

" }, "tags": { "shape": "TagList", "documentation": "

One or more tag key-value pairs for the domain.

" } } }, "CreateDomainResult": { "type": "structure", "members": { "domain": { "shape": "DomainDescription", "documentation": "

Contains information about the created domain after processing the request.

" } } }, "CreatePackageGroupRequest": { "type": "structure", "required": [ "domain", "packageGroup" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain in which you want to create a package group.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "packageGroup": { "shape": "PackageGroupPattern", "documentation": "

The pattern of the package group to create. The pattern is also the identifier of the package group.

" }, "contactInfo": { "shape": "PackageGroupContactInfo", "documentation": "

The contact information for the created package group.

" }, "description": { "shape": "Description", "documentation": "

A description of the package group.

" }, "tags": { "shape": "TagList", "documentation": "

One or more tag key-value pairs for the package group.

" } } }, "CreatePackageGroupResult": { "type": "structure", "members": { "packageGroup": { "shape": "PackageGroupDescription", "documentation": "

Information about the created package group after processing the request.

" } } }, "CreateRepositoryRequest": { "type": "structure", "required": [ "domain", "repository" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the created repository.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository to create.

", "location": "querystring", "locationName": "repository" }, "description": { "shape": "Description", "documentation": "

A description of the created repository.

" }, "upstreams": { "shape": "UpstreamRepositoryList", "documentation": "

A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.

" }, "tags": { "shape": "TagList", "documentation": "

One or more tag key-value pairs for the repository.

" } } }, "CreateRepositoryResult": { "type": "structure", "members": { "repository": { "shape": "RepositoryDescription", "documentation": "

Information about the created repository after processing the request.

" } } }, "DeleteDomainPermissionsPolicyRequest": { "type": "structure", "required": [ "domain" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain associated with the resource policy to be deleted.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "policyRevision": { "shape": "PolicyRevision", "documentation": "

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.

", "location": "querystring", "locationName": "policy-revision" } } }, "DeleteDomainPermissionsPolicyResult": { "type": "structure", "members": { "policy": { "shape": "ResourcePolicy", "documentation": "

Information about the deleted resource policy after processing the request.

" } } }, "DeleteDomainRequest": { "type": "structure", "required": [ "domain" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain to delete.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" } } }, "DeleteDomainResult": { "type": "structure", "members": { "domain": { "shape": "DomainDescription", "documentation": "

Contains information about the deleted domain after processing the request.

" } } }, "DeletePackageGroupRequest": { "type": "structure", "required": [ "domain", "packageGroup" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The domain that contains the package group to be deleted.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "packageGroup": { "shape": "String", "documentation": "

The pattern of the package group to be deleted.

", "location": "querystring", "locationName": "package-group" } } }, "DeletePackageGroupResult": { "type": "structure", "members": { "packageGroup": { "shape": "PackageGroupDescription", "documentation": "

Information about the deleted package group after processing the request.

" } } }, "DeletePackageRequest": { "type": "structure", "required": [ "domain", "repository", "format", "package" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the package to delete.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the package to delete.

", "location": "querystring", "locationName": "repository" }, "format": { "shape": "PackageFormat", "documentation": "

The format of the requested package to delete.

", "location": "querystring", "locationName": "format" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example:

The namespace is required when deleting packages of the following formats:

", "location": "querystring", "locationName": "namespace" }, "package": { "shape": "PackageName", "documentation": "

The name of the package to delete.

", "location": "querystring", "locationName": "package" } } }, "DeletePackageResult": { "type": "structure", "members": { "deletedPackage": { "shape": "PackageSummary" } } }, "DeletePackageVersionsRequest": { "type": "structure", "required": [ "domain", "repository", "format", "package", "versions" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the package to delete.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the package versions to delete.

", "location": "querystring", "locationName": "repository" }, "format": { "shape": "PackageFormat", "documentation": "

The format of the package versions to delete.

", "location": "querystring", "locationName": "format" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package versions to be deleted. The package component that specifies its namespace depends on its type. For example:

The namespace is required when deleting package versions of the following formats:

", "location": "querystring", "locationName": "namespace" }, "package": { "shape": "PackageName", "documentation": "

The name of the package with the versions to delete.

", "location": "querystring", "locationName": "package" }, "versions": { "shape": "PackageVersionList", "documentation": "

An array of strings that specify the versions of the package to delete.

" }, "expectedStatus": { "shape": "PackageVersionStatus", "documentation": "

The expected status of the package version to delete.

" } } }, "DeletePackageVersionsResult": { "type": "structure", "members": { "successfulVersions": { "shape": "SuccessfulPackageVersionInfoMap", "documentation": "

A list of the package versions that were successfully deleted. The status of every successful version will be Deleted.

" }, "failedVersions": { "shape": "PackageVersionErrorMap", "documentation": "

A PackageVersionError object that contains a map of errors codes for the deleted package that failed. The possible error codes are:

" } } }, "DeleteRepositoryPermissionsPolicyRequest": { "type": "structure", "required": [ "domain", "repository" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository associated with the resource policy to be deleted.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository that is associated with the resource policy to be deleted

", "location": "querystring", "locationName": "repository" }, "policyRevision": { "shape": "PolicyRevision", "documentation": "

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.

", "location": "querystring", "locationName": "policy-revision" } } }, "DeleteRepositoryPermissionsPolicyResult": { "type": "structure", "members": { "policy": { "shape": "ResourcePolicy", "documentation": "

Information about the deleted policy after processing the request.

" } } }, "DeleteRepositoryRequest": { "type": "structure", "required": [ "domain", "repository" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository to delete.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository to delete.

", "location": "querystring", "locationName": "repository" } } }, "DeleteRepositoryResult": { "type": "structure", "members": { "repository": { "shape": "RepositoryDescription", "documentation": "

Information about the deleted repository after processing the request.

" } } }, "DescribeDomainRequest": { "type": "structure", "required": [ "domain" ], "members": { "domain": { "shape": "DomainName", "documentation": "

A string that specifies the name of the requested domain.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" } } }, "DescribeDomainResult": { "type": "structure", "members": { "domain": { "shape": "DomainDescription" } } }, "DescribePackageGroupRequest": { "type": "structure", "required": [ "domain", "packageGroup" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the package group.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "packageGroup": { "shape": "PackageGroupPattern", "documentation": "

The pattern of the requested package group.

", "location": "querystring", "locationName": "package-group" } } }, "DescribePackageGroupResult": { "type": "structure", "members": { "packageGroup": { "shape": "PackageGroupDescription", "documentation": "

A PackageGroupDescription object that contains information about the requested package group.

" } } }, "DescribePackageRequest": { "type": "structure", "required": [ "domain", "repository", "format", "package" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository that contains the package.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the requested package.

", "location": "querystring", "locationName": "repository" }, "format": { "shape": "PackageFormat", "documentation": "

A format that specifies the type of the requested package.

", "location": "querystring", "locationName": "format" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the requested package. The package component that specifies its namespace depends on its type. For example:

The namespace is required when requesting packages of the following formats:

", "location": "querystring", "locationName": "namespace" }, "package": { "shape": "PackageName", "documentation": "

The name of the requested package.

", "location": "querystring", "locationName": "package" } } }, "DescribePackageResult": { "type": "structure", "required": [ "package" ], "members": { "package": { "shape": "PackageDescription", "documentation": "

A PackageDescription object that contains information about the requested package.

" } } }, "DescribePackageVersionRequest": { "type": "structure", "required": [ "domain", "repository", "format", "package", "packageVersion" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository that contains the package version.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the package version.

", "location": "querystring", "locationName": "repository" }, "format": { "shape": "PackageFormat", "documentation": "

A format that specifies the type of the requested package version.

", "location": "querystring", "locationName": "format" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the requested package version. The package component that specifies its namespace depends on its type. For example:

The namespace is required when requesting package versions of the following formats:

", "location": "querystring", "locationName": "namespace" }, "package": { "shape": "PackageName", "documentation": "

The name of the requested package version.

", "location": "querystring", "locationName": "package" }, "packageVersion": { "shape": "PackageVersion", "documentation": "

A string that contains the package version (for example, 3.5.2).

", "location": "querystring", "locationName": "version" } } }, "DescribePackageVersionResult": { "type": "structure", "required": [ "packageVersion" ], "members": { "packageVersion": { "shape": "PackageVersionDescription", "documentation": "

A PackageVersionDescription object that contains information about the requested package version.

" } } }, "DescribeRepositoryRequest": { "type": "structure", "required": [ "domain", "repository" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository to describe.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

A string that specifies the name of the requested repository.

", "location": "querystring", "locationName": "repository" } } }, "DescribeRepositoryResult": { "type": "structure", "members": { "repository": { "shape": "RepositoryDescription", "documentation": "

A RepositoryDescription object that contains the requested repository information.

" } } }, "Description": { "type": "string", "max": 1000, "pattern": "\\P{C}*" }, "DisassociateExternalConnectionRequest": { "type": "structure", "required": [ "domain", "repository", "externalConnection" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository from which to remove the external repository.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository from which the external connection will be removed.

", "location": "querystring", "locationName": "repository" }, "externalConnection": { "shape": "ExternalConnectionName", "documentation": "

The name of the external connection to be removed from the repository.

", "location": "querystring", "locationName": "external-connection" } } }, "DisassociateExternalConnectionResult": { "type": "structure", "members": { "repository": { "shape": "RepositoryDescription", "documentation": "

The repository associated with the removed external connection.

" } } }, "DisposePackageVersionsRequest": { "type": "structure", "required": [ "domain", "repository", "format", "package", "versions" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository you want to dispose.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the package versions you want to dispose.

", "location": "querystring", "locationName": "repository" }, "format": { "shape": "PackageFormat", "documentation": "

A format that specifies the type of package versions you want to dispose.

", "location": "querystring", "locationName": "format" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package versions to be disposed. The package component that specifies its namespace depends on its type. For example:

The namespace is required when disposing package versions of the following formats:

", "location": "querystring", "locationName": "namespace" }, "package": { "shape": "PackageName", "documentation": "

The name of the package with the versions you want to dispose.

", "location": "querystring", "locationName": "package" }, "versions": { "shape": "PackageVersionList", "documentation": "

The versions of the package you want to dispose.

" }, "versionRevisions": { "shape": "PackageVersionRevisionMap", "documentation": "

The revisions of the package versions you want to dispose.

" }, "expectedStatus": { "shape": "PackageVersionStatus", "documentation": "

The expected status of the package version to dispose.

" } } }, "DisposePackageVersionsResult": { "type": "structure", "members": { "successfulVersions": { "shape": "SuccessfulPackageVersionInfoMap", "documentation": "

A list of the package versions that were successfully disposed.

" }, "failedVersions": { "shape": "PackageVersionErrorMap", "documentation": "

A PackageVersionError object that contains a map of errors codes for the disposed package versions that failed. The possible error codes are:

" } } }, "DomainDescription": { "type": "structure", "members": { "name": { "shape": "DomainName", "documentation": "

The name of the domain.

" }, "owner": { "shape": "AccountId", "documentation": "

The Amazon Web Services account ID that owns the domain.

" }, "arn": { "shape": "Arn", "documentation": "

The Amazon Resource Name (ARN) of the domain.

" }, "status": { "shape": "DomainStatus", "documentation": "

The current status of a domain.

" }, "createdTime": { "shape": "Timestamp", "documentation": "

A timestamp that represents the date and time the domain was created.

" }, "encryptionKey": { "shape": "Arn", "documentation": "

The ARN of an Key Management Service (KMS) key associated with a domain.

" }, "repositoryCount": { "shape": "Integer", "documentation": "

The number of repositories in the domain.

" }, "assetSizeBytes": { "shape": "Long", "documentation": "

The total size of all assets in the domain.

" }, "s3BucketArn": { "shape": "Arn", "documentation": "

The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to store package assets in the domain.

" } }, "documentation": "

Information about a domain. A domain is a container for repositories. When you create a domain, it is empty until you add one or more repositories.

" }, "DomainEntryPoint": { "type": "structure", "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository that a package was originally published to.

" }, "externalConnectionName": { "shape": "ExternalConnectionName", "documentation": "

The name of the external connection that a package was ingested from.

" } }, "documentation": "

Information about how a package originally entered the CodeArtifact domain. For packages published directly to CodeArtifact, the entry point is the repository it was published to. For packages ingested from an external repository, the entry point is the external connection that it was ingested from. An external connection is a CodeArtifact repository that is connected to an external repository such as the npm registry or NuGet gallery.

If a package version exists in a repository and is updated, for example if a package of the same version is added with additional assets, the package version's DomainEntryPoint will not change from the original package version's value.

" }, "DomainName": { "type": "string", "max": 50, "min": 2, "pattern": "[a-z][a-z0-9\\-]{0,48}[a-z0-9]" }, "DomainStatus": { "type": "string", "enum": [ "Active", "Deleted" ] }, "DomainSummary": { "type": "structure", "members": { "name": { "shape": "DomainName", "documentation": "

The name of the domain.

" }, "owner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

" }, "arn": { "shape": "Arn", "documentation": "

The ARN of the domain.

" }, "status": { "shape": "DomainStatus", "documentation": "

A string that contains the status of the domain.

" }, "createdTime": { "shape": "Timestamp", "documentation": "

A timestamp that contains the date and time the domain was created.

" }, "encryptionKey": { "shape": "Arn", "documentation": "

The key used to encrypt the domain.

" } }, "documentation": "

Information about a domain, including its name, Amazon Resource Name (ARN), and status. The ListDomains operation returns a list of DomainSummary objects.

" }, "DomainSummaryList": { "type": "list", "member": { "shape": "DomainSummary" } }, "ErrorMessage": { "type": "string" }, "ExternalConnectionName": { "type": "string", "max": 100, "min": 2, "pattern": "[A-Za-z0-9][A-Za-z0-9._\\-:]{1,99}" }, "ExternalConnectionStatus": { "type": "string", "enum": [ "Available" ] }, "GetAssociatedPackageGroupRequest": { "type": "structure", "required": [ "domain", "format", "package" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the package from which to get the associated package group.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "format": { "shape": "PackageFormat", "documentation": "

The format of the package from which to get the associated package group.

", "location": "querystring", "locationName": "format" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package from which to get the associated package group. The package component that specifies its namespace depends on its type. For example:

The namespace is required when getting associated package groups from packages of the following formats:

", "location": "querystring", "locationName": "namespace" }, "package": { "shape": "PackageName", "documentation": "

The package from which to get the associated package group.

", "location": "querystring", "locationName": "package" } } }, "GetAssociatedPackageGroupResult": { "type": "structure", "members": { "packageGroup": { "shape": "PackageGroupDescription", "documentation": "

The package group that is associated with the requested package.

" }, "associationType": { "shape": "PackageGroupAssociationType", "documentation": "

Describes the strength of the association between the package and package group. A strong match is also known as an exact match, and a weak match is known as a relative match.

" } } }, "GetAuthorizationTokenRequest": { "type": "structure", "required": [ "domain" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that is in scope for the generated authorization token.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "durationSeconds": { "shape": "AuthorizationTokenDurationSeconds", "documentation": "

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.

", "location": "querystring", "locationName": "duration" } } }, "GetAuthorizationTokenResult": { "type": "structure", "members": { "authorizationToken": { "shape": "String", "documentation": "

The returned authentication token.

" }, "expiration": { "shape": "Timestamp", "documentation": "

A timestamp that specifies the date and time the authorization token expires.

" } }, "sensitive": true }, "GetDomainPermissionsPolicyRequest": { "type": "structure", "required": [ "domain" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain to which the resource policy is attached.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" } } }, "GetDomainPermissionsPolicyResult": { "type": "structure", "members": { "policy": { "shape": "ResourcePolicy", "documentation": "

The returned resource policy.

" } } }, "GetPackageVersionAssetRequest": { "type": "structure", "required": [ "domain", "repository", "format", "package", "packageVersion", "asset" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository that contains the package version with the requested asset.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The repository that contains the package version with the requested asset.

", "location": "querystring", "locationName": "repository" }, "format": { "shape": "PackageFormat", "documentation": "

A format that specifies the type of the package version with the requested asset file.

", "location": "querystring", "locationName": "format" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package version with the requested asset file. The package component that specifies its namespace depends on its type. For example:

The namespace is required when requesting assets from package versions of the following formats:

", "location": "querystring", "locationName": "namespace" }, "package": { "shape": "PackageName", "documentation": "

The name of the package that contains the requested asset.

", "location": "querystring", "locationName": "package" }, "packageVersion": { "shape": "PackageVersion", "documentation": "

A string that contains the package version (for example, 3.5.2).

", "location": "querystring", "locationName": "version" }, "asset": { "shape": "AssetName", "documentation": "

The name of the requested asset.

", "location": "querystring", "locationName": "asset" }, "packageVersionRevision": { "shape": "PackageVersionRevision", "documentation": "

The name of the package version revision that contains the requested asset.

", "location": "querystring", "locationName": "revision" } } }, "GetPackageVersionAssetResult": { "type": "structure", "members": { "asset": { "shape": "Asset", "documentation": "

The binary file, or asset, that is downloaded.

" }, "assetName": { "shape": "AssetName", "documentation": "

The name of the asset that is downloaded.

", "location": "header", "locationName": "X-AssetName" }, "packageVersion": { "shape": "PackageVersion", "documentation": "

A string that contains the package version (for example, 3.5.2).

", "location": "header", "locationName": "X-PackageVersion" }, "packageVersionRevision": { "shape": "PackageVersionRevision", "documentation": "

The name of the package version revision that contains the downloaded asset.

", "location": "header", "locationName": "X-PackageVersionRevision" } }, "payload": "asset" }, "GetPackageVersionReadmeRequest": { "type": "structure", "required": [ "domain", "repository", "format", "package", "packageVersion" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository that contains the package version with the requested readme file.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The repository that contains the package with the requested readme file.

", "location": "querystring", "locationName": "repository" }, "format": { "shape": "PackageFormat", "documentation": "

A format that specifies the type of the package version with the requested readme file.

", "location": "querystring", "locationName": "format" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package version with the requested readme file. The package component that specifies its namespace depends on its type. For example:

The namespace is required when requesting the readme from package versions of the following formats:

", "location": "querystring", "locationName": "namespace" }, "package": { "shape": "PackageName", "documentation": "

The name of the package version that contains the requested readme file.

", "location": "querystring", "locationName": "package" }, "packageVersion": { "shape": "PackageVersion", "documentation": "

A string that contains the package version (for example, 3.5.2).

", "location": "querystring", "locationName": "version" } } }, "GetPackageVersionReadmeResult": { "type": "structure", "members": { "format": { "shape": "PackageFormat", "documentation": "

The format of the package with the requested readme file.

" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package version with the requested readme file. The package component that specifies its namespace depends on its type. For example:

" }, "package": { "shape": "PackageName", "documentation": "

The name of the package that contains the returned readme file.

" }, "version": { "shape": "PackageVersion", "documentation": "

The version of the package with the requested readme file.

" }, "versionRevision": { "shape": "PackageVersionRevision", "documentation": "

The current revision associated with the package version.

" }, "readme": { "shape": "String", "documentation": "

The text of the returned readme file.

" } } }, "GetRepositoryEndpointRequest": { "type": "structure", "required": [ "domain", "repository", "format" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository.

", "location": "querystring", "locationName": "repository" }, "format": { "shape": "PackageFormat", "documentation": "

Returns which endpoint of a repository to return. A repository has one endpoint for each package format.

", "location": "querystring", "locationName": "format" } } }, "GetRepositoryEndpointResult": { "type": "structure", "members": { "repositoryEndpoint": { "shape": "String", "documentation": "

A string that specifies the URL of the returned endpoint.

" } } }, "GetRepositoryPermissionsPolicyRequest": { "type": "structure", "required": [ "domain", "repository" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain containing the repository whose associated resource policy is to be retrieved.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository whose associated resource policy is to be retrieved.

", "location": "querystring", "locationName": "repository" } } }, "GetRepositoryPermissionsPolicyResult": { "type": "structure", "members": { "policy": { "shape": "ResourcePolicy", "documentation": "

The returned resource policy.

" } } }, "HashAlgorithm": { "type": "string", "enum": [ "MD5", "SHA-1", "SHA-256", "SHA-512" ] }, "HashValue": { "type": "string", "max": 512, "min": 32, "pattern": "[0-9a-f]+" }, "Integer": { "type": "integer" }, "LicenseInfo": { "type": "structure", "members": { "name": { "shape": "String", "documentation": "

Name of the license.

" }, "url": { "shape": "String", "documentation": "

The URL for license data.

" } }, "documentation": "

Details of the license data.

" }, "LicenseInfoList": { "type": "list", "member": { "shape": "LicenseInfo" } }, "ListAllowedRepositoriesForGroupMaxResults": { "type": "integer", "max": 1000, "min": 1 }, "ListAllowedRepositoriesForGroupRequest": { "type": "structure", "required": [ "domain", "packageGroup", "originRestrictionType" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the package group from which to list allowed repositories.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "packageGroup": { "shape": "PackageGroupPattern", "documentation": "

The pattern of the package group from which to list allowed repositories.

", "location": "querystring", "locationName": "package-group" }, "originRestrictionType": { "shape": "PackageGroupOriginRestrictionType", "documentation": "

The origin configuration restriction type of which to list allowed repositories.

", "location": "querystring", "locationName": "originRestrictionType" }, "maxResults": { "shape": "ListAllowedRepositoriesForGroupMaxResults", "documentation": "

The maximum number of results to return per page.

", "location": "querystring", "locationName": "max-results" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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.

", "location": "querystring", "locationName": "next-token" } } }, "ListAllowedRepositoriesForGroupResult": { "type": "structure", "members": { "allowedRepositories": { "shape": "RepositoryNameList", "documentation": "

The list of allowed repositories for the package group and origin configuration restriction type.

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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.

" } } }, "ListAssociatedPackagesRequest": { "type": "structure", "required": [ "domain", "packageGroup" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the package group from which to list associated packages.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "packageGroup": { "shape": "PackageGroupPattern", "documentation": "

The pattern of the package group from which to list associated packages.

", "location": "querystring", "locationName": "package-group" }, "maxResults": { "shape": "ListPackagesMaxResults", "documentation": "

The maximum number of results to return per page.

", "location": "querystring", "locationName": "max-results" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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.

", "location": "querystring", "locationName": "next-token" }, "preview": { "shape": "BooleanOptional", "documentation": "

When this flag is included, ListAssociatedPackages will return a list of packages that would be associated with a package group, even if it does not exist.

", "location": "querystring", "locationName": "preview" } } }, "ListAssociatedPackagesResult": { "type": "structure", "members": { "packages": { "shape": "AssociatedPackageList", "documentation": "

The list of packages associated with the requested package group.

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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.

" } } }, "ListDomainsMaxResults": { "type": "integer", "max": 1000, "min": 1 }, "ListDomainsRequest": { "type": "structure", "members": { "maxResults": { "shape": "ListDomainsMaxResults", "documentation": "

The maximum number of results to return per page.

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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.

" } } }, "ListDomainsResult": { "type": "structure", "members": { "domains": { "shape": "DomainSummaryList", "documentation": "

The returned list of DomainSummary objects.

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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.

" } } }, "ListPackageGroupsMaxResults": { "type": "integer", "max": 1000, "min": 1 }, "ListPackageGroupsRequest": { "type": "structure", "required": [ "domain" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The domain for which you want to list package groups.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "maxResults": { "shape": "ListPackageGroupsMaxResults", "documentation": "

The maximum number of results to return per page.

", "location": "querystring", "locationName": "max-results" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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.

", "location": "querystring", "locationName": "next-token" }, "prefix": { "shape": "PackageGroupPatternPrefix", "documentation": "

A prefix for which to search package groups. When included, ListPackageGroups will return only package groups with patterns that match the prefix.

", "location": "querystring", "locationName": "prefix" } } }, "ListPackageGroupsResult": { "type": "structure", "members": { "packageGroups": { "shape": "PackageGroupSummaryList", "documentation": "

The list of package groups in the requested domain.

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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.

" } } }, "ListPackageVersionAssetsMaxResults": { "type": "integer", "max": 1000, "min": 1 }, "ListPackageVersionAssetsRequest": { "type": "structure", "required": [ "domain", "repository", "format", "package", "packageVersion" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository associated with the package version assets.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the package that contains the requested package version assets.

", "location": "querystring", "locationName": "repository" }, "format": { "shape": "PackageFormat", "documentation": "

The format of the package that contains the requested package version assets.

", "location": "querystring", "locationName": "format" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package version that contains the requested package version assets. The package component that specifies its namespace depends on its type. For example:

The namespace is required requesting assets from package versions of the following formats:

", "location": "querystring", "locationName": "namespace" }, "package": { "shape": "PackageName", "documentation": "

The name of the package that contains the requested package version assets.

", "location": "querystring", "locationName": "package" }, "packageVersion": { "shape": "PackageVersion", "documentation": "

A string that contains the package version (for example, 3.5.2).

", "location": "querystring", "locationName": "version" }, "maxResults": { "shape": "ListPackageVersionAssetsMaxResults", "documentation": "

The maximum number of results to return per page.

", "location": "querystring", "locationName": "max-results" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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.

", "location": "querystring", "locationName": "next-token" } } }, "ListPackageVersionAssetsResult": { "type": "structure", "members": { "format": { "shape": "PackageFormat", "documentation": "

The format of the package that contains the requested package version assets.

" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package version that contains the requested package version assets. The package component that specifies its namespace depends on its type. For example:

" }, "package": { "shape": "PackageName", "documentation": "

The name of the package that contains the requested package version assets.

" }, "version": { "shape": "PackageVersion", "documentation": "

The version of the package associated with the requested assets.

" }, "versionRevision": { "shape": "PackageVersionRevision", "documentation": "

The current revision associated with the package version.

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

If there are additional results, this is the token for the next set of results.

" }, "assets": { "shape": "AssetSummaryList", "documentation": "

The returned list of AssetSummary objects.

" } } }, "ListPackageVersionDependenciesRequest": { "type": "structure", "required": [ "domain", "repository", "format", "package", "packageVersion" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository that contains the requested package version dependencies.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the requested package version.

", "location": "querystring", "locationName": "repository" }, "format": { "shape": "PackageFormat", "documentation": "

The format of the package with the requested dependencies.

", "location": "querystring", "locationName": "format" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package version with the requested dependencies. The package component that specifies its namespace depends on its type. For example:

The namespace is required when listing dependencies from package versions of the following formats:

", "location": "querystring", "locationName": "namespace" }, "package": { "shape": "PackageName", "documentation": "

The name of the package versions' package.

", "location": "querystring", "locationName": "package" }, "packageVersion": { "shape": "PackageVersion", "documentation": "

A string that contains the package version (for example, 3.5.2).

", "location": "querystring", "locationName": "version" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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.

", "location": "querystring", "locationName": "next-token" } } }, "ListPackageVersionDependenciesResult": { "type": "structure", "members": { "format": { "shape": "PackageFormat", "documentation": "

A format that specifies the type of the package that contains the returned dependencies.

" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package version that contains the returned dependencies. The package component that specifies its namespace depends on its type. For example:

" }, "package": { "shape": "PackageName", "documentation": "

The name of the package that contains the returned package versions dependencies.

" }, "version": { "shape": "PackageVersion", "documentation": "

The version of the package that is specified in the request.

" }, "versionRevision": { "shape": "PackageVersionRevision", "documentation": "

The current revision associated with the package version.

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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.

" }, "dependencies": { "shape": "PackageDependencyList", "documentation": "

The returned list of PackageDependency objects.

" } } }, "ListPackageVersionsMaxResults": { "type": "integer", "max": 1000, "min": 1 }, "ListPackageVersionsRequest": { "type": "structure", "required": [ "domain", "repository", "format", "package" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository that contains the requested package versions.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the requested package versions.

", "location": "querystring", "locationName": "repository" }, "format": { "shape": "PackageFormat", "documentation": "

The format of the package versions you want to list.

", "location": "querystring", "locationName": "format" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:

The namespace is required when deleting package versions of the following formats:

", "location": "querystring", "locationName": "namespace" }, "package": { "shape": "PackageName", "documentation": "

The name of the package for which you want to request package versions.

", "location": "querystring", "locationName": "package" }, "status": { "shape": "PackageVersionStatus", "documentation": "

A string that filters the requested package versions by status.

", "location": "querystring", "locationName": "status" }, "sortBy": { "shape": "PackageVersionSortType", "documentation": "

How to sort the requested list of package versions.

", "location": "querystring", "locationName": "sortBy" }, "maxResults": { "shape": "ListPackageVersionsMaxResults", "documentation": "

The maximum number of results to return per page.

", "location": "querystring", "locationName": "max-results" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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.

", "location": "querystring", "locationName": "next-token" }, "originType": { "shape": "PackageVersionOriginType", "documentation": "

The originType used to filter package versions. Only package versions with the provided originType will be returned.

", "location": "querystring", "locationName": "originType" } } }, "ListPackageVersionsResult": { "type": "structure", "members": { "defaultDisplayVersion": { "shape": "PackageVersion", "documentation": "

The default package version to display. This depends on the package format:

" }, "format": { "shape": "PackageFormat", "documentation": "

A format of the package.

" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:

" }, "package": { "shape": "PackageName", "documentation": "

The name of the package.

" }, "versions": { "shape": "PackageVersionSummaryList", "documentation": "

The returned list of PackageVersionSummary objects.

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

If there are additional results, this is the token for the next set of results.

" } } }, "ListPackagesMaxResults": { "type": "integer", "max": 1000, "min": 1 }, "ListPackagesRequest": { "type": "structure", "required": [ "domain", "repository" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository that contains the requested packages.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the requested packages.

", "location": "querystring", "locationName": "repository" }, "format": { "shape": "PackageFormat", "documentation": "

The format used to filter requested packages. Only packages from the provided format will be returned.

", "location": "querystring", "locationName": "format" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called --namespace and not --namespace-prefix, it has prefix-matching behavior.

Each package format uses namespace as follows:

", "location": "querystring", "locationName": "namespace" }, "packagePrefix": { "shape": "PackageName", "documentation": "

A prefix used to filter requested packages. Only packages with names that start with packagePrefix are returned.

", "location": "querystring", "locationName": "package-prefix" }, "maxResults": { "shape": "ListPackagesMaxResults", "documentation": "

The maximum number of results to return per page.

", "location": "querystring", "locationName": "max-results" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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.

", "location": "querystring", "locationName": "next-token" }, "publish": { "shape": "AllowPublish", "documentation": "

The value of the Publish package origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.

", "location": "querystring", "locationName": "publish" }, "upstream": { "shape": "AllowUpstream", "documentation": "

The value of the Upstream package origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.

", "location": "querystring", "locationName": "upstream" } } }, "ListPackagesResult": { "type": "structure", "members": { "packages": { "shape": "PackageSummaryList", "documentation": "

The list of returned PackageSummary objects.

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

If there are additional results, this is the token for the next set of results.

" } } }, "ListRepositoriesInDomainMaxResults": { "type": "integer", "max": 1000, "min": 1 }, "ListRepositoriesInDomainRequest": { "type": "structure", "required": [ "domain" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the returned list of repositories.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "administratorAccount": { "shape": "AccountId", "documentation": "

Filter the list of repositories to only include those that are managed by the Amazon Web Services account ID.

", "location": "querystring", "locationName": "administrator-account" }, "repositoryPrefix": { "shape": "RepositoryName", "documentation": "

A prefix used to filter returned repositories. Only repositories with names that start with repositoryPrefix are returned.

", "location": "querystring", "locationName": "repository-prefix" }, "maxResults": { "shape": "ListRepositoriesInDomainMaxResults", "documentation": "

The maximum number of results to return per page.

", "location": "querystring", "locationName": "max-results" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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.

", "location": "querystring", "locationName": "next-token" } } }, "ListRepositoriesInDomainResult": { "type": "structure", "members": { "repositories": { "shape": "RepositorySummaryList", "documentation": "

The returned list of repositories.

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

If there are additional results, this is the token for the next set of results.

" } } }, "ListRepositoriesMaxResults": { "type": "integer", "max": 1000, "min": 1 }, "ListRepositoriesRequest": { "type": "structure", "members": { "repositoryPrefix": { "shape": "RepositoryName", "documentation": "

A prefix used to filter returned repositories. Only repositories with names that start with repositoryPrefix are returned.

", "location": "querystring", "locationName": "repository-prefix" }, "maxResults": { "shape": "ListRepositoriesMaxResults", "documentation": "

The maximum number of results to return per page.

", "location": "querystring", "locationName": "max-results" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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.

", "location": "querystring", "locationName": "next-token" } } }, "ListRepositoriesResult": { "type": "structure", "members": { "repositories": { "shape": "RepositorySummaryList", "documentation": "

The returned list of RepositorySummary objects.

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

If there are additional results, this is the token for the next set of results.

" } } }, "ListSubPackageGroupsRequest": { "type": "structure", "required": [ "domain", "packageGroup" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain which contains the package group from which to list sub package groups.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "packageGroup": { "shape": "PackageGroupPattern", "documentation": "

The pattern of the package group from which to list sub package groups.

", "location": "querystring", "locationName": "package-group" }, "maxResults": { "shape": "ListPackageGroupsMaxResults", "documentation": "

The maximum number of results to return per page.

", "location": "querystring", "locationName": "max-results" }, "nextToken": { "shape": "PaginationToken", "documentation": "

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.

", "location": "querystring", "locationName": "next-token" } } }, "ListSubPackageGroupsResult": { "type": "structure", "members": { "packageGroups": { "shape": "PackageGroupSummaryList", "documentation": "

A list of sub package groups for the requested package group.

" }, "nextToken": { "shape": "PaginationToken", "documentation": "

If there are additional results, this is the token for the next set of results.

" } } }, "ListTagsForResourceRequest": { "type": "structure", "required": [ "resourceArn" ], "members": { "resourceArn": { "shape": "Arn", "documentation": "

The Amazon Resource Name (ARN) of the resource to get tags for.

", "location": "querystring", "locationName": "resourceArn" } } }, "ListTagsForResourceResult": { "type": "structure", "members": { "tags": { "shape": "TagList", "documentation": "

A list of tag key and value pairs associated with the specified resource.

" } } }, "Long": { "type": "long" }, "LongOptional": { "type": "long" }, "OriginRestrictions": { "type": "map", "key": { "shape": "PackageGroupOriginRestrictionType" }, "value": { "shape": "PackageGroupOriginRestrictionMode" } }, "PackageDependency": { "type": "structure", "members": { "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package that this package depends on. The package component that specifies its namespace depends on its type. For example:

" }, "package": { "shape": "PackageName", "documentation": "

The name of the package that this package depends on.

" }, "dependencyType": { "shape": "String", "documentation": "

The type of a package dependency. The possible values depend on the package type.

" }, "versionRequirement": { "shape": "String", "documentation": "

The required version, or version range, of the package that this package depends on. The version format is specific to the package type. For example, the following are possible valid required versions: 1.2.3, ^2.3.4, or 4.x.

" } }, "documentation": "

Details about a package dependency.

" }, "PackageDependencyList": { "type": "list", "member": { "shape": "PackageDependency" } }, "PackageDescription": { "type": "structure", "members": { "format": { "shape": "PackageFormat", "documentation": "

A format that specifies the type of the package.

" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

" }, "name": { "shape": "PackageName", "documentation": "

The name of the package.

" }, "originConfiguration": { "shape": "PackageOriginConfiguration", "documentation": "

The package origin configuration for the package.

" } }, "documentation": "

Details about a package.

" }, "PackageFormat": { "type": "string", "enum": [ "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift" ] }, "PackageGroupAllowedRepository": { "type": "structure", "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the allowed repository.

" }, "originRestrictionType": { "shape": "PackageGroupOriginRestrictionType", "documentation": "

The origin configuration restriction type of the allowed repository.

" } }, "documentation": "

Details about an allowed repository for a package group, including its name and origin configuration.

" }, "PackageGroupAllowedRepositoryList": { "type": "list", "member": { "shape": "PackageGroupAllowedRepository" } }, "PackageGroupAllowedRepositoryUpdate": { "type": "map", "key": { "shape": "PackageGroupAllowedRepositoryUpdateType" }, "value": { "shape": "RepositoryNameList" } }, "PackageGroupAllowedRepositoryUpdateType": { "type": "string", "enum": [ "ADDED", "REMOVED" ] }, "PackageGroupAllowedRepositoryUpdates": { "type": "map", "key": { "shape": "PackageGroupOriginRestrictionType" }, "value": { "shape": "PackageGroupAllowedRepositoryUpdate" } }, "PackageGroupAssociationType": { "type": "string", "enum": [ "STRONG", "WEAK" ] }, "PackageGroupContactInfo": { "type": "string", "max": 1000, "min": 0, "pattern": "\\P{C}*" }, "PackageGroupDescription": { "type": "structure", "members": { "arn": { "shape": "Arn", "documentation": "

The ARN of the package group.

" }, "pattern": { "shape": "PackageGroupPattern", "documentation": "

The pattern of the package group. The pattern determines which packages are associated with the package group.

" }, "domainName": { "shape": "DomainName", "documentation": "

The name of the domain that contains the package group.

" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

" }, "createdTime": { "shape": "Timestamp", "documentation": "

A timestamp that represents the date and time the package group was created.

" }, "contactInfo": { "shape": "PackageGroupContactInfo", "documentation": "

The contact information of the package group.

" }, "description": { "shape": "Description", "documentation": "

The description of the package group.

" }, "originConfiguration": { "shape": "PackageGroupOriginConfiguration", "documentation": "

The package group origin configuration that determines how package versions can enter repositories.

" }, "parent": { "shape": "PackageGroupReference", "documentation": "

The direct parent package group of the package group.

" } }, "documentation": "

The description of the package group.

" }, "PackageGroupOriginConfiguration": { "type": "structure", "members": { "restrictions": { "shape": "PackageGroupOriginRestrictions", "documentation": "

The origin configuration settings that determine how package versions can enter repositories.

" } }, "documentation": "

The package group origin configuration that determines how package versions can enter repositories.

" }, "PackageGroupOriginRestriction": { "type": "structure", "members": { "mode": { "shape": "PackageGroupOriginRestrictionMode", "documentation": "

The package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.

" }, "effectiveMode": { "shape": "PackageGroupOriginRestrictionMode", "documentation": "

The effective package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value of mode is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.

" }, "inheritedFrom": { "shape": "PackageGroupReference", "documentation": "

The parent package group that the package group origin restrictions are inherited from.

" }, "repositoriesCount": { "shape": "LongOptional", "documentation": "

The number of repositories in the allowed repository list.

" } }, "documentation": "

Contains information about the configured restrictions of the origin controls of a package group.

" }, "PackageGroupOriginRestrictionMode": { "type": "string", "enum": [ "ALLOW", "ALLOW_SPECIFIC_REPOSITORIES", "BLOCK", "INHERIT" ] }, "PackageGroupOriginRestrictionType": { "type": "string", "enum": [ "EXTERNAL_UPSTREAM", "INTERNAL_UPSTREAM", "PUBLISH" ] }, "PackageGroupOriginRestrictions": { "type": "map", "key": { "shape": "PackageGroupOriginRestrictionType" }, "value": { "shape": "PackageGroupOriginRestriction" } }, "PackageGroupPattern": { "type": "string", "max": 520, "min": 2, "pattern": "[^\\p{C}\\p{IsWhitespace}]+" }, "PackageGroupPatternPrefix": { "type": "string", "max": 520, "min": 0, "pattern": "\\P{C}*" }, "PackageGroupReference": { "type": "structure", "members": { "arn": { "shape": "Arn", "documentation": "

The ARN of the package group.

" }, "pattern": { "shape": "PackageGroupPattern", "documentation": "

The pattern of the package group. The pattern determines which packages are associated with the package group, and is also the identifier of the package group.

" } }, "documentation": "

Information about the identifiers of a package group.

" }, "PackageGroupSummary": { "type": "structure", "members": { "arn": { "shape": "Arn", "documentation": "

The ARN of the package group.

" }, "pattern": { "shape": "PackageGroupPattern", "documentation": "

The pattern of the package group. The pattern determines which packages are associated with the package group.

" }, "domainName": { "shape": "DomainName", "documentation": "

The domain that contains the package group.

" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

" }, "createdTime": { "shape": "Timestamp", "documentation": "

A timestamp that represents the date and time the repository was created.

" }, "contactInfo": { "shape": "PackageGroupContactInfo", "documentation": "

The contact information of the package group.

" }, "description": { "shape": "Description", "documentation": "

The description of the package group.

" }, "originConfiguration": { "shape": "PackageGroupOriginConfiguration", "documentation": "

Details about the package origin configuration of a package group.

" }, "parent": { "shape": "PackageGroupReference", "documentation": "

The direct parent package group of the package group.

" } }, "documentation": "

Details about a package group.

" }, "PackageGroupSummaryList": { "type": "list", "member": { "shape": "PackageGroupSummary" } }, "PackageName": { "type": "string", "max": 255, "min": 1, "pattern": "[^#/\\s]+" }, "PackageNamespace": { "type": "string", "max": 255, "min": 1, "pattern": "[^#/\\s]+" }, "PackageOriginConfiguration": { "type": "structure", "members": { "restrictions": { "shape": "PackageOriginRestrictions", "documentation": "

A PackageOriginRestrictions object that contains information about the upstream and publish package origin configuration for the package.

" } }, "documentation": "

Details about the package origin configuration of a package.

" }, "PackageOriginRestrictions": { "type": "structure", "required": [ "publish", "upstream" ], "members": { "publish": { "shape": "AllowPublish", "documentation": "

The package origin configuration that determines if new versions of the package can be published directly to the repository.

" }, "upstream": { "shape": "AllowUpstream", "documentation": "

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.

" } }, "documentation": "

Details about the origin restrictions set on the package. The package origin restrictions determine how new versions of a package can be added to a specific repository.

" }, "PackageSummary": { "type": "structure", "members": { "format": { "shape": "PackageFormat", "documentation": "

The format of the package.

" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

" }, "package": { "shape": "PackageName", "documentation": "

The name of the package.

" }, "originConfiguration": { "shape": "PackageOriginConfiguration", "documentation": "

A PackageOriginConfiguration object that contains a PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions.

" } }, "documentation": "

Details about a package, including its format, namespace, and name.

" }, "PackageSummaryList": { "type": "list", "member": { "shape": "PackageSummary" } }, "PackageVersion": { "type": "string", "max": 255, "min": 1, "pattern": "[^#/\\s]+" }, "PackageVersionDescription": { "type": "structure", "members": { "format": { "shape": "PackageFormat", "documentation": "

The format of the package version.

" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package version. The package component that specifies its namespace depends on its type. For example:

" }, "packageName": { "shape": "PackageName", "documentation": "

The name of the requested package.

" }, "displayName": { "shape": "String255", "documentation": "

The name of the package that is displayed. The displayName varies depending on the package version's format. For example, if an npm package is named ui, is in the namespace vue, and has the format npm, then the displayName is @vue/ui.

" }, "version": { "shape": "PackageVersion", "documentation": "

The version of the package.

" }, "summary": { "shape": "String", "documentation": "

A summary of the package version. The summary is extracted from the package. The information in and detail level of the summary depends on the package version's format.

" }, "homePage": { "shape": "String", "documentation": "

The homepage associated with the package.

" }, "sourceCodeRepository": { "shape": "String", "documentation": "

The repository for the source code in the package version, or the source code used to build it.

" }, "publishedTime": { "shape": "Timestamp", "documentation": "

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

" }, "licenses": { "shape": "LicenseInfoList", "documentation": "

Information about licenses associated with the package version.

" }, "revision": { "shape": "PackageVersionRevision", "documentation": "

The revision of the package version.

" }, "status": { "shape": "PackageVersionStatus", "documentation": "

A string that contains the status of the package version.

" }, "origin": { "shape": "PackageVersionOrigin", "documentation": "

A PackageVersionOrigin object that contains information about how the package version was added to the repository.

" } }, "documentation": "

Details about a package version.

" }, "PackageVersionError": { "type": "structure", "members": { "errorCode": { "shape": "PackageVersionErrorCode", "documentation": "

The error code associated with the error. Valid error codes are:

" }, "errorMessage": { "shape": "ErrorMessage", "documentation": "

The error message associated with the error.

" } }, "documentation": "

l An error associated with package.

" }, "PackageVersionErrorCode": { "type": "string", "enum": [ "ALREADY_EXISTS", "MISMATCHED_REVISION", "MISMATCHED_STATUS", "NOT_ALLOWED", "NOT_FOUND", "SKIPPED" ] }, "PackageVersionErrorMap": { "type": "map", "key": { "shape": "PackageVersion" }, "value": { "shape": "PackageVersionError" } }, "PackageVersionList": { "type": "list", "member": { "shape": "PackageVersion" }, "max": 100 }, "PackageVersionOrigin": { "type": "structure", "members": { "domainEntryPoint": { "shape": "DomainEntryPoint", "documentation": "

A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.

" }, "originType": { "shape": "PackageVersionOriginType", "documentation": "

Describes how the package version was originally added to the domain. An INTERNAL origin type means the package version was published directly to a repository in the domain. An EXTERNAL origin type means the package version was ingested from an external connection.

" } }, "documentation": "

Information about how a package version was added to a repository.

" }, "PackageVersionOriginType": { "type": "string", "enum": [ "INTERNAL", "EXTERNAL", "UNKNOWN" ] }, "PackageVersionRevision": { "type": "string", "max": 50, "min": 1, "pattern": "\\S+" }, "PackageVersionRevisionMap": { "type": "map", "key": { "shape": "PackageVersion" }, "value": { "shape": "PackageVersionRevision" } }, "PackageVersionSortType": { "type": "string", "enum": [ "PUBLISHED_TIME" ] }, "PackageVersionStatus": { "type": "string", "enum": [ "Published", "Unfinished", "Unlisted", "Archived", "Disposed", "Deleted" ] }, "PackageVersionSummary": { "type": "structure", "required": [ "version", "status" ], "members": { "version": { "shape": "PackageVersion", "documentation": "

Information about a package version.

" }, "revision": { "shape": "PackageVersionRevision", "documentation": "

The revision associated with a package version.

" }, "status": { "shape": "PackageVersionStatus", "documentation": "

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

" }, "origin": { "shape": "PackageVersionOrigin", "documentation": "

A PackageVersionOrigin object that contains information about how the package version was added to the repository.

" } }, "documentation": "

Details about a package version, including its status, version, and revision. The ListPackageVersions operation returns a list of PackageVersionSummary objects.

" }, "PackageVersionSummaryList": { "type": "list", "member": { "shape": "PackageVersionSummary" } }, "PaginationToken": { "type": "string", "max": 2000, "min": 1, "pattern": "\\S+" }, "PolicyDocument": { "type": "string", "max": 7168, "min": 1, "pattern": "[\\P{C}\\s]+" }, "PolicyRevision": { "type": "string", "max": 100, "min": 1, "pattern": "\\S+" }, "PublishPackageVersionRequest": { "type": "structure", "required": [ "domain", "repository", "format", "package", "packageVersion", "assetContent", "assetName", "assetSHA256" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository that contains the package version to publish.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository that the package version will be published to.

", "location": "querystring", "locationName": "repository" }, "format": { "shape": "PackageFormat", "documentation": "

A format that specifies the type of the package version with the requested asset file.

The only supported value is generic.

", "location": "querystring", "locationName": "format" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package version to publish.

", "location": "querystring", "locationName": "namespace" }, "package": { "shape": "PackageName", "documentation": "

The name of the package version to publish.

", "location": "querystring", "locationName": "package" }, "packageVersion": { "shape": "PackageVersion", "documentation": "

The package version to publish (for example, 3.5.2).

", "location": "querystring", "locationName": "version" }, "assetContent": { "shape": "Asset", "documentation": "

The content of the asset to publish.

" }, "assetName": { "shape": "AssetName", "documentation": "

The name of the asset to publish. Asset names can include Unicode letters and numbers, and the following special characters: ~ ! @ ^ & ( ) - ` _ + [ ] { } ; , . `

", "location": "querystring", "locationName": "asset" }, "assetSHA256": { "shape": "SHA256", "documentation": "

The SHA256 hash of the assetContent to publish. This value must be calculated by the caller and provided with the request (see Publishing a generic package in the CodeArtifact User Guide).

This value is used as an integrity check to verify that the assetContent has not changed after it was originally sent.

", "location": "header", "locationName": "x-amz-content-sha256" }, "unfinished": { "shape": "BooleanOptional", "documentation": "

Specifies whether the package version should remain in the unfinished state. If omitted, the package version status will be set to Published (see Package version status in the CodeArtifact User Guide).

Valid values: unfinished

", "location": "querystring", "locationName": "unfinished" } }, "payload": "assetContent" }, "PublishPackageVersionResult": { "type": "structure", "members": { "format": { "shape": "PackageFormat", "documentation": "

The format of the package version.

" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package version.

" }, "package": { "shape": "PackageName", "documentation": "

The name of the package.

" }, "version": { "shape": "PackageVersion", "documentation": "

The version of the package.

" }, "versionRevision": { "shape": "PackageVersionRevision", "documentation": "

The revision of the package version.

" }, "status": { "shape": "PackageVersionStatus", "documentation": "

A string that contains the status of the package version. For more information, see Package version status in the CodeArtifact User Guide.

" }, "asset": { "shape": "AssetSummary", "documentation": "

An AssetSummary for the published asset.

" } } }, "PutDomainPermissionsPolicyRequest": { "type": "structure", "required": [ "domain", "policyDocument" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain on which to set the resource policy.

" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

" }, "policyRevision": { "shape": "PolicyRevision", "documentation": "

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.

" }, "policyDocument": { "shape": "PolicyDocument", "documentation": "

A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.

" } } }, "PutDomainPermissionsPolicyResult": { "type": "structure", "members": { "policy": { "shape": "ResourcePolicy", "documentation": "

The resource policy that was set after processing the request.

" } } }, "PutPackageOriginConfigurationRequest": { "type": "structure", "required": [ "domain", "repository", "format", "package", "restrictions" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository that contains the package.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the package.

", "location": "querystring", "locationName": "repository" }, "format": { "shape": "PackageFormat", "documentation": "

A format that specifies the type of the package to be updated.

", "location": "querystring", "locationName": "format" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package to be updated. The package component that specifies its namespace depends on its type. For example:

", "location": "querystring", "locationName": "namespace" }, "package": { "shape": "PackageName", "documentation": "

The name of the package to be updated.

", "location": "querystring", "locationName": "package" }, "restrictions": { "shape": "PackageOriginRestrictions", "documentation": "

A PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions. The upstream restriction determines if new package versions can be ingested or retained from external connections or upstream repositories. The publish restriction determines if new package versions can be published directly to the repository.

You must include both the desired upstream and publish restrictions.

" } } }, "PutPackageOriginConfigurationResult": { "type": "structure", "members": { "originConfiguration": { "shape": "PackageOriginConfiguration", "documentation": "

A PackageOriginConfiguration object that describes the origin configuration set for the package. It contains a PackageOriginRestrictions object that describes how new versions of the package can be introduced to the repository.

" } } }, "PutRepositoryPermissionsPolicyRequest": { "type": "structure", "required": [ "domain", "repository", "policyDocument" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain containing the repository to set the resource policy on.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository to set the resource policy on.

", "location": "querystring", "locationName": "repository" }, "policyRevision": { "shape": "PolicyRevision", "documentation": "

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.

" }, "policyDocument": { "shape": "PolicyDocument", "documentation": "

A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided repository.

" } } }, "PutRepositoryPermissionsPolicyResult": { "type": "structure", "members": { "policy": { "shape": "ResourcePolicy", "documentation": "

The resource policy that was set after processing the request.

" } } }, "RepositoryDescription": { "type": "structure", "members": { "name": { "shape": "RepositoryName", "documentation": "

The name of the repository.

" }, "administratorAccount": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that manages the repository.

" }, "domainName": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository.

" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include dashes or spaces.

" }, "arn": { "shape": "Arn", "documentation": "

The Amazon Resource Name (ARN) of the repository.

" }, "description": { "shape": "Description", "documentation": "

A text description of the repository.

" }, "upstreams": { "shape": "UpstreamRepositoryInfoList", "documentation": "

A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.

" }, "externalConnections": { "shape": "RepositoryExternalConnectionInfoList", "documentation": "

An array of external connections associated with the repository.

" }, "createdTime": { "shape": "Timestamp", "documentation": "

A timestamp that represents the date and time the repository was created.

" } }, "documentation": "

The details of a repository stored in CodeArtifact. A CodeArtifact repository contains a set of package versions, each of which maps to a set of assets. Repositories are polyglot—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. You can create up to 100 repositories per Amazon Web Services account.

" }, "RepositoryExternalConnectionInfo": { "type": "structure", "members": { "externalConnectionName": { "shape": "ExternalConnectionName", "documentation": "

The name of the external connection associated with a repository.

" }, "packageFormat": { "shape": "PackageFormat", "documentation": "

The package format associated with a repository's external connection. The valid package formats are:

" }, "status": { "shape": "ExternalConnectionStatus", "documentation": "

The status of the external connection of a repository. There is one valid value, Available.

" } }, "documentation": "

Contains information about the external connection of a repository.

" }, "RepositoryExternalConnectionInfoList": { "type": "list", "member": { "shape": "RepositoryExternalConnectionInfo" } }, "RepositoryName": { "type": "string", "max": 100, "min": 2, "pattern": "[A-Za-z0-9][A-Za-z0-9._\\-]{1,99}" }, "RepositoryNameList": { "type": "list", "member": { "shape": "RepositoryName" } }, "RepositorySummary": { "type": "structure", "members": { "name": { "shape": "RepositoryName", "documentation": "

The name of the repository.

" }, "administratorAccount": { "shape": "AccountId", "documentation": "

The Amazon Web Services account ID that manages the repository.

" }, "domainName": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository.

" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

" }, "arn": { "shape": "Arn", "documentation": "

The ARN of the repository.

" }, "description": { "shape": "Description", "documentation": "

The description of the repository.

" }, "createdTime": { "shape": "Timestamp", "documentation": "

A timestamp that represents the date and time the repository was created.

" } }, "documentation": "

Details about a repository, including its Amazon Resource Name (ARN), description, and domain information. The ListRepositories operation returns a list of RepositorySummary objects.

" }, "RepositorySummaryList": { "type": "list", "member": { "shape": "RepositorySummary" } }, "ResourcePolicy": { "type": "structure", "members": { "resourceArn": { "shape": "Arn", "documentation": "

The ARN of the resource associated with the resource policy

" }, "revision": { "shape": "PolicyRevision", "documentation": "

The current revision of the resource policy.

" }, "document": { "shape": "PolicyDocument", "documentation": "

The resource policy formatted in JSON.

" } }, "documentation": "

An CodeArtifact resource policy that contains a resource ARN, document details, and a revision.

" }, "SHA256": { "type": "string", "max": 64, "min": 64, "pattern": "[0-9a-f]+" }, "String": { "type": "string" }, "String255": { "type": "string", "max": 255, "min": 1 }, "SuccessfulPackageVersionInfo": { "type": "structure", "members": { "revision": { "shape": "String", "documentation": "

The revision of a package version.

" }, "status": { "shape": "PackageVersionStatus", "documentation": "

The status of a package version.

" } }, "documentation": "

Contains the revision and status of a package version.

" }, "SuccessfulPackageVersionInfoMap": { "type": "map", "key": { "shape": "PackageVersion" }, "value": { "shape": "SuccessfulPackageVersionInfo" } }, "Tag": { "type": "structure", "required": [ "key", "value" ], "members": { "key": { "shape": "TagKey", "documentation": "

The tag key.

" }, "value": { "shape": "TagValue", "documentation": "

The tag value.

" } }, "documentation": "

A tag is a key-value pair that can be used to manage, search for, or filter resources in CodeArtifact.

" }, "TagKey": { "type": "string", "max": 128, "min": 1, "pattern": "\\P{C}+" }, "TagKeyList": { "type": "list", "member": { "shape": "TagKey" }, "max": 200, "min": 0 }, "TagList": { "type": "list", "member": { "shape": "Tag" }, "max": 200, "min": 0 }, "TagResourceRequest": { "type": "structure", "required": [ "resourceArn", "tags" ], "members": { "resourceArn": { "shape": "Arn", "documentation": "

The Amazon Resource Name (ARN) of the resource that you want to add or update tags for.

", "location": "querystring", "locationName": "resourceArn" }, "tags": { "shape": "TagList", "documentation": "

The tags you want to modify or add to the resource.

" } } }, "TagResourceResult": { "type": "structure", "members": {} }, "TagValue": { "type": "string", "max": 256, "min": 0, "pattern": "\\P{C}*" }, "Timestamp": { "type": "timestamp" }, "UntagResourceRequest": { "type": "structure", "required": [ "resourceArn", "tagKeys" ], "members": { "resourceArn": { "shape": "Arn", "documentation": "

The Amazon Resource Name (ARN) of the resource that you want to remove tags from.

", "location": "querystring", "locationName": "resourceArn" }, "tagKeys": { "shape": "TagKeyList", "documentation": "

The tag key for each tag that you want to remove from the resource.

" } } }, "UntagResourceResult": { "type": "structure", "members": {} }, "UpdatePackageGroupOriginConfigurationRequest": { "type": "structure", "required": [ "domain", "packageGroup" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain which contains the package group for which to update the origin configuration.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "packageGroup": { "shape": "PackageGroupPattern", "documentation": "

The pattern of the package group for which to update the origin configuration.

", "location": "querystring", "locationName": "package-group" }, "restrictions": { "shape": "OriginRestrictions", "documentation": "

The origin configuration settings that determine how package versions can enter repositories.

" }, "addAllowedRepositories": { "shape": "PackageGroupAllowedRepositoryList", "documentation": "

The repository name and restrictions to add to the allowed repository list of the specified package group.

" }, "removeAllowedRepositories": { "shape": "PackageGroupAllowedRepositoryList", "documentation": "

The repository name and restrictions to remove from the allowed repository list of the specified package group.

" } } }, "UpdatePackageGroupOriginConfigurationResult": { "type": "structure", "members": { "packageGroup": { "shape": "PackageGroupDescription", "documentation": "

The package group and information about it after processing the request.

" }, "allowedRepositoryUpdates": { "shape": "PackageGroupAllowedRepositoryUpdates", "documentation": "

Information about the updated allowed repositories after processing the request.

" } } }, "UpdatePackageGroupRequest": { "type": "structure", "required": [ "domain", "packageGroup" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain which contains the package group to be updated.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "packageGroup": { "shape": "PackageGroupPattern", "documentation": "

The pattern of the package group to be updated.

" }, "contactInfo": { "shape": "PackageGroupContactInfo", "documentation": "

Contact information which you want to update the requested package group with.

" }, "description": { "shape": "Description", "documentation": "

The description you want to update the requested package group with.

" } } }, "UpdatePackageGroupResult": { "type": "structure", "members": { "packageGroup": { "shape": "PackageGroupDescription", "documentation": "

The package group and information about it after the request has been processed.

" } } }, "UpdatePackageVersionsStatusRequest": { "type": "structure", "required": [ "domain", "repository", "format", "package", "versions", "targetStatus" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain that contains the repository that contains the package versions with a status to be updated.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The repository that contains the package versions with the status you want to update.

", "location": "querystring", "locationName": "repository" }, "format": { "shape": "PackageFormat", "documentation": "

A format that specifies the type of the package with the statuses to update.

", "location": "querystring", "locationName": "format" }, "namespace": { "shape": "PackageNamespace", "documentation": "

The namespace of the package version to be updated. The package component that specifies its namespace depends on its type. For example:

", "location": "querystring", "locationName": "namespace" }, "package": { "shape": "PackageName", "documentation": "

The name of the package with the version statuses to update.

", "location": "querystring", "locationName": "package" }, "versions": { "shape": "PackageVersionList", "documentation": "

An array of strings that specify the versions of the package with the statuses to update.

" }, "versionRevisions": { "shape": "PackageVersionRevisionMap", "documentation": "

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.

" }, "expectedStatus": { "shape": "PackageVersionStatus", "documentation": "

The package version’s 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.

" }, "targetStatus": { "shape": "PackageVersionStatus", "documentation": "

The status you want to change the package version status to.

" } } }, "UpdatePackageVersionsStatusResult": { "type": "structure", "members": { "successfulVersions": { "shape": "SuccessfulPackageVersionInfoMap", "documentation": "

A list of PackageVersionError objects, one for each package version with a status that failed to update.

" }, "failedVersions": { "shape": "PackageVersionErrorMap", "documentation": "

A list of SuccessfulPackageVersionInfo objects, one for each package version with a status that successfully updated.

" } } }, "UpdateRepositoryRequest": { "type": "structure", "required": [ "domain", "repository" ], "members": { "domain": { "shape": "DomainName", "documentation": "

The name of the domain associated with the repository to update.

", "location": "querystring", "locationName": "domain" }, "domainOwner": { "shape": "AccountId", "documentation": "

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

", "location": "querystring", "locationName": "domain-owner" }, "repository": { "shape": "RepositoryName", "documentation": "

The name of the repository to update.

", "location": "querystring", "locationName": "repository" }, "description": { "shape": "Description", "documentation": "

An updated repository description.

" }, "upstreams": { "shape": "UpstreamRepositoryList", "documentation": "

A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.

" } } }, "UpdateRepositoryResult": { "type": "structure", "members": { "repository": { "shape": "RepositoryDescription", "documentation": "

The updated repository.

" } } }, "UpstreamRepository": { "type": "structure", "required": [ "repositoryName" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of an upstream repository.

" } }, "documentation": "

Information about an upstream repository. A list of UpstreamRepository objects is an input parameter to CreateRepository and UpdateRepository.

" }, "UpstreamRepositoryInfo": { "type": "structure", "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of an upstream repository.

" } }, "documentation": "

Information about an upstream repository.

" }, "UpstreamRepositoryInfoList": { "type": "list", "member": { "shape": "UpstreamRepositoryInfo" } }, "UpstreamRepositoryList": { "type": "list", "member": { "shape": "UpstreamRepository" } } }, "documentation": "

CodeArtifact is a fully managed artifact repository compatible with language-native package managers and build tools such as npm, Apache Maven, pip, and dotnet. 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.

CodeArtifact concepts

CodeArtifact supported API operations

" }