Parse Attributes

Auto-generated documentation for mypy_boto3_builder.parsers.parse_attributes module.

Parser for Boto3 ServiceResource attributes, produces structures.Attribute.

parse_attributes

[find in source code]

def parse_attributes(
    service_name: ServiceName,
    resource_name: str,
    resource: Boto3ServiceResource,
    shape_parser: ShapeParser,
) -> list[Attribute]:

Extract attributes from boto3 resource.

Arguments

  • resource - boto3 service resource.

Returns

A list of Attribute structures.

See also