openapi: 3.0.0 info: version: '2018-09-22' x-release: v4 title: CodeArtifact description: '

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 Components

Use the information in this guide to help you work with the following CodeArtifact components:

CodeArtifact supports these operations:

' x-logo: url: 'https://twitter.com/awscloud/profile_image?size=original' backgroundColor: '#FFFFFF' termsOfService: 'https://aws.amazon.com/service-terms/' contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: 'https://github.com/mermade/aws2openapi' x-twitter: PermittedSoc license: name: Apache 2.0 License url: 'http://www.apache.org/licenses/' x-providerName: amazonaws.com x-serviceName: codeartifact x-aws-signingName: codeartifact x-origin: - contentType: application/json url: 'https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/codeartifact-2018-09-22.normal.json' converter: url: 'https://github.com/mermade/aws2openapi' version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: 'https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct' x-apisguru-categories: - cloud x-preferred: true externalDocs: description: Amazon Web Services documentation url: 'https://docs.aws.amazon.com/codeartifact/' servers: - url: 'http://codeartifact.{region}.amazonaws.com' variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The CodeArtifact multi-region endpoint - url: 'https://codeartifact.{region}.amazonaws.com' variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The CodeArtifact multi-region endpoint - url: 'http://codeartifact.{region}.amazonaws.com.cn' variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The CodeArtifact endpoint for China (Beijing) and China (Ningxia) - url: 'https://codeartifact.{region}.amazonaws.com.cn' variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The CodeArtifact endpoint for China (Beijing) and China (Ningxia) x-hasEquivalentPaths: true paths: /v1/repository/external-connection#domain&repository&external-connection: post: operationId: AssociateExternalConnection description: '

Adds an existing external connection to a repository. One external connection is allowed per repository.

A repository can have one or more upstream repositories, or an external connection.

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/AssociateExternalConnectionResult' examples: AssociateExternalConnection200Example: summary: Default AssociateExternalConnection 200 response x-microcks-default: true value: repository: my-repo '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: AssociateExternalConnection480Example: summary: Default AssociateExternalConnection 480 response x-microcks-default: true value: example-value '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: AssociateExternalConnection481Example: summary: Default AssociateExternalConnection 481 response x-microcks-default: true value: example-value '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: AssociateExternalConnection482Example: summary: Default AssociateExternalConnection 482 response x-microcks-default: true value: example-value '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: AssociateExternalConnection483Example: summary: Default AssociateExternalConnection 483 response x-microcks-default: true value: example-value '484': description: ServiceQuotaExceededException content: application/json: schema: $ref: '#/components/schemas/ServiceQuotaExceededException' examples: AssociateExternalConnection484Example: summary: Default AssociateExternalConnection 484 response x-microcks-default: true value: example-value '485': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: AssociateExternalConnection485Example: summary: Default AssociateExternalConnection 485 response x-microcks-default: true value: example-value '486': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: AssociateExternalConnection486Example: summary: Default AssociateExternalConnection 486 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: The name of the domain that contains the repository. schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' The name of the repository to which the external connection is added. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: external-connection in: query required: true description: '

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

' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-:]{1,99}' minLength: 2 maxLength: 100 summary: Amazon CodeArtifact Associate External Connection x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' delete: operationId: DisassociateExternalConnection description: ' Removes an existing external connection from a repository. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DisassociateExternalConnectionResult' examples: DisassociateExternalConnection200Example: summary: Default DisassociateExternalConnection 200 response x-microcks-default: true value: repository: my-repo '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: DisassociateExternalConnection480Example: summary: Default DisassociateExternalConnection 480 response x-microcks-default: true value: example-value '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: DisassociateExternalConnection481Example: summary: Default DisassociateExternalConnection 481 response x-microcks-default: true value: example-value '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: DisassociateExternalConnection482Example: summary: Default DisassociateExternalConnection 482 response x-microcks-default: true value: example-value '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: DisassociateExternalConnection483Example: summary: Default DisassociateExternalConnection 483 response x-microcks-default: true value: example-value '484': description: ServiceQuotaExceededException content: application/json: schema: $ref: '#/components/schemas/ServiceQuotaExceededException' examples: DisassociateExternalConnection484Example: summary: Default DisassociateExternalConnection 484 response x-microcks-default: true value: example-value '485': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: DisassociateExternalConnection485Example: summary: Default DisassociateExternalConnection 485 response x-microcks-default: true value: example-value '486': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: DisassociateExternalConnection486Example: summary: Default DisassociateExternalConnection 486 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: 'The name of the domain that contains the repository from which to remove the external repository. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: 'The name of the repository from which the external connection will be removed. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: external-connection in: query required: true description: 'The name of the external connection to be removed from the repository. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-:]{1,99}' minLength: 2 maxLength: 100 summary: Amazon CodeArtifact Disassociate External Connection x-microcks-operation: delay: 0 dispatcher: FALLBACK /v1/package/versions/copy#domain&source-repository&destination-repository&format&package: post: operationId: CopyPackageVersions description:

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

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

responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/CopyPackageVersionsResult' examples: CopyPackageVersions200Example: summary: Default CopyPackageVersions 200 response x-microcks-default: true value: successfulVersions: 1.0.0 failedVersions: 1.0.0 '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: CopyPackageVersions480Example: summary: Default CopyPackageVersions 480 response x-microcks-default: true value: example-value '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: CopyPackageVersions481Example: summary: Default CopyPackageVersions 481 response x-microcks-default: true value: example-value '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: CopyPackageVersions482Example: summary: Default CopyPackageVersions 482 response x-microcks-default: true value: example-value '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: CopyPackageVersions483Example: summary: Default CopyPackageVersions 483 response x-microcks-default: true value: example-value '484': description: ServiceQuotaExceededException content: application/json: schema: $ref: '#/components/schemas/ServiceQuotaExceededException' examples: CopyPackageVersions484Example: summary: Default CopyPackageVersions 484 response x-microcks-default: true value: example-value '485': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: CopyPackageVersions485Example: summary: Default CopyPackageVersions 485 response x-microcks-default: true value: example-value '486': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: CopyPackageVersions486Example: summary: Default CopyPackageVersions 486 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain that contains the source and destination repositories. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: source-repository in: query required: true description: ' The name of the repository that contains the package versions to be copied. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: destination-repository in: query required: true description: ' The name of the repository into which package versions are copied. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: format in: query required: true description: ' The format of the package versions to be copied. ' schema: type: string enum: - npm - pypi - maven - nuget - generic - name: namespace in: query required: false description: '

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

' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: package in: query required: true description: ' The name of the package that contains the versions to be copied. ' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 requestBody: required: true content: application/json: schema: type: object properties: versions: description:

The versions of the package to be copied.

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

type: array items: $ref: '#/components/schemas/PackageVersion' maxItems: 100 versionRevisions: description:

A list of key-value pairs. The keys are package versions and the values are package version revisions. A CopyPackageVersion operation succeeds if the specified versions in the source repository match the specified package version revision.

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

type: object additionalProperties: $ref: '#/components/schemas/PackageVersionRevision' allowOverwrite: description: ' Set to true to overwrite a package version that already exists in the destination repository. If set to false and the package version already exists in the destination repository, the package version is returned in the failedVersions field of the response with an ALREADY_EXISTS error code. ' type: boolean includeFromUpstream: description: ' Set to true to copy packages from repositories that are upstream from the source repository to the destination repository. The default setting is false. For more information, see Working with upstream repositories. ' type: boolean examples: CopyPackageVersionsRequestExample: summary: Default CopyPackageVersions request x-microcks-default: true value: versions: - 1.0.0 versionRevisions: {} allowOverwrite: true includeFromUpstream: true summary: Amazon CodeArtifact Copy Package Versions x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/domain#domain: post: operationId: CreateDomain description: '

Creates a domain. CodeArtifact domains make it easier to manage multiple repositories across an organization. You can use a domain to apply permissions across many repositories owned by different 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.

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/CreateDomainResult' examples: CreateDomain200Example: summary: Default CreateDomain 200 response x-microcks-default: true value: domain: my-domain '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: CreateDomain480Example: summary: Default CreateDomain 480 response x-microcks-default: true value: example-value '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: CreateDomain481Example: summary: Default CreateDomain 481 response x-microcks-default: true value: example-value '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: CreateDomain482Example: summary: Default CreateDomain 482 response x-microcks-default: true value: example-value '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: CreateDomain483Example: summary: Default CreateDomain 483 response x-microcks-default: true value: example-value '484': description: ServiceQuotaExceededException content: application/json: schema: $ref: '#/components/schemas/ServiceQuotaExceededException' examples: CreateDomain484Example: summary: Default CreateDomain 484 response x-microcks-default: true value: example-value '485': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: CreateDomain485Example: summary: Default CreateDomain 485 response x-microcks-default: true value: example-value '486': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: CreateDomain486Example: summary: Default CreateDomain 486 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' 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. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 requestBody: required: true content: application/json: schema: type: object properties: encryptionKey: description: '

The encryption key for the domain. This is used to encrypt content stored in a domain. An encryption key can be a key ID, a key Amazon Resource Name (ARN), a key alias, or a key alias ARN. To specify an encryptionKey, your IAM role must have kms:DescribeKey and kms:CreateGrant permissions on the encryption key that is used. For more information, see DescribeKey in the 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.

