Crate cloudwatch_logs_upload[][src]

Expand description

Rust library for uploading events to AWS CloudWatch Logs.

Structs

Main interface for uploading logs in batches to AWS CloudWatch Logs.

Internal interface for creating batches of events.

An inclusive range of timestamps.

Log group and stream names.

Enums

Unified event type for upload errors.

Constants

The maximum batch size is 1,048,576 bytes, and this size is calculated as the sum of all event messages in UTF-8, plus 26 bytes for each log event.

The maximum batch size is 1,048,576 bytes, and this size is calculated as the sum of all event messages in UTF-8, plus 26 bytes for each log event.

A batch of log events in a single request cannot span more than 24 hours. This constant is in milliseconds.

The maximum number of log events in a batch is 10,000.

Functions

Get the current timestamp. Returns 0 if the time is before the unix epoch.

Type Definitions

The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.