KinesisClient.create_channel
rboto-kinesis==0.4.0 · Service index · Types
Model summary (excerpt): Creates a channel that delivers records from a Kinesis data stream to a destination. A channel reads records from the specified stream and writes them to streaming tables on Apache Iceberg (Amazon S3 Tables) or to a general purpose Amazon S3 bucket. You must specify either S3DestinationConfiguration or S3TablesDestinationConfiguration , but not both. To use this operation, you must have...
Install and imports
from rboto import KinesisClient
from collections.abc import Sequence
from rboto_kinesis.types import (
ChannelEncryptionConfiguration,
ChannelLoggingConfiguration,
ChannelStreamConfiguration,
CreateChannelOutput,
S3DestinationConfiguration,
S3TablesDestinationConfiguration,
)
Signature
async def create_channel(
*,
channel_name: str,
service_execution_role_arn: str,
stream_configuration_list: Sequence[ChannelStreamConfiguration],
s3_destination_configuration: S3DestinationConfiguration | None = None,
s3_tables_destination_configuration: S3TablesDestinationConfiguration | None = None,
encryption_configuration: ChannelEncryptionConfiguration | None = None,
tags: dict[str, str] | None = None,
logging_configuration: ChannelLoggingConfiguration | None = None,
) -> CreateChannelOutput: ...
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) |
|---|---|---|
channel_name |
Yes | The name of the channel. The name is unique within your Amazon Web Services account and Amazon Web Services Region. |
service_execution_role_arn |
Yes | The Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Data Streams assumes to write records to the destination. |
stream_configuration_list |
Yes | The source stream configuration for the channel. Currently, one stream is supported per channel. |
s3_destination_configuration |
No | The configuration for delivery to a general purpose Amazon S3 bucket. Specify this parameter when S3TablesDestinationConfiguration is not specified. |
s3_tables_destination_configuration |
No | The configuration for delivery to streaming tables on Apache Iceberg in Amazon S3 Tables. Specify this parameter when S3DestinationConfiguration is not specified. |
encryption_configuration |
No | The server-side encryption configuration that uses an Amazon Web Services KMS key to encrypt data delivered to the destination. |
tags |
No | A set of key-value pairs to assign to the channel. A tag consists of a required key and an optional value. |
logging_configuration |
No | The Amazon CloudWatch Logs configuration for the channel. |
Output
CreateChannelOutput.
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 |
|---|---|---|---|
channel_description |
ChannelDescriptionOutput | None |
Always present | ChannelDescriptionOutput |
| 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
ChannelEncryptionConfiguration, ChannelLoggingConfiguration, ChannelStreamConfiguration, CreateChannelOutput, S3DestinationConfiguration, S3TablesDestinationConfiguration
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_kinesis.exceptions:
AccessDeniedError, InvalidArgumentError, KMSAccessDeniedError, KMSDisabledError, KMSInvalidStateError, KMSNotFoundError, KMSOptInRequiredError, KMSThrottlingError, LimitExceededError, ResourceInUseError, ResourceNotFoundError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.