' type: string pattern: \S+ minLength: 1 maxLength: 1011 tags: description: One or more tag key-value pairs for the domain. type: array items: $ref: '#/components/schemas/Tag' minItems: 0 maxItems: 200 examples: CreateDomainRequestExample: summary: Default CreateDomain request x-microcks-default: true value: encryptionKey: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 tags: - key: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 value: example-value summary: Amazon CodeArtifact Create Domain x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' delete: operationId: DeleteDomain description: ' Deletes a domain. You cannot delete a domain that contains repositories. If you want to delete a domain with repositories, first delete its repositories. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DeleteDomainResult' examples: DeleteDomain200Example: summary: Default DeleteDomain 200 response x-microcks-default: true value: domain: my-domain '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: DeleteDomain480Example: summary: Default DeleteDomain 480 response x-microcks-default: true value: example-value '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: DeleteDomain481Example: summary: Default DeleteDomain 481 response x-microcks-default: true value: example-value '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: DeleteDomain482Example: summary: Default DeleteDomain 482 response x-microcks-default: true value: example-value '483': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: DeleteDomain483Example: summary: Default DeleteDomain 483 response x-microcks-default: true value: example-value '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: DeleteDomain484Example: summary: Default DeleteDomain 484 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain to delete. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 summary: Amazon CodeArtifact Delete Domain x-microcks-operation: delay: 0 dispatcher: FALLBACK get: operationId: DescribeDomain description: ' Returns a DomainDescription object that contains information about the requested domain. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DescribeDomainResult' examples: DescribeDomain200Example: summary: Default DescribeDomain 200 response x-microcks-default: true value: domain: name: my-package owner: '123456789012' arn: arn:aws:codeartifact:us-east-1:123456789012:domain/my-domain status: Active createdTime: example-value '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: DescribeDomain480Example: summary: Default DescribeDomain 480 response x-microcks-default: true value: example-value '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: DescribeDomain481Example: summary: Default DescribeDomain 481 response x-microcks-default: true value: example-value '482': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: DescribeDomain482Example: summary: Default DescribeDomain 482 response x-microcks-default: true value: example-value '483': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: DescribeDomain483Example: summary: Default DescribeDomain 483 response x-microcks-default: true value: example-value '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: DescribeDomain484Example: summary: Default DescribeDomain 484 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' A string that specifies the name of the requested domain. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 summary: Amazon CodeArtifact Describe Domain x-microcks-operation: delay: 0 dispatcher: FALLBACK /v1/repository#domain&repository: post: operationId: CreateRepository description: ' Creates a repository. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/CreateRepositoryResult' examples: CreateRepository200Example: summary: Default CreateRepository 200 response x-microcks-default: true value: repository: my-repo '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: CreateRepository480Example: summary: Default CreateRepository 480 response x-microcks-default: true value: example-value '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: CreateRepository481Example: summary: Default CreateRepository 481 response x-microcks-default: true value: example-value '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: CreateRepository482Example: summary: Default CreateRepository 482 response x-microcks-default: true value: example-value '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: CreateRepository483Example: summary: Default CreateRepository 483 response x-microcks-default: true value: example-value '484': description: ServiceQuotaExceededException content: application/json: schema: $ref: '#/components/schemas/ServiceQuotaExceededException' examples: CreateRepository484Example: summary: Default CreateRepository 484 response x-microcks-default: true value: example-value '485': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: CreateRepository485Example: summary: Default CreateRepository 485 response x-microcks-default: true value: example-value '486': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: CreateRepository486Example: summary: Default CreateRepository 486 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain that contains the created repository. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' The name of the repository to create. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 requestBody: required: true content: application/json: schema: type: object properties: description: description: ' A description of the created repository. ' type: string pattern: '\P{C}*' maxLength: 1000 upstreams: description: ' A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories. ' type: array items: $ref: '#/components/schemas/UpstreamRepository' tags: description: One or more tag key-value pairs for the repository. type: array items: $ref: '#/components/schemas/Tag' minItems: 0 maxItems: 200 examples: CreateRepositoryRequestExample: summary: Default CreateRepository request x-microcks-default: true value: description: Example description for CodeArtifact resource upstreams: - repositoryName: my-repo tags: - key: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 value: example-value summary: Amazon CodeArtifact Create Repository x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' delete: operationId: DeleteRepository description: ' Deletes a repository. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DeleteRepositoryResult' examples: DeleteRepository200Example: summary: Default DeleteRepository 200 response x-microcks-default: true value: repository: my-repo '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: DeleteRepository480Example: summary: Default DeleteRepository 480 response x-microcks-default: true value: example-value '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: DeleteRepository481Example: summary: Default DeleteRepository 481 response x-microcks-default: true value: example-value '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: DeleteRepository482Example: summary: Default DeleteRepository 482 response x-microcks-default: true value: example-value '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: DeleteRepository483Example: summary: Default DeleteRepository 483 response x-microcks-default: true value: example-value '484': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: DeleteRepository484Example: summary: Default DeleteRepository 484 response x-microcks-default: true value: example-value '485': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: DeleteRepository485Example: summary: Default DeleteRepository 485 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain that contains the repository to delete. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' The name of the repository to delete. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 summary: Amazon CodeArtifact Delete Repository x-microcks-operation: delay: 0 dispatcher: FALLBACK get: operationId: DescribeRepository description: ' Returns a RepositoryDescription object that contains detailed information about the requested repository. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DescribeRepositoryResult' examples: DescribeRepository200Example: summary: Default DescribeRepository 200 response x-microcks-default: true value: repository: my-repo '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: DescribeRepository480Example: summary: Default DescribeRepository 480 response x-microcks-default: true value: example-value '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: DescribeRepository481Example: summary: Default DescribeRepository 481 response x-microcks-default: true value: example-value '482': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: DescribeRepository482Example: summary: Default DescribeRepository 482 response x-microcks-default: true value: example-value '483': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: DescribeRepository483Example: summary: Default DescribeRepository 483 response x-microcks-default: true value: example-value '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: DescribeRepository484Example: summary: Default DescribeRepository 484 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain that contains the repository to describe. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' A string that specifies the name of the requested repository. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 summary: Amazon CodeArtifact Describe Repository x-microcks-operation: delay: 0 dispatcher: FALLBACK put: operationId: UpdateRepository description: ' Update the properties of a repository. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/UpdateRepositoryResult' examples: UpdateRepository200Example: summary: Default UpdateRepository 200 response x-microcks-default: true value: repository: my-repo '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: UpdateRepository480Example: summary: Default UpdateRepository 480 response x-microcks-default: true value: example-value '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: UpdateRepository481Example: summary: Default UpdateRepository 481 response x-microcks-default: true value: example-value '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: UpdateRepository482Example: summary: Default UpdateRepository 482 response x-microcks-default: true value: example-value '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: UpdateRepository483Example: summary: Default UpdateRepository 483 response x-microcks-default: true value: example-value '484': description: ServiceQuotaExceededException content: application/json: schema: $ref: '#/components/schemas/ServiceQuotaExceededException' examples: UpdateRepository484Example: summary: Default UpdateRepository 484 response x-microcks-default: true value: example-value '485': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: UpdateRepository485Example: summary: Default UpdateRepository 485 response x-microcks-default: true value: example-value '486': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: UpdateRepository486Example: summary: Default UpdateRepository 486 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain associated with the repository to update. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' The name of the repository to update. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 requestBody: required: true content: application/json: schema: type: object properties: description: description: ' An updated repository description. ' type: string pattern: '\P{C}*' maxLength: 1000 upstreams: description: ' A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories. ' type: array items: $ref: '#/components/schemas/UpstreamRepository' examples: UpdateRepositoryRequestExample: summary: Default UpdateRepository request x-microcks-default: true value: description: Example description for CodeArtifact resource upstreams: - repositoryName: my-repo summary: Amazon CodeArtifact Update Repository x-microcks-operation: delay: 0 dispatcher: FALLBACK /v1/domain/permissions/policy#domain: delete: operationId: DeleteDomainPermissionsPolicy description: ' Deletes the resource policy set on a domain. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DeleteDomainPermissionsPolicyResult' examples: DeleteDomainPermissionsPolicy200Example: summary: Default DeleteDomainPermissionsPolicy 200 response x-microcks-default: true value: policy: example-value '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: DeleteDomainPermissionsPolicy480Example: summary: Default DeleteDomainPermissionsPolicy 480 response x-microcks-default: true value: example-value '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: DeleteDomainPermissionsPolicy481Example: summary: Default DeleteDomainPermissionsPolicy 481 response x-microcks-default: true value: example-value '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: DeleteDomainPermissionsPolicy482Example: summary: Default DeleteDomainPermissionsPolicy 482 response x-microcks-default: true value: example-value '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: DeleteDomainPermissionsPolicy483Example: summary: Default DeleteDomainPermissionsPolicy 483 response x-microcks-default: true value: example-value '484': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: DeleteDomainPermissionsPolicy484Example: summary: Default DeleteDomainPermissionsPolicy 484 response x-microcks-default: true value: example-value '485': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: DeleteDomainPermissionsPolicy485Example: summary: Default DeleteDomainPermissionsPolicy 485 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain associated with the resource policy to be deleted. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: policy-revision in: query required: false description: ' The current revision of the resource policy to be deleted. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain''s resource policy. ' schema: type: string pattern: \S+ minLength: 1 maxLength: 100 summary: Amazon CodeArtifact Delete Domain Permissions Policy x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' get: operationId: GetDomainPermissionsPolicy description: '

Returns the resource policy attached to the specified domain.

The policy is a resource-based policy, not an identity-based policy. For more information, see Identity-based policies and resource-based policies in the IAM User Guide.

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/GetDomainPermissionsPolicyResult' examples: GetDomainPermissionsPolicy200Example: summary: Default GetDomainPermissionsPolicy 200 response x-microcks-default: true value: policy: example-value '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: GetDomainPermissionsPolicy480Example: summary: Default GetDomainPermissionsPolicy 480 response x-microcks-default: true value: example-value '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: GetDomainPermissionsPolicy481Example: summary: Default GetDomainPermissionsPolicy 481 response x-microcks-default: true value: example-value '482': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: GetDomainPermissionsPolicy482Example: summary: Default GetDomainPermissionsPolicy 482 response x-microcks-default: true value: example-value '483': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: GetDomainPermissionsPolicy483Example: summary: Default GetDomainPermissionsPolicy 483 response x-microcks-default: true value: example-value '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: GetDomainPermissionsPolicy484Example: summary: Default GetDomainPermissionsPolicy 484 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain to which the resource policy is attached. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 summary: Amazon CodeArtifact Get Domain Permissions Policy x-microcks-operation: delay: 0 dispatcher: FALLBACK /v1/package#domain&repository&format&package: delete: operationId: DeletePackage description: '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.' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DeletePackageResult' examples: DeletePackage200Example: summary: Default DeletePackage 200 response x-microcks-default: true value: deletedPackage: format: npm namespace: my-package package: lodash originConfiguration: example-value '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: DeletePackage480Example: summary: Default DeletePackage 480 response x-microcks-default: true value: example-value '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: DeletePackage481Example: summary: Default DeletePackage 481 response x-microcks-default: true value: example-value '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: DeletePackage482Example: summary: Default DeletePackage 482 response x-microcks-default: true value: example-value '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: DeletePackage483Example: summary: Default DeletePackage 483 response x-microcks-default: true value: example-value '484': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: DeletePackage484Example: summary: Default DeletePackage 484 response x-microcks-default: true value: example-value '485': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: DeletePackage485Example: summary: Default DeletePackage 485 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: The name of the domain that contains the package to delete. schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: The name of the repository that contains the package to delete. schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: format in: query required: true description: The format of the requested package to delete. schema: type: string enum: - npm - pypi - maven - nuget - generic - name: namespace in: query required: false description: '

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

' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: package in: query required: true description: The name of the package to delete. schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 summary: Amazon CodeArtifact Delete Package x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' get: operationId: DescribePackage description: ' Returns a PackageDescription object that contains information about the requested package.' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DescribePackageResult' examples: DescribePackage200Example: summary: Default DescribePackage 200 response x-microcks-default: true value: package: lodash '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: DescribePackage480Example: summary: Default DescribePackage 480 response x-microcks-default: true value: example-value '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: DescribePackage481Example: summary: Default DescribePackage 481 response x-microcks-default: true value: example-value '482': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: DescribePackage482Example: summary: Default DescribePackage 482 response x-microcks-default: true value: example-value '483': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: DescribePackage483Example: summary: Default DescribePackage 483 response x-microcks-default: true value: example-value '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: DescribePackage484Example: summary: Default DescribePackage 484 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: The name of the domain that contains the repository that contains the package. schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: 'The name of the repository that contains the requested package. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: format in: query required: true description: A format that specifies the type of the requested package. schema: type: string enum: - npm - pypi - maven - nuget - generic - name: namespace in: query required: false description: '

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

' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: package in: query required: true description: The name of the requested package. schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 summary: Amazon CodeArtifact Describe Package x-microcks-operation: delay: 0 dispatcher: FALLBACK post: operationId: PutPackageOriginConfiguration description: '

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.

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/PutPackageOriginConfigurationResult' examples: PutPackageOriginConfiguration200Example: summary: Default PutPackageOriginConfiguration 200 response x-microcks-default: true value: originConfiguration: example-value '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: PutPackageOriginConfiguration480Example: summary: Default PutPackageOriginConfiguration 480 response x-microcks-default: true value: example-value '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: PutPackageOriginConfiguration481Example: summary: Default PutPackageOriginConfiguration 481 response x-microcks-default: true value: example-value '482': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: PutPackageOriginConfiguration482Example: summary: Default PutPackageOriginConfiguration 482 response x-microcks-default: true value: example-value '483': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: PutPackageOriginConfiguration483Example: summary: Default PutPackageOriginConfiguration 483 response x-microcks-default: true value: example-value '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: PutPackageOriginConfiguration484Example: summary: Default PutPackageOriginConfiguration 484 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: The name of the domain that contains the repository that contains the package. schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: The name of the repository that contains the package. schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: format in: query required: true description: A format that specifies the type of the package to be updated. schema: type: string enum: - npm - pypi - maven - nuget - generic - name: namespace in: query required: false description: '

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

' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: package in: query required: true description: The name of the package to be updated. schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 requestBody: required: true content: application/json: schema: type: object required: - restrictions properties: restrictions: description: 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. type: object properties: publish: allOf: - $ref: '#/components/schemas/AllowPublish' - description: The package origin configuration that determines if new versions of the package can be published directly to the repository. upstream: allOf: - $ref: '#/components/schemas/AllowUpstream' - description: 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. examples: PutPackageOriginConfigurationRequestExample: summary: Default PutPackageOriginConfiguration request x-microcks-default: true value: restrictions: publish: example-value upstream: example-value summary: Amazon CodeArtifact Put Package Origin Configuration x-microcks-operation: delay: 0 dispatcher: FALLBACK /v1/package/versions/delete#domain&repository&format&package: post: operationId: DeletePackageVersions description: ' Deletes one or more versions of a package. A deleted package version cannot be restored in your repository. If you want to remove a package version from your repository and be able to restore it later, set its status to Archived. Archived packages cannot be downloaded from a repository and don''t show up with list package APIs (for example, ListPackageVersions), but you can restore them using UpdatePackageVersionsStatus. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DeletePackageVersionsResult' examples: DeletePackageVersions200Example: summary: Default DeletePackageVersions 200 response x-microcks-default: true value: successfulVersions: 1.0.0 failedVersions: 1.0.0 '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: DeletePackageVersions480Example: summary: Default DeletePackageVersions 480 response x-microcks-default: true value: example-value '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: DeletePackageVersions481Example: summary: Default DeletePackageVersions 481 response x-microcks-default: true value: example-value '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: DeletePackageVersions482Example: summary: Default DeletePackageVersions 482 response x-microcks-default: true value: example-value '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: DeletePackageVersions483Example: summary: Default DeletePackageVersions 483 response x-microcks-default: true value: example-value '484': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: DeletePackageVersions484Example: summary: Default DeletePackageVersions 484 response x-microcks-default: true value: example-value '485': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: DeletePackageVersions485Example: summary: Default DeletePackageVersions 485 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain that contains the package to delete. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' The name of the repository that contains the package versions to delete. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: format in: query required: true description: ' The format of the package versions to delete. ' schema: type: string enum: - npm - pypi - maven - nuget - generic - name: namespace in: query required: false description: '

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

' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: package in: query required: true description: ' The name of the package with the versions to delete. ' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 requestBody: required: true content: application/json: schema: type: object required: - versions properties: versions: description: ' An array of strings that specify the versions of the package to delete. ' type: array items: $ref: '#/components/schemas/PackageVersion' maxItems: 100 expectedStatus: description: ' The expected status of the package version to delete. ' type: string enum: - Published - Unfinished - Unlisted - Archived - Disposed - Deleted examples: DeletePackageVersionsRequestExample: summary: Default DeletePackageVersions request x-microcks-default: true value: versions: - 1.0.0 expectedStatus: Published summary: Amazon CodeArtifact Delete Package Versions x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/repository/permissions/policies#domain&repository: delete: operationId: DeleteRepositoryPermissionsPolicy description: '

Deletes the resource policy that is set on a repository. After a resource policy is deleted, the permissions allowed and denied by the deleted policy are removed. The effect of deleting a resource policy might not be immediate.

Use DeleteRepositoryPermissionsPolicy with caution. After a policy is deleted, Amazon Web Services users, roles, and accounts lose permissions to perform the repository actions granted by the deleted policy.

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DeleteRepositoryPermissionsPolicyResult' examples: DeleteRepositoryPermissionsPolicy200Example: summary: Default DeleteRepositoryPermissionsPolicy 200 response x-microcks-default: true value: policy: example-value '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: DeleteRepositoryPermissionsPolicy480Example: summary: Default DeleteRepositoryPermissionsPolicy 480 response x-microcks-default: true value: example-value '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: DeleteRepositoryPermissionsPolicy481Example: summary: Default DeleteRepositoryPermissionsPolicy 481 response x-microcks-default: true value: example-value '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: DeleteRepositoryPermissionsPolicy482Example: summary: Default DeleteRepositoryPermissionsPolicy 482 response x-microcks-default: true value: example-value '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: DeleteRepositoryPermissionsPolicy483Example: summary: Default DeleteRepositoryPermissionsPolicy 483 response x-microcks-default: true value: example-value '484': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: DeleteRepositoryPermissionsPolicy484Example: summary: Default DeleteRepositoryPermissionsPolicy 484 response x-microcks-default: true value: example-value '485': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: DeleteRepositoryPermissionsPolicy485Example: summary: Default DeleteRepositoryPermissionsPolicy 485 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain that contains the repository associated with the resource policy to be deleted. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' The name of the repository that is associated with the resource policy to be deleted ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: policy-revision in: query required: false description: ' The revision of the repository''s resource policy to be deleted. This revision is used for optimistic locking, which prevents others from accidentally overwriting your changes to the repository''s resource policy. ' schema: type: string pattern: \S+ minLength: 1 maxLength: 100 summary: Amazon CodeArtifact Delete Repository Permissions Policy x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/package/version#domain&repository&format&package&version: get: operationId: DescribePackageVersion description: ' Returns a PackageVersionDescription object that contains information about the requested package version. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DescribePackageVersionResult' examples: DescribePackageVersion200Example: summary: Default DescribePackageVersion 200 response x-microcks-default: true value: packageVersion: 1.0.0 '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: DescribePackageVersion480Example: summary: Default DescribePackageVersion 480 response x-microcks-default: true value: example-value '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: DescribePackageVersion481Example: summary: Default DescribePackageVersion 481 response x-microcks-default: true value: example-value '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: DescribePackageVersion482Example: summary: Default DescribePackageVersion 482 response x-microcks-default: true value: example-value '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: DescribePackageVersion483Example: summary: Default DescribePackageVersion 483 response x-microcks-default: true value: example-value '484': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: DescribePackageVersion484Example: summary: Default DescribePackageVersion 484 response x-microcks-default: true value: example-value '485': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: DescribePackageVersion485Example: summary: Default DescribePackageVersion 485 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain that contains the repository that contains the package version. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' The name of the repository that contains the package version. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: format in: query required: true description: ' A format that specifies the type of the requested package version. ' schema: type: string enum: - npm - pypi - maven - nuget - generic - name: namespace in: query required: false description: '

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

' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: package in: query required: true description: ' The name of the requested package version. ' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: version in: query required: true description: ' A string that contains the package version (for example, 3.5.2). ' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 summary: Amazon CodeArtifact Describe Package Version x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/package/versions/dispose#domain&repository&format&package: post: operationId: DisposePackageVersions description: '

Deletes the assets in package versions and sets the package versions'' status to Disposed. A disposed package version cannot be restored in your repository because its assets are deleted.

To view all disposed package versions in a repository, use ListPackageVersions and set the status parameter to Disposed.

To view information about a disposed package version, use DescribePackageVersion.

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DisposePackageVersionsResult' examples: DisposePackageVersions200Example: summary: Default DisposePackageVersions 200 response x-microcks-default: true value: successfulVersions: 1.0.0 failedVersions: 1.0.0 '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: DisposePackageVersions480Example: summary: Default DisposePackageVersions 480 response x-microcks-default: true value: example-value '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: DisposePackageVersions481Example: summary: Default DisposePackageVersions 481 response x-microcks-default: true value: example-value '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: DisposePackageVersions482Example: summary: Default DisposePackageVersions 482 response x-microcks-default: true value: example-value '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: DisposePackageVersions483Example: summary: Default DisposePackageVersions 483 response x-microcks-default: true value: example-value '484': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: DisposePackageVersions484Example: summary: Default DisposePackageVersions 484 response x-microcks-default: true value: example-value '485': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: DisposePackageVersions485Example: summary: Default DisposePackageVersions 485 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain that contains the repository you want to dispose. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' The name of the repository that contains the package versions you want to dispose. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: format in: query required: true description: ' A format that specifies the type of package versions you want to dispose. ' schema: type: string enum: - npm - pypi - maven - nuget - generic - name: namespace in: query required: false description: '

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

' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: package in: query required: true description: ' The name of the package with the versions you want to dispose. ' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 requestBody: required: true content: application/json: schema: type: object required: - versions properties: versions: description: ' The versions of the package you want to dispose. ' type: array items: $ref: '#/components/schemas/PackageVersion' maxItems: 100 versionRevisions: description: ' The revisions of the package versions you want to dispose. ' type: object additionalProperties: $ref: '#/components/schemas/PackageVersionRevision' expectedStatus: description: ' The expected status of the package version to dispose. ' type: string enum: - Published - Unfinished - Unlisted - Archived - Disposed - Deleted examples: DisposePackageVersionsRequestExample: summary: Default DisposePackageVersions request x-microcks-default: true value: versions: - 1.0.0 versionRevisions: {} expectedStatus: Published summary: Amazon CodeArtifact Dispose Package Versions x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/authorization-token#domain: post: operationId: GetAuthorizationToken description: '

Generates a temporary authorization token for accessing repositories in the domain. This API requires the codeartifact:GetAuthorizationToken and sts:GetServiceBearerToken permissions. For more information about authorization tokens, see 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.

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/GetAuthorizationTokenResult' examples: GetAuthorizationToken200Example: summary: Default GetAuthorizationToken 200 response x-microcks-default: true value: authorizationToken: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.example expiration: example-value '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: GetAuthorizationToken480Example: summary: Default GetAuthorizationToken 480 response x-microcks-default: true value: example-value '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: GetAuthorizationToken481Example: summary: Default GetAuthorizationToken 481 response x-microcks-default: true value: example-value '482': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: GetAuthorizationToken482Example: summary: Default GetAuthorizationToken 482 response x-microcks-default: true value: example-value '483': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: GetAuthorizationToken483Example: summary: Default GetAuthorizationToken 483 response x-microcks-default: true value: example-value '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: GetAuthorizationToken484Example: summary: Default GetAuthorizationToken 484 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain that is in scope for the generated authorization token. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: duration in: query required: false description: 'The time, in seconds, that the generated authorization token is valid. Valid values are 0 and any number between 900 (15 minutes) and 43200 (12 hours). A value of 0 will set the expiration of the authorization token to the same expiration of the user''s role''s temporary credentials.' schema: type: integer minimum: 0 maximum: 43200 summary: Amazon CodeArtifact Get Authorization Token x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/package/version/asset#domain&repository&format&package&version&asset: get: operationId: GetPackageVersionAsset description: ' Returns an asset (or file) that is in a package. For example, for a Maven package version, use GetPackageVersionAsset to download a JAR file, a POM file, or any other assets in the package version. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/GetPackageVersionAssetResult' examples: GetPackageVersionAsset200Example: summary: Default GetPackageVersionAsset 200 response x-microcks-default: true value: asset: example-value '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: GetPackageVersionAsset480Example: summary: Default GetPackageVersionAsset 480 response x-microcks-default: true value: example-value '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: GetPackageVersionAsset481Example: summary: Default GetPackageVersionAsset 481 response x-microcks-default: true value: example-value '482': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: GetPackageVersionAsset482Example: summary: Default GetPackageVersionAsset 482 response x-microcks-default: true value: example-value '483': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: GetPackageVersionAsset483Example: summary: Default GetPackageVersionAsset 483 response x-microcks-default: true value: example-value '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: GetPackageVersionAsset484Example: summary: Default GetPackageVersionAsset 484 response x-microcks-default: true value: '500123' '485': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: GetPackageVersionAsset485Example: summary: Default GetPackageVersionAsset 485 response x-microcks-default: true value: example-value parameters: - name: domain in: query required: true description: ' The name of the domain that contains the repository that contains the package version with the requested asset. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' The repository that contains the package version with the requested asset. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: format in: query required: true description: ' A format that specifies the type of the package version with the requested asset file. ' schema: type: string enum: - npm - pypi - maven - nuget - generic - name: namespace in: query required: false description: '

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

' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: package in: query required: true description: ' The name of the package that contains the requested asset. ' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: version in: query required: true description: ' A string that contains the package version (for example, 3.5.2). ' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: asset in: query required: true description: ' The name of the requested asset. ' schema: type: string pattern: '\P{C}+' minLength: 1 maxLength: 255 - name: revision in: query required: false description: ' The name of the package version revision that contains the requested asset. ' schema: type: string pattern: \S+ minLength: 1 maxLength: 50 summary: Amazon CodeArtifact Get Package Version Asset x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/package/version/readme#domain&repository&format&package&version: get: operationId: GetPackageVersionReadme description: '

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.

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/GetPackageVersionReadmeResult' examples: GetPackageVersionReadme200Example: summary: Default GetPackageVersionReadme 200 response x-microcks-default: true value: format: npm namespace: my-package package: lodash version: 1.0.0 versionRevision: 1.0.0 '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: GetPackageVersionReadme480Example: summary: Default GetPackageVersionReadme 480 response x-microcks-default: true value: example-value '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: GetPackageVersionReadme481Example: summary: Default GetPackageVersionReadme 481 response x-microcks-default: true value: example-value '482': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: GetPackageVersionReadme482Example: summary: Default GetPackageVersionReadme 482 response x-microcks-default: true value: example-value '483': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: GetPackageVersionReadme483Example: summary: Default GetPackageVersionReadme 483 response x-microcks-default: true value: example-value '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: GetPackageVersionReadme484Example: summary: Default GetPackageVersionReadme 484 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain that contains the repository that contains the package version with the requested readme file. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' The repository that contains the package with the requested readme file. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: format in: query required: true description: ' A format that specifies the type of the package version with the requested readme file. ' schema: type: string enum: - npm - pypi - maven - nuget - generic - name: namespace in: query required: false description: '

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

' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: package in: query required: true description: ' The name of the package version that contains the requested readme file. ' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: version in: query required: true description: ' A string that contains the package version (for example, 3.5.2). ' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 summary: Amazon CodeArtifact Get Package Version Readme x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/repository/endpoint#domain&repository&format: get: operationId: GetRepositoryEndpoint description: '

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

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/GetRepositoryEndpointResult' examples: GetRepositoryEndpoint200Example: summary: Default GetRepositoryEndpoint 200 response x-microcks-default: true value: repositoryEndpoint: my-repo '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: GetRepositoryEndpoint480Example: summary: Default GetRepositoryEndpoint 480 response x-microcks-default: true value: example-value '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: GetRepositoryEndpoint481Example: summary: Default GetRepositoryEndpoint 481 response x-microcks-default: true value: example-value '482': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: GetRepositoryEndpoint482Example: summary: Default GetRepositoryEndpoint 482 response x-microcks-default: true value: example-value '483': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: GetRepositoryEndpoint483Example: summary: Default GetRepositoryEndpoint 483 response x-microcks-default: true value: example-value '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: GetRepositoryEndpoint484Example: summary: Default GetRepositoryEndpoint 484 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain that contains the repository. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' 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. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' The name of the repository. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: format in: query required: true description: ' Returns which endpoint of a repository to return. A repository has one endpoint for each package format. ' schema: type: string enum: - npm - pypi - maven - nuget - generic summary: Amazon CodeArtifact Get Repository Endpoint x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/repository/permissions/policy#domain&repository: get: operationId: GetRepositoryPermissionsPolicy description: ' Returns the resource policy that is set on a repository. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/GetRepositoryPermissionsPolicyResult' examples: GetRepositoryPermissionsPolicy200Example: summary: Default GetRepositoryPermissionsPolicy 200 response x-microcks-default: true value: policy: example-value '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: GetRepositoryPermissionsPolicy480Example: summary: Default GetRepositoryPermissionsPolicy 480 response x-microcks-default: true value: example-value '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: GetRepositoryPermissionsPolicy481Example: summary: Default GetRepositoryPermissionsPolicy 481 response x-microcks-default: true value: example-value '482': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: GetRepositoryPermissionsPolicy482Example: summary: Default GetRepositoryPermissionsPolicy 482 response x-microcks-default: true value: example-value '483': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: GetRepositoryPermissionsPolicy483Example: summary: Default GetRepositoryPermissionsPolicy 483 response x-microcks-default: true value: example-value '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: GetRepositoryPermissionsPolicy484Example: summary: Default GetRepositoryPermissionsPolicy 484 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain containing the repository whose associated resource policy is to be retrieved. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' The name of the repository whose associated resource policy is to be retrieved. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 summary: Amazon CodeArtifact Get Repository Permissions Policy x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' put: operationId: PutRepositoryPermissionsPolicy description: '

Sets the resource policy on a repository that specifies permissions to access it.

When you call PutRepositoryPermissionsPolicy, the resource policy on the repository is ignored when evaluting permissions. This ensures that the owner of a repository cannot lock themselves out of the repository, which would prevent them from being able to update the resource policy.

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/PutRepositoryPermissionsPolicyResult' examples: PutRepositoryPermissionsPolicy200Example: summary: Default PutRepositoryPermissionsPolicy 200 response x-microcks-default: true value: policy: example-value '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: PutRepositoryPermissionsPolicy480Example: summary: Default PutRepositoryPermissionsPolicy 480 response x-microcks-default: true value: example-value '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: PutRepositoryPermissionsPolicy481Example: summary: Default PutRepositoryPermissionsPolicy 481 response x-microcks-default: true value: example-value '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: PutRepositoryPermissionsPolicy482Example: summary: Default PutRepositoryPermissionsPolicy 482 response x-microcks-default: true value: example-value '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: PutRepositoryPermissionsPolicy483Example: summary: Default PutRepositoryPermissionsPolicy 483 response x-microcks-default: true value: example-value '484': description: ServiceQuotaExceededException content: application/json: schema: $ref: '#/components/schemas/ServiceQuotaExceededException' examples: PutRepositoryPermissionsPolicy484Example: summary: Default PutRepositoryPermissionsPolicy 484 response x-microcks-default: true value: example-value '485': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: PutRepositoryPermissionsPolicy485Example: summary: Default PutRepositoryPermissionsPolicy 485 response x-microcks-default: true value: example-value '486': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: PutRepositoryPermissionsPolicy486Example: summary: Default PutRepositoryPermissionsPolicy 486 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain containing the repository to set the resource policy on. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' The name of the repository to set the resource policy on. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 requestBody: required: true content: application/json: schema: type: object required: - policyDocument properties: policyRevision: description: ' Sets the revision of the resource policy that specifies permissions to access the repository. This revision is used for optimistic locking, which prevents others from overwriting your changes to the repository''s resource policy. ' type: string pattern: \S+ minLength: 1 maxLength: 100 policyDocument: description: ' A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided repository. ' type: string pattern: '[\P{C}\s]+' minLength: 1 maxLength: 7168 examples: PutRepositoryPermissionsPolicyRequestExample: summary: Default PutRepositoryPermissionsPolicy request x-microcks-default: true value: policyRevision: example-value policyDocument: example-value summary: Amazon CodeArtifact Put Repository Permissions Policy x-microcks-operation: delay: 0 dispatcher: FALLBACK /v1/domains: post: operationId: ListDomains description: ' 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. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListDomainsResult' examples: ListDomains200Example: summary: Default ListDomains 200 response x-microcks-default: true value: domains: my-domain nextToken: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.example '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: ListDomains480Example: summary: Default ListDomains 480 response x-microcks-default: true value: example-value '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: ListDomains481Example: summary: Default ListDomains 481 response x-microcks-default: true value: example-value '482': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: ListDomains482Example: summary: Default ListDomains 482 response x-microcks-default: true value: example-value '483': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: ListDomains483Example: summary: Default ListDomains 483 response x-microcks-default: true value: '500123' parameters: - name: maxResults in: query schema: type: string description: Pagination limit required: false - name: nextToken in: query schema: type: string description: Pagination token required: false requestBody: required: true content: application/json: schema: type: object properties: maxResults: description: ' The maximum number of results to return per page. ' type: integer minimum: 1 maximum: 1000 nextToken: description: ' The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. ' type: string pattern: \S+ minLength: 1 maxLength: 2000 examples: ListDomainsRequestExample: summary: Default ListDomains request x-microcks-default: true value: maxResults: 1 nextToken: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.example summary: Amazon CodeArtifact List Domains x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/package/version/assets#domain&repository&format&package&version: post: operationId: ListPackageVersionAssets description: ' Returns a list of AssetSummary objects for assets in a package version. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListPackageVersionAssetsResult' examples: ListPackageVersionAssets200Example: summary: Default ListPackageVersionAssets 200 response x-microcks-default: true value: format: npm namespace: my-package package: lodash version: 1.0.0 versionRevision: 1.0.0 '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: ListPackageVersionAssets480Example: summary: Default ListPackageVersionAssets 480 response x-microcks-default: true value: example-value '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: ListPackageVersionAssets481Example: summary: Default ListPackageVersionAssets 481 response x-microcks-default: true value: example-value '482': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: ListPackageVersionAssets482Example: summary: Default ListPackageVersionAssets 482 response x-microcks-default: true value: example-value '483': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: ListPackageVersionAssets483Example: summary: Default ListPackageVersionAssets 483 response x-microcks-default: true value: example-value '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: ListPackageVersionAssets484Example: summary: Default ListPackageVersionAssets 484 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain that contains the repository associated with the package version assets. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' The name of the repository that contains the package that contains the requested package version assets. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: format in: query required: true description: ' The format of the package that contains the requested package version assets. ' schema: type: string enum: - npm - pypi - maven - nuget - generic - name: namespace in: query required: false description: '

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

' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: package in: query required: true description: ' The name of the package that contains the requested package version assets. ' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: version in: query required: true description: ' A string that contains the package version (for example, 3.5.2). ' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: max-results in: query required: false description: ' The maximum number of results to return per page. ' schema: type: integer minimum: 1 maximum: 1000 - name: next-token in: query required: false description: ' The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. ' schema: type: string pattern: \S+ minLength: 1 maxLength: 2000 - name: maxResults in: query schema: type: string description: Pagination limit required: false - name: nextToken in: query schema: type: string description: Pagination token required: false summary: Amazon CodeArtifact List Package Version Assets x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/package/version/dependencies#domain&repository&format&package&version: post: operationId: ListPackageVersionDependencies description: ' Returns the direct dependencies for a package version. The dependencies are returned as PackageDependency objects. CodeArtifact extracts the dependencies for a package version from the metadata file for the package format (for example, the package.json file for npm packages and the pom.xml file for Maven). Any package version dependencies that are not listed in the configuration file are not returned. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListPackageVersionDependenciesResult' examples: ListPackageVersionDependencies200Example: summary: Default ListPackageVersionDependencies 200 response x-microcks-default: true value: format: npm namespace: my-package package: lodash version: 1.0.0 versionRevision: 1.0.0 '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: ListPackageVersionDependencies480Example: summary: Default ListPackageVersionDependencies 480 response x-microcks-default: true value: example-value '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: ListPackageVersionDependencies481Example: summary: Default ListPackageVersionDependencies 481 response x-microcks-default: true value: example-value '482': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: ListPackageVersionDependencies482Example: summary: Default ListPackageVersionDependencies 482 response x-microcks-default: true value: example-value '483': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: ListPackageVersionDependencies483Example: summary: Default ListPackageVersionDependencies 483 response x-microcks-default: true value: example-value '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: ListPackageVersionDependencies484Example: summary: Default ListPackageVersionDependencies 484 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain that contains the repository that contains the requested package version dependencies. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' The name of the repository that contains the requested package version. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: format in: query required: true description: ' The format of the package with the requested dependencies. ' schema: type: string enum: - npm - pypi - maven - nuget - generic - name: namespace in: query required: false description: '

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

' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: package in: query required: true description: ' The name of the package versions'' package. ' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: version in: query required: true description: ' A string that contains the package version (for example, 3.5.2). ' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: next-token in: query required: false description: ' The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. ' schema: type: string pattern: \S+ minLength: 1 maxLength: 2000 summary: Amazon CodeArtifact List Package Version Dependencies x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/package/versions#domain&repository&format&package: post: operationId: ListPackageVersions description: ' 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. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListPackageVersionsResult' examples: ListPackageVersions200Example: summary: Default ListPackageVersions 200 response x-microcks-default: true value: defaultDisplayVersion: 1.0.0 format: npm namespace: my-package package: lodash versions: 1.0.0 '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: ListPackageVersions480Example: summary: Default ListPackageVersions 480 response x-microcks-default: true value: example-value '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: ListPackageVersions481Example: summary: Default ListPackageVersions 481 response x-microcks-default: true value: example-value '482': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: ListPackageVersions482Example: summary: Default ListPackageVersions 482 response x-microcks-default: true value: example-value '483': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: ListPackageVersions483Example: summary: Default ListPackageVersions 483 response x-microcks-default: true value: example-value '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: ListPackageVersions484Example: summary: Default ListPackageVersions 484 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain that contains the repository that contains the requested package versions. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' The name of the repository that contains the requested package versions. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: format in: query required: true description: ' The format of the package versions you want to list. ' schema: type: string enum: - npm - pypi - maven - nuget - generic - name: namespace in: query required: false description: '

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

' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: package in: query required: true description: ' The name of the package for which you want to request package versions. ' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: status in: query required: false description: ' A string that filters the requested package versions by status. ' schema: type: string enum: - Published - Unfinished - Unlisted - Archived - Disposed - Deleted - name: sortBy in: query required: false description: ' How to sort the requested list of package versions. ' schema: type: string enum: - PUBLISHED_TIME - name: max-results in: query required: false description: ' The maximum number of results to return per page. ' schema: type: integer minimum: 1 maximum: 1000 - name: next-token in: query required: false description: ' The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. ' schema: type: string pattern: \S+ minLength: 1 maxLength: 2000 - name: originType in: query required: false description: The originType used to filter package versions. Only package versions with the provided originType will be returned. schema: type: string enum: - INTERNAL - EXTERNAL - UNKNOWN - name: maxResults in: query schema: type: string description: Pagination limit required: false - name: nextToken in: query schema: type: string description: Pagination token required: false summary: Amazon CodeArtifact List Package Versions x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/packages#domain&repository: post: operationId: ListPackages description: ' Returns a list of PackageSummary objects for packages in a repository that match the request parameters. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListPackagesResult' examples: ListPackages200Example: summary: Default ListPackages 200 response x-microcks-default: true value: packages: lodash nextToken: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.example '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: ListPackages480Example: summary: Default ListPackages 480 response x-microcks-default: true value: example-value '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: ListPackages481Example: summary: Default ListPackages 481 response x-microcks-default: true value: example-value '482': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: ListPackages482Example: summary: Default ListPackages 482 response x-microcks-default: true value: example-value '483': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: ListPackages483Example: summary: Default ListPackages 483 response x-microcks-default: true value: example-value '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: ListPackages484Example: summary: Default ListPackages 484 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain that contains the repository that contains the requested packages. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' The name of the repository that contains the requested packages. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: format in: query required: false description: The format used to filter requested packages. Only packages from the provided format will be returned. schema: type: string enum: - npm - pypi - maven - nuget - generic - name: namespace in: query required: false description: '

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:

' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: package-prefix in: query required: false description: ' A prefix used to filter requested packages. Only packages with names that start with packagePrefix are returned. ' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: max-results in: query required: false description: ' The maximum number of results to return per page. ' schema: type: integer minimum: 1 maximum: 1000 - name: next-token in: query required: false description: ' The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. ' schema: type: string pattern: \S+ minLength: 1 maxLength: 2000 - name: publish in: query required: false description: '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.' schema: type: string enum: - ALLOW - BLOCK - name: upstream in: query required: false description: '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.' schema: type: string enum: - ALLOW - BLOCK - name: maxResults in: query schema: type: string description: Pagination limit required: false - name: nextToken in: query schema: type: string description: Pagination token required: false summary: Amazon CodeArtifact List Packages x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/repositories: post: operationId: ListRepositories description: ' 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. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListRepositoriesResult' examples: ListRepositories200Example: summary: Default ListRepositories 200 response x-microcks-default: true value: repositories: my-repo nextToken: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.example '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: ListRepositories480Example: summary: Default ListRepositories 480 response x-microcks-default: true value: example-value '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: ListRepositories481Example: summary: Default ListRepositories 481 response x-microcks-default: true value: example-value '482': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: ListRepositories482Example: summary: Default ListRepositories 482 response x-microcks-default: true value: example-value '483': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: ListRepositories483Example: summary: Default ListRepositories 483 response x-microcks-default: true value: '500123' parameters: - name: repository-prefix in: query required: false description: ' A prefix used to filter returned repositories. Only repositories with names that start with repositoryPrefix are returned.' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: max-results in: query required: false description: ' The maximum number of results to return per page. ' schema: type: integer minimum: 1 maximum: 1000 - name: next-token in: query required: false description: ' The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. ' schema: type: string pattern: \S+ minLength: 1 maxLength: 2000 - name: maxResults in: query schema: type: string description: Pagination limit required: false - name: nextToken in: query schema: type: string description: Pagination token required: false summary: Amazon CodeArtifact List Repositories x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/domain/repositories#domain: post: operationId: ListRepositoriesInDomain description: ' Returns a list of RepositorySummary objects. Each RepositorySummary contains information about a repository in the specified domain and that matches the input parameters. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListRepositoriesInDomainResult' examples: ListRepositoriesInDomain200Example: summary: Default ListRepositoriesInDomain 200 response x-microcks-default: true value: repositories: my-repo nextToken: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.example '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: ListRepositoriesInDomain480Example: summary: Default ListRepositoriesInDomain 480 response x-microcks-default: true value: example-value '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: ListRepositoriesInDomain481Example: summary: Default ListRepositoriesInDomain 481 response x-microcks-default: true value: example-value '482': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: ListRepositoriesInDomain482Example: summary: Default ListRepositoriesInDomain 482 response x-microcks-default: true value: example-value '483': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: ListRepositoriesInDomain483Example: summary: Default ListRepositoriesInDomain 483 response x-microcks-default: true value: example-value '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: ListRepositoriesInDomain484Example: summary: Default ListRepositoriesInDomain 484 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain that contains the returned list of repositories. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: administrator-account in: query required: false description: ' Filter the list of repositories to only include those that are managed by the Amazon Web Services account ID. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository-prefix in: query required: false description: ' A prefix used to filter returned repositories. Only repositories with names that start with repositoryPrefix are returned. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: max-results in: query required: false description: ' The maximum number of results to return per page. ' schema: type: integer minimum: 1 maximum: 1000 - name: next-token in: query required: false description: ' The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. ' schema: type: string pattern: \S+ minLength: 1 maxLength: 2000 - name: maxResults in: query schema: type: string description: Pagination limit required: false - name: nextToken in: query schema: type: string description: Pagination token required: false summary: Amazon CodeArtifact List Repositories in Domain x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/tags#resourceArn: post: operationId: ListTagsForResource description: Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in CodeArtifact. responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListTagsForResourceResult' examples: ListTagsForResource200Example: summary: Default ListTagsForResource 200 response x-microcks-default: true value: tags: example-value '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: ListTagsForResource480Example: summary: Default ListTagsForResource 480 response x-microcks-default: true value: example-value '481': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: ListTagsForResource481Example: summary: Default ListTagsForResource 481 response x-microcks-default: true value: example-value '482': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: ListTagsForResource482Example: summary: Default ListTagsForResource 482 response x-microcks-default: true value: example-value '483': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: ListTagsForResource483Example: summary: Default ListTagsForResource 483 response x-microcks-default: true value: '500123' parameters: - name: resourceArn in: query required: true description: The Amazon Resource Name (ARN) of the resource to get tags for. schema: type: string pattern: \S+ minLength: 1 maxLength: 1011 summary: Amazon CodeArtifact List Tags for Resource x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/package/version/publish#domain&repository&format&package&version&asset&x-amz-content-sha256: post: operationId: PublishPackageVersion description: '

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.

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/PublishPackageVersionResult' examples: PublishPackageVersion200Example: summary: Default PublishPackageVersion 200 response x-microcks-default: true value: format: npm namespace: my-package package: lodash version: 1.0.0 versionRevision: 1.0.0 '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: PublishPackageVersion480Example: summary: Default PublishPackageVersion 480 response x-microcks-default: true value: example-value '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: PublishPackageVersion481Example: summary: Default PublishPackageVersion 481 response x-microcks-default: true value: example-value '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: PublishPackageVersion482Example: summary: Default PublishPackageVersion 482 response x-microcks-default: true value: example-value '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: PublishPackageVersion483Example: summary: Default PublishPackageVersion 483 response x-microcks-default: true value: example-value '484': description: ServiceQuotaExceededException content: application/json: schema: $ref: '#/components/schemas/ServiceQuotaExceededException' examples: PublishPackageVersion484Example: summary: Default PublishPackageVersion 484 response x-microcks-default: true value: example-value '485': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: PublishPackageVersion485Example: summary: Default PublishPackageVersion 485 response x-microcks-default: true value: example-value '486': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: PublishPackageVersion486Example: summary: Default PublishPackageVersion 486 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: The name of the domain that contains the repository that contains the package version to publish. schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces. schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: The name of the repository that the package version will be published to. schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: format in: query required: true description:

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

The only supported value is generic.

schema: type: string enum: - npm - pypi - maven - nuget - generic - name: namespace in: query required: false description: The namespace of the package version to publish. schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: package in: query required: true description: The name of the package version to publish. schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: version in: query required: true description: 'The package version to publish (for example, 3.5.2).' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: asset in: query required: true description: 'The name of the asset to publish. Asset names can include Unicode letters and numbers, and the following special characters: ~ ! @ ^ & ( ) - ` _ + [ ] { } ; , . ` ' schema: type: string pattern: '\P{C}+' minLength: 1 maxLength: 255 - name: x-amz-content-sha256 in: header required: true description: '

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.

' schema: type: string pattern: '[0-9a-f]+' minLength: 64 maxLength: 64 - name: unfinished in: query required: false description: '

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

' schema: type: boolean requestBody: required: true content: application/json: schema: type: object required: - assetContent properties: assetContent: description: The content of the asset to publish. type: string examples: PublishPackageVersionRequestExample: summary: Default PublishPackageVersion request x-microcks-default: true value: assetContent: example-value summary: Amazon CodeArtifact Publish Package Version x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/domain/permissions/policy: put: operationId: PutDomainPermissionsPolicy description: '

Sets a resource policy on a domain that specifies permissions to access it.

When you call PutDomainPermissionsPolicy, the resource policy on the domain is ignored when evaluting permissions. This ensures that the owner of a domain cannot lock themselves out of the domain, which would prevent them from being able to update the resource policy.

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/PutDomainPermissionsPolicyResult' examples: PutDomainPermissionsPolicy200Example: summary: Default PutDomainPermissionsPolicy 200 response x-microcks-default: true value: policy: example-value '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: PutDomainPermissionsPolicy480Example: summary: Default PutDomainPermissionsPolicy 480 response x-microcks-default: true value: example-value '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: PutDomainPermissionsPolicy481Example: summary: Default PutDomainPermissionsPolicy 481 response x-microcks-default: true value: example-value '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: PutDomainPermissionsPolicy482Example: summary: Default PutDomainPermissionsPolicy 482 response x-microcks-default: true value: example-value '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: PutDomainPermissionsPolicy483Example: summary: Default PutDomainPermissionsPolicy 483 response x-microcks-default: true value: example-value '484': description: ServiceQuotaExceededException content: application/json: schema: $ref: '#/components/schemas/ServiceQuotaExceededException' examples: PutDomainPermissionsPolicy484Example: summary: Default PutDomainPermissionsPolicy 484 response x-microcks-default: true value: example-value '485': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: PutDomainPermissionsPolicy485Example: summary: Default PutDomainPermissionsPolicy 485 response x-microcks-default: true value: example-value '486': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: PutDomainPermissionsPolicy486Example: summary: Default PutDomainPermissionsPolicy 486 response x-microcks-default: true value: '500123' parameters: [] requestBody: required: true content: application/json: schema: type: object required: - domain - policyDocument properties: domain: description: ' The name of the domain on which to set the resource policy. ' type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 domainOwner: description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 policyRevision: description: ' The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain''s resource policy. ' type: string pattern: \S+ minLength: 1 maxLength: 100 policyDocument: description: ' A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain. ' type: string pattern: '[\P{C}\s]+' minLength: 1 maxLength: 7168 examples: PutDomainPermissionsPolicyRequestExample: summary: Default PutDomainPermissionsPolicy request x-microcks-default: true value: domain: my-domain domainOwner: my-domain policyRevision: example-value policyDocument: example-value summary: Amazon CodeArtifact Put Domain Permissions Policy x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/tag#resourceArn: post: operationId: TagResource description: Adds or updates tags for a resource in CodeArtifact. responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/TagResourceResult' examples: TagResource200Example: summary: Default TagResource 200 response x-microcks-default: true value: {} '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: TagResource480Example: summary: Default TagResource 480 response x-microcks-default: true value: example-value '481': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: TagResource481Example: summary: Default TagResource 481 response x-microcks-default: true value: example-value '482': description: ServiceQuotaExceededException content: application/json: schema: $ref: '#/components/schemas/ServiceQuotaExceededException' examples: TagResource482Example: summary: Default TagResource 482 response x-microcks-default: true value: example-value '483': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: TagResource483Example: summary: Default TagResource 483 response x-microcks-default: true value: example-value '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: TagResource484Example: summary: Default TagResource 484 response x-microcks-default: true value: '500123' parameters: - name: resourceArn in: query required: true description: The Amazon Resource Name (ARN) of the resource that you want to add or update tags for. schema: type: string pattern: \S+ minLength: 1 maxLength: 1011 requestBody: required: true content: application/json: schema: type: object required: - tags properties: tags: description: The tags you want to modify or add to the resource. type: array items: $ref: '#/components/schemas/Tag' minItems: 0 maxItems: 200 examples: TagResourceRequestExample: summary: Default TagResource request x-microcks-default: true value: tags: - key: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 value: example-value summary: Amazon CodeArtifact Tag Resource x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/untag#resourceArn: post: operationId: UntagResource description: Removes tags from a resource in CodeArtifact. responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/UntagResourceResult' examples: UntagResource200Example: summary: Default UntagResource 200 response x-microcks-default: true value: {} '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: UntagResource480Example: summary: Default UntagResource 480 response x-microcks-default: true value: example-value '481': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: UntagResource481Example: summary: Default UntagResource 481 response x-microcks-default: true value: example-value '482': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: UntagResource482Example: summary: Default UntagResource 482 response x-microcks-default: true value: example-value '483': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: UntagResource483Example: summary: Default UntagResource 483 response x-microcks-default: true value: '500123' parameters: - name: resourceArn in: query required: true description: The Amazon Resource Name (ARN) of the resource that you want to remove tags from. schema: type: string pattern: \S+ minLength: 1 maxLength: 1011 requestBody: required: true content: application/json: schema: type: object required: - tagKeys properties: tagKeys: description: The tag key for each tag that you want to remove from the resource. type: array items: $ref: '#/components/schemas/TagKey' minItems: 0 maxItems: 200 examples: UntagResourceRequestExample: summary: Default UntagResource request x-microcks-default: true value: tagKeys: - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 summary: Amazon CodeArtifact Untag Resource x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /v1/package/versions/update_status#domain&repository&format&package: post: operationId: UpdatePackageVersionsStatus description: ' 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. ' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/UpdatePackageVersionsStatusResult' examples: UpdatePackageVersionsStatus200Example: summary: Default UpdatePackageVersionsStatus 200 response x-microcks-default: true value: successfulVersions: 1.0.0 failedVersions: 1.0.0 '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: UpdatePackageVersionsStatus480Example: summary: Default UpdatePackageVersionsStatus 480 response x-microcks-default: true value: example-value '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: UpdatePackageVersionsStatus481Example: summary: Default UpdatePackageVersionsStatus 481 response x-microcks-default: true value: example-value '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' examples: UpdatePackageVersionsStatus482Example: summary: Default UpdatePackageVersionsStatus 482 response x-microcks-default: true value: example-value '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: UpdatePackageVersionsStatus483Example: summary: Default UpdatePackageVersionsStatus 483 response x-microcks-default: true value: example-value '484': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: UpdatePackageVersionsStatus484Example: summary: Default UpdatePackageVersionsStatus 484 response x-microcks-default: true value: example-value '485': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: UpdatePackageVersionsStatus485Example: summary: Default UpdatePackageVersionsStatus 485 response x-microcks-default: true value: '500123' parameters: - name: domain in: query required: true description: ' The name of the domain that contains the repository that contains the package versions with a status to be updated. ' schema: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 - name: domain-owner in: query required: false description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' schema: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 - name: repository in: query required: true description: ' The repository that contains the package versions with the status you want to update. ' schema: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 - name: format in: query required: true description: ' A format that specifies the type of the package with the statuses to update. ' schema: type: string enum: - npm - pypi - maven - nuget - generic - name: namespace in: query required: false description: '

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

' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 - name: package in: query required: true description: ' The name of the package with the version statuses to update. ' schema: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 requestBody: required: true content: application/json: schema: type: object required: - versions - targetStatus properties: versions: description: ' An array of strings that specify the versions of the package with the statuses to update. ' type: array items: $ref: '#/components/schemas/PackageVersion' maxItems: 100 versionRevisions: description: ' A map of package versions and package version revisions. The map key is the package version (for example, 3.5.2), and the map value is the package version revision. ' type: object additionalProperties: $ref: '#/components/schemas/PackageVersionRevision' expectedStatus: description: ' 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. ' type: string enum: - Published - Unfinished - Unlisted - Archived - Disposed - Deleted targetStatus: description: ' The status you want to change the package version status to. ' type: string enum: - Published - Unfinished - Unlisted - Archived - Disposed - Deleted examples: UpdatePackageVersionsStatusRequestExample: summary: Default UpdatePackageVersionsStatus request x-microcks-default: true value: versions: - 1.0.0 versionRevisions: {} expectedStatus: Published targetStatus: Published summary: Amazon CodeArtifact Update Package Versions Status x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' components: parameters: X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header schema: type: string required: false X-Amz-Date: name: X-Amz-Date in: header schema: type: string required: false X-Amz-Algorithm: name: X-Amz-Algorithm in: header schema: type: string required: false X-Amz-Credential: name: X-Amz-Credential in: header schema: type: string required: false X-Amz-Security-Token: name: X-Amz-Security-Token in: header schema: type: string required: false X-Amz-Signature: name: X-Amz-Signature in: header schema: type: string required: false X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header schema: type: string required: false securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 schemas: AssociateExternalConnectionResult: type: object properties: repository: allOf: - $ref: '#/components/schemas/RepositoryDescription' - description: ' Information about the connected repository after processing the request. ' AccessDeniedException: {} ConflictException: {} InternalServerException: {} ResourceNotFoundException: {} ServiceQuotaExceededException: {} ThrottlingException: {} ValidationException: {} CopyPackageVersionsResult: type: object properties: successfulVersions: allOf: - $ref: '#/components/schemas/SuccessfulPackageVersionInfoMap' - description: ' A list of the package versions that were successfully copied to your repository. ' failedVersions: allOf: - $ref: '#/components/schemas/PackageVersionErrorMap' - description: '

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:

' PackageVersion: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 PackageVersionRevision: type: string pattern: \S+ minLength: 1 maxLength: 50 CreateDomainResult: type: object properties: domain: allOf: - $ref: '#/components/schemas/DomainDescription' - description: ' Contains information about the created domain after processing the request. ' Tag: type: object required: - key - value properties: key: allOf: - $ref: '#/components/schemas/TagKey' - description: The tag key. value: allOf: - $ref: '#/components/schemas/TagValue' - description: The tag value. description: 'A tag is a key-value pair that can be used to manage, search for, or filter resources in CodeArtifact.' CreateRepositoryResult: type: object properties: repository: allOf: - $ref: '#/components/schemas/RepositoryDescription' - description: ' Information about the created repository after processing the request. ' UpstreamRepository: type: object required: - repositoryName properties: repositoryName: allOf: - $ref: '#/components/schemas/RepositoryName' - description: ' The name of an upstream repository. ' description: ' Information about an upstream repository. A list of UpstreamRepository objects is an input parameter to CreateRepository and UpdateRepository. ' DeleteDomainResult: type: object properties: domain: allOf: - $ref: '#/components/schemas/DomainDescription' - description: ' Contains information about the deleted domain after processing the request. ' DeleteDomainPermissionsPolicyResult: type: object properties: policy: allOf: - $ref: '#/components/schemas/ResourcePolicy' - description: ' Information about the deleted resource policy after processing the request. ' DeletePackageResult: type: object properties: deletedPackage: $ref: '#/components/schemas/PackageSummary' DeletePackageVersionsResult: type: object properties: successfulVersions: allOf: - $ref: '#/components/schemas/SuccessfulPackageVersionInfoMap' - description: ' A list of the package versions that were successfully deleted. The status of every successful version will be Deleted. ' failedVersions: allOf: - $ref: '#/components/schemas/PackageVersionErrorMap' - description: '

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

' DeleteRepositoryResult: type: object properties: repository: allOf: - $ref: '#/components/schemas/RepositoryDescription' - description: ' Information about the deleted repository after processing the request. ' DeleteRepositoryPermissionsPolicyResult: type: object properties: policy: allOf: - $ref: '#/components/schemas/ResourcePolicy' - description: ' Information about the deleted policy after processing the request. ' DescribeDomainResult: type: object properties: domain: $ref: '#/components/schemas/DomainDescription' DescribePackageResult: type: object required: - package properties: package: allOf: - $ref: '#/components/schemas/PackageDescription' - description: 'A PackageDescription object that contains information about the requested package.' DescribePackageVersionResult: type: object required: - packageVersion properties: packageVersion: allOf: - $ref: '#/components/schemas/PackageVersionDescription' - description: ' A PackageVersionDescription object that contains information about the requested package version. ' DescribeRepositoryResult: type: object properties: repository: allOf: - $ref: '#/components/schemas/RepositoryDescription' - description: ' A RepositoryDescription object that contains the requested repository information. ' DisassociateExternalConnectionResult: type: object properties: repository: allOf: - $ref: '#/components/schemas/RepositoryDescription' - description: ' The repository associated with the removed external connection. ' DisposePackageVersionsResult: type: object properties: successfulVersions: allOf: - $ref: '#/components/schemas/SuccessfulPackageVersionInfoMap' - description: ' A list of the package versions that were successfully disposed. ' failedVersions: allOf: - $ref: '#/components/schemas/PackageVersionErrorMap' - description: '

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

' GetAuthorizationTokenResult: type: object properties: authorizationToken: allOf: - $ref: '#/components/schemas/String' - description: ' The returned authentication token. ' expiration: allOf: - $ref: '#/components/schemas/Timestamp' - description: ' A timestamp that specifies the date and time the authorization token expires. ' GetDomainPermissionsPolicyResult: type: object properties: policy: allOf: - $ref: '#/components/schemas/ResourcePolicy' - description: ' The returned resource policy. ' GetPackageVersionAssetResult: type: object properties: asset: allOf: - $ref: '#/components/schemas/Asset' - description: ' The binary file, or asset, that is downloaded.' GetPackageVersionReadmeResult: type: object properties: format: allOf: - $ref: '#/components/schemas/PackageFormat' - description: ' The format of the package with the requested readme file. ' namespace: allOf: - $ref: '#/components/schemas/PackageNamespace' - description: '

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

' package: allOf: - $ref: '#/components/schemas/PackageName' - description: ' The name of the package that contains the returned readme file. ' version: allOf: - $ref: '#/components/schemas/PackageVersion' - description: ' The version of the package with the requested readme file. ' versionRevision: allOf: - $ref: '#/components/schemas/PackageVersionRevision' - description: ' The current revision associated with the package version. ' readme: allOf: - $ref: '#/components/schemas/String' - description: ' The text of the returned readme file. ' GetRepositoryEndpointResult: type: object properties: repositoryEndpoint: allOf: - $ref: '#/components/schemas/String' - description: ' A string that specifies the URL of the returned endpoint. ' GetRepositoryPermissionsPolicyResult: type: object properties: policy: allOf: - $ref: '#/components/schemas/ResourcePolicy' - description: ' The returned resource policy. ' ListDomainsResult: type: object properties: domains: allOf: - $ref: '#/components/schemas/DomainSummaryList' - description: ' The returned list of DomainSummary objects. ' nextToken: allOf: - $ref: '#/components/schemas/PaginationToken' - description: ' The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. ' ListPackageVersionAssetsResult: type: object properties: format: allOf: - $ref: '#/components/schemas/PackageFormat' - description: ' The format of the package that contains the requested package version assets. ' namespace: allOf: - $ref: '#/components/schemas/PackageNamespace' - description: '

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

' package: allOf: - $ref: '#/components/schemas/PackageName' - description: ' The name of the package that contains the requested package version assets. ' version: allOf: - $ref: '#/components/schemas/PackageVersion' - description: ' The version of the package associated with the requested assets. ' versionRevision: allOf: - $ref: '#/components/schemas/PackageVersionRevision' - description: ' The current revision associated with the package version. ' nextToken: allOf: - $ref: '#/components/schemas/PaginationToken' - description: ' If there are additional results, this is the token for the next set of results. ' assets: allOf: - $ref: '#/components/schemas/AssetSummaryList' - description: ' The returned list of AssetSummary objects. ' ListPackageVersionDependenciesResult: type: object properties: format: allOf: - $ref: '#/components/schemas/PackageFormat' - description: ' A format that specifies the type of the package that contains the returned dependencies. ' namespace: allOf: - $ref: '#/components/schemas/PackageNamespace' - description: '

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

' package: allOf: - $ref: '#/components/schemas/PackageName' - description: ' The name of the package that contains the returned package versions dependencies. ' version: allOf: - $ref: '#/components/schemas/PackageVersion' - description: ' The version of the package that is specified in the request. ' versionRevision: allOf: - $ref: '#/components/schemas/PackageVersionRevision' - description: ' The current revision associated with the package version. ' nextToken: allOf: - $ref: '#/components/schemas/PaginationToken' - description: ' The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. ' dependencies: allOf: - $ref: '#/components/schemas/PackageDependencyList' - description: ' The returned list of PackageDependency objects. ' ListPackageVersionsResult: type: object properties: defaultDisplayVersion: allOf: - $ref: '#/components/schemas/PackageVersion' - description: '

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

