Skip to content

Describe Resource Policy

comprehend_describe_resource_policy R Documentation

Gets the details of a resource-based policy that is attached to a custom model, including the JSON body of the policy

Description

Gets the details of a resource-based policy that is attached to a custom model, including the JSON body of the policy.

Usage

comprehend_describe_resource_policy(ResourceArn)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) of the custom model version that has the resource policy.

Value

A list with the following syntax:

list(
  ResourcePolicy = "string",
  CreationTime = as.POSIXct(
    "2015-01-01"
  ),
  LastModifiedTime = as.POSIXct(
    "2015-01-01"
  ),
  PolicyRevisionId = "string"
)

Request syntax

svc$describe_resource_policy(
  ResourceArn = "string"
)