capabilities.work

Replace a bot's resource policy

One step with Amazon Lex. We can help you get access.

Get something done

Replace a bot's resource policy

Use Amazon Lex: its Amazon Lex Model Building V2 Policy API lets you replace a bot's resource policy in a single step (PUT /policy/{resourceArn}). capabilities.work can help you get signed up and connected.

  • How do I replace the whole resource policy on a bot alias with a new document?
  • Can I guard a policy replacement so it fails if someone changed it since I read it?
Say it to your AI assistant
  • Replace the resource policy on {resourceArn} with {policy}.
  • Overwrite the policy on {resourceArn} with {policy} only if the current revision is {expectedRevisionId}.
For your developer

PUT /policy/{resourceArn} in Amazon Lex Model Building V2 Policy API. Full spec on APIs.io.