FirehoseClient.create_delivery_stream
rboto-firehose==0.4.0 · Service index · Types
Model summary (excerpt): Creates a Firehose stream. By default, you can create up to 5,000 Firehose streams per Amazon Web Services Region. This is an asynchronous operation that immediately returns. The initial status of the Firehose stream is CREATING . After the Firehose stream is created, its status is ACTIVE and it now accepts data. If the Firehose stream creation fails, the status transitions to CREATING_FAILED...
Install and imports
from rboto import FirehoseClient
from collections.abc import Sequence
from rboto_firehose.types import (
AmazonOpenSearchServerlessDestinationConfiguration,
AmazonopensearchserviceDestinationConfiguration,
CreateDeliveryStreamOutput,
DatabaseSourceConfiguration,
DeliveryStreamEncryptionConfigurationInput,
DeliveryStreamType,
DirectPutSourceConfiguration,
ElasticsearchDestinationConfiguration,
ExtendedS3DestinationConfiguration,
HttpEndpointDestinationConfiguration,
IcebergDestinationConfiguration,
KinesisStreamSourceConfiguration,
MSKSourceConfiguration,
RedshiftDestinationConfiguration,
S3DestinationConfiguration,
SnowflakeDestinationConfiguration,
SplunkDestinationConfiguration,
Tag,
)
Signature
async def create_delivery_stream(
*,
delivery_stream_name: str,
delivery_stream_type: DeliveryStreamType | None = None,
direct_put_source_configuration: DirectPutSourceConfiguration | None = None,
kinesis_stream_source_configuration: KinesisStreamSourceConfiguration | None = None,
delivery_stream_encryption_configuration_input: DeliveryStreamEncryptionConfigurationInput | None = None,
s3_destination_configuration: S3DestinationConfiguration | None = None,
extended_s3_destination_configuration: ExtendedS3DestinationConfiguration | None = None,
redshift_destination_configuration: RedshiftDestinationConfiguration | None = None,
elasticsearch_destination_configuration: ElasticsearchDestinationConfiguration | None = None,
amazonopensearchservice_destination_configuration: AmazonopensearchserviceDestinationConfiguration | None = None,
splunk_destination_configuration: SplunkDestinationConfiguration | None = None,
http_endpoint_destination_configuration: HttpEndpointDestinationConfiguration | None = None,
tags: Sequence[Tag] | None = None,
amazon_open_search_serverless_destination_configuration: AmazonOpenSearchServerlessDestinationConfiguration | None = None,
msk_source_configuration: MSKSourceConfiguration | None = None,
snowflake_destination_configuration: SnowflakeDestinationConfiguration | None = None,
iceberg_destination_configuration: IcebergDestinationConfiguration | None = None,
database_source_configuration: DatabaseSourceConfiguration | None = None,
) -> CreateDeliveryStreamOutput: ...
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. This name must be unique per Amazon Web Services account in the same Amazon Web Services Region. If the Firehose streams are in different accounts or different Regions, you can have multiple Firehose streams with the same name. |
delivery_stream_type |
No | The Firehose stream type. This parameter can be one of the following values: DirectPut : Provider applications access the Firehose stream directly. KinesisStreamAsSource : The Firehose stream uses a Kinesis data stream as a source. |
direct_put_source_configuration |
No | The structure that configures parameters such as ThroughputHintInMBs for a stream configured with Direct PUT as a source. |
kinesis_stream_source_configuration |
No | When a Kinesis data stream is used as the source for the Firehose stream, a KinesisStreamSourceConfiguration containing the Kinesis data stream Amazon Resource Name (ARN) and the role ARN for the source stream. |
delivery_stream_encryption_configuration_input |
No | Used to specify the type and Amazon Resource Name (ARN) of the KMS key needed for Server-Side Encryption (SSE). |
s3_destination_configuration |
No | [Deprecated] The destination in Amazon S3. You can specify only one destination. |
extended_s3_destination_configuration |
No | The destination in Amazon S3. You can specify only one destination. |
redshift_destination_configuration |
No | The destination in Amazon Redshift. You can specify only one destination. |
elasticsearch_destination_configuration |
No | The destination in Amazon OpenSearch Service. You can specify only one destination. |
amazonopensearchservice_destination_configuration |
No | The destination in Amazon OpenSearch Service. You can specify only one destination. |
splunk_destination_configuration |
No | The destination in Splunk. You can specify only one destination. |
http_endpoint_destination_configuration |
No | Enables configuring Kinesis Firehose to deliver data to any HTTP endpoint destination. You can specify only one destination. |
tags |
No | A set of tags to assign to the Firehose stream. A tag is a key-value pair that you can define and assign to Amazon Web Services resources. Tags are metadata. For example, you can add friendly names and descriptions or other types of information that can help you distinguish the Firehose stream. For more information about tags, see Using Cost Allocation Tags in the Amazon Web Services Billing... |
amazon_open_search_serverless_destination_configuration |
No | The destination in the Serverless offering for Amazon OpenSearch Service. You can specify only one destination. |
msk_source_configuration |
No | |
snowflake_destination_configuration |
No | Configure Snowflake destination |
iceberg_destination_configuration |
No | Configure Apache Iceberg Tables destination. |
database_source_configuration |
No | The top level object for configuring streams with database as a source. Amazon Data Firehose is in preview release and is subject to change. |
Output
CreateDeliveryStreamOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
delivery_stream_arn |
str | None |
Always present | — |
| 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.
Related types
AmazonOpenSearchServerlessDestinationConfiguration, AmazonopensearchserviceDestinationConfiguration, CreateDeliveryStreamOutput, DatabaseSourceConfiguration, DeliveryStreamEncryptionConfigurationInput, DeliveryStreamType, DirectPutSourceConfiguration, ElasticsearchDestinationConfiguration, ExtendedS3DestinationConfiguration, HttpEndpointDestinationConfiguration, IcebergDestinationConfiguration, KinesisStreamSourceConfiguration, MSKSourceConfiguration, RedshiftDestinationConfiguration, S3DestinationConfiguration, SnowflakeDestinationConfiguration, SplunkDestinationConfiguration, Tag
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:
InvalidArgumentError, InvalidKMSResourceError, LimitExceededError, ResourceInUseError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.