base_model#

See BaseModel.

class aws_resource_search.base_model.BaseModel[source]#

The base class for all AWS Resource Search data model.

Note

I intentionally don’t use better_dataclasses.DataClass as the base class here. Because the AWS Resource data container is so heavily used in the search and performance does really matter. The better_dataclasses.DataClass provides additional features like auto-serialization and deserialization when using nested dataclass. But it will slow down the performance.

classmethod from_dict(data: Dict[str, Any])[source]#

Create a new instance from a dict.

to_dict() Dict[str, Any][source]#

Convert the instance to a dict.