{ "opencollection": "1.0.0", "info": { "name": "CodeArtifact Authorization Token#domain Repository API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Repository", "type": "folder" }, "items": [ { "info": { "name": "Amazon CodeArtifact Associate External Connection", "type": "http" }, "http": { "method": "POST", "url": "http://codeartifact.{region}.amazonaws.com/v1/repository/external-connection#domain&repository&external-connection", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "domain", "value": "", "type": "query", "description": "The name of the domain that contains the repository." }, { "name": "domain-owner", "value": "", "type": "query", "description": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. " }, { "name": "repository", "value": "", "type": "query", "description": " The name of the repository to which the external connection is added. " }, { "name": "external-connection", "value": "", "type": "query", "description": "

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

" } ] }, "docs": "

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.

" }, { "info": { "name": "Amazon CodeArtifact Disassociate External Connection", "type": "http" }, "http": { "method": "DELETE", "url": "http://codeartifact.{region}.amazonaws.com/v1/repository/external-connection#domain&repository&external-connection", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "domain", "value": "", "type": "query", "description": "The name of the domain that contains the repository from which to remove the external repository. " }, { "name": "domain-owner", "value": "", "type": "query", "description": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. " }, { "name": "repository", "value": "", "type": "query", "description": "The name of the repository from which the external connection will be removed. " }, { "name": "external-connection", "value": "", "type": "query", "description": "The name of the external connection to be removed from the repository. " } ] }, "docs": " Removes an existing external connection from a repository. " }, { "info": { "name": "Amazon CodeArtifact Delete Repository Permissions Policy", "type": "http" }, "http": { "method": "DELETE", "url": "http://codeartifact.{region}.amazonaws.com/v1/repository/permissions/policies#domain&repository", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "domain", "value": "", "type": "query", "description": " The name of the domain that contains the repository associated with the resource policy to be deleted. " }, { "name": "domain-owner", "value": "", "type": "query", "description": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. " }, { "name": "repository", "value": "", "type": "query", "description": " The name of the repository that is associated with the resource policy to be deleted " }, { "name": "policy-revision", "value": "", "type": "query", "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. " } ] }, "docs": "

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.

" }, { "info": { "name": "Amazon CodeArtifact Get Repository Endpoint", "type": "http" }, "http": { "method": "GET", "url": "http://codeartifact.{region}.amazonaws.com/v1/repository/endpoint#domain&repository&format", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "domain", "value": "", "type": "query", "description": " The name of the domain that contains the repository. " }, { "name": "domain-owner", "value": "", "type": "query", "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. " }, { "name": "repository", "value": "", "type": "query", "description": " The name of the repository. " }, { "name": "format", "value": "", "type": "query", "description": " Returns which endpoint of a repository to return. A repository has one endpoint for each package format. " } ] }, "docs": "

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

" }, { "info": { "name": "Amazon CodeArtifact Get Repository Permissions Policy", "type": "http" }, "http": { "method": "GET", "url": "http://codeartifact.{region}.amazonaws.com/v1/repository/permissions/policy#domain&repository", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "domain", "value": "", "type": "query", "description": " The name of the domain containing the repository whose associated resource policy is to be retrieved. " }, { "name": "domain-owner", "value": "", "type": "query", "description": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. " }, { "name": "repository", "value": "", "type": "query", "description": " The name of the repository whose associated resource policy is to be retrieved. " } ] }, "docs": " Returns the resource policy that is set on a repository. " }, { "info": { "name": "Amazon CodeArtifact Put Repository Permissions Policy", "type": "http" }, "http": { "method": "PUT", "url": "http://codeartifact.{region}.amazonaws.com/v1/repository/permissions/policy#domain&repository", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "domain", "value": "", "type": "query", "description": " The name of the domain containing the repository to set the resource policy on. " }, { "name": "domain-owner", "value": "", "type": "query", "description": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. " }, { "name": "repository", "value": "", "type": "query", "description": " The name of the repository to set the resource policy on. " } ], "body": { "type": "json", "data": "{}" } }, "docs": "

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.

" } ] } ], "bundled": true }