Skip to content

FirehoseClient.delete_delivery_stream

rboto-firehose==0.4.0 · Service index · Types

Model summary (excerpt): Deletes a Firehose stream and its data. You can delete a Firehose stream only if it is in one of the following states: ACTIVE , DELETING , CREATING_FAILED , or DELETING_FAILED . You can't delete a Firehose stream that is in the CREATING state. To check the state of a Firehose stream, use DescribeDeliveryStream . DeleteDeliveryStream is an asynchronous API. When an API request to...

Install and imports

python -m pip install "rboto[firehose]==0.4.0"
from rboto import FirehoseClient
from rboto_firehose.types import (
    DeleteDeliveryStreamOutput,
)

Signature

async def delete_delivery_stream(
    *,
    delivery_stream_name: str,
    allow_force_delete: bool | None = None,
) -> DeleteDeliveryStreamOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
delivery_stream_name Yes The name of the Firehose stream.
allow_force_delete No Set this to true if you want to delete the Firehose stream even if Firehose is unable to retire the grant for the CMK. Firehose might be unable to retire the grant due to a customer error, such as when the CMK or the grant are in an invalid state. If you force deletion, you can then use the RevokeGrant operation to revoke the grant you gave to Firehose. If a failure to retire the grant happens...

Output

DeleteDeliveryStreamOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

No fields.

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

DeleteDeliveryStreamOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_firehose.exceptions:

ResourceInUseError, ResourceNotFoundError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model