Comprehend.Client.
delete_resource_policy
(**kwargs)¶Deletes a resource-based policy that is attached to a custom model.
See also: AWS API Documentation
Request Syntax
response = client.delete_resource_policy(
ResourceArn='string',
PolicyRevisionId='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the custom model version that has the policy to delete.
dict
Response Syntax
{}
Response Structure
Exceptions
Comprehend.Client.exceptions.InvalidRequestException
Comprehend.Client.exceptions.ResourceNotFoundException
Comprehend.Client.exceptions.InternalServerException