delete_resource_policy

Glue.Client.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