Skip to content

DeleteResourcePolicyStatementRequest

Source code in docs_src/capo_lex_models_v2/types/delete_resource_policy_statement_request.py
class DeleteResourcePolicyStatementRequest(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 the resource policy is attached to.</p>"""
    statement_id: "capo_lex_models_v2.types.name.Name"
    """<p>The name of the statement (SID) to delete from the policy.</p>"""
    expected_revision_id: NotRequired["capo_lex_models_v2.types.revision_id.RevisionId"]
    """<p>The identifier of the revision of the policy to delete the statement from. If this revision ID doesn't match the current revision ID, Amazon Lex throws an exception.</p> <p>If you don't specify a revision, Amazon Lex removes the current contents of the statement. </p>"""

expected_revision_id instance-attribute

expected_revision_id: NotRequired[RevisionId]

The identifier of the revision of the policy to delete the statement from. If this revision ID doesn't match the current revision ID, Amazon Lex throws an exception.

If you don't specify a revision, Amazon Lex removes the current contents of the statement.

resource_arn instance-attribute

resource_arn: AmazonResourceName

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

statement_id instance-attribute

statement_id: Name

The name of the statement (SID) to delete from the policy.