Expand description
CloudWatch Logs response serialization and error formatting.
Constants§
- CONTENT_
TYPE - Content type for CloudWatch Logs JSON responses (awsJson1_1).
Functions§
- error_
to_ json - Serialize a CloudWatch Logs error into a JSON response body.
- error_
to_ response - Convert a
LogsErrorinto a complete HTTP error response. - json_
response - Build a success response from JSON bytes.