Skip to content

Address

Source code in docs_src/capo_geo_places/types/address.py
class Address(TypedDict, closed=True):
    label: NotRequired["capo_geo_places.types.sensitive_string.SensitiveString"]
    """<p>Assembled address value built out of the address components, according to the regional postal rules. This is the correctly formatted address.</p>"""
    country: NotRequired["capo_geo_places.types.country.Country"]
    """<p>The country component of the address.</p>"""
    region: NotRequired["capo_geo_places.types.region.Region"]
    """<p>The region or state results should be present in. </p> <p>Example: <code>North Rhine-Westphalia</code>.</p>"""
    sub_region: NotRequired["capo_geo_places.types.sub_region.SubRegion"]
    """<p>The sub-region or county for which results should be present in. </p>"""
    locality: NotRequired["capo_geo_places.types.sensitive_string.SensitiveString"]
    """<p>The city or locality of the address.</p> <p>Example: <code>Vancouver</code>.</p>"""
    district: NotRequired["capo_geo_places.types.sensitive_string.SensitiveString"]
    """<p>The district or division of a locality associated with this address.</p>"""
    sub_district: NotRequired["capo_geo_places.types.sensitive_string.SensitiveString"]
    """<p>A subdivision of a district. </p> <p>Example: <code>Minden-Lübbecke</code>.</p>"""
    postal_code: NotRequired["capo_geo_places.types.sensitive_string.SensitiveString"]
    """<p>An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code, for which the result should possess. </p>"""
    block: NotRequired["capo_geo_places.types.sensitive_string.SensitiveString"]
    """<p> Name of the block. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>Sunny Mansion 203 block: 2 Chome</code> </p>"""
    sub_block: NotRequired["capo_geo_places.types.sensitive_string.SensitiveString"]
    """<p> Name of sub-block. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>Sunny Mansion 203 sub-block: 4</code> </p>"""
    intersection: NotRequired[
        "capo_geo_places.types.intersection_street_list.IntersectionStreetList"
    ]
    """<p> Name of the streets in the intersection. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>["Friedrichstraße","Unter den Linden"]</code> </p>"""
    street: NotRequired["capo_geo_places.types.sensitive_string.SensitiveString"]
    """<p>The name of the street results should be present in.</p>"""
    street_components: NotRequired[
        "capo_geo_places.types.street_components_list.StreetComponentsList"
    ]
    """<p> Components of the street. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: Yonge from "Yonge street".</p>"""
    address_number: NotRequired[
        "capo_geo_places.types.sensitive_string.SensitiveString"
    ]
    """<p>The number that identifies an address within a street.</p>"""
    building: NotRequired["capo_geo_places.types.sensitive_string.SensitiveString"]
    """<p> The name of the building at the address. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p>"""
    secondary_address_components: NotRequired[
        "capo_geo_places.types.secondary_address_component_list.SecondaryAddressComponentList"
    ]
    """<p> Components that correspond to secondary identifiers on an Address. Secondary address components include information such as Suite or Unit Number, Building, or Floor. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <note> <p>Coverage for <code>Address.SecondaryAddressComponents</code> is available in the following countries:</p> <p>AUS, CAN, NZL, USA, PRI</p> </note>"""

address_number instance-attribute

address_number: NotRequired[SensitiveString]

The number that identifies an address within a street.

block instance-attribute

block: NotRequired[SensitiveString]

Name of the block. Not available in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

Example: Sunny Mansion 203 block: 2 Chome

building instance-attribute

building: NotRequired[SensitiveString]

The name of the building at the address. Not available in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

country instance-attribute

country: NotRequired[Country]

The country component of the address.

district instance-attribute

district: NotRequired[SensitiveString]

The district or division of a locality associated with this address.

intersection instance-attribute

intersection: NotRequired[IntersectionStreetList]

Name of the streets in the intersection. Not available in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

Example: ["Friedrichstraße","Unter den Linden"]

label instance-attribute

label: NotRequired[SensitiveString]

Assembled address value built out of the address components, according to the regional postal rules. This is the correctly formatted address.

locality instance-attribute

locality: NotRequired[SensitiveString]

The city or locality of the address.

Example: Vancouver.

postal_code instance-attribute

postal_code: NotRequired[SensitiveString]

An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code, for which the result should possess.

region instance-attribute

region: NotRequired[Region]

The region or state results should be present in.

Example: North Rhine-Westphalia.

secondary_address_components instance-attribute

secondary_address_components: NotRequired[SecondaryAddressComponentList]

Components that correspond to secondary identifiers on an Address. Secondary address components include information such as Suite or Unit Number, Building, or Floor. Not available in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

Coverage for Address.SecondaryAddressComponents is available in the following countries:

AUS, CAN, NZL, USA, PRI

street instance-attribute

street: NotRequired[SensitiveString]

The name of the street results should be present in.

street_components instance-attribute

street_components: NotRequired[StreetComponentsList]

Components of the street. Not available in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

Example: Yonge from "Yonge street".

sub_block instance-attribute

sub_block: NotRequired[SensitiveString]

Name of sub-block. Not available in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

Example: Sunny Mansion 203 sub-block: 4

sub_district instance-attribute

sub_district: NotRequired[SensitiveString]

A subdivision of a district.

Example: Minden-Lübbecke.

sub_region instance-attribute

sub_region: NotRequired[SubRegion]

The sub-region or county for which results should be present in.