mypy-boto3-geo-maps 1.42.3__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.
- mypy_boto3_geo_maps/__init__.py +27 -0
- mypy_boto3_geo_maps/__init__.pyi +26 -0
- mypy_boto3_geo_maps/__main__.py +43 -0
- mypy_boto3_geo_maps/client.py +138 -0
- mypy_boto3_geo_maps/client.pyi +135 -0
- mypy_boto3_geo_maps/literals.py +475 -0
- mypy_boto3_geo_maps/literals.pyi +473 -0
- mypy_boto3_geo_maps/py.typed +0 -0
- mypy_boto3_geo_maps/type_defs.py +158 -0
- mypy_boto3_geo_maps/type_defs.pyi +146 -0
- mypy_boto3_geo_maps/version.py +7 -0
- mypy_boto3_geo_maps-1.42.3.dist-info/METADATA +451 -0
- mypy_boto3_geo_maps-1.42.3.dist-info/RECORD +16 -0
- mypy_boto3_geo_maps-1.42.3.dist-info/WHEEL +5 -0
- mypy_boto3_geo_maps-1.42.3.dist-info/licenses/LICENSE +21 -0
- mypy_boto3_geo_maps-1.42.3.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for geo-maps service.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/)
|
|
5
|
+
|
|
6
|
+
Copyright 2025 Vlad Emelianov
|
|
7
|
+
|
|
8
|
+
Usage::
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from boto3.session import Session
|
|
12
|
+
from mypy_boto3_geo_maps import (
|
|
13
|
+
Client,
|
|
14
|
+
LocationServiceMapsV2Client,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
session = Session()
|
|
18
|
+
client: LocationServiceMapsV2Client = session.client("geo-maps")
|
|
19
|
+
```
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
from .client import LocationServiceMapsV2Client
|
|
23
|
+
|
|
24
|
+
Client = LocationServiceMapsV2Client
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
__all__ = ("Client", "LocationServiceMapsV2Client")
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for geo-maps service.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/)
|
|
5
|
+
|
|
6
|
+
Copyright 2025 Vlad Emelianov
|
|
7
|
+
|
|
8
|
+
Usage::
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from boto3.session import Session
|
|
12
|
+
from mypy_boto3_geo_maps import (
|
|
13
|
+
Client,
|
|
14
|
+
LocationServiceMapsV2Client,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
session = Session()
|
|
18
|
+
client: LocationServiceMapsV2Client = session.client("geo-maps")
|
|
19
|
+
```
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
from .client import LocationServiceMapsV2Client
|
|
23
|
+
|
|
24
|
+
Client = LocationServiceMapsV2Client
|
|
25
|
+
|
|
26
|
+
__all__ = ("Client", "LocationServiceMapsV2Client")
|
|
@@ -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 boto3 LocationServiceMapsV2 1.42.3\n"
|
|
16
|
+
"Version: 1.42.3\n"
|
|
17
|
+
"Builder version: 8.12.0\n"
|
|
18
|
+
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps//\n"
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps.html#locationservicemapsv2\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("1.42.3\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,138 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for geo-maps service Client.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/)
|
|
5
|
+
|
|
6
|
+
Copyright 2025 Vlad Emelianov
|
|
7
|
+
|
|
8
|
+
Usage::
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from boto3.session import Session
|
|
12
|
+
from mypy_boto3_geo_maps.client import LocationServiceMapsV2Client
|
|
13
|
+
|
|
14
|
+
session = Session()
|
|
15
|
+
client: LocationServiceMapsV2Client = session.client("geo-maps")
|
|
16
|
+
```
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
21
|
+
import sys
|
|
22
|
+
from collections.abc import Mapping
|
|
23
|
+
from typing import Any
|
|
24
|
+
|
|
25
|
+
from botocore.client import BaseClient, ClientMeta
|
|
26
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
27
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
28
|
+
|
|
29
|
+
from .type_defs import (
|
|
30
|
+
GetGlyphsRequestTypeDef,
|
|
31
|
+
GetGlyphsResponseTypeDef,
|
|
32
|
+
GetSpritesRequestTypeDef,
|
|
33
|
+
GetSpritesResponseTypeDef,
|
|
34
|
+
GetStaticMapRequestTypeDef,
|
|
35
|
+
GetStaticMapResponseTypeDef,
|
|
36
|
+
GetStyleDescriptorRequestTypeDef,
|
|
37
|
+
GetStyleDescriptorResponseTypeDef,
|
|
38
|
+
GetTileRequestTypeDef,
|
|
39
|
+
GetTileResponseTypeDef,
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
if sys.version_info >= (3, 12):
|
|
43
|
+
from typing import Unpack
|
|
44
|
+
else:
|
|
45
|
+
from typing_extensions import Unpack
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
__all__ = ("LocationServiceMapsV2Client",)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
class Exceptions(BaseClientExceptions):
|
|
52
|
+
AccessDeniedException: type[BotocoreClientError]
|
|
53
|
+
ClientError: type[BotocoreClientError]
|
|
54
|
+
InternalServerException: type[BotocoreClientError]
|
|
55
|
+
ResourceNotFoundException: type[BotocoreClientError]
|
|
56
|
+
ThrottlingException: type[BotocoreClientError]
|
|
57
|
+
ValidationException: type[BotocoreClientError]
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class LocationServiceMapsV2Client(BaseClient):
|
|
61
|
+
"""
|
|
62
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps.html#LocationServiceMapsV2.Client)
|
|
63
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/)
|
|
64
|
+
"""
|
|
65
|
+
|
|
66
|
+
meta: ClientMeta
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
def exceptions(self) -> Exceptions:
|
|
70
|
+
"""
|
|
71
|
+
LocationServiceMapsV2Client exceptions.
|
|
72
|
+
|
|
73
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps.html#LocationServiceMapsV2.Client)
|
|
74
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/#exceptions)
|
|
75
|
+
"""
|
|
76
|
+
|
|
77
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
78
|
+
"""
|
|
79
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/can_paginate.html)
|
|
80
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/#can_paginate)
|
|
81
|
+
"""
|
|
82
|
+
|
|
83
|
+
def generate_presigned_url(
|
|
84
|
+
self,
|
|
85
|
+
ClientMethod: str,
|
|
86
|
+
Params: Mapping[str, Any] = ...,
|
|
87
|
+
ExpiresIn: int = 3600,
|
|
88
|
+
HttpMethod: str = ...,
|
|
89
|
+
) -> str:
|
|
90
|
+
"""
|
|
91
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/generate_presigned_url.html)
|
|
92
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/#generate_presigned_url)
|
|
93
|
+
"""
|
|
94
|
+
|
|
95
|
+
def get_glyphs(self, **kwargs: Unpack[GetGlyphsRequestTypeDef]) -> GetGlyphsResponseTypeDef:
|
|
96
|
+
"""
|
|
97
|
+
<code>GetGlyphs</code> returns the map's glyphs.
|
|
98
|
+
|
|
99
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_glyphs.html)
|
|
100
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/#get_glyphs)
|
|
101
|
+
"""
|
|
102
|
+
|
|
103
|
+
def get_sprites(self, **kwargs: Unpack[GetSpritesRequestTypeDef]) -> GetSpritesResponseTypeDef:
|
|
104
|
+
"""
|
|
105
|
+
<code>GetSprites</code> returns the map's sprites.
|
|
106
|
+
|
|
107
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_sprites.html)
|
|
108
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/#get_sprites)
|
|
109
|
+
"""
|
|
110
|
+
|
|
111
|
+
def get_static_map(
|
|
112
|
+
self, **kwargs: Unpack[GetStaticMapRequestTypeDef]
|
|
113
|
+
) -> GetStaticMapResponseTypeDef:
|
|
114
|
+
"""
|
|
115
|
+
<code>GetStaticMap</code> provides high-quality static map images with
|
|
116
|
+
customizable options.
|
|
117
|
+
|
|
118
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_static_map.html)
|
|
119
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/#get_static_map)
|
|
120
|
+
"""
|
|
121
|
+
|
|
122
|
+
def get_style_descriptor(
|
|
123
|
+
self, **kwargs: Unpack[GetStyleDescriptorRequestTypeDef]
|
|
124
|
+
) -> GetStyleDescriptorResponseTypeDef:
|
|
125
|
+
"""
|
|
126
|
+
<code>GetStyleDescriptor</code> returns information about the style.
|
|
127
|
+
|
|
128
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_style_descriptor.html)
|
|
129
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/#get_style_descriptor)
|
|
130
|
+
"""
|
|
131
|
+
|
|
132
|
+
def get_tile(self, **kwargs: Unpack[GetTileRequestTypeDef]) -> GetTileResponseTypeDef:
|
|
133
|
+
"""
|
|
134
|
+
<code>GetTile</code> returns a tile.
|
|
135
|
+
|
|
136
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_tile.html)
|
|
137
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/#get_tile)
|
|
138
|
+
"""
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for geo-maps service Client.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/)
|
|
5
|
+
|
|
6
|
+
Copyright 2025 Vlad Emelianov
|
|
7
|
+
|
|
8
|
+
Usage::
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from boto3.session import Session
|
|
12
|
+
from mypy_boto3_geo_maps.client import LocationServiceMapsV2Client
|
|
13
|
+
|
|
14
|
+
session = Session()
|
|
15
|
+
client: LocationServiceMapsV2Client = session.client("geo-maps")
|
|
16
|
+
```
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
21
|
+
import sys
|
|
22
|
+
from collections.abc import Mapping
|
|
23
|
+
from typing import Any
|
|
24
|
+
|
|
25
|
+
from botocore.client import BaseClient, ClientMeta
|
|
26
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
27
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
28
|
+
|
|
29
|
+
from .type_defs import (
|
|
30
|
+
GetGlyphsRequestTypeDef,
|
|
31
|
+
GetGlyphsResponseTypeDef,
|
|
32
|
+
GetSpritesRequestTypeDef,
|
|
33
|
+
GetSpritesResponseTypeDef,
|
|
34
|
+
GetStaticMapRequestTypeDef,
|
|
35
|
+
GetStaticMapResponseTypeDef,
|
|
36
|
+
GetStyleDescriptorRequestTypeDef,
|
|
37
|
+
GetStyleDescriptorResponseTypeDef,
|
|
38
|
+
GetTileRequestTypeDef,
|
|
39
|
+
GetTileResponseTypeDef,
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
if sys.version_info >= (3, 12):
|
|
43
|
+
from typing import Unpack
|
|
44
|
+
else:
|
|
45
|
+
from typing_extensions import Unpack
|
|
46
|
+
|
|
47
|
+
__all__ = ("LocationServiceMapsV2Client",)
|
|
48
|
+
|
|
49
|
+
class Exceptions(BaseClientExceptions):
|
|
50
|
+
AccessDeniedException: type[BotocoreClientError]
|
|
51
|
+
ClientError: type[BotocoreClientError]
|
|
52
|
+
InternalServerException: type[BotocoreClientError]
|
|
53
|
+
ResourceNotFoundException: type[BotocoreClientError]
|
|
54
|
+
ThrottlingException: type[BotocoreClientError]
|
|
55
|
+
ValidationException: type[BotocoreClientError]
|
|
56
|
+
|
|
57
|
+
class LocationServiceMapsV2Client(BaseClient):
|
|
58
|
+
"""
|
|
59
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps.html#LocationServiceMapsV2.Client)
|
|
60
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/)
|
|
61
|
+
"""
|
|
62
|
+
|
|
63
|
+
meta: ClientMeta
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def exceptions(self) -> Exceptions:
|
|
67
|
+
"""
|
|
68
|
+
LocationServiceMapsV2Client exceptions.
|
|
69
|
+
|
|
70
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps.html#LocationServiceMapsV2.Client)
|
|
71
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/#exceptions)
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
75
|
+
"""
|
|
76
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/can_paginate.html)
|
|
77
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/#can_paginate)
|
|
78
|
+
"""
|
|
79
|
+
|
|
80
|
+
def generate_presigned_url(
|
|
81
|
+
self,
|
|
82
|
+
ClientMethod: str,
|
|
83
|
+
Params: Mapping[str, Any] = ...,
|
|
84
|
+
ExpiresIn: int = 3600,
|
|
85
|
+
HttpMethod: str = ...,
|
|
86
|
+
) -> str:
|
|
87
|
+
"""
|
|
88
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/generate_presigned_url.html)
|
|
89
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/#generate_presigned_url)
|
|
90
|
+
"""
|
|
91
|
+
|
|
92
|
+
def get_glyphs(self, **kwargs: Unpack[GetGlyphsRequestTypeDef]) -> GetGlyphsResponseTypeDef:
|
|
93
|
+
"""
|
|
94
|
+
<code>GetGlyphs</code> returns the map's glyphs.
|
|
95
|
+
|
|
96
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_glyphs.html)
|
|
97
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/#get_glyphs)
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
def get_sprites(self, **kwargs: Unpack[GetSpritesRequestTypeDef]) -> GetSpritesResponseTypeDef:
|
|
101
|
+
"""
|
|
102
|
+
<code>GetSprites</code> returns the map's sprites.
|
|
103
|
+
|
|
104
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_sprites.html)
|
|
105
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/#get_sprites)
|
|
106
|
+
"""
|
|
107
|
+
|
|
108
|
+
def get_static_map(
|
|
109
|
+
self, **kwargs: Unpack[GetStaticMapRequestTypeDef]
|
|
110
|
+
) -> GetStaticMapResponseTypeDef:
|
|
111
|
+
"""
|
|
112
|
+
<code>GetStaticMap</code> provides high-quality static map images with
|
|
113
|
+
customizable options.
|
|
114
|
+
|
|
115
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_static_map.html)
|
|
116
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/#get_static_map)
|
|
117
|
+
"""
|
|
118
|
+
|
|
119
|
+
def get_style_descriptor(
|
|
120
|
+
self, **kwargs: Unpack[GetStyleDescriptorRequestTypeDef]
|
|
121
|
+
) -> GetStyleDescriptorResponseTypeDef:
|
|
122
|
+
"""
|
|
123
|
+
<code>GetStyleDescriptor</code> returns information about the style.
|
|
124
|
+
|
|
125
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_style_descriptor.html)
|
|
126
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/#get_style_descriptor)
|
|
127
|
+
"""
|
|
128
|
+
|
|
129
|
+
def get_tile(self, **kwargs: Unpack[GetTileRequestTypeDef]) -> GetTileResponseTypeDef:
|
|
130
|
+
"""
|
|
131
|
+
<code>GetTile</code> returns a tile.
|
|
132
|
+
|
|
133
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_tile.html)
|
|
134
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_geo_maps/client/#get_tile)
|
|
135
|
+
"""
|