Skip to content

Typed dictionaries#

Index > LocationService > Typed dictionaries

Auto-generated documentation for LocationService type annotations stubs module mypy-boto3-location.

ApiKeyFilterTypeDef#

# ApiKeyFilterTypeDef usage example

from mypy_boto3_location.type_defs import ApiKeyFilterTypeDef

def get_value() -> ApiKeyFilterTypeDef:
    return {
        "KeyStatus": ...,
    }
# ApiKeyFilterTypeDef definition

class ApiKeyFilterTypeDef(TypedDict):
    KeyStatus: NotRequired[StatusType],  # (1)
  1. See StatusType

ApiKeyRestrictionsTypeDef#

# ApiKeyRestrictionsTypeDef usage example

from mypy_boto3_location.type_defs import ApiKeyRestrictionsTypeDef

def get_value() -> ApiKeyRestrictionsTypeDef:
    return {
        "AllowActions": ...,
        "AllowResources": ...,
    }
# ApiKeyRestrictionsTypeDef definition

class ApiKeyRestrictionsTypeDef(TypedDict):
    AllowActions: Sequence[str],
    AllowResources: Sequence[str],
    AllowReferers: NotRequired[Sequence[str]],

AssociateTrackerConsumerRequestRequestTypeDef#

# AssociateTrackerConsumerRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import AssociateTrackerConsumerRequestRequestTypeDef

def get_value() -> AssociateTrackerConsumerRequestRequestTypeDef:
    return {
        "ConsumerArn": ...,
        "TrackerName": ...,
    }
# AssociateTrackerConsumerRequestRequestTypeDef definition

class AssociateTrackerConsumerRequestRequestTypeDef(TypedDict):
    ConsumerArn: str,
    TrackerName: str,

BatchItemErrorTypeDef#

# BatchItemErrorTypeDef usage example

from mypy_boto3_location.type_defs import BatchItemErrorTypeDef

def get_value() -> BatchItemErrorTypeDef:
    return {
        "Code": ...,
    }
# BatchItemErrorTypeDef definition

class BatchItemErrorTypeDef(TypedDict):
    Code: NotRequired[BatchItemErrorCodeType],  # (1)
    Message: NotRequired[str],
  1. See BatchItemErrorCodeType

BatchDeleteDevicePositionHistoryRequestRequestTypeDef#

# BatchDeleteDevicePositionHistoryRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import BatchDeleteDevicePositionHistoryRequestRequestTypeDef

def get_value() -> BatchDeleteDevicePositionHistoryRequestRequestTypeDef:
    return {
        "DeviceIds": ...,
        "TrackerName": ...,
    }
# BatchDeleteDevicePositionHistoryRequestRequestTypeDef definition

class BatchDeleteDevicePositionHistoryRequestRequestTypeDef(TypedDict):
    DeviceIds: Sequence[str],
    TrackerName: str,

BatchDeleteGeofenceRequestRequestTypeDef#

# BatchDeleteGeofenceRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import BatchDeleteGeofenceRequestRequestTypeDef

def get_value() -> BatchDeleteGeofenceRequestRequestTypeDef:
    return {
        "CollectionName": ...,
        "GeofenceIds": ...,
    }
# BatchDeleteGeofenceRequestRequestTypeDef definition

class BatchDeleteGeofenceRequestRequestTypeDef(TypedDict):
    CollectionName: str,
    GeofenceIds: Sequence[str],

BatchGetDevicePositionRequestRequestTypeDef#

# BatchGetDevicePositionRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import BatchGetDevicePositionRequestRequestTypeDef

def get_value() -> BatchGetDevicePositionRequestRequestTypeDef:
    return {
        "DeviceIds": ...,
        "TrackerName": ...,
    }
# BatchGetDevicePositionRequestRequestTypeDef definition

class BatchGetDevicePositionRequestRequestTypeDef(TypedDict):
    DeviceIds: Sequence[str],
    TrackerName: str,

BatchPutGeofenceSuccessTypeDef#

# BatchPutGeofenceSuccessTypeDef usage example

from mypy_boto3_location.type_defs import BatchPutGeofenceSuccessTypeDef

def get_value() -> BatchPutGeofenceSuccessTypeDef:
    return {
        "CreateTime": ...,
        "GeofenceId": ...,
        "UpdateTime": ...,
    }
# BatchPutGeofenceSuccessTypeDef definition

class BatchPutGeofenceSuccessTypeDef(TypedDict):
    CreateTime: datetime,
    GeofenceId: str,
    UpdateTime: datetime,

CalculateRouteCarModeOptionsTypeDef#

# CalculateRouteCarModeOptionsTypeDef usage example

from mypy_boto3_location.type_defs import CalculateRouteCarModeOptionsTypeDef

def get_value() -> CalculateRouteCarModeOptionsTypeDef:
    return {
        "AvoidFerries": ...,
    }
# CalculateRouteCarModeOptionsTypeDef definition

class CalculateRouteCarModeOptionsTypeDef(TypedDict):
    AvoidFerries: NotRequired[bool],
    AvoidTolls: NotRequired[bool],

CalculateRouteMatrixSummaryTypeDef#

# CalculateRouteMatrixSummaryTypeDef usage example

from mypy_boto3_location.type_defs import CalculateRouteMatrixSummaryTypeDef

def get_value() -> CalculateRouteMatrixSummaryTypeDef:
    return {
        "DataSource": ...,
        "DistanceUnit": ...,
        "ErrorCount": ...,
        "RouteCount": ...,
    }
# CalculateRouteMatrixSummaryTypeDef definition

class CalculateRouteMatrixSummaryTypeDef(TypedDict):
    DataSource: str,
    DistanceUnit: DistanceUnitType,  # (1)
    ErrorCount: int,
    RouteCount: int,
  1. See DistanceUnitType

CalculateRouteSummaryTypeDef#

# CalculateRouteSummaryTypeDef usage example

from mypy_boto3_location.type_defs import CalculateRouteSummaryTypeDef

def get_value() -> CalculateRouteSummaryTypeDef:
    return {
        "DataSource": ...,
        "Distance": ...,
        "DistanceUnit": ...,
        "DurationSeconds": ...,
        "RouteBBox": ...,
    }
# CalculateRouteSummaryTypeDef definition

class CalculateRouteSummaryTypeDef(TypedDict):
    DataSource: str,
    Distance: float,
    DistanceUnit: DistanceUnitType,  # (1)
    DurationSeconds: float,
    RouteBBox: List[float],
  1. See DistanceUnitType

TruckDimensionsTypeDef#

# TruckDimensionsTypeDef usage example

from mypy_boto3_location.type_defs import TruckDimensionsTypeDef

def get_value() -> TruckDimensionsTypeDef:
    return {
        "Height": ...,
    }
# TruckDimensionsTypeDef definition

class TruckDimensionsTypeDef(TypedDict):
    Height: NotRequired[float],
    Length: NotRequired[float],
    Unit: NotRequired[DimensionUnitType],  # (1)
    Width: NotRequired[float],
  1. See DimensionUnitType

TruckWeightTypeDef#

# TruckWeightTypeDef usage example

from mypy_boto3_location.type_defs import TruckWeightTypeDef

def get_value() -> TruckWeightTypeDef:
    return {
        "Total": ...,
    }
# TruckWeightTypeDef definition

class TruckWeightTypeDef(TypedDict):
    Total: NotRequired[float],
    Unit: NotRequired[VehicleWeightUnitType],  # (1)
  1. See VehicleWeightUnitType

CircleTypeDef#

# CircleTypeDef usage example

from mypy_boto3_location.type_defs import CircleTypeDef

def get_value() -> CircleTypeDef:
    return {
        "Center": ...,
        "Radius": ...,
    }
# CircleTypeDef definition

class CircleTypeDef(TypedDict):
    Center: Sequence[float],
    Radius: float,

CreateGeofenceCollectionRequestRequestTypeDef#

# CreateGeofenceCollectionRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import CreateGeofenceCollectionRequestRequestTypeDef

def get_value() -> CreateGeofenceCollectionRequestRequestTypeDef:
    return {
        "CollectionName": ...,
    }
# CreateGeofenceCollectionRequestRequestTypeDef definition

class CreateGeofenceCollectionRequestRequestTypeDef(TypedDict):
    CollectionName: str,
    Description: NotRequired[str],
    KmsKeyId: NotRequired[str],
    PricingPlan: NotRequired[PricingPlanType],  # (1)
    PricingPlanDataSource: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],
  1. See PricingPlanType

CreateGeofenceCollectionResponseTypeDef#

# CreateGeofenceCollectionResponseTypeDef usage example

from mypy_boto3_location.type_defs import CreateGeofenceCollectionResponseTypeDef

def get_value() -> CreateGeofenceCollectionResponseTypeDef:
    return {
        "CollectionArn": ...,
        "CollectionName": ...,
        "CreateTime": ...,
        "ResponseMetadata": ...,
    }
# CreateGeofenceCollectionResponseTypeDef definition

class CreateGeofenceCollectionResponseTypeDef(TypedDict):
    CollectionArn: str,
    CollectionName: str,
    CreateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateKeyResponseTypeDef#

# CreateKeyResponseTypeDef usage example

from mypy_boto3_location.type_defs import CreateKeyResponseTypeDef

def get_value() -> CreateKeyResponseTypeDef:
    return {
        "CreateTime": ...,
        "Key": ...,
        "KeyArn": ...,
        "KeyName": ...,
        "ResponseMetadata": ...,
    }
# CreateKeyResponseTypeDef definition

class CreateKeyResponseTypeDef(TypedDict):
    CreateTime: datetime,
    Key: str,
    KeyArn: str,
    KeyName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

MapConfigurationTypeDef#

# MapConfigurationTypeDef usage example

from mypy_boto3_location.type_defs import MapConfigurationTypeDef

def get_value() -> MapConfigurationTypeDef:
    return {
        "Style": ...,
    }
# MapConfigurationTypeDef definition

class MapConfigurationTypeDef(TypedDict):
    Style: str,
    PoliticalView: NotRequired[str],

CreateMapResponseTypeDef#

# CreateMapResponseTypeDef usage example

from mypy_boto3_location.type_defs import CreateMapResponseTypeDef

def get_value() -> CreateMapResponseTypeDef:
    return {
        "CreateTime": ...,
        "MapArn": ...,
        "MapName": ...,
        "ResponseMetadata": ...,
    }
# CreateMapResponseTypeDef definition

class CreateMapResponseTypeDef(TypedDict):
    CreateTime: datetime,
    MapArn: str,
    MapName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DataSourceConfigurationTypeDef#

# DataSourceConfigurationTypeDef usage example

from mypy_boto3_location.type_defs import DataSourceConfigurationTypeDef

def get_value() -> DataSourceConfigurationTypeDef:
    return {
        "IntendedUse": ...,
    }
# DataSourceConfigurationTypeDef definition

class DataSourceConfigurationTypeDef(TypedDict):
    IntendedUse: NotRequired[IntendedUseType],  # (1)
  1. See IntendedUseType

CreatePlaceIndexResponseTypeDef#

# CreatePlaceIndexResponseTypeDef usage example

from mypy_boto3_location.type_defs import CreatePlaceIndexResponseTypeDef

def get_value() -> CreatePlaceIndexResponseTypeDef:
    return {
        "CreateTime": ...,
        "IndexArn": ...,
        "IndexName": ...,
        "ResponseMetadata": ...,
    }
# CreatePlaceIndexResponseTypeDef definition

class CreatePlaceIndexResponseTypeDef(TypedDict):
    CreateTime: datetime,
    IndexArn: str,
    IndexName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateRouteCalculatorRequestRequestTypeDef#

# CreateRouteCalculatorRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import CreateRouteCalculatorRequestRequestTypeDef

def get_value() -> CreateRouteCalculatorRequestRequestTypeDef:
    return {
        "CalculatorName": ...,
        "DataSource": ...,
    }
# CreateRouteCalculatorRequestRequestTypeDef definition

class CreateRouteCalculatorRequestRequestTypeDef(TypedDict):
    CalculatorName: str,
    DataSource: str,
    Description: NotRequired[str],
    PricingPlan: NotRequired[PricingPlanType],  # (1)
    Tags: NotRequired[Mapping[str, str]],
  1. See PricingPlanType

