{
"type": "object",
"required": [
"PolicyName"
],
"title": "DeleteResourcePolicyRequest",
"properties": {
"PolicyName": {
"allOf": [
{
"$ref": "#/components/schemas/PolicyName"
},
{
"description": "The name of the resource policy to delete."
}
]
},
"PolicyRevisionId": {
"allOf": [
{
"$ref": "#/components/schemas/PolicyRevisionId"
},
{
"description": "Specifies a specific policy revision to delete. Provide a PolicyRevisionId to ensure an atomic delete operation. If the provided revision id does not match the latest policy revision id, an InvalidPolicyRevisionIdException exception is returned. "
}
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-xray/refs/heads/main/json-schema/xray-delete-resource-policy-request-schema.json",
"description": "DeleteResourcePolicyRequest schema from Amazon X-Ray API"
}