Metadata-Version: 2.4
Name: rboto-kinesis
Version: 0.4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Framework :: AsyncIO
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Programming Language :: Rust
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Dist: rboto==0.4.0
Requires-Dist: typing-extensions>=4.15,<5
License-File: LICENSE
Summary: rboto: async-only, typed Python client for Amazon Kinesis Data Streams, powered by Rust. Alpha preview.
Keywords: rboto,aws,kinesis,asyncio,typing,rust
Home-Page: https://github.com/ferrumio/rboto
Author-email: Leandro Cavalcante Damascena <leandro.damascena@gmail.com>
License-Expression: Apache-2.0
Requires-Python: >=3.12
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Changelog, https://github.com/ferrumio/rboto/releases
Project-URL: Documentation, https://ferrumio.github.io/rboto/guides/kinesis/
Project-URL: Homepage, https://ferrumio.github.io/rboto/
Project-URL: Issues, https://github.com/ferrumio/rboto/issues
Project-URL: Repository, https://github.com/ferrumio/rboto

<!-- Generated by rboto-codegen. Edit the descriptor, template, or example source. -->
# rboto-kinesis

rboto is an independent project maintained by [Ferrumio](https://github.com/ferrumio).
It is not affiliated with, sponsored by, or endorsed by Amazon Web Services (AWS).

**Preview (Alpha).** rboto is under active development. APIs may change between releases.

rboto provides an **async-only, typed Python client for Amazon Kinesis Data Streams**,
powered by Rust. This package contains `KinesisClient` and
**57 operations**.

## Installation

Requires Python 3.12 or newer and a native wheel for your Python version and platform.

```bash
python -m pip install "rboto[kinesis]"
```

You can also install `rboto-kinesis` directly; it installs the matching
`rboto` package. Only the selected service is installed.

These are the package names to use when a release is available on your package index.
If your index has no release yet, follow the
[source installation instructions](https://ferrumio.github.io/rboto/getting-started/).

## Usage

Configure credentials through your environment, shared profile, or workload role.
The example uses `us-east-1`; select a region where your service and resources are available.
Resource names, identifiers, input files, and model IDs in the example are placeholders
to replace with your own.

```python
import asyncio
import os

from rboto import KinesisClient


async def main() -> None:
    async with KinesisClient(region="eu-west-2") as client:
        result = await client.put_record(
            stream_name=os.environ["KINESIS_STREAM_NAME"],
            partition_key="order-123",
            data=b'{"order_id": "123", "status": "created"}',
        )
        print(result.shard_id, result.sequence_number)


if __name__ == "__main__":
    asyncio.run(main())
```

In an application with an event loop, call `await main()` instead of `asyncio.run(main())`.
Reuse the client across calls. Constructing a client does not send a request.
Use `async with` or `await client.aclose()` to close it. Returned streams have
their own `aclose()` and async contexts; see
[client and stream lifetimes](https://ferrumio.github.io/rboto/guides/lifecycle/).

## API conventions

- Import the client with `from rboto import KinesisClient`.
- Every operation is asynchronous: use `await client.method(...)`.
- Operation arguments are keyword-only and use the Python names listed below.
- Structured inputs use typed dictionaries and tagged unions from `rboto_kinesis.types`.
- Regular responses expose typed attributes; `response.to_dict()` converts them to a dictionary.
- Event-stream responses may be typed dictionaries containing async iterators. Follow the
  declared return type; consume event streams with `async for`.
- Byte streams are consumed asynchronously. `await stream.read()` buffers the complete body;
  iterate the stream when processing a large response.
- Direct operation calls return one page.
- Use `async for page in client.paginators.method(...)` for supported paginated operations.
  Paginators accept the same typed arguments as the corresponding client method.

- Catch modeled exceptions from `rboto_kinesis.exceptions`. Their `error_code`,
  `message`, and `operation_name` identify service failures.

Clients also accept `profile`, `endpoint_url`, or shared `Session` settings.
See [configuration](https://ferrumio.github.io/rboto/guides/configuration/),
[errors](https://ferrumio.github.io/rboto/guides/errors/), and
[streaming](https://ferrumio.github.io/rboto/guides/streaming/).

## Waiters

Use `await client.waiters.name(...)` to wait for a resource state. Each waiter accepts
the polling operation's typed arguments plus `waiter_config: WaiterConfig | None`.
Import `WaiterConfig` from `rboto` to set the poll delay, maximum attempts, or overall
timeout. See the [waiter guide](https://ferrumio.github.io/rboto/guides/waiters/).

| Waiter | Polling operation |
|---|---|
| [`channel_active`](https://ferrumio.github.io/rboto/reference/kinesis/operations/describe_channel/#waiters) | `describe_channel` |
| [`stream_exists`](https://ferrumio.github.io/rboto/reference/kinesis/operations/describe_stream/#waiters) | `describe_stream` |
| [`stream_not_exists`](https://ferrumio.github.io/rboto/reference/kinesis/operations/describe_stream/#waiters) | `describe_stream` |

## Operations

The [operation reference](https://ferrumio.github.io/rboto/reference/kinesis/)
documents arguments, nested types, Output fields, errors and pagination.
Method and type docstrings link to their reference pages.

This is the complete operation catalog for this generated package. “Required arguments”
lists arguments without defaults in the Python signature. Service-side conditions may
require additional arguments. Each method links to its complete signature, including
optional arguments. Nested input definitions are in `rboto_kinesis.types`;
native response definitions are in the package's `_native.pyi`.

| Method | Required arguments | Return type |
|---|---|---|
| [`acknowledge_dead_letter_queue_records`](#acknowledge_dead_letter_queue_records) | <code>queue_arn: str</code>, <code>entries: Sequence[AcknowledgeDeadLetterQueueRecordsRequestEntry]</code> | <code>AcknowledgeDeadLetterQueueRecordsOutput</code> |
| [`acknowledge_queue_records`](#acknowledge_queue_records) | <code>queue_arn: str</code>, <code>entries: Sequence[AcknowledgeQueueRecordsRequestEntry]</code> | <code>AcknowledgeQueueRecordsOutput</code> |
| [`add_tags_to_stream`](#add_tags_to_stream) | <code>tags: dict[str, str]</code> | <code>None</code> |
| [`create_channel`](#create_channel) | <code>channel_name: str</code>, <code>service_execution_role_arn: str</code>, <code>stream_configuration_list: Sequence[ChannelStreamConfiguration]</code> | <code>CreateChannelOutput</code> |
| [`create_queue`](#create_queue) | <code>queue_name: str</code>, <code>stream_configuration_list: Sequence[QueueStreamConfiguration]</code> | <code>CreateQueueOutput</code> |
| [`create_stream`](#create_stream) | <code>stream_name: str</code> | <code>None</code> |
| [`decrease_stream_retention_period`](#decrease_stream_retention_period) | <code>retention_period_hours: int</code> | <code>None</code> |
| [`delete_channel`](#delete_channel) | <code>channel_arn: str</code> | <code>None</code> |
| [`delete_queue`](#delete_queue) | <code>queue_arn: str</code> | <code>None</code> |
| [`delete_resource_policy`](#delete_resource_policy) | <code>resource_arn: str</code> | <code>None</code> |
| [`delete_stream`](#delete_stream) | None | <code>None</code> |
| [`deregister_stream_consumer`](#deregister_stream_consumer) | None | <code>None</code> |
| [`describe_account_settings`](#describe_account_settings) | None | <code>DescribeAccountSettingsOutput</code> |
| [`describe_channel`](#describe_channel) | <code>channel_arn: str</code> | <code>DescribeChannelOutput</code> |
| [`describe_limits`](#describe_limits) | None | <code>DescribeLimitsOutput</code> |
| [`describe_queue`](#describe_queue) | <code>queue_arn: str</code> | <code>DescribeQueueOutput</code> |
| [`describe_stream`](#describe_stream) | None | <code>DescribeStreamOutput</code> |
| [`describe_stream_consumer`](#describe_stream_consumer) | None | <code>DescribeStreamConsumerOutput</code> |
| [`describe_stream_summary`](#describe_stream_summary) | None | <code>DescribeStreamSummaryOutput</code> |
| [`disable_enhanced_monitoring`](#disable_enhanced_monitoring) | <code>shard_level_metrics: Sequence[MetricsName]</code> | <code>DisableEnhancedMonitoringOutput</code> |
| [`enable_enhanced_monitoring`](#enable_enhanced_monitoring) | <code>shard_level_metrics: Sequence[MetricsName]</code> | <code>EnableEnhancedMonitoringOutput</code> |
| [`get_records`](#get_records) | <code>shard_iterator: str</code> | <code>GetRecordsOutput</code> |
| [`get_resource_policy`](#get_resource_policy) | <code>resource_arn: str</code> | <code>GetResourcePolicyOutput</code> |
| [`get_shard_iterator`](#get_shard_iterator) | <code>shard_id: str</code>, <code>shard_iterator_type: ShardIteratorType</code> | <code>GetShardIteratorOutput</code> |
| [`increase_stream_retention_period`](#increase_stream_retention_period) | <code>retention_period_hours: int</code> | <code>None</code> |
| [`list_channels`](#list_channels) | None | <code>ListChannelsOutput</code> |
| [`list_queues`](#list_queues) | None | <code>ListQueuesOutput</code> |
| [`list_shards`](#list_shards) | None | <code>ListShardsOutput</code> |
| [`list_stream_consumers`](#list_stream_consumers) | <code>stream_arn: str</code> | <code>ListStreamConsumersOutput</code> |
| [`list_streams`](#list_streams) | None | <code>ListStreamsOutput</code> |
| [`list_tags_for_resource`](#list_tags_for_resource) | <code>resource_arn: str</code> | <code>ListTagsForResourceOutput</code> |
| [`list_tags_for_stream`](#list_tags_for_stream) | None | <code>ListTagsForStreamOutput</code> |
| [`merge_shards`](#merge_shards) | <code>shard_to_merge: str</code>, <code>adjacent_shard_to_merge: str</code> | <code>None</code> |
| [`put_record`](#put_record) | <code>data: bytes</code> | <code>PutRecordOutput</code> |
| [`put_records`](#put_records) | <code>records: Sequence[PutRecordsRequestEntry]</code> | <code>PutRecordsOutput</code> |
| [`put_resource_policy`](#put_resource_policy) | <code>resource_arn: str</code>, <code>policy: str</code> | <code>None</code> |
| [`receive_dead_letter_queue_records`](#receive_dead_letter_queue_records) | <code>queue_arn: str</code> | <code>ReceiveDeadLetterQueueRecordsOutput</code> |
| [`receive_queue_records`](#receive_queue_records) | <code>queue_arn: str</code> | <code>ReceiveQueueRecordsOutput</code> |
| [`register_stream_consumer`](#register_stream_consumer) | <code>stream_arn: str</code>, <code>consumer_name: str</code> | <code>RegisterStreamConsumerOutput</code> |
| [`remove_tags_from_stream`](#remove_tags_from_stream) | <code>tag_keys: Sequence[str]</code> | <code>None</code> |
| [`restore_dead_letter_queue_records`](#restore_dead_letter_queue_records) | <code>queue_arn: str</code>, <code>entries: Sequence[RestoreDeadLetterQueueRecordsRequestEntry]</code> | <code>RestoreDeadLetterQueueRecordsOutput</code> |
| [`split_shard`](#split_shard) | <code>shard_to_split: str</code>, <code>new_starting_hash_key: str</code> | <code>None</code> |
| [`start_stream_encryption`](#start_stream_encryption) | <code>encryption_type: EncryptionType</code>, <code>key_id: str</code> | <code>None</code> |
| [`stop_stream_encryption`](#stop_stream_encryption) | <code>encryption_type: EncryptionType</code>, <code>key_id: str</code> | <code>None</code> |
| [`subscribe_to_shard`](#subscribe_to_shard) | <code>consumer_arn: str</code>, <code>shard_id: str</code>, <code>starting_position: StartingPosition</code> | <code>SubscribeToShardOutput</code> |
| [`tag_resource`](#tag_resource) | <code>tags: dict[str, str]</code>, <code>resource_arn: str</code> | <code>None</code> |
| [`untag_resource`](#untag_resource) | <code>tag_keys: Sequence[str]</code>, <code>resource_arn: str</code> | <code>None</code> |
| [`update_account_settings`](#update_account_settings) | <code>minimum_throughput_billing_commitment: MinimumThroughputBillingCommitmentInput</code> | <code>UpdateAccountSettingsOutput</code> |
| [`update_channel`](#update_channel) | <code>channel_arn: str</code> | <code>UpdateChannelOutput</code> |
| [`update_dead_letter_queue_records_visibility`](#update_dead_letter_queue_records_visibility) | <code>queue_arn: str</code>, <code>entries: Sequence[UpdateDeadLetterQueueRecordsVisibilityRequestEntry]</code> | <code>UpdateDeadLetterQueueRecordsVisibilityOutput</code> |
| [`update_max_record_size`](#update_max_record_size) | <code>max_record_size_in_kib: int</code> | <code>None</code> |
| [`update_queue`](#update_queue) | <code>queue_arn: str</code>, <code>queue_attributes: QueueAttributes</code> | <code>UpdateQueueOutput</code> |
| [`update_queue_records_visibility`](#update_queue_records_visibility) | <code>queue_arn: str</code>, <code>entries: Sequence[UpdateQueueRecordsVisibilityRequestEntry]</code> | <code>UpdateQueueRecordsVisibilityOutput</code> |
| [`update_shard_count`](#update_shard_count) | <code>target_shard_count: int</code>, <code>scaling_type: ScalingType</code> | <code>UpdateShardCountOutput</code> |
| [`update_stream_mode`](#update_stream_mode) | <code>stream_arn: str</code>, <code>stream_mode_details: StreamModeDetails</code> | <code>None</code> |
| [`update_stream_record_distribution_strategy`](#update_stream_record_distribution_strategy) | <code>stream_arn: str</code>, <code>record_distribution_strategy: RecordDistributionStrategy</code> | <code>None</code> |
| [`update_stream_warm_throughput`](#update_stream_warm_throughput) | <code>warm_throughput_mibps: int</code> | <code>UpdateStreamWarmThroughputOutput</code> |

## Complete signatures

### acknowledge_dead_letter_queue_records

```python
async def acknowledge_dead_letter_queue_records(
    *,
    queue_arn: str,
    entries: Sequence[AcknowledgeDeadLetterQueueRecordsRequestEntry],
) -> AcknowledgeDeadLetterQueueRecordsOutput: ...
```


### acknowledge_queue_records

```python
async def acknowledge_queue_records(
    *,
    queue_arn: str,
    entries: Sequence[AcknowledgeQueueRecordsRequestEntry],
) -> AcknowledgeQueueRecordsOutput: ...
```


### add_tags_to_stream

```python
async def add_tags_to_stream(
    *,
    tags: dict[str, str],
    stream_name: str | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
) -> None: ...
```


### create_channel

```python
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: ...
```


### create_queue

```python
async def create_queue(
    *,
    queue_name: str,
    stream_configuration_list: Sequence[QueueStreamConfiguration],
    queue_attributes: QueueAttributes | None = None,
    tags: dict[str, str] | None = None,
) -> CreateQueueOutput: ...
```


### create_stream

```python
async def create_stream(
    *,
    stream_name: str,
    shard_count: int | None = None,
    stream_mode_details: StreamModeDetails | None = None,
    tags: dict[str, str] | None = None,
    warm_throughput_mibps: int | None = None,
    max_record_size_in_kib: int | None = None,
    record_distribution_strategy: RecordDistributionStrategy | None = None,
) -> None: ...
```


### decrease_stream_retention_period

```python
async def decrease_stream_retention_period(
    *,
    retention_period_hours: int,
    stream_name: str | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
) -> None: ...
```


### delete_channel

```python
async def delete_channel(
    *,
    channel_arn: str,
) -> None: ...
```


### delete_queue

```python
async def delete_queue(
    *,
    queue_arn: str,
) -> None: ...
```


### delete_resource_policy

```python
async def delete_resource_policy(
    *,
    resource_arn: str,
    stream_id: str | None = None,
) -> None: ...
```


### delete_stream

```python
async def delete_stream(
    *,
    stream_name: str | None = None,
    enforce_consumer_deletion: bool | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
) -> None: ...
```


### deregister_stream_consumer

```python
async def deregister_stream_consumer(
    *,
    stream_arn: str | None = None,
    consumer_name: str | None = None,
    consumer_arn: str | None = None,
    stream_id: str | None = None,
) -> None: ...
```


### describe_account_settings

```python
async def describe_account_settings() -> DescribeAccountSettingsOutput: ...
```


### describe_channel

```python
async def describe_channel(
    *,
    channel_arn: str,
) -> DescribeChannelOutput: ...
```


### describe_limits

```python
async def describe_limits() -> DescribeLimitsOutput: ...
```


### describe_queue

```python
async def describe_queue(
    *,
    queue_arn: str,
) -> DescribeQueueOutput: ...
```


### describe_stream

```python
async def describe_stream(
    *,
    stream_name: str | None = None,
    limit: int | None = None,
    exclusive_start_shard_id: str | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
) -> DescribeStreamOutput: ...
```

Also available as `client.paginators.describe_stream(...)`, returning an
async iterator of the response type above.


### describe_stream_consumer

```python
async def describe_stream_consumer(
    *,
    stream_arn: str | None = None,
    consumer_name: str | None = None,
    consumer_arn: str | None = None,
    stream_id: str | None = None,
) -> DescribeStreamConsumerOutput: ...
```


### describe_stream_summary

```python
async def describe_stream_summary(
    *,
    stream_name: str | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
) -> DescribeStreamSummaryOutput: ...
```


### disable_enhanced_monitoring

```python
async def disable_enhanced_monitoring(
    *,
    shard_level_metrics: Sequence[MetricsName],
    stream_name: str | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
) -> DisableEnhancedMonitoringOutput: ...
```


### enable_enhanced_monitoring

```python
async def enable_enhanced_monitoring(
    *,
    shard_level_metrics: Sequence[MetricsName],
    stream_name: str | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
) -> EnableEnhancedMonitoringOutput: ...
```


### get_records

```python
async def get_records(
    *,
    shard_iterator: str,
    limit: int | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
    dry_run: bool | None = None,
) -> GetRecordsOutput: ...
```


### get_resource_policy

```python
async def get_resource_policy(
    *,
    resource_arn: str,
    stream_id: str | None = None,
) -> GetResourcePolicyOutput: ...
```


### get_shard_iterator

```python
async def get_shard_iterator(
    *,
    shard_id: str,
    shard_iterator_type: ShardIteratorType,
    stream_name: str | None = None,
    starting_sequence_number: str | None = None,
    timestamp: str | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
    dry_run: bool | None = None,
) -> GetShardIteratorOutput: ...
```


### increase_stream_retention_period

```python
async def increase_stream_retention_period(
    *,
    retention_period_hours: int,
    stream_name: str | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
) -> None: ...
```


### list_channels

```python
async def list_channels(
    *,
    stream_filter: Sequence[StreamFilter] | None = None,
    max_results: int | None = None,
    next_token: str | None = None,
) -> ListChannelsOutput: ...
```

Also available as `client.paginators.list_channels(...)`, returning an
async iterator of the response type above.


### list_queues

```python
async def list_queues(
    *,
    max_results: int | None = None,
    next_token: str | None = None,
    stream_filter: Sequence[QueueStreamFilter] | None = None,
) -> ListQueuesOutput: ...
```

Also available as `client.paginators.list_queues(...)`, returning an
async iterator of the response type above.


### list_shards

```python
async def list_shards(
    *,
    stream_name: str | None = None,
    next_token: str | None = None,
    exclusive_start_shard_id: str | None = None,
    max_results: int | None = None,
    stream_creation_timestamp: str | None = None,
    shard_filter: ShardFilter | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
) -> ListShardsOutput: ...
```

Also available as `client.paginators.list_shards(...)`, returning an
async iterator of the response type above.


### list_stream_consumers

```python
async def list_stream_consumers(
    *,
    stream_arn: str,
    next_token: str | None = None,
    max_results: int | None = None,
    stream_creation_timestamp: str | None = None,
    stream_id: str | None = None,
) -> ListStreamConsumersOutput: ...
```

Also available as `client.paginators.list_stream_consumers(...)`, returning an
async iterator of the response type above.


### list_streams

```python
async def list_streams(
    *,
    limit: int | None = None,
    exclusive_start_stream_name: str | None = None,
    next_token: str | None = None,
) -> ListStreamsOutput: ...
```

Also available as `client.paginators.list_streams(...)`, returning an
async iterator of the response type above.


### list_tags_for_resource

```python
async def list_tags_for_resource(
    *,
    resource_arn: str,
    stream_id: str | None = None,
) -> ListTagsForResourceOutput: ...
```


### list_tags_for_stream

```python
async def list_tags_for_stream(
    *,
    stream_name: str | None = None,
    exclusive_start_tag_key: str | None = None,
    limit: int | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
) -> ListTagsForStreamOutput: ...
```

Also available as `client.paginators.list_tags_for_stream(...)`, returning an
async iterator of the response type above.


### merge_shards

```python
async def merge_shards(
    *,
    shard_to_merge: str,
    adjacent_shard_to_merge: str,
    stream_name: str | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
) -> None: ...
```


### put_record

```python
async def put_record(
    *,
    data: bytes,
    stream_name: str | None = None,
    partition_key: str | None = None,
    explicit_hash_key: str | None = None,
    sequence_number_for_ordering: str | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
    dry_run: bool | None = None,
) -> PutRecordOutput: ...
```


### put_records

```python
async def put_records(
    *,
    records: Sequence[PutRecordsRequestEntry],
    stream_name: str | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
    dry_run: bool | None = None,
) -> PutRecordsOutput: ...
```


### put_resource_policy

```python
async def put_resource_policy(
    *,
    resource_arn: str,
    policy: str,
    stream_id: str | None = None,
) -> None: ...
```


### receive_dead_letter_queue_records

```python
async def receive_dead_letter_queue_records(
    *,
    queue_arn: str,
    limit: int | None = None,
    wait_time_seconds: int | None = None,
    visibility_timeout_seconds: int | None = None,
) -> ReceiveDeadLetterQueueRecordsOutput: ...
```


### receive_queue_records

```python
async def receive_queue_records(
    *,
    queue_arn: str,
    limit: int | None = None,
    wait_time_seconds: int | None = None,
    visibility_timeout_seconds: int | None = None,
) -> ReceiveQueueRecordsOutput: ...
```


### register_stream_consumer

```python
async def register_stream_consumer(
    *,
    stream_arn: str,
    consumer_name: str,
    stream_id: str | None = None,
    tags: dict[str, str] | None = None,
) -> RegisterStreamConsumerOutput: ...
```


### remove_tags_from_stream

```python
async def remove_tags_from_stream(
    *,
    tag_keys: Sequence[str],
    stream_name: str | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
) -> None: ...
```


### restore_dead_letter_queue_records

```python
async def restore_dead_letter_queue_records(
    *,
    queue_arn: str,
    entries: Sequence[RestoreDeadLetterQueueRecordsRequestEntry],
) -> RestoreDeadLetterQueueRecordsOutput: ...
```


### split_shard

```python
async def split_shard(
    *,
    shard_to_split: str,
    new_starting_hash_key: str,
    stream_name: str | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
) -> None: ...
```


### start_stream_encryption

```python
async def start_stream_encryption(
    *,
    encryption_type: EncryptionType,
    key_id: str,
    stream_name: str | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
) -> None: ...
```


### stop_stream_encryption

```python
async def stop_stream_encryption(
    *,
    encryption_type: EncryptionType,
    key_id: str,
    stream_name: str | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
) -> None: ...
```


### subscribe_to_shard

```python
async def subscribe_to_shard(
    *,
    consumer_arn: str,
    shard_id: str,
    starting_position: StartingPosition,
    stream_id: str | None = None,
    dry_run: bool | None = None,
) -> SubscribeToShardOutput: ...
```


### tag_resource

```python
async def tag_resource(
    *,
    tags: dict[str, str],
    resource_arn: str,
    stream_id: str | None = None,
) -> None: ...
```


### untag_resource

```python
async def untag_resource(
    *,
    tag_keys: Sequence[str],
    resource_arn: str,
    stream_id: str | None = None,
) -> None: ...
```


### update_account_settings

```python
async def update_account_settings(
    *,
    minimum_throughput_billing_commitment: MinimumThroughputBillingCommitmentInput,
) -> UpdateAccountSettingsOutput: ...
```


### update_channel

```python
async def update_channel(
    *,
    channel_arn: str,
    s3_destination_configuration: S3DestinationUpdateInput | None = None,
    s3_tables_destination_configuration: S3TablesDestinationUpdateInput | None = None,
    logging_configuration: ChannelLoggingUpdateInput | None = None,
) -> UpdateChannelOutput: ...
```


### update_dead_letter_queue_records_visibility

```python
async def update_dead_letter_queue_records_visibility(
    *,
    queue_arn: str,
    entries: Sequence[UpdateDeadLetterQueueRecordsVisibilityRequestEntry],
) -> UpdateDeadLetterQueueRecordsVisibilityOutput: ...
```


### update_max_record_size

```python
async def update_max_record_size(
    *,
    max_record_size_in_kib: int,
    stream_arn: str | None = None,
    stream_id: str | None = None,
) -> None: ...
```


### update_queue

```python
async def update_queue(
    *,
    queue_arn: str,
    queue_attributes: QueueAttributes,
) -> UpdateQueueOutput: ...
```


### update_queue_records_visibility

```python
async def update_queue_records_visibility(
    *,
    queue_arn: str,
    entries: Sequence[UpdateQueueRecordsVisibilityRequestEntry],
) -> UpdateQueueRecordsVisibilityOutput: ...
```


### update_shard_count

```python
async def update_shard_count(
    *,
    target_shard_count: int,
    scaling_type: ScalingType,
    stream_name: str | None = None,
    stream_arn: str | None = None,
    stream_id: str | None = None,
) -> UpdateShardCountOutput: ...
```


### update_stream_mode

```python
async def update_stream_mode(
    *,
    stream_arn: str,
    stream_mode_details: StreamModeDetails,
    stream_id: str | None = None,
    warm_throughput_mibps: int | None = None,
) -> None: ...
```


### update_stream_record_distribution_strategy

```python
async def update_stream_record_distribution_strategy(
    *,
    stream_arn: str,
    record_distribution_strategy: RecordDistributionStrategy,
    stream_id: str | None = None,
) -> None: ...
```


### update_stream_warm_throughput

```python
async def update_stream_warm_throughput(
    *,
    warm_throughput_mibps: int,
    stream_arn: str | None = None,
    stream_name: str | None = None,
    stream_id: str | None = None,
) -> UpdateStreamWarmThroughputOutput: ...
```


## Links

- [Service guide](https://ferrumio.github.io/rboto/guides/kinesis/)
- [Repository](https://github.com/ferrumio/rboto)
- [Issues](https://github.com/ferrumio/rboto/issues)
- [Releases](https://github.com/ferrumio/rboto/releases)

Licensed under Apache-2.0.