CreateRouteCalculatorResponseTypeDef#

# CreateRouteCalculatorResponseTypeDef usage example

from mypy_boto3_location.type_defs import CreateRouteCalculatorResponseTypeDef

def get_value() -> CreateRouteCalculatorResponseTypeDef:
    return {
        "CalculatorArn": ...,
        "CalculatorName": ...,
        "CreateTime": ...,
        "ResponseMetadata": ...,
    }
# CreateRouteCalculatorResponseTypeDef definition

class CreateRouteCalculatorResponseTypeDef(TypedDict):
    CalculatorArn: str,
    CalculatorName: str,
    CreateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateTrackerRequestRequestTypeDef#

# CreateTrackerRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import CreateTrackerRequestRequestTypeDef

def get_value() -> CreateTrackerRequestRequestTypeDef:
    return {
        "TrackerName": ...,
    }
# CreateTrackerRequestRequestTypeDef definition

class CreateTrackerRequestRequestTypeDef(TypedDict):
    TrackerName: str,
    Description: NotRequired[str],
    KmsKeyId: NotRequired[str],
    PositionFiltering: NotRequired[PositionFilteringType],  # (1)
    PricingPlan: NotRequired[PricingPlanType],  # (2)
    PricingPlanDataSource: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],
  1. See PositionFilteringType
  2. See PricingPlanType

CreateTrackerResponseTypeDef#

# CreateTrackerResponseTypeDef usage example

from mypy_boto3_location.type_defs import CreateTrackerResponseTypeDef

def get_value() -> CreateTrackerResponseTypeDef:
    return {
        "CreateTime": ...,
        "TrackerArn": ...,
        "TrackerName": ...,
        "ResponseMetadata": ...,
    }
# CreateTrackerResponseTypeDef definition

class CreateTrackerResponseTypeDef(TypedDict):
    CreateTime: datetime,
    TrackerArn: str,
    TrackerName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteGeofenceCollectionRequestRequestTypeDef#

# DeleteGeofenceCollectionRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import DeleteGeofenceCollectionRequestRequestTypeDef

def get_value() -> DeleteGeofenceCollectionRequestRequestTypeDef:
    return {
        "CollectionName": ...,
    }
# DeleteGeofenceCollectionRequestRequestTypeDef definition

class DeleteGeofenceCollectionRequestRequestTypeDef(TypedDict):
    CollectionName: str,

DeleteKeyRequestRequestTypeDef#

# DeleteKeyRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import DeleteKeyRequestRequestTypeDef

def get_value() -> DeleteKeyRequestRequestTypeDef:
    return {
        "KeyName": ...,
    }
# DeleteKeyRequestRequestTypeDef definition

class DeleteKeyRequestRequestTypeDef(TypedDict):
    KeyName: str,

DeleteMapRequestRequestTypeDef#

# DeleteMapRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import DeleteMapRequestRequestTypeDef

def get_value() -> DeleteMapRequestRequestTypeDef:
    return {
        "MapName": ...,
    }
# DeleteMapRequestRequestTypeDef definition

class DeleteMapRequestRequestTypeDef(TypedDict):
    MapName: str,

DeletePlaceIndexRequestRequestTypeDef#

# DeletePlaceIndexRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import DeletePlaceIndexRequestRequestTypeDef

def get_value() -> DeletePlaceIndexRequestRequestTypeDef:
    return {
        "IndexName": ...,
    }
# DeletePlaceIndexRequestRequestTypeDef definition

class DeletePlaceIndexRequestRequestTypeDef(TypedDict):
    IndexName: str,

DeleteRouteCalculatorRequestRequestTypeDef#

# DeleteRouteCalculatorRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import DeleteRouteCalculatorRequestRequestTypeDef

def get_value() -> DeleteRouteCalculatorRequestRequestTypeDef:
    return {
        "CalculatorName": ...,
    }
# DeleteRouteCalculatorRequestRequestTypeDef definition

class DeleteRouteCalculatorRequestRequestTypeDef(TypedDict):
    CalculatorName: str,

DeleteTrackerRequestRequestTypeDef#

# DeleteTrackerRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import DeleteTrackerRequestRequestTypeDef

def get_value() -> DeleteTrackerRequestRequestTypeDef:
    return {
        "TrackerName": ...,
    }
# DeleteTrackerRequestRequestTypeDef definition

class DeleteTrackerRequestRequestTypeDef(TypedDict):
    TrackerName: str,

DescribeGeofenceCollectionRequestRequestTypeDef#

# DescribeGeofenceCollectionRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import DescribeGeofenceCollectionRequestRequestTypeDef

def get_value() -> DescribeGeofenceCollectionRequestRequestTypeDef:
    return {
        "CollectionName": ...,
    }
# DescribeGeofenceCollectionRequestRequestTypeDef definition

class DescribeGeofenceCollectionRequestRequestTypeDef(TypedDict):
    CollectionName: str,

DescribeGeofenceCollectionResponseTypeDef#

# DescribeGeofenceCollectionResponseTypeDef usage example

from mypy_boto3_location.type_defs import DescribeGeofenceCollectionResponseTypeDef

def get_value() -> DescribeGeofenceCollectionResponseTypeDef:
    return {
        "CollectionArn": ...,
        "CollectionName": ...,
        "CreateTime": ...,
        "Description": ...,
        "KmsKeyId": ...,
        "PricingPlan": ...,
        "PricingPlanDataSource": ...,
        "Tags": ...,
        "UpdateTime": ...,
        "ResponseMetadata": ...,
    }
# DescribeGeofenceCollectionResponseTypeDef definition

class DescribeGeofenceCollectionResponseTypeDef(TypedDict):
    CollectionArn: str,
    CollectionName: str,
    CreateTime: datetime,
    Description: str,
    KmsKeyId: str,
    PricingPlan: PricingPlanType,  # (1)
    PricingPlanDataSource: str,
    Tags: Dict[str, str],
    UpdateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PricingPlanType
  2. See ResponseMetadataTypeDef

DescribeKeyRequestRequestTypeDef#

# DescribeKeyRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import DescribeKeyRequestRequestTypeDef

def get_value() -> DescribeKeyRequestRequestTypeDef:
    return {
        "KeyName": ...,
    }
# DescribeKeyRequestRequestTypeDef definition

class DescribeKeyRequestRequestTypeDef(TypedDict):
    KeyName: str,

DescribeMapRequestRequestTypeDef#

# DescribeMapRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import DescribeMapRequestRequestTypeDef

def get_value() -> DescribeMapRequestRequestTypeDef:
    return {
        "MapName": ...,
    }
# DescribeMapRequestRequestTypeDef definition

class DescribeMapRequestRequestTypeDef(TypedDict):
    MapName: str,

DescribePlaceIndexRequestRequestTypeDef#

# DescribePlaceIndexRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import DescribePlaceIndexRequestRequestTypeDef

def get_value() -> DescribePlaceIndexRequestRequestTypeDef:
    return {
        "IndexName": ...,
    }
# DescribePlaceIndexRequestRequestTypeDef definition

class DescribePlaceIndexRequestRequestTypeDef(TypedDict):
    IndexName: str,

DescribeRouteCalculatorRequestRequestTypeDef#

# DescribeRouteCalculatorRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import DescribeRouteCalculatorRequestRequestTypeDef

def get_value() -> DescribeRouteCalculatorRequestRequestTypeDef:
    return {
        "CalculatorName": ...,
    }
# DescribeRouteCalculatorRequestRequestTypeDef definition

class DescribeRouteCalculatorRequestRequestTypeDef(TypedDict):
    CalculatorName: str,

DescribeRouteCalculatorResponseTypeDef#

# DescribeRouteCalculatorResponseTypeDef usage example

from mypy_boto3_location.type_defs import DescribeRouteCalculatorResponseTypeDef

def get_value() -> DescribeRouteCalculatorResponseTypeDef:
    return {
        "CalculatorArn": ...,
        "CalculatorName": ...,
        "CreateTime": ...,
        "DataSource": ...,
        "Description": ...,
        "PricingPlan": ...,
        "Tags": ...,
        "UpdateTime": ...,
        "ResponseMetadata": ...,
    }
# DescribeRouteCalculatorResponseTypeDef definition

class DescribeRouteCalculatorResponseTypeDef(TypedDict):
    CalculatorArn: str,
    CalculatorName: str,
    CreateTime: datetime,
    DataSource: str,
    Description: str,
    PricingPlan: PricingPlanType,  # (1)
    Tags: Dict[str, str],
    UpdateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PricingPlanType
  2. See ResponseMetadataTypeDef

DescribeTrackerRequestRequestTypeDef#

# DescribeTrackerRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import DescribeTrackerRequestRequestTypeDef

def get_value() -> DescribeTrackerRequestRequestTypeDef:
    return {
        "TrackerName": ...,
    }
# DescribeTrackerRequestRequestTypeDef definition

class DescribeTrackerRequestRequestTypeDef(TypedDict):
    TrackerName: str,

DescribeTrackerResponseTypeDef#

# DescribeTrackerResponseTypeDef usage example

from mypy_boto3_location.type_defs import DescribeTrackerResponseTypeDef

def get_value() -> DescribeTrackerResponseTypeDef:
    return {
        "CreateTime": ...,
        "Description": ...,
        "KmsKeyId": ...,
        "PositionFiltering": ...,
        "PricingPlan": ...,
        "PricingPlanDataSource": ...,
        "Tags": ...,
        "TrackerArn": ...,
        "TrackerName": ...,
        "UpdateTime": ...,
        "ResponseMetadata": ...,
    }
# DescribeTrackerResponseTypeDef definition

class DescribeTrackerResponseTypeDef(TypedDict):
    CreateTime: datetime,
    Description: str,
    KmsKeyId: str,
    PositionFiltering: PositionFilteringType,  # (1)
    PricingPlan: PricingPlanType,  # (2)
    PricingPlanDataSource: str,
    Tags: Dict[str, str],
    TrackerArn: str,
    TrackerName: str,
    UpdateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See PositionFilteringType
  2. See PricingPlanType
  3. See ResponseMetadataTypeDef

PositionalAccuracyTypeDef#

# PositionalAccuracyTypeDef usage example

from mypy_boto3_location.type_defs import PositionalAccuracyTypeDef

def get_value() -> PositionalAccuracyTypeDef:
    return {
        "Horizontal": ...,
    }
# PositionalAccuracyTypeDef definition

class PositionalAccuracyTypeDef(TypedDict):
    Horizontal: float,

DisassociateTrackerConsumerRequestRequestTypeDef#

# DisassociateTrackerConsumerRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import DisassociateTrackerConsumerRequestRequestTypeDef

def get_value() -> DisassociateTrackerConsumerRequestRequestTypeDef:
    return {
        "ConsumerArn": ...,
        "TrackerName": ...,
    }
# DisassociateTrackerConsumerRequestRequestTypeDef definition

class DisassociateTrackerConsumerRequestRequestTypeDef(TypedDict):
    ConsumerArn: str,
    TrackerName: str,

GetDevicePositionHistoryRequestGetDevicePositionHistoryPaginateTypeDef#

# GetDevicePositionHistoryRequestGetDevicePositionHistoryPaginateTypeDef usage example

from mypy_boto3_location.type_defs import GetDevicePositionHistoryRequestGetDevicePositionHistoryPaginateTypeDef

def get_value() -> GetDevicePositionHistoryRequestGetDevicePositionHistoryPaginateTypeDef:
    return {
        "DeviceId": ...,
        "TrackerName": ...,
    }
# GetDevicePositionHistoryRequestGetDevicePositionHistoryPaginateTypeDef definition

