EntityResolution / Client / delete_policy_statement

delete_policy_statement#

EntityResolution.Client.delete_policy_statement(**kwargs)#

Deletes the policy statement.

See also: AWS API Documentation

Request Syntax

response = client.delete_policy_statement(
    arn='string',
    statementId='string'
)
Parameters:
  • arn (string) –

    [REQUIRED]

    The ARN of the resource for which the policy need to be deleted.

  • statementId (string) –

    [REQUIRED]

    A statement identifier that differentiates the statement from others in the same policy.

Return type:

dict

Returns:

Response Syntax

{
    'arn': 'string',
    'policy': 'string',
    'token': 'string'
}

Response Structure

  • (dict) –

    • arn (string) –

      The ARN of the resource for which the policy need to be deleted.

    • policy (string) –

      The resource-based policy.

    • token (string) –

      A unique identifier for the deleted policy.

Exceptions

  • EntityResolution.Client.exceptions.ThrottlingException

  • EntityResolution.Client.exceptions.InternalServerException

  • EntityResolution.Client.exceptions.ResourceNotFoundException

  • EntityResolution.Client.exceptions.AccessDeniedException

  • EntityResolution.Client.exceptions.ConflictException

  • EntityResolution.Client.exceptions.ValidationException