FirehoseClient.put_record_batch
rboto-firehose==0.4.0 · Service index · Types
Model summary (excerpt): Writes multiple data records into a Firehose stream in a single call, which can achieve higher throughput per producer than when writing single records. To write single data records into a Firehose stream, use PutRecord . Applications using these operations are referred to as producers. Firehose accumulates and publishes a particular metric for a customer account in one minute intervals. It is...
Install and imports
from rboto import FirehoseClient
from collections.abc import Sequence
from rboto_firehose.types import (
PutRecordBatchOutput,
Record,
)
Signature
async def put_record_batch(
*,
delivery_stream_name: str,
records: Sequence[Record],
) -> PutRecordBatchOutput: ...
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. |
records |
Yes | One or more records. |
Output
PutRecordBatchOutput.
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 |
|---|---|---|---|
failed_put_count |
int |
Always present | — |
encrypted |
bool | None |
Always present | — |
request_responses |
list[PutRecordBatchResponseEntryOutput] |
Always present | PutRecordBatchResponseEntryOutput |
| 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
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, InvalidSourceError, ResourceNotFoundError, ServiceUnavailableError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.