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