types-aiobotocore-snow-device-management 3.0.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.
@@ -0,0 +1,52 @@
1
+ """
2
+ Main interface for snow-device-management service.
3
+
4
+ [Documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/)
5
+
6
+ Copyright 2025 Vlad Emelianov
7
+
8
+ Usage::
9
+
10
+ ```python
11
+ from aiobotocore.session import get_session
12
+ from types_aiobotocore_snow_device_management import (
13
+ Client,
14
+ ListDeviceResourcesPaginator,
15
+ ListDevicesPaginator,
16
+ ListExecutionsPaginator,
17
+ ListTasksPaginator,
18
+ SnowDeviceManagementClient,
19
+ )
20
+
21
+ session = get_session()
22
+ async with session.create_client("snow-device-management") as client:
23
+ client: SnowDeviceManagementClient
24
+ ...
25
+
26
+
27
+ list_device_resources_paginator: ListDeviceResourcesPaginator = client.get_paginator("list_device_resources")
28
+ list_devices_paginator: ListDevicesPaginator = client.get_paginator("list_devices")
29
+ list_executions_paginator: ListExecutionsPaginator = client.get_paginator("list_executions")
30
+ list_tasks_paginator: ListTasksPaginator = client.get_paginator("list_tasks")
31
+ ```
32
+ """
33
+
34
+ from .client import SnowDeviceManagementClient
35
+ from .paginator import (
36
+ ListDeviceResourcesPaginator,
37
+ ListDevicesPaginator,
38
+ ListExecutionsPaginator,
39
+ ListTasksPaginator,
40
+ )
41
+
42
+ Client = SnowDeviceManagementClient
43
+
44
+
45
+ __all__ = (
46
+ "Client",
47
+ "ListDeviceResourcesPaginator",
48
+ "ListDevicesPaginator",
49
+ "ListExecutionsPaginator",
50
+ "ListTasksPaginator",
51
+ "SnowDeviceManagementClient",
52
+ )
@@ -0,0 +1,51 @@
1
+ """
2
+ Main interface for snow-device-management service.
3
+
4
+ [Documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/)
5
+
6
+ Copyright 2025 Vlad Emelianov
7
+
8
+ Usage::
9
+
10
+ ```python
11
+ from aiobotocore.session import get_session
12
+ from types_aiobotocore_snow_device_management import (
13
+ Client,
14
+ ListDeviceResourcesPaginator,
15
+ ListDevicesPaginator,
16
+ ListExecutionsPaginator,
17
+ ListTasksPaginator,
18
+ SnowDeviceManagementClient,
19
+ )
20
+
21
+ session = get_session()
22
+ async with session.create_client("snow-device-management") as client:
23
+ client: SnowDeviceManagementClient
24
+ ...
25
+
26
+
27
+ list_device_resources_paginator: ListDeviceResourcesPaginator = client.get_paginator("list_device_resources")
28
+ list_devices_paginator: ListDevicesPaginator = client.get_paginator("list_devices")
29
+ list_executions_paginator: ListExecutionsPaginator = client.get_paginator("list_executions")
30
+ list_tasks_paginator: ListTasksPaginator = client.get_paginator("list_tasks")
31
+ ```
32
+ """
33
+
34
+ from .client import SnowDeviceManagementClient
35
+ from .paginator import (
36
+ ListDeviceResourcesPaginator,
37
+ ListDevicesPaginator,
38
+ ListExecutionsPaginator,
39
+ ListTasksPaginator,
40
+ )
41
+
42
+ Client = SnowDeviceManagementClient
43
+
44
+ __all__ = (
45
+ "Client",
46
+ "ListDeviceResourcesPaginator",
47
+ "ListDevicesPaginator",
48
+ "ListExecutionsPaginator",
49
+ "ListTasksPaginator",
50
+ "SnowDeviceManagementClient",
51
+ )
@@ -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 SnowDeviceManagement 3.0.0\n"
16
+ "Version: 3.0.0\n"
17
+ "Builder version: 8.12.0\n"
18
+ "Docs: https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management//\n"
19
+ "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management.html#snowdevicemanagement\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("3.0.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,310 @@
1
+ """
2
+ Type annotations for snow-device-management service Client.
3
+
4
+ [Documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/)
5
+
6
+ Copyright 2025 Vlad Emelianov
7
+
8
+ Usage::
9
+
10
+ ```python
11
+ from aiobotocore.session import get_session
12
+ from types_aiobotocore_snow_device_management.client import SnowDeviceManagementClient
13
+
14
+ session = get_session()
15
+ async with session.create_client("snow-device-management") as client:
16
+ client: SnowDeviceManagementClient
17
+ ```
18
+ """
19
+
20
+ from __future__ import annotations
21
+
22
+ import sys
23
+ from collections.abc import Mapping
24
+ from types import TracebackType
25
+ from typing import Any, overload
26
+
27
+ from aiobotocore.client import AioBaseClient
28
+ from botocore.client import ClientMeta
29
+ from botocore.errorfactory import BaseClientExceptions
30
+ from botocore.exceptions import ClientError as BotocoreClientError
31
+
32
+ from .paginator import (
33
+ ListDeviceResourcesPaginator,
34
+ ListDevicesPaginator,
35
+ ListExecutionsPaginator,
36
+ ListTasksPaginator,
37
+ )
38
+ from .type_defs import (
39
+ CancelTaskInputTypeDef,
40
+ CancelTaskOutputTypeDef,
41
+ CreateTaskInputTypeDef,
42
+ CreateTaskOutputTypeDef,
43
+ DescribeDeviceEc2InputTypeDef,
44
+ DescribeDeviceEc2OutputTypeDef,
45
+ DescribeDeviceInputTypeDef,
46
+ DescribeDeviceOutputTypeDef,
47
+ DescribeExecutionInputTypeDef,
48
+ DescribeExecutionOutputTypeDef,
49
+ DescribeTaskInputTypeDef,
50
+ DescribeTaskOutputTypeDef,
51
+ EmptyResponseMetadataTypeDef,
52
+ ListDeviceResourcesInputTypeDef,
53
+ ListDeviceResourcesOutputTypeDef,
54
+ ListDevicesInputTypeDef,
55
+ ListDevicesOutputTypeDef,
56
+ ListExecutionsInputTypeDef,
57
+ ListExecutionsOutputTypeDef,
58
+ ListTagsForResourceInputTypeDef,
59
+ ListTagsForResourceOutputTypeDef,
60
+ ListTasksInputTypeDef,
61
+ ListTasksOutputTypeDef,
62
+ TagResourceInputTypeDef,
63
+ UntagResourceInputTypeDef,
64
+ )
65
+
66
+ if sys.version_info >= (3, 12):
67
+ from typing import Literal, Self, Unpack
68
+ else:
69
+ from typing_extensions import Literal, Self, Unpack
70
+
71
+
72
+ __all__ = ("SnowDeviceManagementClient",)
73
+
74
+
75
+ class Exceptions(BaseClientExceptions):
76
+ AccessDeniedException: type[BotocoreClientError]
77
+ ClientError: type[BotocoreClientError]
78
+ InternalServerException: type[BotocoreClientError]
79
+ ResourceNotFoundException: type[BotocoreClientError]
80
+ ServiceQuotaExceededException: type[BotocoreClientError]
81
+ ThrottlingException: type[BotocoreClientError]
82
+ ValidationException: type[BotocoreClientError]
83
+
84
+
85
+ class SnowDeviceManagementClient(AioBaseClient):
86
+ """
87
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management.html#SnowDeviceManagement.Client)
88
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/)
89
+ """
90
+
91
+ meta: ClientMeta
92
+
93
+ @property
94
+ def exceptions(self) -> Exceptions:
95
+ """
96
+ SnowDeviceManagementClient exceptions.
97
+
98
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management.html#SnowDeviceManagement.Client)
99
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#exceptions)
100
+ """
101
+
102
+ def can_paginate(self, operation_name: str) -> bool:
103
+ """
104
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/can_paginate.html)
105
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#can_paginate)
106
+ """
107
+
108
+ async def generate_presigned_url(
109
+ self,
110
+ ClientMethod: str,
111
+ Params: Mapping[str, Any] = ...,
112
+ ExpiresIn: int = 3600,
113
+ HttpMethod: str = ...,
114
+ ) -> str:
115
+ """
116
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/generate_presigned_url.html)
117
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#generate_presigned_url)
118
+ """
119
+
120
+ async def cancel_task(
121
+ self, **kwargs: Unpack[CancelTaskInputTypeDef]
122
+ ) -> CancelTaskOutputTypeDef:
123
+ """
124
+ Sends a cancel request for a specified task.
125
+
126
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/cancel_task.html)
127
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#cancel_task)
128
+ """
129
+
130
+ async def create_task(
131
+ self, **kwargs: Unpack[CreateTaskInputTypeDef]
132
+ ) -> CreateTaskOutputTypeDef:
133
+ """
134
+ Instructs one or more devices to start a task, such as unlocking or rebooting.
135
+
136
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/create_task.html)
137
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#create_task)
138
+ """
139
+
140
+ async def describe_device(
141
+ self, **kwargs: Unpack[DescribeDeviceInputTypeDef]
142
+ ) -> DescribeDeviceOutputTypeDef:
143
+ """
144
+ Checks device-specific information, such as the device type, software version,
145
+ IP addresses, and lock status.
146
+
147
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/describe_device.html)
148
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#describe_device)
149
+ """
150
+
151
+ async def describe_device_ec2_instances(
152
+ self, **kwargs: Unpack[DescribeDeviceEc2InputTypeDef]
153
+ ) -> DescribeDeviceEc2OutputTypeDef:
154
+ """
155
+ Checks the current state of the Amazon EC2 instances.
156
+
157
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/describe_device_ec2_instances.html)
158
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#describe_device_ec2_instances)
159
+ """
160
+
161
+ async def describe_execution(
162
+ self, **kwargs: Unpack[DescribeExecutionInputTypeDef]
163
+ ) -> DescribeExecutionOutputTypeDef:
164
+ """
165
+ Checks the status of a remote task running on one or more target devices.
166
+
167
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/describe_execution.html)
168
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#describe_execution)
169
+ """
170
+
171
+ async def describe_task(
172
+ self, **kwargs: Unpack[DescribeTaskInputTypeDef]
173
+ ) -> DescribeTaskOutputTypeDef:
174
+ """
175
+ Checks the metadata for a given task on a device.
176
+
177
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/describe_task.html)
178
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#describe_task)
179
+ """
180
+
181
+ async def list_device_resources(
182
+ self, **kwargs: Unpack[ListDeviceResourcesInputTypeDef]
183
+ ) -> ListDeviceResourcesOutputTypeDef:
184
+ """
185
+ Returns a list of the Amazon Web Services resources available for a device.
186
+
187
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/list_device_resources.html)
188
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#list_device_resources)
189
+ """
190
+
191
+ async def list_devices(
192
+ self, **kwargs: Unpack[ListDevicesInputTypeDef]
193
+ ) -> ListDevicesOutputTypeDef:
194
+ """
195
+ Returns a list of all devices on your Amazon Web Services account that have
196
+ Amazon Web Services Snow Device Management enabled in the Amazon Web Services
197
+ Region where the command is run.
198
+
199
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/list_devices.html)
200
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#list_devices)
201
+ """
202
+
203
+ async def list_executions(
204
+ self, **kwargs: Unpack[ListExecutionsInputTypeDef]
205
+ ) -> ListExecutionsOutputTypeDef:
206
+ """
207
+ Returns the status of tasks for one or more target devices.
208
+
209
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/list_executions.html)
210
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#list_executions)
211
+ """
212
+
213
+ async def list_tags_for_resource(
214
+ self, **kwargs: Unpack[ListTagsForResourceInputTypeDef]
215
+ ) -> ListTagsForResourceOutputTypeDef:
216
+ """
217
+ Returns a list of tags for a managed device or task.
218
+
219
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/list_tags_for_resource.html)
220
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#list_tags_for_resource)
221
+ """
222
+
223
+ async def list_tasks(self, **kwargs: Unpack[ListTasksInputTypeDef]) -> ListTasksOutputTypeDef:
224
+ """
225
+ Returns a list of tasks that can be filtered by state.
226
+
227
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/list_tasks.html)
228
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#list_tasks)
229
+ """
230
+
231
+ async def tag_resource(
232
+ self, **kwargs: Unpack[TagResourceInputTypeDef]
233
+ ) -> EmptyResponseMetadataTypeDef:
234
+ """
235
+ Adds or replaces tags on a device or task.
236
+
237
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/tag_resource.html)
238
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#tag_resource)
239
+ """
240
+
241
+ async def untag_resource(
242
+ self, **kwargs: Unpack[UntagResourceInputTypeDef]
243
+ ) -> EmptyResponseMetadataTypeDef:
244
+ """
245
+ Removes a tag from a device or task.
246
+
247
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/untag_resource.html)
248
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#untag_resource)
249
+ """
250
+
251
+ @overload # type: ignore[override]
252
+ def get_paginator( # type: ignore[override]
253
+ self, operation_name: Literal["list_device_resources"]
254
+ ) -> ListDeviceResourcesPaginator:
255
+ """
256
+ Create a paginator for an operation.
257
+
258
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/get_paginator.html)
259
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#get_paginator)
260
+ """
261
+
262
+ @overload # type: ignore[override]
263
+ def get_paginator( # type: ignore[override]
264
+ self, operation_name: Literal["list_devices"]
265
+ ) -> ListDevicesPaginator:
266
+ """
267
+ Create a paginator for an operation.
268
+
269
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/get_paginator.html)
270
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#get_paginator)
271
+ """
272
+
273
+ @overload # type: ignore[override]
274
+ def get_paginator( # type: ignore[override]
275
+ self, operation_name: Literal["list_executions"]
276
+ ) -> ListExecutionsPaginator:
277
+ """
278
+ Create a paginator for an operation.
279
+
280
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/get_paginator.html)
281
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#get_paginator)
282
+ """
283
+
284
+ @overload # type: ignore[override]
285
+ def get_paginator( # type: ignore[override]
286
+ self, operation_name: Literal["list_tasks"]
287
+ ) -> ListTasksPaginator:
288
+ """
289
+ Create a paginator for an operation.
290
+
291
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management/client/get_paginator.html)
292
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/#get_paginator)
293
+ """
294
+
295
+ async def __aenter__(self) -> Self:
296
+ """
297
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management.html#SnowDeviceManagement.Client)
298
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/)
299
+ """
300
+
301
+ async def __aexit__(
302
+ self,
303
+ exc_type: type[BaseException] | None,
304
+ exc_val: BaseException | None,
305
+ exc_tb: TracebackType | None,
306
+ ) -> None:
307
+ """
308
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/snow-device-management.html#SnowDeviceManagement.Client)
309
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_snow_device_management/client/)
310
+ """