View source: R/lexmodelsv2_operations.R
lexmodelsv2_delete_resource_policy_statement | R Documentation |
Deletes a policy statement from a resource policy. If you delete the last statement from a policy, the policy is deleted. If you specify a statement ID that doesn't exist in the policy, or if the bot or bot alias doesn't have a policy attached, Amazon Lex returns an exception.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_delete_resource_policy_statement/ for full documentation.
lexmodelsv2_delete_resource_policy_statement(
resourceArn,
statementId,
expectedRevisionId = NULL
)
resourceArn |
[required] The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to. |
statementId |
[required] The name of the statement (SID) to delete from the policy. |
expectedRevisionId |
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.