Skip to content

Describe Resource Policy

lexmodelsv2_describe_resource_policy R Documentation

Gets the resource policy and policy revision for a bot or bot alias

Description

Gets the resource policy and policy revision for a bot or bot alias.

Usage

lexmodelsv2_describe_resource_policy(resourceArn)

Arguments

resourceArn

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

Value

A list with the following syntax:

list(
  resourceArn = "string",
  policy = "string",
  revisionId = "string"
)

Request syntax

svc$describe_resource_policy(
  resourceArn = "string"
)