lexmodelsv2_delete_resource_policy: Removes an existing policy from a bot or bot alias

View source: R/lexmodelsv2_operations.R

lexmodelsv2_delete_resource_policyR Documentation

Removes an existing policy from a bot or bot alias

Description

Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex returns an exception.

See https://www.paws-r-sdk.com/docs/lexmodelsv2_delete_resource_policy/ for full documentation.

Usage

lexmodelsv2_delete_resource_policy(resourceArn, expectedRevisionId = NULL)

Arguments

resourceArn

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

expectedRevisionId

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.


paws.machine.learning documentation built on Sept. 12, 2024, 6:23 a.m.