' format: allOf: - $ref: '#/components/schemas/PackageFormat' - description: ' A format of the package. ' namespace: allOf: - $ref: '#/components/schemas/PackageNamespace' - description: '

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: allOf: - $ref: '#/components/schemas/PackageName' - description: ' The name of the package. ' versions: allOf: - $ref: '#/components/schemas/PackageVersionSummaryList' - description: ' The returned list of PackageVersionSummary objects. ' nextToken: allOf: - $ref: '#/components/schemas/PaginationToken' - description: ' If there are additional results, this is the token for the next set of results. ' ListPackagesResult: type: object properties: packages: allOf: - $ref: '#/components/schemas/PackageSummaryList' - description: ' The list of returned PackageSummary objects. ' nextToken: allOf: - $ref: '#/components/schemas/PaginationToken' - description: ' If there are additional results, this is the token for the next set of results. ' ListRepositoriesResult: type: object properties: repositories: allOf: - $ref: '#/components/schemas/RepositorySummaryList' - description: ' The returned list of RepositorySummary objects. ' nextToken: allOf: - $ref: '#/components/schemas/PaginationToken' - description: ' If there are additional results, this is the token for the next set of results. ' ListRepositoriesInDomainResult: type: object properties: repositories: allOf: - $ref: '#/components/schemas/RepositorySummaryList' - description: ' The returned list of repositories. ' nextToken: allOf: - $ref: '#/components/schemas/PaginationToken' - description: ' If there are additional results, this is the token for the next set of results. ' ListTagsForResourceResult: type: object properties: tags: allOf: - $ref: '#/components/schemas/TagList' - description: A list of tag key and value pairs associated with the specified resource. PublishPackageVersionResult: type: object properties: format: allOf: - $ref: '#/components/schemas/PackageFormat' - description: The format of the package version. namespace: allOf: - $ref: '#/components/schemas/PackageNamespace' - description: The namespace of the package version. package: allOf: - $ref: '#/components/schemas/PackageName' - description: The name of the package. version: allOf: - $ref: '#/components/schemas/PackageVersion' - description: The version of the package. versionRevision: allOf: - $ref: '#/components/schemas/PackageVersionRevision' - description: The revision of the package version. status: allOf: - $ref: '#/components/schemas/PackageVersionStatus' - description: 'A string that contains the status of the package version. For more information, see Package version status in the CodeArtifact User Guide.' asset: allOf: - $ref: '#/components/schemas/AssetSummary' - description: 'An AssetSummary for the published asset.' PutDomainPermissionsPolicyResult: type: object properties: policy: allOf: - $ref: '#/components/schemas/ResourcePolicy' - description: ' The resource policy that was set after processing the request. ' PutPackageOriginConfigurationResult: type: object properties: originConfiguration: allOf: - $ref: '#/components/schemas/PackageOriginConfiguration' - description: '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.' AllowPublish: type: string enum: - ALLOW - BLOCK AllowUpstream: type: string enum: - ALLOW - BLOCK PutRepositoryPermissionsPolicyResult: type: object properties: policy: allOf: - $ref: '#/components/schemas/ResourcePolicy' - description: ' The resource policy that was set after processing the request. ' TagResourceResult: type: object properties: {} UntagResourceResult: type: object properties: {} TagKey: type: string pattern: '\P{C}+' minLength: 1 maxLength: 128 UpdatePackageVersionsStatusResult: type: object properties: successfulVersions: allOf: - $ref: '#/components/schemas/SuccessfulPackageVersionInfoMap' - description: ' A list of PackageVersionError objects, one for each package version with a status that failed to update. ' failedVersions: allOf: - $ref: '#/components/schemas/PackageVersionErrorMap' - description: ' A list of SuccessfulPackageVersionInfo objects, one for each package version with a status that successfully updated. ' UpdateRepositoryResult: type: object properties: repository: allOf: - $ref: '#/components/schemas/RepositoryDescription' - description: ' The updated repository. ' AccountId: type: string pattern: '[0-9]{12}' minLength: 12 maxLength: 12 Arn: type: string pattern: \S+ minLength: 1 maxLength: 1011 Asset: type: string HashValue: type: string pattern: '[0-9a-f]+' minLength: 32 maxLength: 512 AssetHashes: type: object additionalProperties: $ref: '#/components/schemas/HashValue' AssetName: type: string pattern: '\P{C}+' minLength: 1 maxLength: 255 LongOptional: type: integer AssetSummary: type: object required: - name properties: name: allOf: - $ref: '#/components/schemas/AssetName' - description: ' The name of the asset. ' size: allOf: - $ref: '#/components/schemas/LongOptional' - description: ' The size of the asset. ' hashes: allOf: - $ref: '#/components/schemas/AssetHashes' - description: ' The hashes of the asset. ' description: ' Contains details about a package version asset. ' AssetSummaryList: type: array items: $ref: '#/components/schemas/AssetSummary' DomainName: type: string pattern: '[a-z][a-z0-9\-]{0,48}[a-z0-9]' minLength: 2 maxLength: 50 RepositoryName: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-]{1,99}' minLength: 2 maxLength: 100 ExternalConnectionName: type: string pattern: '[A-Za-z0-9][A-Za-z0-9._\-:]{1,99}' minLength: 2 maxLength: 100 AssociateExternalConnectionRequest: type: object title: AssociateExternalConnectionRequest properties: {} RepositoryDescription: type: object properties: name: allOf: - $ref: '#/components/schemas/RepositoryName' - description: ' The name of the repository. ' administratorAccount: allOf: - $ref: '#/components/schemas/AccountId' - description: ' The 12-digit account number of the Amazon Web Services account that manages the repository. ' domainName: allOf: - $ref: '#/components/schemas/DomainName' - description: ' The name of the domain that contains the repository. ' domainOwner: allOf: - $ref: '#/components/schemas/AccountId' - description: ' 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: allOf: - $ref: '#/components/schemas/Arn' - description: ' The Amazon Resource Name (ARN) of the repository. ' description: allOf: - $ref: '#/components/schemas/Description' - description: ' A text description of the repository. ' upstreams: allOf: - $ref: '#/components/schemas/UpstreamRepositoryInfoList' - description: ' A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories. ' externalConnections: allOf: - $ref: '#/components/schemas/RepositoryExternalConnectionInfoList' - description: ' An array of external connections associated with the repository. ' createdTime: allOf: - $ref: '#/components/schemas/Timestamp' - description: A timestamp that represents the date and time the repository was created. description: ' 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. ' AuthorizationTokenDurationSeconds: type: integer minimum: 0 maximum: 43200 BooleanOptional: type: boolean PackageFormat: type: string enum: - npm - pypi - maven - nuget - generic PackageNamespace: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 PackageName: type: string pattern: '[^#/\s]+' minLength: 1 maxLength: 255 PackageVersionList: type: array items: $ref: '#/components/schemas/PackageVersion' maxItems: 100 PackageVersionRevisionMap: type: object additionalProperties: $ref: '#/components/schemas/PackageVersionRevision' CopyPackageVersionsRequest: type: object title: CopyPackageVersionsRequest properties: versions: allOf: - $ref: '#/components/schemas/PackageVersionList' - description:

The versions of the package to be copied.

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

versionRevisions: allOf: - $ref: '#/components/schemas/PackageVersionRevisionMap' - description:

A list of key-value pairs. The keys are package versions and the values are package version revisions. A CopyPackageVersion operation succeeds if the specified versions in the source repository match the specified package version revision.

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

allowOverwrite: allOf: - $ref: '#/components/schemas/BooleanOptional' - description: ' Set to true to overwrite a package version that already exists in the destination repository. If set to false and the package version already exists in the destination repository, the package version is returned in the failedVersions field of the response with an ALREADY_EXISTS error code. ' includeFromUpstream: allOf: - $ref: '#/components/schemas/BooleanOptional' - description: ' Set to true to copy packages from repositories that are upstream from the source repository to the destination repository. The default setting is false. For more information, see Working with upstream repositories. ' SuccessfulPackageVersionInfoMap: type: object additionalProperties: $ref: '#/components/schemas/SuccessfulPackageVersionInfo' PackageVersionErrorMap: type: object additionalProperties: $ref: '#/components/schemas/PackageVersionError' TagList: type: array items: $ref: '#/components/schemas/Tag' minItems: 0 maxItems: 200 CreateDomainRequest: type: object title: CreateDomainRequest properties: encryptionKey: allOf: - $ref: '#/components/schemas/Arn' - description: '

The encryption key for the domain. This is used to encrypt content stored in a domain. An encryption key can be a key ID, a key Amazon Resource Name (ARN), a key alias, or a key alias ARN. To specify an encryptionKey, your IAM role must have kms:DescribeKey and kms:CreateGrant permissions on the encryption key that is used. For more information, see DescribeKey in the 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: allOf: - $ref: '#/components/schemas/TagList' - description: One or more tag key-value pairs for the domain. DomainDescription: type: object properties: name: allOf: - $ref: '#/components/schemas/DomainName' - description: ' The name of the domain. ' owner: allOf: - $ref: '#/components/schemas/AccountId' - description: ' The Amazon Web Services account ID that owns the domain. ' arn: allOf: - $ref: '#/components/schemas/Arn' - description: ' The Amazon Resource Name (ARN) of the domain. ' status: allOf: - $ref: '#/components/schemas/DomainStatus' - description: ' The current status of a domain. ' createdTime: allOf: - $ref: '#/components/schemas/Timestamp' - description: ' A timestamp that represents the date and time the domain was created. ' encryptionKey: allOf: - $ref: '#/components/schemas/Arn' - description: ' The ARN of an Key Management Service (KMS) key associated with a domain. ' repositoryCount: allOf: - $ref: '#/components/schemas/Integer' - description: ' The number of repositories in the domain. ' assetSizeBytes: allOf: - $ref: '#/components/schemas/Long' - description: ' The total size of all assets in the domain. ' s3BucketArn: allOf: - $ref: '#/components/schemas/Arn' - description: The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to store package assets in the domain. description: ' 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. ' Description: type: string pattern: '\P{C}*' maxLength: 1000 UpstreamRepositoryList: type: array items: $ref: '#/components/schemas/UpstreamRepository' CreateRepositoryRequest: type: object title: CreateRepositoryRequest properties: description: allOf: - $ref: '#/components/schemas/Description' - description: ' A description of the created repository. ' upstreams: allOf: - $ref: '#/components/schemas/UpstreamRepositoryList' - description: ' A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories. ' tags: allOf: - $ref: '#/components/schemas/TagList' - description: One or more tag key-value pairs for the repository. PolicyRevision: type: string pattern: \S+ minLength: 1 maxLength: 100 DeleteDomainPermissionsPolicyRequest: type: object title: DeleteDomainPermissionsPolicyRequest properties: {} ResourcePolicy: type: object properties: resourceArn: allOf: - $ref: '#/components/schemas/Arn' - description: ' The ARN of the resource associated with the resource policy ' revision: allOf: - $ref: '#/components/schemas/PolicyRevision' - description: ' The current revision of the resource policy. ' document: allOf: - $ref: '#/components/schemas/PolicyDocument' - description: ' The resource policy formatted in JSON. ' description: ' An CodeArtifact resource policy that contains a resource ARN, document details, and a revision. ' DeleteDomainRequest: type: object title: DeleteDomainRequest properties: {} DeletePackageRequest: type: object title: DeletePackageRequest properties: {} PackageSummary: type: object properties: format: allOf: - $ref: '#/components/schemas/PackageFormat' - description: ' The format of the package. ' namespace: allOf: - $ref: '#/components/schemas/PackageNamespace' - description: '

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

' package: allOf: - $ref: '#/components/schemas/PackageName' - description: ' The name of the package. ' originConfiguration: allOf: - $ref: '#/components/schemas/PackageOriginConfiguration' - description: 'A PackageOriginConfiguration object that contains a PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions.' description: ' Details about a package, including its format, namespace, and name. ' PackageVersionStatus: type: string enum: - Published - Unfinished - Unlisted - Archived - Disposed - Deleted DeletePackageVersionsRequest: type: object required: - versions title: DeletePackageVersionsRequest properties: versions: allOf: - $ref: '#/components/schemas/PackageVersionList' - description: ' An array of strings that specify the versions of the package to delete. ' expectedStatus: allOf: - $ref: '#/components/schemas/PackageVersionStatus' - description: ' The expected status of the package version to delete. ' DeleteRepositoryPermissionsPolicyRequest: type: object title: DeleteRepositoryPermissionsPolicyRequest properties: {} DeleteRepositoryRequest: type: object title: DeleteRepositoryRequest properties: {} DescribeDomainRequest: type: object title: DescribeDomainRequest properties: {} DescribePackageRequest: type: object title: DescribePackageRequest properties: {} PackageDescription: type: object properties: format: allOf: - $ref: '#/components/schemas/PackageFormat' - description: A format that specifies the type of the package. namespace: allOf: - $ref: '#/components/schemas/PackageNamespace' - description: '

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

' name: allOf: - $ref: '#/components/schemas/PackageName' - description: The name of the package. originConfiguration: allOf: - $ref: '#/components/schemas/PackageOriginConfiguration' - description: The package origin configuration for the package. description: Details about a package. DescribePackageVersionRequest: type: object title: DescribePackageVersionRequest properties: {} PackageVersionDescription: type: object properties: format: allOf: - $ref: '#/components/schemas/PackageFormat' - description: ' The format of the package version. ' namespace: allOf: - $ref: '#/components/schemas/PackageNamespace' - description: '

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

