Skip to content

DeleteResourcePolicyRequest

Source code in docs_src/capo_amp/types/delete_resource_policy_request.py
class DeleteResourcePolicyRequest(TypedDict, closed=True):
    workspace_id: "capo_amp.types.workspace_id.WorkspaceId"
    """<p>The ID of the workspace from which to delete the resource-based policy.</p>"""
    client_token: NotRequired["capo_amp.types.idempotency_token.IdempotencyToken"]
    """<p>A unique, case-sensitive identifier that you provide to ensure the request is safe to retry (idempotent).</p>"""
    revision_id: NotRequired["str"]
    """<p>The revision ID of the policy to delete. Use this parameter to ensure that you are deleting the correct version of the policy.</p>"""

client_token instance-attribute

client_token: NotRequired[IdempotencyToken]

A unique, case-sensitive identifier that you provide to ensure the request is safe to retry (idempotent).

revision_id instance-attribute

revision_id: NotRequired[str]

The revision ID of the policy to delete. Use this parameter to ensure that you are deleting the correct version of the policy.

workspace_id instance-attribute

workspace_id: WorkspaceId

The ID of the workspace from which to delete the resource-based policy.