types-aiobotocore-simspaceweaver 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.
- types_aiobotocore_simspaceweaver/__init__.py +30 -0
- types_aiobotocore_simspaceweaver/__init__.pyi +29 -0
- types_aiobotocore_simspaceweaver/__main__.py +43 -0
- types_aiobotocore_simspaceweaver/client.py +270 -0
- types_aiobotocore_simspaceweaver/client.pyi +267 -0
- types_aiobotocore_simspaceweaver/literals.py +488 -0
- types_aiobotocore_simspaceweaver/literals.pyi +486 -0
- types_aiobotocore_simspaceweaver/py.typed +0 -0
- types_aiobotocore_simspaceweaver/type_defs.py +313 -0
- types_aiobotocore_simspaceweaver/type_defs.pyi +273 -0
- types_aiobotocore_simspaceweaver/version.py +7 -0
- types_aiobotocore_simspaceweaver-3.0.0.dist-info/METADATA +445 -0
- types_aiobotocore_simspaceweaver-3.0.0.dist-info/RECORD +16 -0
- types_aiobotocore_simspaceweaver-3.0.0.dist-info/WHEEL +5 -0
- types_aiobotocore_simspaceweaver-3.0.0.dist-info/licenses/LICENSE +21 -0
- types_aiobotocore_simspaceweaver-3.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for simspaceweaver service.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/)
|
|
5
|
+
|
|
6
|
+
Copyright 2025 Vlad Emelianov
|
|
7
|
+
|
|
8
|
+
Usage::
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from aiobotocore.session import get_session
|
|
12
|
+
from types_aiobotocore_simspaceweaver import (
|
|
13
|
+
Client,
|
|
14
|
+
SimSpaceWeaverClient,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
session = get_session()
|
|
18
|
+
async with session.create_client("simspaceweaver") as client:
|
|
19
|
+
client: SimSpaceWeaverClient
|
|
20
|
+
...
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
from .client import SimSpaceWeaverClient
|
|
26
|
+
|
|
27
|
+
Client = SimSpaceWeaverClient
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
__all__ = ("Client", "SimSpaceWeaverClient")
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for simspaceweaver service.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/)
|
|
5
|
+
|
|
6
|
+
Copyright 2025 Vlad Emelianov
|
|
7
|
+
|
|
8
|
+
Usage::
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from aiobotocore.session import get_session
|
|
12
|
+
from types_aiobotocore_simspaceweaver import (
|
|
13
|
+
Client,
|
|
14
|
+
SimSpaceWeaverClient,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
session = get_session()
|
|
18
|
+
async with session.create_client("simspaceweaver") as client:
|
|
19
|
+
client: SimSpaceWeaverClient
|
|
20
|
+
...
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
from .client import SimSpaceWeaverClient
|
|
26
|
+
|
|
27
|
+
Client = SimSpaceWeaverClient
|
|
28
|
+
|
|
29
|
+
__all__ = ("Client", "SimSpaceWeaverClient")
|
|
@@ -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 SimSpaceWeaver 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_simspaceweaver//\n"
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver.html#simspaceweaver\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,270 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for simspaceweaver service Client.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/)
|
|
5
|
+
|
|
6
|
+
Copyright 2025 Vlad Emelianov
|
|
7
|
+
|
|
8
|
+
Usage::
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from aiobotocore.session import get_session
|
|
12
|
+
from types_aiobotocore_simspaceweaver.client import SimSpaceWeaverClient
|
|
13
|
+
|
|
14
|
+
session = get_session()
|
|
15
|
+
async with session.create_client("simspaceweaver") as client:
|
|
16
|
+
client: SimSpaceWeaverClient
|
|
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
|
|
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 .type_defs import (
|
|
33
|
+
CreateSnapshotInputTypeDef,
|
|
34
|
+
DeleteAppInputTypeDef,
|
|
35
|
+
DeleteSimulationInputTypeDef,
|
|
36
|
+
DescribeAppInputTypeDef,
|
|
37
|
+
DescribeAppOutputTypeDef,
|
|
38
|
+
DescribeSimulationInputTypeDef,
|
|
39
|
+
DescribeSimulationOutputTypeDef,
|
|
40
|
+
ListAppsInputTypeDef,
|
|
41
|
+
ListAppsOutputTypeDef,
|
|
42
|
+
ListSimulationsInputTypeDef,
|
|
43
|
+
ListSimulationsOutputTypeDef,
|
|
44
|
+
ListTagsForResourceInputTypeDef,
|
|
45
|
+
ListTagsForResourceOutputTypeDef,
|
|
46
|
+
StartAppInputTypeDef,
|
|
47
|
+
StartAppOutputTypeDef,
|
|
48
|
+
StartClockInputTypeDef,
|
|
49
|
+
StartSimulationInputTypeDef,
|
|
50
|
+
StartSimulationOutputTypeDef,
|
|
51
|
+
StopAppInputTypeDef,
|
|
52
|
+
StopClockInputTypeDef,
|
|
53
|
+
StopSimulationInputTypeDef,
|
|
54
|
+
TagResourceInputTypeDef,
|
|
55
|
+
UntagResourceInputTypeDef,
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
if sys.version_info >= (3, 12):
|
|
59
|
+
from typing import Self, Unpack
|
|
60
|
+
else:
|
|
61
|
+
from typing_extensions import Self, Unpack
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
__all__ = ("SimSpaceWeaverClient",)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
class Exceptions(BaseClientExceptions):
|
|
68
|
+
AccessDeniedException: type[BotocoreClientError]
|
|
69
|
+
ClientError: type[BotocoreClientError]
|
|
70
|
+
ConflictException: type[BotocoreClientError]
|
|
71
|
+
InternalServerException: type[BotocoreClientError]
|
|
72
|
+
ResourceNotFoundException: type[BotocoreClientError]
|
|
73
|
+
ServiceQuotaExceededException: type[BotocoreClientError]
|
|
74
|
+
TooManyTagsException: type[BotocoreClientError]
|
|
75
|
+
ValidationException: type[BotocoreClientError]
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
class SimSpaceWeaverClient(AioBaseClient):
|
|
79
|
+
"""
|
|
80
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver.html#SimSpaceWeaver.Client)
|
|
81
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/)
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
meta: ClientMeta
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def exceptions(self) -> Exceptions:
|
|
88
|
+
"""
|
|
89
|
+
SimSpaceWeaverClient exceptions.
|
|
90
|
+
|
|
91
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver.html#SimSpaceWeaver.Client)
|
|
92
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#exceptions)
|
|
93
|
+
"""
|
|
94
|
+
|
|
95
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
96
|
+
"""
|
|
97
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/can_paginate.html)
|
|
98
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#can_paginate)
|
|
99
|
+
"""
|
|
100
|
+
|
|
101
|
+
async def generate_presigned_url(
|
|
102
|
+
self,
|
|
103
|
+
ClientMethod: str,
|
|
104
|
+
Params: Mapping[str, Any] = ...,
|
|
105
|
+
ExpiresIn: int = 3600,
|
|
106
|
+
HttpMethod: str = ...,
|
|
107
|
+
) -> str:
|
|
108
|
+
"""
|
|
109
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/generate_presigned_url.html)
|
|
110
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#generate_presigned_url)
|
|
111
|
+
"""
|
|
112
|
+
|
|
113
|
+
async def create_snapshot(self, **kwargs: Unpack[CreateSnapshotInputTypeDef]) -> dict[str, Any]:
|
|
114
|
+
"""
|
|
115
|
+
Creates a snapshot of the specified simulation.
|
|
116
|
+
|
|
117
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/create_snapshot.html)
|
|
118
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#create_snapshot)
|
|
119
|
+
"""
|
|
120
|
+
|
|
121
|
+
async def delete_app(self, **kwargs: Unpack[DeleteAppInputTypeDef]) -> dict[str, Any]:
|
|
122
|
+
"""
|
|
123
|
+
Deletes the instance of the given custom app.
|
|
124
|
+
|
|
125
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/delete_app.html)
|
|
126
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#delete_app)
|
|
127
|
+
"""
|
|
128
|
+
|
|
129
|
+
async def delete_simulation(
|
|
130
|
+
self, **kwargs: Unpack[DeleteSimulationInputTypeDef]
|
|
131
|
+
) -> dict[str, Any]:
|
|
132
|
+
"""
|
|
133
|
+
Deletes all SimSpace Weaver resources assigned to the given simulation.
|
|
134
|
+
|
|
135
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/delete_simulation.html)
|
|
136
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#delete_simulation)
|
|
137
|
+
"""
|
|
138
|
+
|
|
139
|
+
async def describe_app(
|
|
140
|
+
self, **kwargs: Unpack[DescribeAppInputTypeDef]
|
|
141
|
+
) -> DescribeAppOutputTypeDef:
|
|
142
|
+
"""
|
|
143
|
+
Returns the state of the given custom app.
|
|
144
|
+
|
|
145
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/describe_app.html)
|
|
146
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#describe_app)
|
|
147
|
+
"""
|
|
148
|
+
|
|
149
|
+
async def describe_simulation(
|
|
150
|
+
self, **kwargs: Unpack[DescribeSimulationInputTypeDef]
|
|
151
|
+
) -> DescribeSimulationOutputTypeDef:
|
|
152
|
+
"""
|
|
153
|
+
Returns the current state of the given simulation.
|
|
154
|
+
|
|
155
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/describe_simulation.html)
|
|
156
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#describe_simulation)
|
|
157
|
+
"""
|
|
158
|
+
|
|
159
|
+
async def list_apps(self, **kwargs: Unpack[ListAppsInputTypeDef]) -> ListAppsOutputTypeDef:
|
|
160
|
+
"""
|
|
161
|
+
Lists all custom apps or service apps for the given simulation and domain.
|
|
162
|
+
|
|
163
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/list_apps.html)
|
|
164
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#list_apps)
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
async def list_simulations(
|
|
168
|
+
self, **kwargs: Unpack[ListSimulationsInputTypeDef]
|
|
169
|
+
) -> ListSimulationsOutputTypeDef:
|
|
170
|
+
"""
|
|
171
|
+
Lists the SimSpace Weaver simulations in the Amazon Web Services account used
|
|
172
|
+
to make the API call.
|
|
173
|
+
|
|
174
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/list_simulations.html)
|
|
175
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#list_simulations)
|
|
176
|
+
"""
|
|
177
|
+
|
|
178
|
+
async def list_tags_for_resource(
|
|
179
|
+
self, **kwargs: Unpack[ListTagsForResourceInputTypeDef]
|
|
180
|
+
) -> ListTagsForResourceOutputTypeDef:
|
|
181
|
+
"""
|
|
182
|
+
Lists all tags on a SimSpace Weaver resource.
|
|
183
|
+
|
|
184
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/list_tags_for_resource.html)
|
|
185
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#list_tags_for_resource)
|
|
186
|
+
"""
|
|
187
|
+
|
|
188
|
+
async def start_app(self, **kwargs: Unpack[StartAppInputTypeDef]) -> StartAppOutputTypeDef:
|
|
189
|
+
"""
|
|
190
|
+
Starts a custom app with the configuration specified in the simulation schema.
|
|
191
|
+
|
|
192
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/start_app.html)
|
|
193
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#start_app)
|
|
194
|
+
"""
|
|
195
|
+
|
|
196
|
+
async def start_clock(self, **kwargs: Unpack[StartClockInputTypeDef]) -> dict[str, Any]:
|
|
197
|
+
"""
|
|
198
|
+
Starts the simulation clock.
|
|
199
|
+
|
|
200
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/start_clock.html)
|
|
201
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#start_clock)
|
|
202
|
+
"""
|
|
203
|
+
|
|
204
|
+
async def start_simulation(
|
|
205
|
+
self, **kwargs: Unpack[StartSimulationInputTypeDef]
|
|
206
|
+
) -> StartSimulationOutputTypeDef:
|
|
207
|
+
"""
|
|
208
|
+
Starts a simulation with the given name.
|
|
209
|
+
|
|
210
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/start_simulation.html)
|
|
211
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#start_simulation)
|
|
212
|
+
"""
|
|
213
|
+
|
|
214
|
+
async def stop_app(self, **kwargs: Unpack[StopAppInputTypeDef]) -> dict[str, Any]:
|
|
215
|
+
"""
|
|
216
|
+
Stops the given custom app and shuts down all of its allocated compute
|
|
217
|
+
resources.
|
|
218
|
+
|
|
219
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/stop_app.html)
|
|
220
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#stop_app)
|
|
221
|
+
"""
|
|
222
|
+
|
|
223
|
+
async def stop_clock(self, **kwargs: Unpack[StopClockInputTypeDef]) -> dict[str, Any]:
|
|
224
|
+
"""
|
|
225
|
+
Stops the simulation clock.
|
|
226
|
+
|
|
227
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/stop_clock.html)
|
|
228
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#stop_clock)
|
|
229
|
+
"""
|
|
230
|
+
|
|
231
|
+
async def stop_simulation(self, **kwargs: Unpack[StopSimulationInputTypeDef]) -> dict[str, Any]:
|
|
232
|
+
"""
|
|
233
|
+
Stops the given simulation.
|
|
234
|
+
|
|
235
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/stop_simulation.html)
|
|
236
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#stop_simulation)
|
|
237
|
+
"""
|
|
238
|
+
|
|
239
|
+
async def tag_resource(self, **kwargs: Unpack[TagResourceInputTypeDef]) -> dict[str, Any]:
|
|
240
|
+
"""
|
|
241
|
+
Adds tags to a SimSpace Weaver resource.
|
|
242
|
+
|
|
243
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/tag_resource.html)
|
|
244
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#tag_resource)
|
|
245
|
+
"""
|
|
246
|
+
|
|
247
|
+
async def untag_resource(self, **kwargs: Unpack[UntagResourceInputTypeDef]) -> dict[str, Any]:
|
|
248
|
+
"""
|
|
249
|
+
Removes tags from a SimSpace Weaver resource.
|
|
250
|
+
|
|
251
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/untag_resource.html)
|
|
252
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#untag_resource)
|
|
253
|
+
"""
|
|
254
|
+
|
|
255
|
+
async def __aenter__(self) -> Self:
|
|
256
|
+
"""
|
|
257
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver.html#SimSpaceWeaver.Client)
|
|
258
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/)
|
|
259
|
+
"""
|
|
260
|
+
|
|
261
|
+
async def __aexit__(
|
|
262
|
+
self,
|
|
263
|
+
exc_type: type[BaseException] | None,
|
|
264
|
+
exc_val: BaseException | None,
|
|
265
|
+
exc_tb: TracebackType | None,
|
|
266
|
+
) -> None:
|
|
267
|
+
"""
|
|
268
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver.html#SimSpaceWeaver.Client)
|
|
269
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/)
|
|
270
|
+
"""
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for simspaceweaver service Client.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/)
|
|
5
|
+
|
|
6
|
+
Copyright 2025 Vlad Emelianov
|
|
7
|
+
|
|
8
|
+
Usage::
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from aiobotocore.session import get_session
|
|
12
|
+
from types_aiobotocore_simspaceweaver.client import SimSpaceWeaverClient
|
|
13
|
+
|
|
14
|
+
session = get_session()
|
|
15
|
+
async with session.create_client("simspaceweaver") as client:
|
|
16
|
+
client: SimSpaceWeaverClient
|
|
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
|
|
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 .type_defs import (
|
|
33
|
+
CreateSnapshotInputTypeDef,
|
|
34
|
+
DeleteAppInputTypeDef,
|
|
35
|
+
DeleteSimulationInputTypeDef,
|
|
36
|
+
DescribeAppInputTypeDef,
|
|
37
|
+
DescribeAppOutputTypeDef,
|
|
38
|
+
DescribeSimulationInputTypeDef,
|
|
39
|
+
DescribeSimulationOutputTypeDef,
|
|
40
|
+
ListAppsInputTypeDef,
|
|
41
|
+
ListAppsOutputTypeDef,
|
|
42
|
+
ListSimulationsInputTypeDef,
|
|
43
|
+
ListSimulationsOutputTypeDef,
|
|
44
|
+
ListTagsForResourceInputTypeDef,
|
|
45
|
+
ListTagsForResourceOutputTypeDef,
|
|
46
|
+
StartAppInputTypeDef,
|
|
47
|
+
StartAppOutputTypeDef,
|
|
48
|
+
StartClockInputTypeDef,
|
|
49
|
+
StartSimulationInputTypeDef,
|
|
50
|
+
StartSimulationOutputTypeDef,
|
|
51
|
+
StopAppInputTypeDef,
|
|
52
|
+
StopClockInputTypeDef,
|
|
53
|
+
StopSimulationInputTypeDef,
|
|
54
|
+
TagResourceInputTypeDef,
|
|
55
|
+
UntagResourceInputTypeDef,
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
if sys.version_info >= (3, 12):
|
|
59
|
+
from typing import Self, Unpack
|
|
60
|
+
else:
|
|
61
|
+
from typing_extensions import Self, Unpack
|
|
62
|
+
|
|
63
|
+
__all__ = ("SimSpaceWeaverClient",)
|
|
64
|
+
|
|
65
|
+
class Exceptions(BaseClientExceptions):
|
|
66
|
+
AccessDeniedException: type[BotocoreClientError]
|
|
67
|
+
ClientError: type[BotocoreClientError]
|
|
68
|
+
ConflictException: type[BotocoreClientError]
|
|
69
|
+
InternalServerException: type[BotocoreClientError]
|
|
70
|
+
ResourceNotFoundException: type[BotocoreClientError]
|
|
71
|
+
ServiceQuotaExceededException: type[BotocoreClientError]
|
|
72
|
+
TooManyTagsException: type[BotocoreClientError]
|
|
73
|
+
ValidationException: type[BotocoreClientError]
|
|
74
|
+
|
|
75
|
+
class SimSpaceWeaverClient(AioBaseClient):
|
|
76
|
+
"""
|
|
77
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver.html#SimSpaceWeaver.Client)
|
|
78
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/)
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
meta: ClientMeta
|
|
82
|
+
|
|
83
|
+
@property
|
|
84
|
+
def exceptions(self) -> Exceptions:
|
|
85
|
+
"""
|
|
86
|
+
SimSpaceWeaverClient exceptions.
|
|
87
|
+
|
|
88
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver.html#SimSpaceWeaver.Client)
|
|
89
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#exceptions)
|
|
90
|
+
"""
|
|
91
|
+
|
|
92
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
93
|
+
"""
|
|
94
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/can_paginate.html)
|
|
95
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#can_paginate)
|
|
96
|
+
"""
|
|
97
|
+
|
|
98
|
+
async def generate_presigned_url(
|
|
99
|
+
self,
|
|
100
|
+
ClientMethod: str,
|
|
101
|
+
Params: Mapping[str, Any] = ...,
|
|
102
|
+
ExpiresIn: int = 3600,
|
|
103
|
+
HttpMethod: str = ...,
|
|
104
|
+
) -> str:
|
|
105
|
+
"""
|
|
106
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/generate_presigned_url.html)
|
|
107
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#generate_presigned_url)
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
async def create_snapshot(self, **kwargs: Unpack[CreateSnapshotInputTypeDef]) -> dict[str, Any]:
|
|
111
|
+
"""
|
|
112
|
+
Creates a snapshot of the specified simulation.
|
|
113
|
+
|
|
114
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/create_snapshot.html)
|
|
115
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#create_snapshot)
|
|
116
|
+
"""
|
|
117
|
+
|
|
118
|
+
async def delete_app(self, **kwargs: Unpack[DeleteAppInputTypeDef]) -> dict[str, Any]:
|
|
119
|
+
"""
|
|
120
|
+
Deletes the instance of the given custom app.
|
|
121
|
+
|
|
122
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/delete_app.html)
|
|
123
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#delete_app)
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
async def delete_simulation(
|
|
127
|
+
self, **kwargs: Unpack[DeleteSimulationInputTypeDef]
|
|
128
|
+
) -> dict[str, Any]:
|
|
129
|
+
"""
|
|
130
|
+
Deletes all SimSpace Weaver resources assigned to the given simulation.
|
|
131
|
+
|
|
132
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/delete_simulation.html)
|
|
133
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#delete_simulation)
|
|
134
|
+
"""
|
|
135
|
+
|
|
136
|
+
async def describe_app(
|
|
137
|
+
self, **kwargs: Unpack[DescribeAppInputTypeDef]
|
|
138
|
+
) -> DescribeAppOutputTypeDef:
|
|
139
|
+
"""
|
|
140
|
+
Returns the state of the given custom app.
|
|
141
|
+
|
|
142
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/describe_app.html)
|
|
143
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#describe_app)
|
|
144
|
+
"""
|
|
145
|
+
|
|
146
|
+
async def describe_simulation(
|
|
147
|
+
self, **kwargs: Unpack[DescribeSimulationInputTypeDef]
|
|
148
|
+
) -> DescribeSimulationOutputTypeDef:
|
|
149
|
+
"""
|
|
150
|
+
Returns the current state of the given simulation.
|
|
151
|
+
|
|
152
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/describe_simulation.html)
|
|
153
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#describe_simulation)
|
|
154
|
+
"""
|
|
155
|
+
|
|
156
|
+
async def list_apps(self, **kwargs: Unpack[ListAppsInputTypeDef]) -> ListAppsOutputTypeDef:
|
|
157
|
+
"""
|
|
158
|
+
Lists all custom apps or service apps for the given simulation and domain.
|
|
159
|
+
|
|
160
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/list_apps.html)
|
|
161
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#list_apps)
|
|
162
|
+
"""
|
|
163
|
+
|
|
164
|
+
async def list_simulations(
|
|
165
|
+
self, **kwargs: Unpack[ListSimulationsInputTypeDef]
|
|
166
|
+
) -> ListSimulationsOutputTypeDef:
|
|
167
|
+
"""
|
|
168
|
+
Lists the SimSpace Weaver simulations in the Amazon Web Services account used
|
|
169
|
+
to make the API call.
|
|
170
|
+
|
|
171
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/list_simulations.html)
|
|
172
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#list_simulations)
|
|
173
|
+
"""
|
|
174
|
+
|
|
175
|
+
async def list_tags_for_resource(
|
|
176
|
+
self, **kwargs: Unpack[ListTagsForResourceInputTypeDef]
|
|
177
|
+
) -> ListTagsForResourceOutputTypeDef:
|
|
178
|
+
"""
|
|
179
|
+
Lists all tags on a SimSpace Weaver resource.
|
|
180
|
+
|
|
181
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/list_tags_for_resource.html)
|
|
182
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#list_tags_for_resource)
|
|
183
|
+
"""
|
|
184
|
+
|
|
185
|
+
async def start_app(self, **kwargs: Unpack[StartAppInputTypeDef]) -> StartAppOutputTypeDef:
|
|
186
|
+
"""
|
|
187
|
+
Starts a custom app with the configuration specified in the simulation schema.
|
|
188
|
+
|
|
189
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/start_app.html)
|
|
190
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#start_app)
|
|
191
|
+
"""
|
|
192
|
+
|
|
193
|
+
async def start_clock(self, **kwargs: Unpack[StartClockInputTypeDef]) -> dict[str, Any]:
|
|
194
|
+
"""
|
|
195
|
+
Starts the simulation clock.
|
|
196
|
+
|
|
197
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/start_clock.html)
|
|
198
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#start_clock)
|
|
199
|
+
"""
|
|
200
|
+
|
|
201
|
+
async def start_simulation(
|
|
202
|
+
self, **kwargs: Unpack[StartSimulationInputTypeDef]
|
|
203
|
+
) -> StartSimulationOutputTypeDef:
|
|
204
|
+
"""
|
|
205
|
+
Starts a simulation with the given name.
|
|
206
|
+
|
|
207
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/start_simulation.html)
|
|
208
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#start_simulation)
|
|
209
|
+
"""
|
|
210
|
+
|
|
211
|
+
async def stop_app(self, **kwargs: Unpack[StopAppInputTypeDef]) -> dict[str, Any]:
|
|
212
|
+
"""
|
|
213
|
+
Stops the given custom app and shuts down all of its allocated compute
|
|
214
|
+
resources.
|
|
215
|
+
|
|
216
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/stop_app.html)
|
|
217
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#stop_app)
|
|
218
|
+
"""
|
|
219
|
+
|
|
220
|
+
async def stop_clock(self, **kwargs: Unpack[StopClockInputTypeDef]) -> dict[str, Any]:
|
|
221
|
+
"""
|
|
222
|
+
Stops the simulation clock.
|
|
223
|
+
|
|
224
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/stop_clock.html)
|
|
225
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#stop_clock)
|
|
226
|
+
"""
|
|
227
|
+
|
|
228
|
+
async def stop_simulation(self, **kwargs: Unpack[StopSimulationInputTypeDef]) -> dict[str, Any]:
|
|
229
|
+
"""
|
|
230
|
+
Stops the given simulation.
|
|
231
|
+
|
|
232
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/stop_simulation.html)
|
|
233
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#stop_simulation)
|
|
234
|
+
"""
|
|
235
|
+
|
|
236
|
+
async def tag_resource(self, **kwargs: Unpack[TagResourceInputTypeDef]) -> dict[str, Any]:
|
|
237
|
+
"""
|
|
238
|
+
Adds tags to a SimSpace Weaver resource.
|
|
239
|
+
|
|
240
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/tag_resource.html)
|
|
241
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#tag_resource)
|
|
242
|
+
"""
|
|
243
|
+
|
|
244
|
+
async def untag_resource(self, **kwargs: Unpack[UntagResourceInputTypeDef]) -> dict[str, Any]:
|
|
245
|
+
"""
|
|
246
|
+
Removes tags from a SimSpace Weaver resource.
|
|
247
|
+
|
|
248
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver/client/untag_resource.html)
|
|
249
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/#untag_resource)
|
|
250
|
+
"""
|
|
251
|
+
|
|
252
|
+
async def __aenter__(self) -> Self:
|
|
253
|
+
"""
|
|
254
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver.html#SimSpaceWeaver.Client)
|
|
255
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/)
|
|
256
|
+
"""
|
|
257
|
+
|
|
258
|
+
async def __aexit__(
|
|
259
|
+
self,
|
|
260
|
+
exc_type: type[BaseException] | None,
|
|
261
|
+
exc_val: BaseException | None,
|
|
262
|
+
exc_tb: TracebackType | None,
|
|
263
|
+
) -> None:
|
|
264
|
+
"""
|
|
265
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/simspaceweaver.html#SimSpaceWeaver.Client)
|
|
266
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_simspaceweaver/client/)
|
|
267
|
+
"""
|