Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_resource_policy

delete_resource_policy(**kwargs)

Deletes a specified policy.

See also: AWS API Documentation

Request Syntax

response = client.delete_resource_policy(
    PolicyHashCondition='string',
    ResourceArn='string'
)
Parameters
  • PolicyHashCondition (string) -- The hash value returned when this policy was set.
  • ResourceArn (string) -- The ARN of the Glue resource for the resource policy to be deleted.
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • Glue.Client.exceptions.EntityNotFoundException
  • Glue.Client.exceptions.InternalServiceException
  • Glue.Client.exceptions.OperationTimeoutException
  • Glue.Client.exceptions.InvalidInputException
  • Glue.Client.exceptions.ConditionCheckFailureException