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