Kinesis / Client / delete_resource_policy

delete_resource_policy#

Kinesis.Client.delete_resource_policy(**kwargs)#

Delete a policy for the specified data stream or consumer. Request patterns can be one of the following:

  • Data stream pattern: arn:aws.*:kinesis:.*:\d{12}:.*stream/\S+

  • Consumer pattern: ^(arn):aws.*:kinesis:.*:\d{12}:.*stream\/[a-zA-Z0-9_.-]+\/consumer\/[a-zA-Z0-9_.-]+:[0-9]+

See also: AWS API Documentation

Request Syntax

response = client.delete_resource_policy(
    ResourceARN='string'
)
Parameters:

ResourceARN (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the data stream or consumer.

Returns:

None

Exceptions

  • Kinesis.Client.exceptions.AccessDeniedException

  • Kinesis.Client.exceptions.ResourceNotFoundException

  • Kinesis.Client.exceptions.LimitExceededException

  • Kinesis.Client.exceptions.InvalidArgumentException

  • Kinesis.Client.exceptions.ResourceInUseException