Skip to content

Delete Resource Policy

comprehend_delete_resource_policy R Documentation

Deletes a resource-based policy that is attached to a custom model

Description

Deletes a resource-based policy that is attached to a custom model.

Usage

comprehend_delete_resource_policy(ResourceArn, PolicyRevisionId)

Arguments

ResourceArn

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

PolicyRevisionId

The revision ID of the policy to delete.

Value

An empty list.

Request syntax

svc$delete_resource_policy(
  ResourceArn = "string",
  PolicyRevisionId = "string"
)