class GetDevicePositionHistoryRequestGetDevicePositionHistoryPaginateTypeDef(TypedDict):
    DeviceId: str,
    TrackerName: str,
    EndTimeExclusive: NotRequired[Union[datetime, str]],
    StartTimeInclusive: NotRequired[Union[datetime, str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetDevicePositionHistoryRequestRequestTypeDef#

# GetDevicePositionHistoryRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import GetDevicePositionHistoryRequestRequestTypeDef

def get_value() -> GetDevicePositionHistoryRequestRequestTypeDef:
    return {
        "DeviceId": ...,
        "TrackerName": ...,
    }
# GetDevicePositionHistoryRequestRequestTypeDef definition

class GetDevicePositionHistoryRequestRequestTypeDef(TypedDict):
    DeviceId: str,
    TrackerName: str,
    EndTimeExclusive: NotRequired[Union[datetime, str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    StartTimeInclusive: NotRequired[Union[datetime, str]],

GetDevicePositionRequestRequestTypeDef#

# GetDevicePositionRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import GetDevicePositionRequestRequestTypeDef

def get_value() -> GetDevicePositionRequestRequestTypeDef:
    return {
        "DeviceId": ...,
        "TrackerName": ...,
    }
# GetDevicePositionRequestRequestTypeDef definition

class GetDevicePositionRequestRequestTypeDef(TypedDict):
    DeviceId: str,
    TrackerName: str,

GetGeofenceRequestRequestTypeDef#

# GetGeofenceRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import GetGeofenceRequestRequestTypeDef

def get_value() -> GetGeofenceRequestRequestTypeDef:
    return {
        "CollectionName": ...,
        "GeofenceId": ...,
    }
# GetGeofenceRequestRequestTypeDef definition

class GetGeofenceRequestRequestTypeDef(TypedDict):
    CollectionName: str,
    GeofenceId: str,

GetMapGlyphsRequestRequestTypeDef#

# GetMapGlyphsRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import GetMapGlyphsRequestRequestTypeDef

def get_value() -> GetMapGlyphsRequestRequestTypeDef:
    return {
        "FontStack": ...,
        "FontUnicodeRange": ...,
        "MapName": ...,
    }
# GetMapGlyphsRequestRequestTypeDef definition

class GetMapGlyphsRequestRequestTypeDef(TypedDict):
    FontStack: str,
    FontUnicodeRange: str,
    MapName: str,
    Key: NotRequired[str],

GetMapGlyphsResponseTypeDef#

# GetMapGlyphsResponseTypeDef usage example

from mypy_boto3_location.type_defs import GetMapGlyphsResponseTypeDef

def get_value() -> GetMapGlyphsResponseTypeDef:
    return {
        "Blob": ...,
        "CacheControl": ...,
        "ContentType": ...,
        "ResponseMetadata": ...,
    }
# GetMapGlyphsResponseTypeDef definition

class GetMapGlyphsResponseTypeDef(TypedDict):
    Blob: StreamingBody,
    CacheControl: str,
    ContentType: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetMapSpritesRequestRequestTypeDef#

# GetMapSpritesRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import GetMapSpritesRequestRequestTypeDef

def get_value() -> GetMapSpritesRequestRequestTypeDef:
    return {
        "FileName": ...,
        "MapName": ...,
    }
# GetMapSpritesRequestRequestTypeDef definition

class GetMapSpritesRequestRequestTypeDef(TypedDict):
    FileName: str,
    MapName: str,
    Key: NotRequired[str],

GetMapSpritesResponseTypeDef#

# GetMapSpritesResponseTypeDef usage example

from mypy_boto3_location.type_defs import GetMapSpritesResponseTypeDef

def get_value() -> GetMapSpritesResponseTypeDef:
    return {
        "Blob": ...,
        "CacheControl": ...,
        "ContentType": ...,
        "ResponseMetadata": ...,
    }
# GetMapSpritesResponseTypeDef definition

class GetMapSpritesResponseTypeDef(TypedDict):
    Blob: StreamingBody,
    CacheControl: str,
    ContentType: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetMapStyleDescriptorRequestRequestTypeDef#

# GetMapStyleDescriptorRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import GetMapStyleDescriptorRequestRequestTypeDef

def get_value() -> GetMapStyleDescriptorRequestRequestTypeDef:
    return {
        "MapName": ...,
    }
# GetMapStyleDescriptorRequestRequestTypeDef definition

class GetMapStyleDescriptorRequestRequestTypeDef(TypedDict):
    MapName: str,
    Key: NotRequired[str],

GetMapStyleDescriptorResponseTypeDef#

# GetMapStyleDescriptorResponseTypeDef usage example

from mypy_boto3_location.type_defs import GetMapStyleDescriptorResponseTypeDef

def get_value() -> GetMapStyleDescriptorResponseTypeDef:
    return {
        "Blob": ...,
        "CacheControl": ...,
        "ContentType": ...,
        "ResponseMetadata": ...,
    }
# GetMapStyleDescriptorResponseTypeDef definition

class GetMapStyleDescriptorResponseTypeDef(TypedDict):
    Blob: StreamingBody,
    CacheControl: str,
    ContentType: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetMapTileRequestRequestTypeDef#

# GetMapTileRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import GetMapTileRequestRequestTypeDef

def get_value() -> GetMapTileRequestRequestTypeDef:
    return {
        "MapName": ...,
        "X": ...,
        "Y": ...,
        "Z": ...,
    }
# GetMapTileRequestRequestTypeDef definition

class GetMapTileRequestRequestTypeDef(TypedDict):
    MapName: str,
    X: str,
    Y: str,
    Z: str,
    Key: NotRequired[str],

GetMapTileResponseTypeDef#

# GetMapTileResponseTypeDef usage example

from mypy_boto3_location.type_defs import GetMapTileResponseTypeDef

def get_value() -> GetMapTileResponseTypeDef:
    return {
        "Blob": ...,
        "CacheControl": ...,
        "ContentType": ...,
        "ResponseMetadata": ...,
    }
# GetMapTileResponseTypeDef definition

class GetMapTileResponseTypeDef(TypedDict):
    Blob: StreamingBody,
    CacheControl: str,
    ContentType: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetPlaceRequestRequestTypeDef#

# GetPlaceRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import GetPlaceRequestRequestTypeDef

def get_value() -> GetPlaceRequestRequestTypeDef:
    return {
        "IndexName": ...,
        "PlaceId": ...,
    }
# GetPlaceRequestRequestTypeDef definition

class GetPlaceRequestRequestTypeDef(TypedDict):
    IndexName: str,
    PlaceId: str,
    Language: NotRequired[str],

LegGeometryTypeDef#

# LegGeometryTypeDef usage example

from mypy_boto3_location.type_defs import LegGeometryTypeDef

def get_value() -> LegGeometryTypeDef:
    return {
        "LineString": ...,
    }
# LegGeometryTypeDef definition

class LegGeometryTypeDef(TypedDict):
    LineString: NotRequired[List[List[float]]],

StepTypeDef#

# StepTypeDef usage example

from mypy_boto3_location.type_defs import StepTypeDef

def get_value() -> StepTypeDef:
    return {
        "Distance": ...,
        "DurationSeconds": ...,
        "EndPosition": ...,
        "StartPosition": ...,
    }
# StepTypeDef definition

class StepTypeDef(TypedDict):
    Distance: float,
    DurationSeconds: float,
    EndPosition: List[float],
    StartPosition: List[float],
    GeometryOffset: NotRequired[int],

ListDevicePositionsRequestListDevicePositionsPaginateTypeDef#

# ListDevicePositionsRequestListDevicePositionsPaginateTypeDef usage example

from mypy_boto3_location.type_defs import ListDevicePositionsRequestListDevicePositionsPaginateTypeDef

def get_value() -> ListDevicePositionsRequestListDevicePositionsPaginateTypeDef:
    return {
        "TrackerName": ...,
    }
# ListDevicePositionsRequestListDevicePositionsPaginateTypeDef definition

class ListDevicePositionsRequestListDevicePositionsPaginateTypeDef(TypedDict):
    TrackerName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDevicePositionsRequestRequestTypeDef#

# ListDevicePositionsRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import ListDevicePositionsRequestRequestTypeDef

def get_value() -> ListDevicePositionsRequestRequestTypeDef:
    return {
        "TrackerName": ...,
    }
# ListDevicePositionsRequestRequestTypeDef definition

class ListDevicePositionsRequestRequestTypeDef(TypedDict):
    TrackerName: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListGeofenceCollectionsRequestListGeofenceCollectionsPaginateTypeDef#

# ListGeofenceCollectionsRequestListGeofenceCollectionsPaginateTypeDef usage example

from mypy_boto3_location.type_defs import ListGeofenceCollectionsRequestListGeofenceCollectionsPaginateTypeDef

def get_value() -> ListGeofenceCollectionsRequestListGeofenceCollectionsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListGeofenceCollectionsRequestListGeofenceCollectionsPaginateTypeDef definition

class ListGeofenceCollectionsRequestListGeofenceCollectionsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListGeofenceCollectionsRequestRequestTypeDef#

# ListGeofenceCollectionsRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import ListGeofenceCollectionsRequestRequestTypeDef

def get_value() -> ListGeofenceCollectionsRequestRequestTypeDef:
    return {
        "MaxResults": ...,
    }
# ListGeofenceCollectionsRequestRequestTypeDef definition

class ListGeofenceCollectionsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListGeofenceCollectionsResponseEntryTypeDef#

# ListGeofenceCollectionsResponseEntryTypeDef usage example

from mypy_boto3_location.type_defs import ListGeofenceCollectionsResponseEntryTypeDef

def get_value() -> ListGeofenceCollectionsResponseEntryTypeDef:
    return {
        "CollectionName": ...,
        "CreateTime": ...,
        "Description": ...,
        "UpdateTime": ...,
    }
# ListGeofenceCollectionsResponseEntryTypeDef definition

class ListGeofenceCollectionsResponseEntryTypeDef(TypedDict):
    CollectionName: str,
    CreateTime: datetime,
    Description: str,
    UpdateTime: datetime,
    PricingPlan: NotRequired[PricingPlanType],  # (1)
    PricingPlanDataSource: NotRequired[str],
  1. See PricingPlanType

ListGeofencesRequestListGeofencesPaginateTypeDef#

# ListGeofencesRequestListGeofencesPaginateTypeDef usage example

from mypy_boto3_location.type_defs import ListGeofencesRequestListGeofencesPaginateTypeDef

def get_value() -> ListGeofencesRequestListGeofencesPaginateTypeDef:
    return {
        "CollectionName": ...,
    }
# ListGeofencesRequestListGeofencesPaginateTypeDef definition

class ListGeofencesRequestListGeofencesPaginateTypeDef(TypedDict):
    CollectionName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListGeofencesRequestRequestTypeDef#

# ListGeofencesRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import ListGeofencesRequestRequestTypeDef

def get_value() -> ListGeofencesRequestRequestTypeDef:
    return {
        "CollectionName": ...,
    }
# ListGeofencesRequestRequestTypeDef definition

class ListGeofencesRequestRequestTypeDef(TypedDict):
    CollectionName: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListMapsRequestListMapsPaginateTypeDef#

# ListMapsRequestListMapsPaginateTypeDef usage example

from mypy_boto3_location.type_defs import ListMapsRequestListMapsPaginateTypeDef

def get_value() -> ListMapsRequestListMapsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListMapsRequestListMapsPaginateTypeDef definition

class ListMapsRequestListMapsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListMapsRequestRequestTypeDef#

# ListMapsRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import ListMapsRequestRequestTypeDef

def get_value() -> ListMapsRequestRequestTypeDef:
    return {
        "MaxResults": ...,
    }
# ListMapsRequestRequestTypeDef definition

class ListMapsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListMapsResponseEntryTypeDef#

# ListMapsResponseEntryTypeDef usage example

from mypy_boto3_location.type_defs import ListMapsResponseEntryTypeDef

def get_value() -> ListMapsResponseEntryTypeDef:
    return {
        "CreateTime": ...,
        "DataSource": ...,
        "Description": ...,
        "MapName": ...,
        "UpdateTime": ...,
    }
# ListMapsResponseEntryTypeDef definition

class ListMapsResponseEntryTypeDef(TypedDict):
    CreateTime: datetime,
    DataSource: str,
    Description: str,
    MapName: str,
    UpdateTime: datetime,
    PricingPlan: NotRequired[PricingPlanType],  # (1)
  1. See PricingPlanType

ListPlaceIndexesRequestListPlaceIndexesPaginateTypeDef#

# ListPlaceIndexesRequestListPlaceIndexesPaginateTypeDef usage example

from mypy_boto3_location.type_defs import ListPlaceIndexesRequestListPlaceIndexesPaginateTypeDef

def get_value() -> ListPlaceIndexesRequestListPlaceIndexesPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListPlaceIndexesRequestListPlaceIndexesPaginateTypeDef definition

class ListPlaceIndexesRequestListPlaceIndexesPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListPlaceIndexesRequestRequestTypeDef#

# ListPlaceIndexesRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import ListPlaceIndexesRequestRequestTypeDef

def get_value() -> ListPlaceIndexesRequestRequestTypeDef:
    return {
        "MaxResults": ...,
    }
# ListPlaceIndexesRequestRequestTypeDef definition

class ListPlaceIndexesRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListPlaceIndexesResponseEntryTypeDef#

# ListPlaceIndexesResponseEntryTypeDef usage example

from mypy_boto3_location.type_defs import ListPlaceIndexesResponseEntryTypeDef

def get_value() -> ListPlaceIndexesResponseEntryTypeDef:
    return {
        "CreateTime": ...,
        "DataSource": ...,
        "Description": ...,
        "IndexName": ...,
        "UpdateTime": ...,
    }
# ListPlaceIndexesResponseEntryTypeDef definition

class ListPlaceIndexesResponseEntryTypeDef(TypedDict):
    CreateTime: datetime,
    DataSource: str,
    Description: str,
    IndexName: str,
    UpdateTime: datetime,
    PricingPlan: NotRequired[PricingPlanType],  # (1)
  1. See PricingPlanType

ListRouteCalculatorsRequestListRouteCalculatorsPaginateTypeDef#

# ListRouteCalculatorsRequestListRouteCalculatorsPaginateTypeDef usage example

from mypy_boto3_location.type_defs import ListRouteCalculatorsRequestListRouteCalculatorsPaginateTypeDef

def get_value() -> ListRouteCalculatorsRequestListRouteCalculatorsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListRouteCalculatorsRequestListRouteCalculatorsPaginateTypeDef definition

class ListRouteCalculatorsRequestListRouteCalculatorsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListRouteCalculatorsRequestRequestTypeDef#

# ListRouteCalculatorsRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import ListRouteCalculatorsRequestRequestTypeDef

def get_value() -> ListRouteCalculatorsRequestRequestTypeDef:
    return {
        "MaxResults": ...,
    }
# ListRouteCalculatorsRequestRequestTypeDef definition

class ListRouteCalculatorsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListRouteCalculatorsResponseEntryTypeDef#

# ListRouteCalculatorsResponseEntryTypeDef usage example

from mypy_boto3_location.type_defs import ListRouteCalculatorsResponseEntryTypeDef

def get_value() -> ListRouteCalculatorsResponseEntryTypeDef:
    return {
        "CalculatorName": ...,
        "CreateTime": ...,
        "DataSource": ...,
        "Description": ...,
        "UpdateTime": ...,
    }
# ListRouteCalculatorsResponseEntryTypeDef definition

class ListRouteCalculatorsResponseEntryTypeDef(TypedDict):
    CalculatorName: str,
    CreateTime: datetime,
    DataSource: str,
    Description: str,
    UpdateTime: datetime,
    PricingPlan: NotRequired[PricingPlanType],  # (1)
  1. See PricingPlanType

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef usage example

from mypy_boto3_location.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "Tags": ...,
        "ResponseMetadata": ...,
    }
# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListTrackerConsumersRequestListTrackerConsumersPaginateTypeDef#

# ListTrackerConsumersRequestListTrackerConsumersPaginateTypeDef usage example

from mypy_boto3_location.type_defs import ListTrackerConsumersRequestListTrackerConsumersPaginateTypeDef

def get_value() -> ListTrackerConsumersRequestListTrackerConsumersPaginateTypeDef:
    return {
        "TrackerName": ...,
    }
# ListTrackerConsumersRequestListTrackerConsumersPaginateTypeDef definition

class ListTrackerConsumersRequestListTrackerConsumersPaginateTypeDef(TypedDict):
    TrackerName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListTrackerConsumersRequestRequestTypeDef#

# ListTrackerConsumersRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import ListTrackerConsumersRequestRequestTypeDef

def get_value() -> ListTrackerConsumersRequestRequestTypeDef:
    return {
        "TrackerName": ...,
    }
# ListTrackerConsumersRequestRequestTypeDef definition

class ListTrackerConsumersRequestRequestTypeDef(TypedDict):
    TrackerName: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListTrackerConsumersResponseTypeDef#

# ListTrackerConsumersResponseTypeDef usage example

from mypy_boto3_location.type_defs import ListTrackerConsumersResponseTypeDef

def get_value() -> ListTrackerConsumersResponseTypeDef:
    return {
        "ConsumerArns": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListTrackerConsumersResponseTypeDef definition

class ListTrackerConsumersResponseTypeDef(TypedDict):
    ConsumerArns: List[str],
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListTrackersRequestListTrackersPaginateTypeDef#

# ListTrackersRequestListTrackersPaginateTypeDef usage example

from mypy_boto3_location.type_defs import ListTrackersRequestListTrackersPaginateTypeDef

def get_value() -> ListTrackersRequestListTrackersPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListTrackersRequestListTrackersPaginateTypeDef definition

class ListTrackersRequestListTrackersPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListTrackersRequestRequestTypeDef#

# ListTrackersRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import ListTrackersRequestRequestTypeDef

def get_value() -> ListTrackersRequestRequestTypeDef:
    return {
        "MaxResults": ...,
    }
# ListTrackersRequestRequestTypeDef definition

class ListTrackersRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListTrackersResponseEntryTypeDef#

# ListTrackersResponseEntryTypeDef usage example

from mypy_boto3_location.type_defs import ListTrackersResponseEntryTypeDef

def get_value() -> ListTrackersResponseEntryTypeDef:
    return {
        "CreateTime": ...,
        "Description": ...,
        "TrackerName": ...,
        "UpdateTime": ...,
    }
# ListTrackersResponseEntryTypeDef definition

class ListTrackersResponseEntryTypeDef(TypedDict):
    CreateTime: datetime,
    Description: str,
    TrackerName: str,
    UpdateTime: datetime,
    PricingPlan: NotRequired[PricingPlanType],  # (1)
    PricingPlanDataSource: NotRequired[str],
  1. See PricingPlanType

MapConfigurationUpdateTypeDef#

# MapConfigurationUpdateTypeDef usage example

from mypy_boto3_location.type_defs import MapConfigurationUpdateTypeDef

def get_value() -> MapConfigurationUpdateTypeDef:
    return {
        "PoliticalView": ...,
    }
# MapConfigurationUpdateTypeDef definition

class MapConfigurationUpdateTypeDef(TypedDict):
    PoliticalView: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef usage example

from mypy_boto3_location.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

PlaceGeometryTypeDef#

# PlaceGeometryTypeDef usage example

from mypy_boto3_location.type_defs import PlaceGeometryTypeDef

def get_value() -> PlaceGeometryTypeDef:
    return {
        "Point": ...,
    }
# PlaceGeometryTypeDef definition

class PlaceGeometryTypeDef(TypedDict):
    Point: NotRequired[List[float]],

TimeZoneTypeDef#

# TimeZoneTypeDef usage example

from mypy_boto3_location.type_defs import TimeZoneTypeDef

def get_value() -> TimeZoneTypeDef:
    return {
        "Name": ...,
    }
# TimeZoneTypeDef definition

class TimeZoneTypeDef(TypedDict):
    Name: str,
    Offset: NotRequired[int],

PutGeofenceResponseTypeDef#

# PutGeofenceResponseTypeDef usage example

from mypy_boto3_location.type_defs import PutGeofenceResponseTypeDef

def get_value() -> PutGeofenceResponseTypeDef:
    return {
        "CreateTime": ...,
        "GeofenceId": ...,
        "UpdateTime": ...,
        "ResponseMetadata": ...,
    }
# PutGeofenceResponseTypeDef definition

class PutGeofenceResponseTypeDef(TypedDict):
    CreateTime: datetime,
    GeofenceId: str,
    UpdateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef usage example

from mypy_boto3_location.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

RouteMatrixEntryErrorTypeDef#

# RouteMatrixEntryErrorTypeDef usage example

from mypy_boto3_location.type_defs import RouteMatrixEntryErrorTypeDef

def get_value() -> RouteMatrixEntryErrorTypeDef:
    return {
        "Code": ...,
    }
# RouteMatrixEntryErrorTypeDef definition

class RouteMatrixEntryErrorTypeDef(TypedDict):
    Code: RouteMatrixErrorCodeType,  # (1)
    Message: NotRequired[str],
  1. See RouteMatrixErrorCodeType

SearchForSuggestionsResultTypeDef#

# SearchForSuggestionsResultTypeDef usage example

from mypy_boto3_location.type_defs import SearchForSuggestionsResultTypeDef

def get_value() -> SearchForSuggestionsResultTypeDef:
    return {
        "Text": ...,
    }
# SearchForSuggestionsResultTypeDef definition

class SearchForSuggestionsResultTypeDef(TypedDict):
    Text: str,
    PlaceId: NotRequired[str],

SearchPlaceIndexForPositionRequestRequestTypeDef#

# SearchPlaceIndexForPositionRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import SearchPlaceIndexForPositionRequestRequestTypeDef

def get_value() -> SearchPlaceIndexForPositionRequestRequestTypeDef:
    return {
        "IndexName": ...,
        "Position": ...,
    }
# SearchPlaceIndexForPositionRequestRequestTypeDef definition

class SearchPlaceIndexForPositionRequestRequestTypeDef(TypedDict):
    IndexName: str,
    Position: Sequence[float],
    Language: NotRequired[str],
    MaxResults: NotRequired[int],

SearchPlaceIndexForPositionSummaryTypeDef#

# SearchPlaceIndexForPositionSummaryTypeDef usage example

from mypy_boto3_location.type_defs import SearchPlaceIndexForPositionSummaryTypeDef

def get_value() -> SearchPlaceIndexForPositionSummaryTypeDef:
    return {
        "DataSource": ...,
        "Position": ...,
    }
# SearchPlaceIndexForPositionSummaryTypeDef definition

class SearchPlaceIndexForPositionSummaryTypeDef(TypedDict):
    DataSource: str,
    Position: List[float],
    Language: NotRequired[str],
    MaxResults: NotRequired[int],

SearchPlaceIndexForSuggestionsRequestRequestTypeDef#

# SearchPlaceIndexForSuggestionsRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import SearchPlaceIndexForSuggestionsRequestRequestTypeDef

def get_value() -> SearchPlaceIndexForSuggestionsRequestRequestTypeDef:
    return {
        "IndexName": ...,
        "Text": ...,
    }
# SearchPlaceIndexForSuggestionsRequestRequestTypeDef definition

class SearchPlaceIndexForSuggestionsRequestRequestTypeDef(TypedDict):
    IndexName: str,
    Text: str,
    BiasPosition: NotRequired[Sequence[float]],
    FilterBBox: NotRequired[Sequence[float]],
    FilterCountries: NotRequired[Sequence[str]],
    Language: NotRequired[str],
    MaxResults: NotRequired[int],

SearchPlaceIndexForSuggestionsSummaryTypeDef#

# SearchPlaceIndexForSuggestionsSummaryTypeDef usage example

from mypy_boto3_location.type_defs import SearchPlaceIndexForSuggestionsSummaryTypeDef

def get_value() -> SearchPlaceIndexForSuggestionsSummaryTypeDef:
    return {
        "DataSource": ...,
        "Text": ...,
    }
# SearchPlaceIndexForSuggestionsSummaryTypeDef definition

class SearchPlaceIndexForSuggestionsSummaryTypeDef(TypedDict):
    DataSource: str,
    Text: str,
    BiasPosition: NotRequired[List[float]],
    FilterBBox: NotRequired[List[float]],
    FilterCountries: NotRequired[List[str]],
    Language: NotRequired[str],
    MaxResults: NotRequired[int],

SearchPlaceIndexForTextRequestRequestTypeDef#

# SearchPlaceIndexForTextRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import SearchPlaceIndexForTextRequestRequestTypeDef

def get_value() -> SearchPlaceIndexForTextRequestRequestTypeDef:
    return {
        "IndexName": ...,
        "Text": ...,
    }
# SearchPlaceIndexForTextRequestRequestTypeDef definition

class SearchPlaceIndexForTextRequestRequestTypeDef(TypedDict):
    IndexName: str,
    Text: str,
    BiasPosition: NotRequired[Sequence[float]],
    FilterBBox: NotRequired[Sequence[float]],
    FilterCountries: NotRequired[Sequence[str]],
    Language: NotRequired[str],
    MaxResults: NotRequired[int],

SearchPlaceIndexForTextSummaryTypeDef#

# SearchPlaceIndexForTextSummaryTypeDef usage example

from mypy_boto3_location.type_defs import SearchPlaceIndexForTextSummaryTypeDef

def get_value() -> SearchPlaceIndexForTextSummaryTypeDef:
    return {
        "DataSource": ...,
        "Text": ...,
    }
# SearchPlaceIndexForTextSummaryTypeDef definition

class SearchPlaceIndexForTextSummaryTypeDef(TypedDict):
    DataSource: str,
    Text: str,
    BiasPosition: NotRequired[List[float]],
    FilterBBox: NotRequired[List[float]],
    FilterCountries: NotRequired[List[str]],
    Language: NotRequired[str],
    MaxResults: NotRequired[int],
    ResultBBox: NotRequired[List[float]],

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "Tags": ...,
    }
# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "TagKeys": ...,
    }
# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

UpdateGeofenceCollectionRequestRequestTypeDef#

# UpdateGeofenceCollectionRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import UpdateGeofenceCollectionRequestRequestTypeDef

def get_value() -> UpdateGeofenceCollectionRequestRequestTypeDef:
    return {
        "CollectionName": ...,
    }
# UpdateGeofenceCollectionRequestRequestTypeDef definition

class UpdateGeofenceCollectionRequestRequestTypeDef(TypedDict):
    CollectionName: str,
    Description: NotRequired[str],
    PricingPlan: NotRequired[PricingPlanType],  # (1)
    PricingPlanDataSource: NotRequired[str],
  1. See PricingPlanType

UpdateGeofenceCollectionResponseTypeDef#

# UpdateGeofenceCollectionResponseTypeDef usage example

from mypy_boto3_location.type_defs import UpdateGeofenceCollectionResponseTypeDef

def get_value() -> UpdateGeofenceCollectionResponseTypeDef:
    return {
        "CollectionArn": ...,
        "CollectionName": ...,
        "UpdateTime": ...,
        "ResponseMetadata": ...,
    }
# UpdateGeofenceCollectionResponseTypeDef definition

class UpdateGeofenceCollectionResponseTypeDef(TypedDict):
    CollectionArn: str,
    CollectionName: str,
    UpdateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateKeyResponseTypeDef#

# UpdateKeyResponseTypeDef usage example

from mypy_boto3_location.type_defs import UpdateKeyResponseTypeDef

def get_value() -> UpdateKeyResponseTypeDef:
    return {
        "KeyArn": ...,
        "KeyName": ...,
        "UpdateTime": ...,
        "ResponseMetadata": ...,
    }
# UpdateKeyResponseTypeDef definition

class UpdateKeyResponseTypeDef(TypedDict):
    KeyArn: str,
    KeyName: str,
    UpdateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateMapResponseTypeDef#

# UpdateMapResponseTypeDef usage example

from mypy_boto3_location.type_defs import UpdateMapResponseTypeDef

def get_value() -> UpdateMapResponseTypeDef:
    return {
        "MapArn": ...,
        "MapName": ...,
        "UpdateTime": ...,
        "ResponseMetadata": ...,
    }
# UpdateMapResponseTypeDef definition

class UpdateMapResponseTypeDef(TypedDict):
    MapArn: str,
    MapName: str,
    UpdateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdatePlaceIndexResponseTypeDef#

# UpdatePlaceIndexResponseTypeDef usage example

from mypy_boto3_location.type_defs import UpdatePlaceIndexResponseTypeDef

def get_value() -> UpdatePlaceIndexResponseTypeDef:
    return {
        "IndexArn": ...,
        "IndexName": ...,
        "UpdateTime": ...,
        "ResponseMetadata": ...,
    }
# UpdatePlaceIndexResponseTypeDef definition

class UpdatePlaceIndexResponseTypeDef(TypedDict):
    IndexArn: str,
    IndexName: str,
    UpdateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateRouteCalculatorRequestRequestTypeDef#

# UpdateRouteCalculatorRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import UpdateRouteCalculatorRequestRequestTypeDef

def get_value() -> UpdateRouteCalculatorRequestRequestTypeDef:
    return {
        "CalculatorName": ...,
    }
# UpdateRouteCalculatorRequestRequestTypeDef definition

class UpdateRouteCalculatorRequestRequestTypeDef(TypedDict):
    CalculatorName: str,
    Description: NotRequired[str],
    PricingPlan: NotRequired[PricingPlanType],  # (1)
  1. See PricingPlanType

UpdateRouteCalculatorResponseTypeDef#

# UpdateRouteCalculatorResponseTypeDef usage example

from mypy_boto3_location.type_defs import UpdateRouteCalculatorResponseTypeDef

def get_value() -> UpdateRouteCalculatorResponseTypeDef:
    return {
        "CalculatorArn": ...,
        "CalculatorName": ...,
        "UpdateTime": ...,
        "ResponseMetadata": ...,
    }
# UpdateRouteCalculatorResponseTypeDef definition

class UpdateRouteCalculatorResponseTypeDef(TypedDict):
    CalculatorArn: str,
    CalculatorName: str,
    UpdateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateTrackerRequestRequestTypeDef#

# UpdateTrackerRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import UpdateTrackerRequestRequestTypeDef

def get_value() -> UpdateTrackerRequestRequestTypeDef:
    return {
        "TrackerName": ...,
    }
# UpdateTrackerRequestRequestTypeDef definition

class UpdateTrackerRequestRequestTypeDef(TypedDict):
    TrackerName: str,
    Description: NotRequired[str],
    PositionFiltering: NotRequired[PositionFilteringType],  # (1)
    PricingPlan: NotRequired[PricingPlanType],  # (2)
    PricingPlanDataSource: NotRequired[str],
  1. See PositionFilteringType
  2. See PricingPlanType

UpdateTrackerResponseTypeDef#

# UpdateTrackerResponseTypeDef usage example

from mypy_boto3_location.type_defs import UpdateTrackerResponseTypeDef

def get_value() -> UpdateTrackerResponseTypeDef:
    return {
        "TrackerArn": ...,
        "TrackerName": ...,
        "UpdateTime": ...,
        "ResponseMetadata": ...,
    }
# UpdateTrackerResponseTypeDef definition

class UpdateTrackerResponseTypeDef(TypedDict):
    TrackerArn: str,
    TrackerName: str,
    UpdateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListKeysRequestListKeysPaginateTypeDef#

# ListKeysRequestListKeysPaginateTypeDef usage example

from mypy_boto3_location.type_defs import ListKeysRequestListKeysPaginateTypeDef

def get_value() -> ListKeysRequestListKeysPaginateTypeDef:
    return {
        "Filter": ...,
    }
# ListKeysRequestListKeysPaginateTypeDef definition

class ListKeysRequestListKeysPaginateTypeDef(TypedDict):
    Filter: NotRequired[ApiKeyFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ApiKeyFilterTypeDef
  2. See PaginatorConfigTypeDef

ListKeysRequestRequestTypeDef#

# ListKeysRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import ListKeysRequestRequestTypeDef

def get_value() -> ListKeysRequestRequestTypeDef:
    return {
        "Filter": ...,
    }
# ListKeysRequestRequestTypeDef definition

class ListKeysRequestRequestTypeDef(TypedDict):
    Filter: NotRequired[ApiKeyFilterTypeDef],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See ApiKeyFilterTypeDef

CreateKeyRequestRequestTypeDef#

# CreateKeyRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import CreateKeyRequestRequestTypeDef

def get_value() -> CreateKeyRequestRequestTypeDef:
    return {
        "KeyName": ...,
        "Restrictions": ...,
    }
# CreateKeyRequestRequestTypeDef definition

class CreateKeyRequestRequestTypeDef(TypedDict):
    KeyName: str,
    Restrictions: ApiKeyRestrictionsTypeDef,  # (1)
    Description: NotRequired[str],
    ExpireTime: NotRequired[Union[datetime, str]],
    NoExpiry: NotRequired[bool],
    Tags: NotRequired[Mapping[str, str]],
  1. See ApiKeyRestrictionsTypeDef

DescribeKeyResponseTypeDef#

# DescribeKeyResponseTypeDef usage example

from mypy_boto3_location.type_defs import DescribeKeyResponseTypeDef

def get_value() -> DescribeKeyResponseTypeDef:
    return {
        "CreateTime": ...,
        "Description": ...,
        "ExpireTime": ...,
        "Key": ...,
        "KeyArn": ...,
        "KeyName": ...,
        "Restrictions": ...,
        "Tags": ...,
        "UpdateTime": ...,
        "ResponseMetadata": ...,
    }
# DescribeKeyResponseTypeDef definition

class DescribeKeyResponseTypeDef(TypedDict):
    CreateTime: datetime,
    Description: str,
    ExpireTime: datetime,
    Key: str,
    KeyArn: str,
    KeyName: str,
    Restrictions: ApiKeyRestrictionsTypeDef,  # (1)
    Tags: Dict[str, str],
    UpdateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApiKeyRestrictionsTypeDef
  2. See ResponseMetadataTypeDef

ListKeysResponseEntryTypeDef#

# ListKeysResponseEntryTypeDef usage example

from mypy_boto3_location.type_defs import ListKeysResponseEntryTypeDef

def get_value() -> ListKeysResponseEntryTypeDef:
    return {
        "CreateTime": ...,
        "ExpireTime": ...,
        "KeyName": ...,
        "Restrictions": ...,
        "UpdateTime": ...,
    }
# ListKeysResponseEntryTypeDef definition

class ListKeysResponseEntryTypeDef(TypedDict):
    CreateTime: datetime,
    ExpireTime: datetime,
    KeyName: str,
    Restrictions: ApiKeyRestrictionsTypeDef,  # (1)
    UpdateTime: datetime,
    Description: NotRequired[str],
  1. See ApiKeyRestrictionsTypeDef

UpdateKeyRequestRequestTypeDef#

# UpdateKeyRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import UpdateKeyRequestRequestTypeDef

def get_value() -> UpdateKeyRequestRequestTypeDef:
    return {
        "KeyName": ...,
    }
# UpdateKeyRequestRequestTypeDef definition

class UpdateKeyRequestRequestTypeDef(TypedDict):
    KeyName: str,
    Description: NotRequired[str],
    ExpireTime: NotRequired[Union[datetime, str]],
    ForceUpdate: NotRequired[bool],
    NoExpiry: NotRequired[bool],
    Restrictions: NotRequired[ApiKeyRestrictionsTypeDef],  # (1)
  1. See ApiKeyRestrictionsTypeDef

BatchDeleteDevicePositionHistoryErrorTypeDef#

# BatchDeleteDevicePositionHistoryErrorTypeDef usage example

from mypy_boto3_location.type_defs import BatchDeleteDevicePositionHistoryErrorTypeDef

def get_value() -> BatchDeleteDevicePositionHistoryErrorTypeDef:
    return {
        "DeviceId": ...,
        "Error": ...,
    }
# BatchDeleteDevicePositionHistoryErrorTypeDef definition

class BatchDeleteDevicePositionHistoryErrorTypeDef(TypedDict):
    DeviceId: str,
    Error: BatchItemErrorTypeDef,  # (1)
  1. See BatchItemErrorTypeDef

BatchDeleteGeofenceErrorTypeDef#

# BatchDeleteGeofenceErrorTypeDef usage example

from mypy_boto3_location.type_defs import BatchDeleteGeofenceErrorTypeDef

def get_value() -> BatchDeleteGeofenceErrorTypeDef:
    return {
        "Error": ...,
        "GeofenceId": ...,
    }
# BatchDeleteGeofenceErrorTypeDef definition

class BatchDeleteGeofenceErrorTypeDef(TypedDict):
    Error: BatchItemErrorTypeDef,  # (1)
    GeofenceId: str,
  1. See BatchItemErrorTypeDef

BatchEvaluateGeofencesErrorTypeDef#

# BatchEvaluateGeofencesErrorTypeDef usage example

from mypy_boto3_location.type_defs import BatchEvaluateGeofencesErrorTypeDef

def get_value() -> BatchEvaluateGeofencesErrorTypeDef:
    return {
        "DeviceId": ...,
        "Error": ...,
        "SampleTime": ...,
    }
# BatchEvaluateGeofencesErrorTypeDef definition

class BatchEvaluateGeofencesErrorTypeDef(TypedDict):
    DeviceId: str,
    Error: BatchItemErrorTypeDef,  # (1)
    SampleTime: datetime,
  1. See BatchItemErrorTypeDef

BatchGetDevicePositionErrorTypeDef#

# BatchGetDevicePositionErrorTypeDef usage example

from mypy_boto3_location.type_defs import BatchGetDevicePositionErrorTypeDef

def get_value() -> BatchGetDevicePositionErrorTypeDef:
    return {
        "DeviceId": ...,
        "Error": ...,
    }
# BatchGetDevicePositionErrorTypeDef definition

class BatchGetDevicePositionErrorTypeDef(TypedDict):
    DeviceId: str,
    Error: BatchItemErrorTypeDef,  # (1)
  1. See BatchItemErrorTypeDef

BatchPutGeofenceErrorTypeDef#

# BatchPutGeofenceErrorTypeDef usage example

from mypy_boto3_location.type_defs import BatchPutGeofenceErrorTypeDef

def get_value() -> BatchPutGeofenceErrorTypeDef:
    return {
        "Error": ...,
        "GeofenceId": ...,
    }
# BatchPutGeofenceErrorTypeDef definition

class BatchPutGeofenceErrorTypeDef(TypedDict):
    Error: BatchItemErrorTypeDef,  # (1)
    GeofenceId: str,
  1. See BatchItemErrorTypeDef

BatchUpdateDevicePositionErrorTypeDef#

# BatchUpdateDevicePositionErrorTypeDef usage example

from mypy_boto3_location.type_defs import BatchUpdateDevicePositionErrorTypeDef

def get_value() -> BatchUpdateDevicePositionErrorTypeDef:
    return {
        "DeviceId": ...,
        "Error": ...,
        "SampleTime": ...,
    }
# BatchUpdateDevicePositionErrorTypeDef definition

class BatchUpdateDevicePositionErrorTypeDef(TypedDict):
    DeviceId: str,
    Error: BatchItemErrorTypeDef,  # (1)
    SampleTime: datetime,
  1. See BatchItemErrorTypeDef

CalculateRouteTruckModeOptionsTypeDef#

# CalculateRouteTruckModeOptionsTypeDef usage example

from mypy_boto3_location.type_defs import CalculateRouteTruckModeOptionsTypeDef

def get_value() -> CalculateRouteTruckModeOptionsTypeDef:
    return {
        "AvoidFerries": ...,
    }
# CalculateRouteTruckModeOptionsTypeDef definition

class CalculateRouteTruckModeOptionsTypeDef(TypedDict):
    AvoidFerries: NotRequired[bool],
    AvoidTolls: NotRequired[bool],
    Dimensions: NotRequired[TruckDimensionsTypeDef],  # (1)
    Weight: NotRequired[TruckWeightTypeDef],  # (2)
  1. See TruckDimensionsTypeDef
  2. See TruckWeightTypeDef

GeofenceGeometryTypeDef#

# GeofenceGeometryTypeDef usage example

from mypy_boto3_location.type_defs import GeofenceGeometryTypeDef

def get_value() -> GeofenceGeometryTypeDef:
    return {
        "Circle": ...,
    }
# GeofenceGeometryTypeDef definition

class GeofenceGeometryTypeDef(TypedDict):
    Circle: NotRequired[CircleTypeDef],  # (1)
    Polygon: NotRequired[Sequence[Sequence[Sequence[float]]]],
  1. See CircleTypeDef

CreateMapRequestRequestTypeDef#

# CreateMapRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import CreateMapRequestRequestTypeDef

def get_value() -> CreateMapRequestRequestTypeDef:
    return {
        "Configuration": ...,
        "MapName": ...,
    }
# CreateMapRequestRequestTypeDef definition

class CreateMapRequestRequestTypeDef(TypedDict):
    Configuration: MapConfigurationTypeDef,  # (1)
    MapName: str,
    Description: NotRequired[str],
    PricingPlan: NotRequired[PricingPlanType],  # (2)
    Tags: NotRequired[Mapping[str, str]],
  1. See MapConfigurationTypeDef
  2. See PricingPlanType

DescribeMapResponseTypeDef#

# DescribeMapResponseTypeDef usage example

from mypy_boto3_location.type_defs import DescribeMapResponseTypeDef

def get_value() -> DescribeMapResponseTypeDef:
    return {
        "Configuration": ...,
        "CreateTime": ...,
        "DataSource": ...,
        "Description": ...,
        "MapArn": ...,
        "MapName": ...,
        "PricingPlan": ...,
        "Tags": ...,
        "UpdateTime": ...,
        "ResponseMetadata": ...,
    }
# DescribeMapResponseTypeDef definition

class DescribeMapResponseTypeDef(TypedDict):
    Configuration: MapConfigurationTypeDef,  # (1)
    CreateTime: datetime,
    DataSource: str,
    Description: str,
    MapArn: str,
    MapName: str,
    PricingPlan: PricingPlanType,  # (2)
    Tags: Dict[str, str],
    UpdateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See MapConfigurationTypeDef
  2. See PricingPlanType
  3. See ResponseMetadataTypeDef

CreatePlaceIndexRequestRequestTypeDef#

# CreatePlaceIndexRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import CreatePlaceIndexRequestRequestTypeDef

def get_value() -> CreatePlaceIndexRequestRequestTypeDef:
    return {
        "DataSource": ...,
        "IndexName": ...,
    }
# CreatePlaceIndexRequestRequestTypeDef definition

class CreatePlaceIndexRequestRequestTypeDef(TypedDict):
    DataSource: str,
    IndexName: str,
    DataSourceConfiguration: NotRequired[DataSourceConfigurationTypeDef],  # (1)
    Description: NotRequired[str],
    PricingPlan: NotRequired[PricingPlanType],  # (2)
    Tags: NotRequired[Mapping[str, str]],
  1. See DataSourceConfigurationTypeDef
  2. See PricingPlanType

DescribePlaceIndexResponseTypeDef#

# DescribePlaceIndexResponseTypeDef usage example

from mypy_boto3_location.type_defs import DescribePlaceIndexResponseTypeDef

def get_value() -> DescribePlaceIndexResponseTypeDef:
    return {
        "CreateTime": ...,
        "DataSource": ...,
        "DataSourceConfiguration": ...,
        "Description": ...,
        "IndexArn": ...,
        "IndexName": ...,
        "PricingPlan": ...,
        "Tags": ...,
        "UpdateTime": ...,
        "ResponseMetadata": ...,
    }
# DescribePlaceIndexResponseTypeDef definition

class DescribePlaceIndexResponseTypeDef(TypedDict):
    CreateTime: datetime,
    DataSource: str,
    DataSourceConfiguration: DataSourceConfigurationTypeDef,  # (1)
    Description: str,
    IndexArn: str,
    IndexName: str,
    PricingPlan: PricingPlanType,  # (2)
    Tags: Dict[str, str],
    UpdateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See DataSourceConfigurationTypeDef
  2. See PricingPlanType
  3. See ResponseMetadataTypeDef

UpdatePlaceIndexRequestRequestTypeDef#

# UpdatePlaceIndexRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import UpdatePlaceIndexRequestRequestTypeDef

def get_value() -> UpdatePlaceIndexRequestRequestTypeDef:
    return {
        "IndexName": ...,
    }
# UpdatePlaceIndexRequestRequestTypeDef definition

class UpdatePlaceIndexRequestRequestTypeDef(TypedDict):
    IndexName: str,
    DataSourceConfiguration: NotRequired[DataSourceConfigurationTypeDef],  # (1)
    Description: NotRequired[str],
    PricingPlan: NotRequired[PricingPlanType],  # (2)
  1. See DataSourceConfigurationTypeDef
  2. See PricingPlanType

DevicePositionTypeDef#

# DevicePositionTypeDef usage example

from mypy_boto3_location.type_defs import DevicePositionTypeDef

def get_value() -> DevicePositionTypeDef:
    return {
        "Position": ...,
        "ReceivedTime": ...,
        "SampleTime": ...,
    }
# DevicePositionTypeDef definition

class DevicePositionTypeDef(TypedDict):
    Position: List[float],
    ReceivedTime: datetime,
    SampleTime: datetime,
    Accuracy: NotRequired[PositionalAccuracyTypeDef],  # (1)
    DeviceId: NotRequired[str],
    PositionProperties: NotRequired[Dict[str, str]],
  1. See PositionalAccuracyTypeDef

DevicePositionUpdateTypeDef#

# DevicePositionUpdateTypeDef usage example

from mypy_boto3_location.type_defs import DevicePositionUpdateTypeDef

def get_value() -> DevicePositionUpdateTypeDef:
    return {
        "DeviceId": ...,
        "Position": ...,
        "SampleTime": ...,
    }
# DevicePositionUpdateTypeDef definition

class DevicePositionUpdateTypeDef(TypedDict):
    DeviceId: str,
    Position: Sequence[float],
    SampleTime: Union[datetime, str],
    Accuracy: NotRequired[PositionalAccuracyTypeDef],  # (1)
    PositionProperties: NotRequired[Mapping[str, str]],
  1. See PositionalAccuracyTypeDef

GetDevicePositionResponseTypeDef#

# GetDevicePositionResponseTypeDef usage example

from mypy_boto3_location.type_defs import GetDevicePositionResponseTypeDef

def get_value() -> GetDevicePositionResponseTypeDef:
    return {
        "Accuracy": ...,
        "DeviceId": ...,
        "Position": ...,
        "PositionProperties": ...,
        "ReceivedTime": ...,
        "SampleTime": ...,
        "ResponseMetadata": ...,
    }
# GetDevicePositionResponseTypeDef definition

class GetDevicePositionResponseTypeDef(TypedDict):
    Accuracy: PositionalAccuracyTypeDef,  # (1)
    DeviceId: str,
    Position: List[float],
    PositionProperties: Dict[str, str],
    ReceivedTime: datetime,
    SampleTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PositionalAccuracyTypeDef
  2. See ResponseMetadataTypeDef

ListDevicePositionsResponseEntryTypeDef#

# ListDevicePositionsResponseEntryTypeDef usage example

from mypy_boto3_location.type_defs import ListDevicePositionsResponseEntryTypeDef

def get_value() -> ListDevicePositionsResponseEntryTypeDef:
    return {
        "DeviceId": ...,
        "Position": ...,
        "SampleTime": ...,
    }
# ListDevicePositionsResponseEntryTypeDef definition

class ListDevicePositionsResponseEntryTypeDef(TypedDict):
    DeviceId: str,
    Position: List[float],
    SampleTime: datetime,
    Accuracy: NotRequired[PositionalAccuracyTypeDef],  # (1)
    PositionProperties: NotRequired[Dict[str, str]],
  1. See PositionalAccuracyTypeDef

LegTypeDef#

# LegTypeDef usage example

from mypy_boto3_location.type_defs import LegTypeDef

def get_value() -> LegTypeDef:
    return {
        "Distance": ...,
        "DurationSeconds": ...,
        "EndPosition": ...,
        "StartPosition": ...,
        "Steps": ...,
    }
# LegTypeDef definition

class LegTypeDef(TypedDict):
    Distance: float,
    DurationSeconds: float,
    EndPosition: List[float],
    StartPosition: List[float],
    Steps: List[StepTypeDef],  # (2)
    Geometry: NotRequired[LegGeometryTypeDef],  # (1)
  1. See LegGeometryTypeDef
  2. See StepTypeDef

ListGeofenceCollectionsResponseTypeDef#

# ListGeofenceCollectionsResponseTypeDef usage example

from mypy_boto3_location.type_defs import ListGeofenceCollectionsResponseTypeDef

def get_value() -> ListGeofenceCollectionsResponseTypeDef:
    return {
        "Entries": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListGeofenceCollectionsResponseTypeDef definition

class ListGeofenceCollectionsResponseTypeDef(TypedDict):
    Entries: List[ListGeofenceCollectionsResponseEntryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ListGeofenceCollectionsResponseEntryTypeDef
  2. See ResponseMetadataTypeDef

ListMapsResponseTypeDef#

# ListMapsResponseTypeDef usage example

from mypy_boto3_location.type_defs import ListMapsResponseTypeDef

def get_value() -> ListMapsResponseTypeDef:
    return {
        "Entries": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListMapsResponseTypeDef definition

class ListMapsResponseTypeDef(TypedDict):
    Entries: List[ListMapsResponseEntryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ListMapsResponseEntryTypeDef
  2. See ResponseMetadataTypeDef

ListPlaceIndexesResponseTypeDef#

# ListPlaceIndexesResponseTypeDef usage example

from mypy_boto3_location.type_defs import ListPlaceIndexesResponseTypeDef

def get_value() -> ListPlaceIndexesResponseTypeDef:
    return {
        "Entries": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListPlaceIndexesResponseTypeDef definition

class ListPlaceIndexesResponseTypeDef(TypedDict):
    Entries: List[ListPlaceIndexesResponseEntryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ListPlaceIndexesResponseEntryTypeDef
  2. See ResponseMetadataTypeDef

ListRouteCalculatorsResponseTypeDef#

# ListRouteCalculatorsResponseTypeDef usage example

from mypy_boto3_location.type_defs import ListRouteCalculatorsResponseTypeDef

def get_value() -> ListRouteCalculatorsResponseTypeDef:
    return {
        "Entries": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListRouteCalculatorsResponseTypeDef definition

class ListRouteCalculatorsResponseTypeDef(TypedDict):
    Entries: List[ListRouteCalculatorsResponseEntryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ListRouteCalculatorsResponseEntryTypeDef
  2. See ResponseMetadataTypeDef

ListTrackersResponseTypeDef#

# ListTrackersResponseTypeDef usage example

from mypy_boto3_location.type_defs import ListTrackersResponseTypeDef

def get_value() -> ListTrackersResponseTypeDef:
    return {
        "Entries": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListTrackersResponseTypeDef definition

class ListTrackersResponseTypeDef(TypedDict):
    Entries: List[ListTrackersResponseEntryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ListTrackersResponseEntryTypeDef
  2. See ResponseMetadataTypeDef

UpdateMapRequestRequestTypeDef#

# UpdateMapRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import UpdateMapRequestRequestTypeDef

def get_value() -> UpdateMapRequestRequestTypeDef:
    return {
        "MapName": ...,
    }
# UpdateMapRequestRequestTypeDef definition

class UpdateMapRequestRequestTypeDef(TypedDict):
    MapName: str,
    ConfigurationUpdate: NotRequired[MapConfigurationUpdateTypeDef],  # (1)
    Description: NotRequired[str],
    PricingPlan: NotRequired[PricingPlanType],  # (2)
  1. See MapConfigurationUpdateTypeDef
  2. See PricingPlanType

PlaceTypeDef#

# PlaceTypeDef usage example

from mypy_boto3_location.type_defs import PlaceTypeDef

def get_value() -> PlaceTypeDef:
    return {
        "Geometry": ...,
    }
# PlaceTypeDef definition

class PlaceTypeDef(TypedDict):
    Geometry: PlaceGeometryTypeDef,  # (1)
    AddressNumber: NotRequired[str],
    Country: NotRequired[str],
    Interpolated: NotRequired[bool],
    Label: NotRequired[str],
    Municipality: NotRequired[str],
    Neighborhood: NotRequired[str],
    PostalCode: NotRequired[str],
    Region: NotRequired[str],
    Street: NotRequired[str],
    SubRegion: NotRequired[str],
    TimeZone: NotRequired[TimeZoneTypeDef],  # (2)
    UnitNumber: NotRequired[str],
    UnitType: NotRequired[str],
  1. See PlaceGeometryTypeDef
  2. See TimeZoneTypeDef

RouteMatrixEntryTypeDef#

# RouteMatrixEntryTypeDef usage example

from mypy_boto3_location.type_defs import RouteMatrixEntryTypeDef

def get_value() -> RouteMatrixEntryTypeDef:
    return {
        "Distance": ...,
    }
# RouteMatrixEntryTypeDef definition

class RouteMatrixEntryTypeDef(TypedDict):
    Distance: NotRequired[float],
    DurationSeconds: NotRequired[float],
    Error: NotRequired[RouteMatrixEntryErrorTypeDef],  # (1)
  1. See RouteMatrixEntryErrorTypeDef

SearchPlaceIndexForSuggestionsResponseTypeDef#

# SearchPlaceIndexForSuggestionsResponseTypeDef usage example

from mypy_boto3_location.type_defs import SearchPlaceIndexForSuggestionsResponseTypeDef

def get_value() -> SearchPlaceIndexForSuggestionsResponseTypeDef:
    return {
        "Results": ...,
        "Summary": ...,
        "ResponseMetadata": ...,
    }
# SearchPlaceIndexForSuggestionsResponseTypeDef definition

class SearchPlaceIndexForSuggestionsResponseTypeDef(TypedDict):
    Results: List[SearchForSuggestionsResultTypeDef],  # (1)
    Summary: SearchPlaceIndexForSuggestionsSummaryTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SearchForSuggestionsResultTypeDef
  2. See SearchPlaceIndexForSuggestionsSummaryTypeDef
  3. See ResponseMetadataTypeDef

ListKeysResponseTypeDef#

# ListKeysResponseTypeDef usage example

from mypy_boto3_location.type_defs import ListKeysResponseTypeDef

def get_value() -> ListKeysResponseTypeDef:
    return {
        "Entries": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListKeysResponseTypeDef definition

class ListKeysResponseTypeDef(TypedDict):
    Entries: List[ListKeysResponseEntryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ListKeysResponseEntryTypeDef
  2. See ResponseMetadataTypeDef

BatchDeleteDevicePositionHistoryResponseTypeDef#

# BatchDeleteDevicePositionHistoryResponseTypeDef usage example

from mypy_boto3_location.type_defs import BatchDeleteDevicePositionHistoryResponseTypeDef

def get_value() -> BatchDeleteDevicePositionHistoryResponseTypeDef:
    return {
        "Errors": ...,
        "ResponseMetadata": ...,
    }
# BatchDeleteDevicePositionHistoryResponseTypeDef definition

class BatchDeleteDevicePositionHistoryResponseTypeDef(TypedDict):
    Errors: List[BatchDeleteDevicePositionHistoryErrorTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BatchDeleteDevicePositionHistoryErrorTypeDef
  2. See ResponseMetadataTypeDef

BatchDeleteGeofenceResponseTypeDef#

# BatchDeleteGeofenceResponseTypeDef usage example

from mypy_boto3_location.type_defs import BatchDeleteGeofenceResponseTypeDef

def get_value() -> BatchDeleteGeofenceResponseTypeDef:
    return {
        "Errors": ...,
        "ResponseMetadata": ...,
    }
# BatchDeleteGeofenceResponseTypeDef definition

class BatchDeleteGeofenceResponseTypeDef(TypedDict):
    Errors: List[BatchDeleteGeofenceErrorTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BatchDeleteGeofenceErrorTypeDef
  2. See ResponseMetadataTypeDef

BatchEvaluateGeofencesResponseTypeDef#

# BatchEvaluateGeofencesResponseTypeDef usage example

from mypy_boto3_location.type_defs import BatchEvaluateGeofencesResponseTypeDef

def get_value() -> BatchEvaluateGeofencesResponseTypeDef:
    return {
        "Errors": ...,
        "ResponseMetadata": ...,
    }
# BatchEvaluateGeofencesResponseTypeDef definition

class BatchEvaluateGeofencesResponseTypeDef(TypedDict):
    Errors: List[BatchEvaluateGeofencesErrorTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BatchEvaluateGeofencesErrorTypeDef
  2. See ResponseMetadataTypeDef

BatchPutGeofenceResponseTypeDef#

# BatchPutGeofenceResponseTypeDef usage example

from mypy_boto3_location.type_defs import BatchPutGeofenceResponseTypeDef

def get_value() -> BatchPutGeofenceResponseTypeDef:
    return {
        "Errors": ...,
        "Successes": ...,
        "ResponseMetadata": ...,
    }
# BatchPutGeofenceResponseTypeDef definition

class BatchPutGeofenceResponseTypeDef(TypedDict):
    Errors: List[BatchPutGeofenceErrorTypeDef],  # (1)
    Successes: List[BatchPutGeofenceSuccessTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See BatchPutGeofenceErrorTypeDef
  2. See BatchPutGeofenceSuccessTypeDef
  3. See ResponseMetadataTypeDef

BatchUpdateDevicePositionResponseTypeDef#

# BatchUpdateDevicePositionResponseTypeDef usage example

from mypy_boto3_location.type_defs import BatchUpdateDevicePositionResponseTypeDef

def get_value() -> BatchUpdateDevicePositionResponseTypeDef:
    return {
        "Errors": ...,
        "ResponseMetadata": ...,
    }
# BatchUpdateDevicePositionResponseTypeDef definition

class BatchUpdateDevicePositionResponseTypeDef(TypedDict):
    Errors: List[BatchUpdateDevicePositionErrorTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BatchUpdateDevicePositionErrorTypeDef
  2. See ResponseMetadataTypeDef

CalculateRouteMatrixRequestRequestTypeDef#

# CalculateRouteMatrixRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import CalculateRouteMatrixRequestRequestTypeDef

def get_value() -> CalculateRouteMatrixRequestRequestTypeDef:
    return {
        "CalculatorName": ...,
        "DeparturePositions": ...,
        "DestinationPositions": ...,
    }
# CalculateRouteMatrixRequestRequestTypeDef definition

class CalculateRouteMatrixRequestRequestTypeDef(TypedDict):
    CalculatorName: str,
    DeparturePositions: Sequence[Sequence[float]],
    DestinationPositions: Sequence[Sequence[float]],
    CarModeOptions: NotRequired[CalculateRouteCarModeOptionsTypeDef],  # (1)
    DepartNow: NotRequired[bool],
    DepartureTime: NotRequired[Union[datetime, str]],
    DistanceUnit: NotRequired[DistanceUnitType],  # (2)
    TravelMode: NotRequired[TravelModeType],  # (3)
    TruckModeOptions: NotRequired[CalculateRouteTruckModeOptionsTypeDef],  # (4)
  1. See CalculateRouteCarModeOptionsTypeDef
  2. See DistanceUnitType
  3. See TravelModeType
  4. See CalculateRouteTruckModeOptionsTypeDef

CalculateRouteRequestRequestTypeDef#

# CalculateRouteRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import CalculateRouteRequestRequestTypeDef

def get_value() -> CalculateRouteRequestRequestTypeDef:
    return {
        "CalculatorName": ...,
        "DeparturePosition": ...,
        "DestinationPosition": ...,
    }
# CalculateRouteRequestRequestTypeDef definition

class CalculateRouteRequestRequestTypeDef(TypedDict):
    CalculatorName: str,
    DeparturePosition: Sequence[float],
    DestinationPosition: Sequence[float],
    CarModeOptions: NotRequired[CalculateRouteCarModeOptionsTypeDef],  # (1)
    DepartNow: NotRequired[bool],
    DepartureTime: NotRequired[Union[datetime, str]],
    DistanceUnit: NotRequired[DistanceUnitType],  # (2)
    IncludeLegGeometry: NotRequired[bool],
    TravelMode: NotRequired[TravelModeType],  # (3)
    TruckModeOptions: NotRequired[CalculateRouteTruckModeOptionsTypeDef],  # (4)
    WaypointPositions: NotRequired[Sequence[Sequence[float]]],
  1. See CalculateRouteCarModeOptionsTypeDef
  2. See DistanceUnitType
  3. See TravelModeType
  4. See CalculateRouteTruckModeOptionsTypeDef

BatchPutGeofenceRequestEntryTypeDef#

# BatchPutGeofenceRequestEntryTypeDef usage example

from mypy_boto3_location.type_defs import BatchPutGeofenceRequestEntryTypeDef

def get_value() -> BatchPutGeofenceRequestEntryTypeDef:
    return {
        "GeofenceId": ...,
        "Geometry": ...,
    }
# BatchPutGeofenceRequestEntryTypeDef definition

class BatchPutGeofenceRequestEntryTypeDef(TypedDict):
    GeofenceId: str,
    Geometry: GeofenceGeometryTypeDef,  # (1)
  1. See GeofenceGeometryTypeDef

GetGeofenceResponseTypeDef#

# GetGeofenceResponseTypeDef usage example

from mypy_boto3_location.type_defs import GetGeofenceResponseTypeDef

def get_value() -> GetGeofenceResponseTypeDef:
    return {
        "CreateTime": ...,
        "GeofenceId": ...,
        "Geometry": ...,
        "Status": ...,
        "UpdateTime": ...,
        "ResponseMetadata": ...,
    }
# GetGeofenceResponseTypeDef definition

class GetGeofenceResponseTypeDef(TypedDict):
    CreateTime: datetime,
    GeofenceId: str,
    Geometry: GeofenceGeometryTypeDef,  # (1)
    Status: str,
    UpdateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See GeofenceGeometryTypeDef
  2. See ResponseMetadataTypeDef

ListGeofenceResponseEntryTypeDef#

# ListGeofenceResponseEntryTypeDef usage example

from mypy_boto3_location.type_defs import ListGeofenceResponseEntryTypeDef

def get_value() -> ListGeofenceResponseEntryTypeDef:
    return {
        "CreateTime": ...,
        "GeofenceId": ...,
        "Geometry": ...,
        "Status": ...,
        "UpdateTime": ...,
    }
# ListGeofenceResponseEntryTypeDef definition

class ListGeofenceResponseEntryTypeDef(TypedDict):
    CreateTime: datetime,
    GeofenceId: str,
    Geometry: GeofenceGeometryTypeDef,  # (1)
    Status: str,
    UpdateTime: datetime,
  1. See GeofenceGeometryTypeDef

PutGeofenceRequestRequestTypeDef#

# PutGeofenceRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import PutGeofenceRequestRequestTypeDef

def get_value() -> PutGeofenceRequestRequestTypeDef:
    return {
        "CollectionName": ...,
        "GeofenceId": ...,
        "Geometry": ...,
    }
# PutGeofenceRequestRequestTypeDef definition

class PutGeofenceRequestRequestTypeDef(TypedDict):
    CollectionName: str,
    GeofenceId: str,
    Geometry: GeofenceGeometryTypeDef,  # (1)
  1. See GeofenceGeometryTypeDef

BatchGetDevicePositionResponseTypeDef#

# BatchGetDevicePositionResponseTypeDef usage example

from mypy_boto3_location.type_defs import BatchGetDevicePositionResponseTypeDef

def get_value() -> BatchGetDevicePositionResponseTypeDef:
    return {
        "DevicePositions": ...,
        "Errors": ...,
        "ResponseMetadata": ...,
    }
# BatchGetDevicePositionResponseTypeDef definition

class BatchGetDevicePositionResponseTypeDef(TypedDict):
    DevicePositions: List[DevicePositionTypeDef],  # (1)
    Errors: List[BatchGetDevicePositionErrorTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See DevicePositionTypeDef
  2. See BatchGetDevicePositionErrorTypeDef
  3. See ResponseMetadataTypeDef

GetDevicePositionHistoryResponseTypeDef#

# GetDevicePositionHistoryResponseTypeDef usage example

from mypy_boto3_location.type_defs import GetDevicePositionHistoryResponseTypeDef

def get_value() -> GetDevicePositionHistoryResponseTypeDef:
    return {
        "DevicePositions": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# GetDevicePositionHistoryResponseTypeDef definition

class GetDevicePositionHistoryResponseTypeDef(TypedDict):
    DevicePositions: List[DevicePositionTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DevicePositionTypeDef
  2. See ResponseMetadataTypeDef

BatchEvaluateGeofencesRequestRequestTypeDef#

# BatchEvaluateGeofencesRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import BatchEvaluateGeofencesRequestRequestTypeDef

def get_value() -> BatchEvaluateGeofencesRequestRequestTypeDef:
    return {
        "CollectionName": ...,
        "DevicePositionUpdates": ...,
    }
# BatchEvaluateGeofencesRequestRequestTypeDef definition

class BatchEvaluateGeofencesRequestRequestTypeDef(TypedDict):
    CollectionName: str,
    DevicePositionUpdates: Sequence[DevicePositionUpdateTypeDef],  # (1)
  1. See DevicePositionUpdateTypeDef

BatchUpdateDevicePositionRequestRequestTypeDef#

# BatchUpdateDevicePositionRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import BatchUpdateDevicePositionRequestRequestTypeDef

def get_value() -> BatchUpdateDevicePositionRequestRequestTypeDef:
    return {
        "TrackerName": ...,
        "Updates": ...,
    }
# BatchUpdateDevicePositionRequestRequestTypeDef definition

class BatchUpdateDevicePositionRequestRequestTypeDef(TypedDict):
    TrackerName: str,
    Updates: Sequence[DevicePositionUpdateTypeDef],  # (1)
  1. See DevicePositionUpdateTypeDef

ListDevicePositionsResponseTypeDef#

# ListDevicePositionsResponseTypeDef usage example

from mypy_boto3_location.type_defs import ListDevicePositionsResponseTypeDef

def get_value() -> ListDevicePositionsResponseTypeDef:
    return {
        "Entries": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListDevicePositionsResponseTypeDef definition

class ListDevicePositionsResponseTypeDef(TypedDict):
    Entries: List[ListDevicePositionsResponseEntryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ListDevicePositionsResponseEntryTypeDef
  2. See ResponseMetadataTypeDef

CalculateRouteResponseTypeDef#

# CalculateRouteResponseTypeDef usage example

from mypy_boto3_location.type_defs import CalculateRouteResponseTypeDef

def get_value() -> CalculateRouteResponseTypeDef:
    return {
        "Legs": ...,
        "Summary": ...,
        "ResponseMetadata": ...,
    }
# CalculateRouteResponseTypeDef definition

class CalculateRouteResponseTypeDef(TypedDict):
    Legs: List[LegTypeDef],  # (1)
    Summary: CalculateRouteSummaryTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See LegTypeDef
  2. See CalculateRouteSummaryTypeDef
  3. See ResponseMetadataTypeDef

GetPlaceResponseTypeDef#

# GetPlaceResponseTypeDef usage example

from mypy_boto3_location.type_defs import GetPlaceResponseTypeDef

def get_value() -> GetPlaceResponseTypeDef:
    return {
        "Place": ...,
        "ResponseMetadata": ...,
    }
# GetPlaceResponseTypeDef definition

class GetPlaceResponseTypeDef(TypedDict):
    Place: PlaceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PlaceTypeDef
  2. See ResponseMetadataTypeDef

SearchForPositionResultTypeDef#

# SearchForPositionResultTypeDef usage example

from mypy_boto3_location.type_defs import SearchForPositionResultTypeDef

def get_value() -> SearchForPositionResultTypeDef:
    return {
        "Distance": ...,
        "Place": ...,
    }
# SearchForPositionResultTypeDef definition

class SearchForPositionResultTypeDef(TypedDict):
    Distance: float,
    Place: PlaceTypeDef,  # (1)
    PlaceId: NotRequired[str],
  1. See PlaceTypeDef

SearchForTextResultTypeDef#

# SearchForTextResultTypeDef usage example

from mypy_boto3_location.type_defs import SearchForTextResultTypeDef

def get_value() -> SearchForTextResultTypeDef:
    return {
        "Place": ...,
    }
# SearchForTextResultTypeDef definition

class SearchForTextResultTypeDef(TypedDict):
    Place: PlaceTypeDef,  # (1)
    Distance: NotRequired[float],
    PlaceId: NotRequired[str],
    Relevance: NotRequired[float],
  1. See PlaceTypeDef

CalculateRouteMatrixResponseTypeDef#

# CalculateRouteMatrixResponseTypeDef usage example

from mypy_boto3_location.type_defs import CalculateRouteMatrixResponseTypeDef

def get_value() -> CalculateRouteMatrixResponseTypeDef:
    return {
        "RouteMatrix": ...,
        "SnappedDeparturePositions": ...,
        "SnappedDestinationPositions": ...,
        "Summary": ...,
        "ResponseMetadata": ...,
    }
# CalculateRouteMatrixResponseTypeDef definition

class CalculateRouteMatrixResponseTypeDef(TypedDict):
    RouteMatrix: List[List[RouteMatrixEntryTypeDef]],  # (1)
    SnappedDeparturePositions: List[List[float]],
    SnappedDestinationPositions: List[List[float]],
    Summary: CalculateRouteMatrixSummaryTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See RouteMatrixEntryTypeDef
  2. See CalculateRouteMatrixSummaryTypeDef
  3. See ResponseMetadataTypeDef

BatchPutGeofenceRequestRequestTypeDef#

# BatchPutGeofenceRequestRequestTypeDef usage example

from mypy_boto3_location.type_defs import BatchPutGeofenceRequestRequestTypeDef

def get_value() -> BatchPutGeofenceRequestRequestTypeDef:
    return {
        "CollectionName": ...,
        "Entries": ...,
    }
# BatchPutGeofenceRequestRequestTypeDef definition

class BatchPutGeofenceRequestRequestTypeDef(TypedDict):
    CollectionName: str,
    Entries: Sequence[BatchPutGeofenceRequestEntryTypeDef],  # (1)
  1. See BatchPutGeofenceRequestEntryTypeDef

ListGeofencesResponseTypeDef#

# ListGeofencesResponseTypeDef usage example

from mypy_boto3_location.type_defs import ListGeofencesResponseTypeDef

def get_value() -> ListGeofencesResponseTypeDef:
    return {
        "Entries": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListGeofencesResponseTypeDef definition

class ListGeofencesResponseTypeDef(TypedDict):
    Entries: List[ListGeofenceResponseEntryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ListGeofenceResponseEntryTypeDef
  2. See ResponseMetadataTypeDef

SearchPlaceIndexForPositionResponseTypeDef#

# SearchPlaceIndexForPositionResponseTypeDef usage example

from mypy_boto3_location.type_defs import SearchPlaceIndexForPositionResponseTypeDef

def get_value() -> SearchPlaceIndexForPositionResponseTypeDef:
    return {
        "Results": ...,
        "Summary": ...,
        "ResponseMetadata": ...,
    }
# SearchPlaceIndexForPositionResponseTypeDef definition

class SearchPlaceIndexForPositionResponseTypeDef(TypedDict):
    Results: List[SearchForPositionResultTypeDef],  # (1)
    Summary: SearchPlaceIndexForPositionSummaryTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SearchForPositionResultTypeDef
  2. See SearchPlaceIndexForPositionSummaryTypeDef
  3. See ResponseMetadataTypeDef

SearchPlaceIndexForTextResponseTypeDef#

# SearchPlaceIndexForTextResponseTypeDef usage example

from mypy_boto3_location.type_defs import SearchPlaceIndexForTextResponseTypeDef

def get_value() -> SearchPlaceIndexForTextResponseTypeDef:
    return {
        "Results": ...,
        "Summary": ...,
        "ResponseMetadata": ...,
    }
# SearchPlaceIndexForTextResponseTypeDef definition

class SearchPlaceIndexForTextResponseTypeDef(TypedDict):
    Results: List[SearchForTextResultTypeDef],  # (1)
    Summary: SearchPlaceIndexForTextSummaryTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SearchForTextResultTypeDef
  2. See SearchPlaceIndexForTextSummaryTypeDef
  3. See ResponseMetadataTypeDef