Skip to content

DeleteResourcePolicyRequest

Source code in docs_src/capo_lex_models_v2/types/delete_resource_policy_request.py
class DeleteResourcePolicyRequest(TypedDict, closed=True):
    resource_arn: "capo_lex_models_v2.types.amazon_resource_name.AmazonResourceName"
    """<p>The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.</p>"""
    expected_revision_id: NotRequired["capo_lex_models_v2.types.revision_id.RevisionId"]
    """<p>The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception</p> <p>If you don't specify a revision ID, Amazon Lex will delete the current policy.</p>"""

expected_revision_id instance-attribute

expected_revision_id: NotRequired[RevisionId]

The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception

If you don't specify a revision ID, Amazon Lex will delete the current policy.

resource_arn instance-attribute

resource_arn: AmazonResourceName

The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.