LocationServiceMapsV2 module#
Index > LocationServiceMapsV2
Auto-generated documentation for LocationServiceMapsV2 type annotations stubs module types-aiobotocore-geo-maps.
How to install#
Generate locally (recommended)#
You can generate type annotations for aiobotocore
package locally with mypy-boto3-builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'aiobotocore==2.25.0' mypy-boto3-builder
- Select
aiobotocore
AWS SDK. - Add
LocationServiceMapsV2
service. - Use provided commands to install generated packages.
From PyPI with pip#
Install types-aiobotocore
for LocationServiceMapsV2
service.
# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[geo-maps]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aiobotocore-lite[geo-maps]'
# standalone installation
python -m pip install types-aiobotocore-geo-maps
How to uninstall#
python -m pip uninstall -y types-aiobotocore-geo-maps
Usage#
Code samples can be found in Examples.
LocationServiceMapsV2Client#
Type annotations and code completion for session.create_client("geo-maps")
as LocationServiceMapsV2Client
boto3 documentation
# LocationServiceMapsV2Client usage example
from aiobotocore.session import get_session
from types_aiobotocore_geo_maps.client import LocationServiceMapsV2Client
session = get_session()
async with session.create_client("geo-maps") as client:
client: LocationServiceMapsV2Client
Literals#
Type annotations for literals used in methods and schema.
# ColorSchemeType usage example
from types_aiobotocore_geo_maps.literals import ColorSchemeType
def get_value() -> ColorSchemeType:
return "Dark"
- ColorSchemeType
- LabelSizeType
- MapFeatureModeType
- MapStyleType
- ScaleBarUnitType
- StaticMapStyleType
- VariantType
- LocationServiceMapsV2ServiceName
- ServiceName
- ResourceServiceName
Type definitions#
Type annotations for type definitions used in methods and schema.