types-boto3-geo-maps 1.35.71__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.
- types_boto3_geo_maps/__init__.py +25 -0
- types_boto3_geo_maps/__init__.pyi +24 -0
- types_boto3_geo_maps/__main__.py +42 -0
- types_boto3_geo_maps/client.py +149 -0
- types_boto3_geo_maps/client.pyi +145 -0
- types_boto3_geo_maps/literals.py +453 -0
- types_boto3_geo_maps/literals.pyi +451 -0
- types_boto3_geo_maps/py.typed +0 -0
- types_boto3_geo_maps/type_defs.py +136 -0
- types_boto3_geo_maps/type_defs.pyi +124 -0
- types_boto3_geo_maps/version.py +7 -0
- types_boto3_geo_maps-1.35.71.dist-info/LICENSE +21 -0
- types_boto3_geo_maps-1.35.71.dist-info/METADATA +408 -0
- types_boto3_geo_maps-1.35.71.dist-info/RECORD +16 -0
- types_boto3_geo_maps-1.35.71.dist-info/WHEEL +5 -0
- types_boto3_geo_maps-1.35.71.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for geo-maps service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from boto3.session import Session
|
|
8
|
+
from types_boto3_geo_maps import (
|
|
9
|
+
Client,
|
|
10
|
+
LocationServiceMapsV2Client,
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
session = Session()
|
|
14
|
+
client: LocationServiceMapsV2Client = session.client("geo-maps")
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Copyright 2024 Vlad Emelianov
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from .client import LocationServiceMapsV2Client
|
|
21
|
+
|
|
22
|
+
Client = LocationServiceMapsV2Client
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
__all__ = ("Client", "LocationServiceMapsV2Client")
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for geo-maps service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from boto3.session import Session
|
|
8
|
+
from types_boto3_geo_maps import (
|
|
9
|
+
Client,
|
|
10
|
+
LocationServiceMapsV2Client,
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
session = Session()
|
|
14
|
+
client: LocationServiceMapsV2Client = session.client("geo-maps")
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Copyright 2024 Vlad Emelianov
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from .client import LocationServiceMapsV2Client
|
|
21
|
+
|
|
22
|
+
Client = LocationServiceMapsV2Client
|
|
23
|
+
|
|
24
|
+
__all__ = ("Client", "LocationServiceMapsV2Client")
|
|
@@ -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 boto3 LocationServiceMapsV2 1.35.71\n"
|
|
16
|
+
"Version: 1.35.71\n"
|
|
17
|
+
"Builder version: 8.4.1\n"
|
|
18
|
+
"Docs: https://youtype.github.io/types_boto3_docs/types_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"
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def print_version() -> None:
|
|
26
|
+
"""
|
|
27
|
+
Print package version to stdout.
|
|
28
|
+
"""
|
|
29
|
+
print("1.35.71")
|
|
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,149 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for geo-maps service client.
|
|
3
|
+
|
|
4
|
+
[Open documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from boto3.session import Session
|
|
10
|
+
from types_boto3_geo_maps.client import LocationServiceMapsV2Client
|
|
11
|
+
|
|
12
|
+
session = Session()
|
|
13
|
+
client: LocationServiceMapsV2Client = session.client("geo-maps")
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Copyright 2024 Vlad Emelianov
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
import sys
|
|
20
|
+
from typing import Any, Dict, Mapping, Type
|
|
21
|
+
|
|
22
|
+
from botocore.client import BaseClient, ClientMeta
|
|
23
|
+
|
|
24
|
+
from .type_defs import (
|
|
25
|
+
GetGlyphsRequestRequestTypeDef,
|
|
26
|
+
GetGlyphsResponseTypeDef,
|
|
27
|
+
GetSpritesRequestRequestTypeDef,
|
|
28
|
+
GetSpritesResponseTypeDef,
|
|
29
|
+
GetStaticMapRequestRequestTypeDef,
|
|
30
|
+
GetStaticMapResponseTypeDef,
|
|
31
|
+
GetStyleDescriptorRequestRequestTypeDef,
|
|
32
|
+
GetStyleDescriptorResponseTypeDef,
|
|
33
|
+
GetTileRequestRequestTypeDef,
|
|
34
|
+
GetTileResponseTypeDef,
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
if sys.version_info >= (3, 12):
|
|
38
|
+
from typing import Unpack
|
|
39
|
+
else:
|
|
40
|
+
from typing_extensions import Unpack
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
__all__ = ("LocationServiceMapsV2Client",)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
class BotocoreClientError(Exception):
|
|
47
|
+
MSG_TEMPLATE: str
|
|
48
|
+
|
|
49
|
+
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
50
|
+
self.response: Dict[str, Any]
|
|
51
|
+
self.operation_name: str
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
class Exceptions:
|
|
55
|
+
AccessDeniedException: Type[BotocoreClientError]
|
|
56
|
+
ClientError: Type[BotocoreClientError]
|
|
57
|
+
InternalServerException: Type[BotocoreClientError]
|
|
58
|
+
ThrottlingException: Type[BotocoreClientError]
|
|
59
|
+
ValidationException: Type[BotocoreClientError]
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class LocationServiceMapsV2Client(BaseClient):
|
|
63
|
+
"""
|
|
64
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps.html#LocationServiceMapsV2.Client)
|
|
65
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/)
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
meta: ClientMeta
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def exceptions(self) -> Exceptions:
|
|
72
|
+
"""
|
|
73
|
+
LocationServiceMapsV2Client exceptions.
|
|
74
|
+
|
|
75
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps.html#LocationServiceMapsV2.Client)
|
|
76
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/#exceptions)
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
80
|
+
"""
|
|
81
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/can_paginate.html)
|
|
82
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/#can_paginate)
|
|
83
|
+
"""
|
|
84
|
+
|
|
85
|
+
def generate_presigned_url(
|
|
86
|
+
self,
|
|
87
|
+
ClientMethod: str,
|
|
88
|
+
Params: Mapping[str, Any] = ...,
|
|
89
|
+
ExpiresIn: int = 3600,
|
|
90
|
+
HttpMethod: str = ...,
|
|
91
|
+
) -> str:
|
|
92
|
+
"""
|
|
93
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/generate_presigned_url.html)
|
|
94
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/#generate_presigned_url)
|
|
95
|
+
"""
|
|
96
|
+
|
|
97
|
+
def close(self) -> None:
|
|
98
|
+
"""
|
|
99
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/close.html)
|
|
100
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/#close)
|
|
101
|
+
"""
|
|
102
|
+
|
|
103
|
+
def get_glyphs(
|
|
104
|
+
self, **kwargs: Unpack[GetGlyphsRequestRequestTypeDef]
|
|
105
|
+
) -> GetGlyphsResponseTypeDef:
|
|
106
|
+
"""
|
|
107
|
+
Returns the map's glyphs.
|
|
108
|
+
|
|
109
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_glyphs.html)
|
|
110
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/#get_glyphs)
|
|
111
|
+
"""
|
|
112
|
+
|
|
113
|
+
def get_sprites(
|
|
114
|
+
self, **kwargs: Unpack[GetSpritesRequestRequestTypeDef]
|
|
115
|
+
) -> GetSpritesResponseTypeDef:
|
|
116
|
+
"""
|
|
117
|
+
Returns the map's sprites.
|
|
118
|
+
|
|
119
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_sprites.html)
|
|
120
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/#get_sprites)
|
|
121
|
+
"""
|
|
122
|
+
|
|
123
|
+
def get_static_map(
|
|
124
|
+
self, **kwargs: Unpack[GetStaticMapRequestRequestTypeDef]
|
|
125
|
+
) -> GetStaticMapResponseTypeDef:
|
|
126
|
+
"""
|
|
127
|
+
Provides high-quality static map images with customizable options.
|
|
128
|
+
|
|
129
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_static_map.html)
|
|
130
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/#get_static_map)
|
|
131
|
+
"""
|
|
132
|
+
|
|
133
|
+
def get_style_descriptor(
|
|
134
|
+
self, **kwargs: Unpack[GetStyleDescriptorRequestRequestTypeDef]
|
|
135
|
+
) -> GetStyleDescriptorResponseTypeDef:
|
|
136
|
+
"""
|
|
137
|
+
Returns information about the style.
|
|
138
|
+
|
|
139
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_style_descriptor.html)
|
|
140
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/#get_style_descriptor)
|
|
141
|
+
"""
|
|
142
|
+
|
|
143
|
+
def get_tile(self, **kwargs: Unpack[GetTileRequestRequestTypeDef]) -> GetTileResponseTypeDef:
|
|
144
|
+
"""
|
|
145
|
+
Returns a tile.
|
|
146
|
+
|
|
147
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_tile.html)
|
|
148
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/#get_tile)
|
|
149
|
+
"""
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for geo-maps service client.
|
|
3
|
+
|
|
4
|
+
[Open documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from boto3.session import Session
|
|
10
|
+
from types_boto3_geo_maps.client import LocationServiceMapsV2Client
|
|
11
|
+
|
|
12
|
+
session = Session()
|
|
13
|
+
client: LocationServiceMapsV2Client = session.client("geo-maps")
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Copyright 2024 Vlad Emelianov
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
import sys
|
|
20
|
+
from typing import Any, Dict, Mapping, Type
|
|
21
|
+
|
|
22
|
+
from botocore.client import BaseClient, ClientMeta
|
|
23
|
+
|
|
24
|
+
from .type_defs import (
|
|
25
|
+
GetGlyphsRequestRequestTypeDef,
|
|
26
|
+
GetGlyphsResponseTypeDef,
|
|
27
|
+
GetSpritesRequestRequestTypeDef,
|
|
28
|
+
GetSpritesResponseTypeDef,
|
|
29
|
+
GetStaticMapRequestRequestTypeDef,
|
|
30
|
+
GetStaticMapResponseTypeDef,
|
|
31
|
+
GetStyleDescriptorRequestRequestTypeDef,
|
|
32
|
+
GetStyleDescriptorResponseTypeDef,
|
|
33
|
+
GetTileRequestRequestTypeDef,
|
|
34
|
+
GetTileResponseTypeDef,
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
if sys.version_info >= (3, 12):
|
|
38
|
+
from typing import Unpack
|
|
39
|
+
else:
|
|
40
|
+
from typing_extensions import Unpack
|
|
41
|
+
|
|
42
|
+
__all__ = ("LocationServiceMapsV2Client",)
|
|
43
|
+
|
|
44
|
+
class BotocoreClientError(Exception):
|
|
45
|
+
MSG_TEMPLATE: str
|
|
46
|
+
|
|
47
|
+
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
48
|
+
self.response: Dict[str, Any]
|
|
49
|
+
self.operation_name: str
|
|
50
|
+
|
|
51
|
+
class Exceptions:
|
|
52
|
+
AccessDeniedException: Type[BotocoreClientError]
|
|
53
|
+
ClientError: Type[BotocoreClientError]
|
|
54
|
+
InternalServerException: Type[BotocoreClientError]
|
|
55
|
+
ThrottlingException: Type[BotocoreClientError]
|
|
56
|
+
ValidationException: Type[BotocoreClientError]
|
|
57
|
+
|
|
58
|
+
class LocationServiceMapsV2Client(BaseClient):
|
|
59
|
+
"""
|
|
60
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps.html#LocationServiceMapsV2.Client)
|
|
61
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/)
|
|
62
|
+
"""
|
|
63
|
+
|
|
64
|
+
meta: ClientMeta
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
def exceptions(self) -> Exceptions:
|
|
68
|
+
"""
|
|
69
|
+
LocationServiceMapsV2Client exceptions.
|
|
70
|
+
|
|
71
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps.html#LocationServiceMapsV2.Client)
|
|
72
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/#exceptions)
|
|
73
|
+
"""
|
|
74
|
+
|
|
75
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
76
|
+
"""
|
|
77
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/can_paginate.html)
|
|
78
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/#can_paginate)
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
def generate_presigned_url(
|
|
82
|
+
self,
|
|
83
|
+
ClientMethod: str,
|
|
84
|
+
Params: Mapping[str, Any] = ...,
|
|
85
|
+
ExpiresIn: int = 3600,
|
|
86
|
+
HttpMethod: str = ...,
|
|
87
|
+
) -> str:
|
|
88
|
+
"""
|
|
89
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/generate_presigned_url.html)
|
|
90
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/#generate_presigned_url)
|
|
91
|
+
"""
|
|
92
|
+
|
|
93
|
+
def close(self) -> None:
|
|
94
|
+
"""
|
|
95
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/close.html)
|
|
96
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/#close)
|
|
97
|
+
"""
|
|
98
|
+
|
|
99
|
+
def get_glyphs(
|
|
100
|
+
self, **kwargs: Unpack[GetGlyphsRequestRequestTypeDef]
|
|
101
|
+
) -> GetGlyphsResponseTypeDef:
|
|
102
|
+
"""
|
|
103
|
+
Returns the map's glyphs.
|
|
104
|
+
|
|
105
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_glyphs.html)
|
|
106
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/#get_glyphs)
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
def get_sprites(
|
|
110
|
+
self, **kwargs: Unpack[GetSpritesRequestRequestTypeDef]
|
|
111
|
+
) -> GetSpritesResponseTypeDef:
|
|
112
|
+
"""
|
|
113
|
+
Returns the map's sprites.
|
|
114
|
+
|
|
115
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_sprites.html)
|
|
116
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/#get_sprites)
|
|
117
|
+
"""
|
|
118
|
+
|
|
119
|
+
def get_static_map(
|
|
120
|
+
self, **kwargs: Unpack[GetStaticMapRequestRequestTypeDef]
|
|
121
|
+
) -> GetStaticMapResponseTypeDef:
|
|
122
|
+
"""
|
|
123
|
+
Provides high-quality static map images with customizable options.
|
|
124
|
+
|
|
125
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_static_map.html)
|
|
126
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/#get_static_map)
|
|
127
|
+
"""
|
|
128
|
+
|
|
129
|
+
def get_style_descriptor(
|
|
130
|
+
self, **kwargs: Unpack[GetStyleDescriptorRequestRequestTypeDef]
|
|
131
|
+
) -> GetStyleDescriptorResponseTypeDef:
|
|
132
|
+
"""
|
|
133
|
+
Returns information about the style.
|
|
134
|
+
|
|
135
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_style_descriptor.html)
|
|
136
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/#get_style_descriptor)
|
|
137
|
+
"""
|
|
138
|
+
|
|
139
|
+
def get_tile(self, **kwargs: Unpack[GetTileRequestRequestTypeDef]) -> GetTileResponseTypeDef:
|
|
140
|
+
"""
|
|
141
|
+
Returns a tile.
|
|
142
|
+
|
|
143
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/geo-maps/client/get_tile.html)
|
|
144
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_geo_maps/client/#get_tile)
|
|
145
|
+
"""
|