Skip to main content

Crate rustack_logs_http

Crate rustack_logs_http 

Source
Expand description

CloudWatch Logs HTTP service layer for Rustack.

This crate implements the awsJson1_1 protocol for CloudWatch Logs, providing:

  • Router: Extracts the operation from X-Amz-Target header
  • Handler trait: Defines the boundary between HTTP and business logic
  • Service: Hyper Service implementation for the CloudWatch Logs protocol
  • Response helpers: JSON success/error response formatting

Re-exports§

pub use body::LogsResponseBody;
pub use dispatch::LogsHandler;
pub use dispatch::NotImplementedHandler;
pub use service::LogsHttpConfig;
pub use service::LogsHttpService;

Modules§

body
CloudWatch Logs HTTP response body type.
dispatch
CloudWatch Logs handler trait and operation dispatch.
response
CloudWatch Logs response serialization and error formatting.
router
CloudWatch Logs request router.
service
CloudWatch Logs HTTP service implementing the hyper Service trait.