{ "opencollection": "1.0.0", "info": { "name": "CodeArtifact Authorization Token# Domain API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Domain", "type": "folder" }, "items": [ { "info": { "name": "Amazon CodeArtifact Get Domain Permissions Policy", "type": "http" }, "http": { "method": "GET", "url": "http://codeartifact.{region}.amazonaws.com/v1/domain/permissions/policy#domain", "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 to which the resource policy is attached. " }, { "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. " } ] }, "docs": "
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.
repositoryPrefix are returned. "
},
{
"name": "max-results",
"value": "",
"type": "query",
"description": " The maximum number of results to return per page. "
},
{
"name": "next-token",
"value": "",
"type": "query",
"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. "
},
{
"name": "maxResults",
"value": "",
"type": "query",
"description": "Pagination limit"
},
{
"name": "nextToken",
"value": "",
"type": "query",
"description": "Pagination token"
}
]
},
"docs": " Returns a list of RepositorySummary objects. Each RepositorySummary contains information about a repository in the specified domain and that matches the input parameters. "
},
{
"info": {
"name": "Amazon CodeArtifact Put Domain Permissions Policy",
"type": "http"
},
"http": {
"method": "PUT",
"url": "http://codeartifact.{region}.amazonaws.com/v1/domain/permissions/policy",
"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": ""
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "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.