types-aiobotocore-geo-places 2.18.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of types-aiobotocore-geo-places might be problematic. Click here for more details.

@@ -0,0 +1,28 @@
1
+ """
2
+ Main interface for geo-places service.
3
+
4
+ Usage::
5
+
6
+ ```python
7
+ from aiobotocore.session import get_session
8
+ from types_aiobotocore_geo_places import (
9
+ Client,
10
+ LocationServicePlacesV2Client,
11
+ )
12
+
13
+ session = get_session()
14
+ async with session.create_client("geo-places") as client:
15
+ client: LocationServicePlacesV2Client
16
+ ...
17
+
18
+ ```
19
+
20
+ Copyright 2025 Vlad Emelianov
21
+ """
22
+
23
+ from .client import LocationServicePlacesV2Client
24
+
25
+ Client = LocationServicePlacesV2Client
26
+
27
+
28
+ __all__ = ("Client", "LocationServicePlacesV2Client")
@@ -0,0 +1,27 @@
1
+ """
2
+ Main interface for geo-places service.
3
+
4
+ Usage::
5
+
6
+ ```python
7
+ from aiobotocore.session import get_session
8
+ from types_aiobotocore_geo_places import (
9
+ Client,
10
+ LocationServicePlacesV2Client,
11
+ )
12
+
13
+ session = get_session()
14
+ async with session.create_client("geo-places") as client:
15
+ client: LocationServicePlacesV2Client
16
+ ...
17
+
18
+ ```
19
+
20
+ Copyright 2025 Vlad Emelianov
21
+ """
22
+
23
+ from .client import LocationServicePlacesV2Client
24
+
25
+ Client = LocationServicePlacesV2Client
26
+
27
+ __all__ = ("Client", "LocationServicePlacesV2Client")
@@ -0,0 +1,43 @@
1
+ """
2
+ Main CLI entrypoint.
3
+
4
+ Copyright 2025 Vlad Emelianov
5
+ """
6
+
7
+ import sys
8
+
9
+
10
+ def print_info() -> None:
11
+ """
12
+ Print package info to stdout.
13
+ """
14
+ sys.stdout.write(
15
+ "Type annotations for aiobotocore LocationServicePlacesV2 2.18.0\n"
16
+ "Version: 2.18.0\n"
17
+ "Builder version: 8.8.0\n"
18
+ "Docs: https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places//\n"
19
+ "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places.html#locationserviceplacesv2\n"
20
+ "Other services: https://pypi.org/project/boto3-stubs/\n"
21
+ "Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
22
+ )
23
+
24
+
25
+ def print_version() -> None:
26
+ """
27
+ Print package version to stdout.
28
+ """
29
+ sys.stdout.write("2.18.0\n")
30
+
31
+
32
+ def main() -> None:
33
+ """
34
+ Main CLI entrypoint.
35
+ """
36
+ if "--version" in sys.argv:
37
+ print_version()
38
+ return
39
+ print_info()
40
+
41
+
42
+ if __name__ == "__main__":
43
+ main()
@@ -0,0 +1,196 @@
1
+ """
2
+ Type annotations for geo-places service Client.
3
+
4
+ [Documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/)
5
+
6
+ Usage::
7
+
8
+ ```python
9
+ from aiobotocore.session import get_session
10
+ from types_aiobotocore_geo_places.client import LocationServicePlacesV2Client
11
+
12
+ session = get_session()
13
+ async with session.create_client("geo-places") as client:
14
+ client: LocationServicePlacesV2Client
15
+ ```
16
+
17
+ Copyright 2025 Vlad Emelianov
18
+ """
19
+
20
+ from __future__ import annotations
21
+
22
+ import sys
23
+ from types import TracebackType
24
+ from typing import Any
25
+
26
+ from aiobotocore.client import AioBaseClient
27
+ from botocore.client import ClientMeta
28
+ from botocore.errorfactory import BaseClientExceptions
29
+ from botocore.exceptions import ClientError as BotocoreClientError
30
+
31
+ from .type_defs import (
32
+ AutocompleteRequestRequestTypeDef,
33
+ AutocompleteResponseTypeDef,
34
+ GeocodeRequestRequestTypeDef,
35
+ GeocodeResponseTypeDef,
36
+ GetPlaceRequestRequestTypeDef,
37
+ GetPlaceResponseTypeDef,
38
+ ReverseGeocodeRequestRequestTypeDef,
39
+ ReverseGeocodeResponseTypeDef,
40
+ SearchNearbyRequestRequestTypeDef,
41
+ SearchNearbyResponseTypeDef,
42
+ SearchTextRequestRequestTypeDef,
43
+ SearchTextResponseTypeDef,
44
+ SuggestRequestRequestTypeDef,
45
+ SuggestResponseTypeDef,
46
+ )
47
+
48
+ if sys.version_info >= (3, 9):
49
+ from builtins import type as Type
50
+ from collections.abc import Mapping
51
+ else:
52
+ from typing import Mapping, Type
53
+ if sys.version_info >= (3, 12):
54
+ from typing import Self, Unpack
55
+ else:
56
+ from typing_extensions import Self, Unpack
57
+
58
+
59
+ __all__ = ("LocationServicePlacesV2Client",)
60
+
61
+
62
+ class Exceptions(BaseClientExceptions):
63
+ AccessDeniedException: Type[BotocoreClientError]
64
+ ClientError: Type[BotocoreClientError]
65
+ InternalServerException: Type[BotocoreClientError]
66
+ ThrottlingException: Type[BotocoreClientError]
67
+ ValidationException: Type[BotocoreClientError]
68
+
69
+
70
+ class LocationServicePlacesV2Client(AioBaseClient):
71
+ """
72
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places.html#LocationServicePlacesV2.Client)
73
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/)
74
+ """
75
+
76
+ meta: ClientMeta
77
+
78
+ @property
79
+ def exceptions(self) -> Exceptions:
80
+ """
81
+ LocationServicePlacesV2Client exceptions.
82
+
83
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places.html#LocationServicePlacesV2.Client)
84
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#exceptions)
85
+ """
86
+
87
+ def can_paginate(self, operation_name: str) -> bool:
88
+ """
89
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places/client/can_paginate.html)
90
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#can_paginate)
91
+ """
92
+
93
+ async def generate_presigned_url(
94
+ self,
95
+ ClientMethod: str,
96
+ Params: Mapping[str, Any] = ...,
97
+ ExpiresIn: int = 3600,
98
+ HttpMethod: str = ...,
99
+ ) -> str:
100
+ """
101
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places/client/generate_presigned_url.html)
102
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#generate_presigned_url)
103
+ """
104
+
105
+ async def autocomplete(
106
+ self, **kwargs: Unpack[AutocompleteRequestRequestTypeDef]
107
+ ) -> AutocompleteResponseTypeDef:
108
+ """
109
+ The autocomplete operation speeds up and increases the accuracy of entering
110
+ addresses by providing a list of address candidates matching a partially
111
+ entered address.
112
+
113
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places/client/autocomplete.html)
114
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#autocomplete)
115
+ """
116
+
117
+ async def geocode(
118
+ self, **kwargs: Unpack[GeocodeRequestRequestTypeDef]
119
+ ) -> GeocodeResponseTypeDef:
120
+ """
121
+ The <code>Geocode</code> action allows you to obtain coordinates, addresses,
122
+ and other information about places.
123
+
124
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places/client/geocode.html)
125
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#geocode)
126
+ """
127
+
128
+ async def get_place(
129
+ self, **kwargs: Unpack[GetPlaceRequestRequestTypeDef]
130
+ ) -> GetPlaceResponseTypeDef:
131
+ """
132
+ Finds a place by its unique ID.
133
+
134
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places/client/get_place.html)
135
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#get_place)
136
+ """
137
+
138
+ async def reverse_geocode(
139
+ self, **kwargs: Unpack[ReverseGeocodeRequestRequestTypeDef]
140
+ ) -> ReverseGeocodeResponseTypeDef:
141
+ """
142
+ The <code>ReverseGeocode</code> operation allows you to retrieve addresses and
143
+ place information from coordinates.
144
+
145
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places/client/reverse_geocode.html)
146
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#reverse_geocode)
147
+ """
148
+
149
+ async def search_nearby(
150
+ self, **kwargs: Unpack[SearchNearbyRequestRequestTypeDef]
151
+ ) -> SearchNearbyResponseTypeDef:
152
+ """
153
+ Search nearby a specified location.
154
+
155
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places/client/search_nearby.html)
156
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#search_nearby)
157
+ """
158
+
159
+ async def search_text(
160
+ self, **kwargs: Unpack[SearchTextRequestRequestTypeDef]
161
+ ) -> SearchTextResponseTypeDef:
162
+ """
163
+ Use the <code>SearchText</code> operation to search for geocode and place
164
+ information.
165
+
166
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places/client/search_text.html)
167
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#search_text)
168
+ """
169
+
170
+ async def suggest(
171
+ self, **kwargs: Unpack[SuggestRequestRequestTypeDef]
172
+ ) -> SuggestResponseTypeDef:
173
+ """
174
+ The <code>Suggest</code> operation finds addresses or place candidates based on
175
+ incomplete or misspelled queries.
176
+
177
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places/client/suggest.html)
178
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#suggest)
179
+ """
180
+
181
+ async def __aenter__(self) -> Self:
182
+ """
183
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places.html#LocationServicePlacesV2.Client)
184
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/)
185
+ """
186
+
187
+ async def __aexit__(
188
+ self,
189
+ exc_type: Type[BaseException] | None,
190
+ exc_val: BaseException | None,
191
+ exc_tb: TracebackType | None,
192
+ ) -> None:
193
+ """
194
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places.html#LocationServicePlacesV2.Client)
195
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/)
196
+ """
@@ -0,0 +1,193 @@
1
+ """
2
+ Type annotations for geo-places service Client.
3
+
4
+ [Documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/)
5
+
6
+ Usage::
7
+
8
+ ```python
9
+ from aiobotocore.session import get_session
10
+ from types_aiobotocore_geo_places.client import LocationServicePlacesV2Client
11
+
12
+ session = get_session()
13
+ async with session.create_client("geo-places") as client:
14
+ client: LocationServicePlacesV2Client
15
+ ```
16
+
17
+ Copyright 2025 Vlad Emelianov
18
+ """
19
+
20
+ from __future__ import annotations
21
+
22
+ import sys
23
+ from types import TracebackType
24
+ from typing import Any
25
+
26
+ from aiobotocore.client import AioBaseClient
27
+ from botocore.client import ClientMeta
28
+ from botocore.errorfactory import BaseClientExceptions
29
+ from botocore.exceptions import ClientError as BotocoreClientError
30
+
31
+ from .type_defs import (
32
+ AutocompleteRequestRequestTypeDef,
33
+ AutocompleteResponseTypeDef,
34
+ GeocodeRequestRequestTypeDef,
35
+ GeocodeResponseTypeDef,
36
+ GetPlaceRequestRequestTypeDef,
37
+ GetPlaceResponseTypeDef,
38
+ ReverseGeocodeRequestRequestTypeDef,
39
+ ReverseGeocodeResponseTypeDef,
40
+ SearchNearbyRequestRequestTypeDef,
41
+ SearchNearbyResponseTypeDef,
42
+ SearchTextRequestRequestTypeDef,
43
+ SearchTextResponseTypeDef,
44
+ SuggestRequestRequestTypeDef,
45
+ SuggestResponseTypeDef,
46
+ )
47
+
48
+ if sys.version_info >= (3, 9):
49
+ from builtins import type as Type
50
+ from collections.abc import Mapping
51
+ else:
52
+ from typing import Mapping, Type
53
+ if sys.version_info >= (3, 12):
54
+ from typing import Self, Unpack
55
+ else:
56
+ from typing_extensions import Self, Unpack
57
+
58
+ __all__ = ("LocationServicePlacesV2Client",)
59
+
60
+ class Exceptions(BaseClientExceptions):
61
+ AccessDeniedException: Type[BotocoreClientError]
62
+ ClientError: Type[BotocoreClientError]
63
+ InternalServerException: Type[BotocoreClientError]
64
+ ThrottlingException: Type[BotocoreClientError]
65
+ ValidationException: Type[BotocoreClientError]
66
+
67
+ class LocationServicePlacesV2Client(AioBaseClient):
68
+ """
69
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places.html#LocationServicePlacesV2.Client)
70
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/)
71
+ """
72
+
73
+ meta: ClientMeta
74
+
75
+ @property
76
+ def exceptions(self) -> Exceptions:
77
+ """
78
+ LocationServicePlacesV2Client exceptions.
79
+
80
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places.html#LocationServicePlacesV2.Client)
81
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#exceptions)
82
+ """
83
+
84
+ def can_paginate(self, operation_name: str) -> bool:
85
+ """
86
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places/client/can_paginate.html)
87
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#can_paginate)
88
+ """
89
+
90
+ async def generate_presigned_url(
91
+ self,
92
+ ClientMethod: str,
93
+ Params: Mapping[str, Any] = ...,
94
+ ExpiresIn: int = 3600,
95
+ HttpMethod: str = ...,
96
+ ) -> str:
97
+ """
98
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places/client/generate_presigned_url.html)
99
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#generate_presigned_url)
100
+ """
101
+
102
+ async def autocomplete(
103
+ self, **kwargs: Unpack[AutocompleteRequestRequestTypeDef]
104
+ ) -> AutocompleteResponseTypeDef:
105
+ """
106
+ The autocomplete operation speeds up and increases the accuracy of entering
107
+ addresses by providing a list of address candidates matching a partially
108
+ entered address.
109
+
110
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places/client/autocomplete.html)
111
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#autocomplete)
112
+ """
113
+
114
+ async def geocode(
115
+ self, **kwargs: Unpack[GeocodeRequestRequestTypeDef]
116
+ ) -> GeocodeResponseTypeDef:
117
+ """
118
+ The <code>Geocode</code> action allows you to obtain coordinates, addresses,
119
+ and other information about places.
120
+
121
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places/client/geocode.html)
122
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#geocode)
123
+ """
124
+
125
+ async def get_place(
126
+ self, **kwargs: Unpack[GetPlaceRequestRequestTypeDef]
127
+ ) -> GetPlaceResponseTypeDef:
128
+ """
129
+ Finds a place by its unique ID.
130
+
131
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places/client/get_place.html)
132
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#get_place)
133
+ """
134
+
135
+ async def reverse_geocode(
136
+ self, **kwargs: Unpack[ReverseGeocodeRequestRequestTypeDef]
137
+ ) -> ReverseGeocodeResponseTypeDef:
138
+ """
139
+ The <code>ReverseGeocode</code> operation allows you to retrieve addresses and
140
+ place information from coordinates.
141
+
142
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places/client/reverse_geocode.html)
143
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#reverse_geocode)
144
+ """
145
+
146
+ async def search_nearby(
147
+ self, **kwargs: Unpack[SearchNearbyRequestRequestTypeDef]
148
+ ) -> SearchNearbyResponseTypeDef:
149
+ """
150
+ Search nearby a specified location.
151
+
152
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places/client/search_nearby.html)
153
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#search_nearby)
154
+ """
155
+
156
+ async def search_text(
157
+ self, **kwargs: Unpack[SearchTextRequestRequestTypeDef]
158
+ ) -> SearchTextResponseTypeDef:
159
+ """
160
+ Use the <code>SearchText</code> operation to search for geocode and place
161
+ information.
162
+
163
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places/client/search_text.html)
164
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#search_text)
165
+ """
166
+
167
+ async def suggest(
168
+ self, **kwargs: Unpack[SuggestRequestRequestTypeDef]
169
+ ) -> SuggestResponseTypeDef:
170
+ """
171
+ The <code>Suggest</code> operation finds addresses or place candidates based on
172
+ incomplete or misspelled queries.
173
+
174
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places/client/suggest.html)
175
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/#suggest)
176
+ """
177
+
178
+ async def __aenter__(self) -> Self:
179
+ """
180
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places.html#LocationServicePlacesV2.Client)
181
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/)
182
+ """
183
+
184
+ async def __aexit__(
185
+ self,
186
+ exc_type: Type[BaseException] | None,
187
+ exc_val: BaseException | None,
188
+ exc_tb: TracebackType | None,
189
+ ) -> None:
190
+ """
191
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-places.html#LocationServicePlacesV2.Client)
192
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/client/)
193
+ """