PutRepositoryPermissionsPolicyRequest is a JSON Structure definition published by Amazon CodeArtifact, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeartifact/refs/heads/main/json-structure/codeartifact-put-repository-permissions-policy-request-structure.json",
"name": "PutRepositoryPermissionsPolicyRequest",
"description": "PutRepositoryPermissionsPolicyRequest schema from Amazon CodeArtifact API",
"type": "object",
"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. "
}
]
}
},
"required": [
"policyDocument"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.