Kinesis.Client.
deregister_stream_consumer
(**kwargs)¶To deregister a consumer, provide its ARN. Alternatively, you can provide the ARN of the data stream and the name you gave the consumer when you registered it. You may also provide all three parameters, as long as they don't conflict with each other. If you don't know the name or ARN of the consumer that you want to deregister, you can use the ListStreamConsumers operation to get a list of the descriptions of all the consumers that are currently registered with a given data stream. The description of a consumer contains its name and ARN.
This operation has a limit of five transactions per second per stream.
See also: AWS API Documentation
Request Syntax
response = client.deregister_stream_consumer(
StreamARN='string',
ConsumerName='string',
ConsumerARN='string'
)
None
Exceptions
Kinesis.Client.exceptions.LimitExceededException
Kinesis.Client.exceptions.ResourceNotFoundException
Kinesis.Client.exceptions.InvalidArgumentException