' packageName: allOf: - $ref: '#/components/schemas/PackageName' - description: ' The name of the requested package. ' displayName: allOf: - $ref: '#/components/schemas/String255' - description: ' 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: allOf: - $ref: '#/components/schemas/PackageVersion' - description: ' The version of the package. ' summary: allOf: - $ref: '#/components/schemas/String' - description: ' 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: allOf: - $ref: '#/components/schemas/String' - description: ' The homepage associated with the package. ' sourceCodeRepository: allOf: - $ref: '#/components/schemas/String' - description: ' The repository for the source code in the package version, or the source code used to build it. ' publishedTime: allOf: - $ref: '#/components/schemas/Timestamp' - description: ' A timestamp that contains the date and time the package version was published. ' licenses: allOf: - $ref: '#/components/schemas/LicenseInfoList' - description: ' Information about licenses associated with the package version. ' revision: allOf: - $ref: '#/components/schemas/PackageVersionRevision' - description: ' The revision of the package version. ' status: allOf: - $ref: '#/components/schemas/PackageVersionStatus' - description: ' A string that contains the status of the package version. ' origin: allOf: - $ref: '#/components/schemas/PackageVersionOrigin' - description: 'A PackageVersionOrigin object that contains information about how the package version was added to the repository.' description: ' Details about a package version. ' DescribeRepositoryRequest: type: object title: DescribeRepositoryRequest properties: {} DisassociateExternalConnectionRequest: type: object title: DisassociateExternalConnectionRequest properties: {} DisposePackageVersionsRequest: type: object required: - versions title: DisposePackageVersionsRequest properties: versions: allOf: - $ref: '#/components/schemas/PackageVersionList' - description: ' The versions of the package you want to dispose. ' versionRevisions: allOf: - $ref: '#/components/schemas/PackageVersionRevisionMap' - description: ' The revisions of the package versions you want to dispose. ' expectedStatus: allOf: - $ref: '#/components/schemas/PackageVersionStatus' - description: ' The expected status of the package version to dispose. ' DomainStatus: type: string enum: - Active - Deleted Timestamp: type: string format: date-time Integer: type: integer Long: type: integer DomainEntryPoint: type: object properties: repositoryName: allOf: - $ref: '#/components/schemas/RepositoryName' - description: The name of the repository that a package was originally published to. externalConnectionName: allOf: - $ref: '#/components/schemas/ExternalConnectionName' - description: The name of the external connection that a package was ingested from. description: '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.' DomainSummary: type: object properties: name: allOf: - $ref: '#/components/schemas/DomainName' - description: ' The name of the domain. ' owner: allOf: - $ref: '#/components/schemas/AccountId' - description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' arn: allOf: - $ref: '#/components/schemas/Arn' - description: ' The ARN of the domain. ' status: allOf: - $ref: '#/components/schemas/DomainStatus' - description: ' A string that contains the status of the domain. ' createdTime: allOf: - $ref: '#/components/schemas/Timestamp' - description: ' A timestamp that contains the date and time the domain was created. ' encryptionKey: allOf: - $ref: '#/components/schemas/Arn' - description: ' The key used to encrypt the domain. ' description: ' Information about a domain, including its name, Amazon Resource Name (ARN), and status. The ListDomains operation returns a list of DomainSummary objects. ' DomainSummaryList: type: array items: $ref: '#/components/schemas/DomainSummary' ErrorMessage: type: string ExternalConnectionStatus: type: string enum: - Available GetAuthorizationTokenRequest: type: object title: GetAuthorizationTokenRequest properties: {} String: type: string GetDomainPermissionsPolicyRequest: type: object title: GetDomainPermissionsPolicyRequest properties: {} GetPackageVersionAssetRequest: type: object title: GetPackageVersionAssetRequest properties: {} GetPackageVersionReadmeRequest: type: object title: GetPackageVersionReadmeRequest properties: {} GetRepositoryEndpointRequest: type: object title: GetRepositoryEndpointRequest properties: {} GetRepositoryPermissionsPolicyRequest: type: object title: GetRepositoryPermissionsPolicyRequest properties: {} HashAlgorithm: type: string enum: - MD5 - SHA-1 - SHA-256 - SHA-512 LicenseInfo: type: object properties: name: allOf: - $ref: '#/components/schemas/String' - description: ' Name of the license. ' url: allOf: - $ref: '#/components/schemas/String' - description: ' The URL for license data. ' description: ' Details of the license data. ' LicenseInfoList: type: array items: $ref: '#/components/schemas/LicenseInfo' ListDomainsMaxResults: type: integer minimum: 1 maximum: 1000 PaginationToken: type: string pattern: \S+ minLength: 1 maxLength: 2000 ListDomainsRequest: type: object title: ListDomainsRequest properties: maxResults: allOf: - $ref: '#/components/schemas/ListDomainsMaxResults' - description: ' The maximum number of results to return per page. ' nextToken: allOf: - $ref: '#/components/schemas/PaginationToken' - description: ' The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. ' ListPackageVersionAssetsMaxResults: type: integer minimum: 1 maximum: 1000 ListPackageVersionAssetsRequest: type: object title: ListPackageVersionAssetsRequest properties: {} ListPackageVersionDependenciesRequest: type: object title: ListPackageVersionDependenciesRequest properties: {} PackageDependencyList: type: array items: $ref: '#/components/schemas/PackageDependency' ListPackageVersionsMaxResults: type: integer minimum: 1 maximum: 1000 PackageVersionSortType: type: string enum: - PUBLISHED_TIME PackageVersionOriginType: type: string enum: - INTERNAL - EXTERNAL - UNKNOWN ListPackageVersionsRequest: type: object title: ListPackageVersionsRequest properties: {} PackageVersionSummaryList: type: array items: $ref: '#/components/schemas/PackageVersionSummary' ListPackagesMaxResults: type: integer minimum: 1 maximum: 1000 ListPackagesRequest: type: object title: ListPackagesRequest properties: {} PackageSummaryList: type: array items: $ref: '#/components/schemas/PackageSummary' ListRepositoriesInDomainMaxResults: type: integer minimum: 1 maximum: 1000 ListRepositoriesInDomainRequest: type: object title: ListRepositoriesInDomainRequest properties: {} RepositorySummaryList: type: array items: $ref: '#/components/schemas/RepositorySummary' ListRepositoriesMaxResults: type: integer minimum: 1 maximum: 1000 ListRepositoriesRequest: type: object title: ListRepositoriesRequest properties: {} ListTagsForResourceRequest: type: object title: ListTagsForResourceRequest properties: {} PackageDependency: type: object properties: namespace: allOf: - $ref: '#/components/schemas/PackageNamespace' - description: '

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

' package: allOf: - $ref: '#/components/schemas/PackageName' - description: ' The name of the package that this package depends on. ' dependencyType: allOf: - $ref: '#/components/schemas/String' - description: '

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

' versionRequirement: allOf: - $ref: '#/components/schemas/String' - description: ' 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. ' description: ' Details about a package dependency. ' PackageOriginConfiguration: type: object properties: restrictions: allOf: - $ref: '#/components/schemas/PackageOriginRestrictions' - description: A PackageOriginRestrictions object that contains information about the upstream and publish package origin configuration for the package. description: Details about the package origin configuration of a package. PackageOriginRestrictions: type: object required: - publish - upstream properties: publish: allOf: - $ref: '#/components/schemas/AllowPublish' - description: The package origin configuration that determines if new versions of the package can be published directly to the repository. upstream: allOf: - $ref: '#/components/schemas/AllowUpstream' - description: 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. description: 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. String255: type: string minLength: 1 maxLength: 255 PackageVersionOrigin: type: object properties: domainEntryPoint: allOf: - $ref: '#/components/schemas/DomainEntryPoint' - description: 'A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.' originType: allOf: - $ref: '#/components/schemas/PackageVersionOriginType' - description: 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. description: Information about how a package version was added to a repository. PackageVersionErrorCode: type: string enum: - ALREADY_EXISTS - MISMATCHED_REVISION - MISMATCHED_STATUS - NOT_ALLOWED - NOT_FOUND - SKIPPED PackageVersionError: type: object properties: errorCode: allOf: - $ref: '#/components/schemas/PackageVersionErrorCode' - description: '

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

' errorMessage: allOf: - $ref: '#/components/schemas/ErrorMessage' - description: ' The error message associated with the error. ' description: 'l An error associated with package. ' PackageVersionSummary: type: object required: - version - status properties: version: allOf: - $ref: '#/components/schemas/PackageVersion' - description: ' Information about a package version. ' revision: allOf: - $ref: '#/components/schemas/PackageVersionRevision' - description: ' The revision associated with a package version. ' status: allOf: - $ref: '#/components/schemas/PackageVersionStatus' - description: ' A string that contains the status of the package version. It can be one of the following: ' origin: allOf: - $ref: '#/components/schemas/PackageVersionOrigin' - description: 'A PackageVersionOrigin object that contains information about how the package version was added to the repository.' description: ' Details about a package version, including its status, version, and revision. The ListPackageVersions operation returns a list of PackageVersionSummary objects. ' PolicyDocument: type: string pattern: '[\P{C}\s]+' minLength: 1 maxLength: 7168 SHA256: type: string pattern: '[0-9a-f]+' minLength: 64 maxLength: 64 PublishPackageVersionRequest: type: object required: - assetContent title: PublishPackageVersionRequest properties: assetContent: allOf: - $ref: '#/components/schemas/Asset' - description: The content of the asset to publish. PutDomainPermissionsPolicyRequest: type: object required: - domain - policyDocument title: PutDomainPermissionsPolicyRequest properties: domain: allOf: - $ref: '#/components/schemas/DomainName' - description: ' The name of the domain on which to set the resource policy. ' domainOwner: allOf: - $ref: '#/components/schemas/AccountId' - description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' policyRevision: allOf: - $ref: '#/components/schemas/PolicyRevision' - description: ' The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain''s resource policy. ' policyDocument: allOf: - $ref: '#/components/schemas/PolicyDocument' - description: ' A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain. ' PutPackageOriginConfigurationRequest: type: object required: - restrictions title: PutPackageOriginConfigurationRequest properties: restrictions: allOf: - $ref: '#/components/schemas/PackageOriginRestrictions' - description: '

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.

' PutRepositoryPermissionsPolicyRequest: type: object required: - policyDocument title: PutRepositoryPermissionsPolicyRequest properties: policyRevision: allOf: - $ref: '#/components/schemas/PolicyRevision' - description: ' Sets the revision of the resource policy that specifies permissions to access the repository. This revision is used for optimistic locking, which prevents others from overwriting your changes to the repository''s resource policy. ' policyDocument: allOf: - $ref: '#/components/schemas/PolicyDocument' - description: ' A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided repository. ' UpstreamRepositoryInfoList: type: array items: $ref: '#/components/schemas/UpstreamRepositoryInfo' RepositoryExternalConnectionInfoList: type: array items: $ref: '#/components/schemas/RepositoryExternalConnectionInfo' RepositoryExternalConnectionInfo: type: object properties: externalConnectionName: allOf: - $ref: '#/components/schemas/ExternalConnectionName' - description: ' The name of the external connection associated with a repository. ' packageFormat: allOf: - $ref: '#/components/schemas/PackageFormat' - description: '

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

' status: allOf: - $ref: '#/components/schemas/ExternalConnectionStatus' - description: ' The status of the external connection of a repository. There is one valid value, Available. ' description: ' Contains information about the external connection of a repository. ' RepositorySummary: type: object properties: name: allOf: - $ref: '#/components/schemas/RepositoryName' - description: ' The name of the repository. ' administratorAccount: allOf: - $ref: '#/components/schemas/AccountId' - description: ' The Amazon Web Services account ID that manages the repository. ' domainName: allOf: - $ref: '#/components/schemas/DomainName' - description: ' The name of the domain that contains the repository. ' domainOwner: allOf: - $ref: '#/components/schemas/AccountId' - description: ' The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. ' arn: allOf: - $ref: '#/components/schemas/Arn' - description: ' The ARN of the repository. ' description: allOf: - $ref: '#/components/schemas/Description' - description: ' The description of the repository. ' createdTime: allOf: - $ref: '#/components/schemas/Timestamp' - description: A timestamp that represents the date and time the repository was created. description: ' Details about a repository, including its Amazon Resource Name (ARN), description, and domain information. The ListRepositories operation returns a list of RepositorySummary objects. ' SuccessfulPackageVersionInfo: type: object properties: revision: allOf: - $ref: '#/components/schemas/String' - description: ' The revision of a package version. ' status: allOf: - $ref: '#/components/schemas/PackageVersionStatus' - description: ' The status of a package version. ' description: ' Contains the revision and status of a package version. ' TagValue: type: string pattern: '\P{C}*' minLength: 0 maxLength: 256 TagKeyList: type: array items: $ref: '#/components/schemas/TagKey' minItems: 0 maxItems: 200 TagResourceRequest: type: object required: - tags title: TagResourceRequest properties: tags: allOf: - $ref: '#/components/schemas/TagList' - description: The tags you want to modify or add to the resource. UntagResourceRequest: type: object required: - tagKeys title: UntagResourceRequest properties: tagKeys: allOf: - $ref: '#/components/schemas/TagKeyList' - description: The tag key for each tag that you want to remove from the resource. UpdatePackageVersionsStatusRequest: type: object required: - versions - targetStatus title: UpdatePackageVersionsStatusRequest properties: versions: allOf: - $ref: '#/components/schemas/PackageVersionList' - description: ' An array of strings that specify the versions of the package with the statuses to update. ' versionRevisions: allOf: - $ref: '#/components/schemas/PackageVersionRevisionMap' - description: ' A map of package versions and package version revisions. The map key is the package version (for example, 3.5.2), and the map value is the package version revision. ' expectedStatus: allOf: - $ref: '#/components/schemas/PackageVersionStatus' - description: ' 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: allOf: - $ref: '#/components/schemas/PackageVersionStatus' - description: ' The status you want to change the package version status to. ' UpdateRepositoryRequest: type: object title: UpdateRepositoryRequest properties: description: allOf: - $ref: '#/components/schemas/Description' - description: ' An updated repository description. ' upstreams: allOf: - $ref: '#/components/schemas/UpstreamRepositoryList' - description: ' A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories. ' UpstreamRepositoryInfo: type: object properties: repositoryName: allOf: - $ref: '#/components/schemas/RepositoryName' - description: ' The name of an upstream repository. ' description: ' Information about an upstream repository. ' security: - hmac: []