Expand description
Python wrapped types from aws-smithy-types.
§Deref
hacks for Json serializer
aws_smithy_json::serialize::JsonValueWriter expects references to the types
from aws_smithy_types (for example aws_smithy_json::serialize::JsonValueWriter::document()
expects &aws_smithy_types::Document
). In order to make
aws_smithy_json::serialize::JsonValueWriter happy, we implement Deref
traits for
Python types to their Rust counterparts (for example
impl Deref<Target=aws_smithy_types::Document> for Document
and that allows &Document
to
get coerced to &aws_smithy_types::Document
). This is a hack, we should ideally handle this
in JsonSerializerGenerator.kt
but it’s not easy to do it with our current Kotlin structure.
Structs§
- Blob
- Python Wrapper for aws_smithy_types::Blob.
- Byte
Stream - Python Wrapper for aws_smithy_types::byte_stream::ByteStream.
- Date
Time - Python Wrapper for aws_smithy_types::date_time::DateTime.
- Document
- Python Wrapper for aws_smithy_types::Document.
Enums§
- Format
- Formats for representing a
DateTime
in the Smithy protocols.