Skip to content

DeleteStreamInput

Source code in docs_src/capo_kinesis/types/delete_stream_input.py
class DeleteStreamInput(TypedDict, closed=True):
    stream_name: NotRequired["capo_kinesis.types.stream_name.StreamName"]
    """<p>The name of the stream to delete.</p>"""
    enforce_consumer_deletion: NotRequired[
        "capo_kinesis.types.boolean_object.BooleanObject"
    ]
    """<p>If this parameter is unset (<code>null</code>) or if you set it to <code>false</code>, and the stream has registered enhanced fan-out consumers, the call to <code>DeleteStream</code> fails with a <code>ResourceInUseException</code>.</p> <p>If you set it to <code>true</code>, <code>DeleteStream</code> deletes the stream and every consumer registered with it.</p> <p>This parameter does not apply to queues. A stream that has queues cannot be deleted until every queue on it is deleted with <a>DeleteQueue</a>, whatever this parameter is set to.</p>"""
    stream_arn: NotRequired["capo_kinesis.types.stream_arn.StreamARN"]
    """<p>The ARN of the stream.</p>"""
    stream_id: NotRequired["capo_kinesis.types.stream_id.StreamId"]
    """<p>Not Implemented. Reserved for future use.</p>"""

enforce_consumer_deletion instance-attribute

enforce_consumer_deletion: NotRequired[BooleanObject]

If this parameter is unset (null) or if you set it to false, and the stream has registered enhanced fan-out consumers, the call to DeleteStream fails with a ResourceInUseException.

If you set it to true, DeleteStream deletes the stream and every consumer registered with it.

This parameter does not apply to queues. A stream that has queues cannot be deleted until every queue on it is deleted with DeleteQueue, whatever this parameter is set to.

stream_arn instance-attribute

stream_arn: NotRequired[StreamARN]

The ARN of the stream.

stream_id instance-attribute

stream_id: NotRequired[StreamId]

Not Implemented. Reserved for future use.

stream_name instance-attribute

stream_name: NotRequired[StreamName]

The name of the stream to delete.