types-boto3-lambda-microvms 1.43.35__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_lambda_microvms/__init__.py +57 -0
- types_boto3_lambda_microvms/__init__.pyi +56 -0
- types_boto3_lambda_microvms/__main__.py +43 -0
- types_boto3_lambda_microvms/client.py +442 -0
- types_boto3_lambda_microvms/client.pyi +439 -0
- types_boto3_lambda_microvms/literals.py +554 -0
- types_boto3_lambda_microvms/literals.pyi +552 -0
- types_boto3_lambda_microvms/paginator.py +198 -0
- types_boto3_lambda_microvms/paginator.pyi +179 -0
- types_boto3_lambda_microvms/py.typed +0 -0
- types_boto3_lambda_microvms/type_defs.py +688 -0
- types_boto3_lambda_microvms/type_defs.pyi +616 -0
- types_boto3_lambda_microvms/version.py +7 -0
- types_boto3_lambda_microvms-1.43.35.dist-info/METADATA +495 -0
- types_boto3_lambda_microvms-1.43.35.dist-info/RECORD +18 -0
- types_boto3_lambda_microvms-1.43.35.dist-info/WHEEL +5 -0
- types_boto3_lambda_microvms-1.43.35.dist-info/licenses/LICENSE +21 -0
- types_boto3_lambda_microvms-1.43.35.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,616 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for lambda-microvms service type definitions.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_lambda_microvms/type_defs/)
|
|
5
|
+
|
|
6
|
+
Copyright 2026 Vlad Emelianov
|
|
7
|
+
|
|
8
|
+
Usage::
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from types_boto3_lambda_microvms.type_defs import CloudWatchLoggingTypeDef
|
|
12
|
+
|
|
13
|
+
data: CloudWatchLoggingTypeDef = ...
|
|
14
|
+
```
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
from __future__ import annotations
|
|
18
|
+
|
|
19
|
+
import sys
|
|
20
|
+
from collections.abc import Mapping, Sequence
|
|
21
|
+
from datetime import datetime
|
|
22
|
+
from typing import Any, Union
|
|
23
|
+
|
|
24
|
+
from .literals import (
|
|
25
|
+
BuildStateType,
|
|
26
|
+
HookStateType,
|
|
27
|
+
MicrovmImageStateType,
|
|
28
|
+
MicrovmImageVersionStateType,
|
|
29
|
+
MicrovmImageVersionStatusType,
|
|
30
|
+
MicrovmStateType,
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
if sys.version_info >= (3, 12):
|
|
34
|
+
from typing import Literal, NotRequired, TypedDict
|
|
35
|
+
else:
|
|
36
|
+
from typing_extensions import Literal, NotRequired, TypedDict
|
|
37
|
+
|
|
38
|
+
__all__ = (
|
|
39
|
+
"CloudWatchLoggingTypeDef",
|
|
40
|
+
"CodeArtifactTypeDef",
|
|
41
|
+
"CpuConfigurationTypeDef",
|
|
42
|
+
"CreateMicrovmAuthTokenRequestTypeDef",
|
|
43
|
+
"CreateMicrovmAuthTokenResponseTypeDef",
|
|
44
|
+
"CreateMicrovmImageRequestTypeDef",
|
|
45
|
+
"CreateMicrovmImageResponseTypeDef",
|
|
46
|
+
"CreateMicrovmShellAuthTokenRequestTypeDef",
|
|
47
|
+
"CreateMicrovmShellAuthTokenResponseTypeDef",
|
|
48
|
+
"DeleteMicrovmImageInputTypeDef",
|
|
49
|
+
"DeleteMicrovmImageOutputTypeDef",
|
|
50
|
+
"DeleteMicrovmImageVersionInputTypeDef",
|
|
51
|
+
"DeleteMicrovmImageVersionOutputTypeDef",
|
|
52
|
+
"EmptyResponseMetadataTypeDef",
|
|
53
|
+
"GetMicrovmImageBuildInputTypeDef",
|
|
54
|
+
"GetMicrovmImageBuildOutputTypeDef",
|
|
55
|
+
"GetMicrovmImageInputTypeDef",
|
|
56
|
+
"GetMicrovmImageOutputTypeDef",
|
|
57
|
+
"GetMicrovmImageVersionInputTypeDef",
|
|
58
|
+
"GetMicrovmImageVersionOutputTypeDef",
|
|
59
|
+
"GetMicrovmRequestTypeDef",
|
|
60
|
+
"GetMicrovmResponseTypeDef",
|
|
61
|
+
"HooksTypeDef",
|
|
62
|
+
"IdlePolicyTypeDef",
|
|
63
|
+
"ListManagedMicrovmImageVersionsInputPaginateTypeDef",
|
|
64
|
+
"ListManagedMicrovmImageVersionsInputTypeDef",
|
|
65
|
+
"ListManagedMicrovmImageVersionsOutputTypeDef",
|
|
66
|
+
"ListManagedMicrovmImagesInputPaginateTypeDef",
|
|
67
|
+
"ListManagedMicrovmImagesInputTypeDef",
|
|
68
|
+
"ListManagedMicrovmImagesOutputTypeDef",
|
|
69
|
+
"ListMicrovmImageBuildsInputPaginateTypeDef",
|
|
70
|
+
"ListMicrovmImageBuildsInputTypeDef",
|
|
71
|
+
"ListMicrovmImageBuildsOutputTypeDef",
|
|
72
|
+
"ListMicrovmImageVersionsInputPaginateTypeDef",
|
|
73
|
+
"ListMicrovmImageVersionsInputTypeDef",
|
|
74
|
+
"ListMicrovmImageVersionsOutputTypeDef",
|
|
75
|
+
"ListMicrovmImagesRequestPaginateTypeDef",
|
|
76
|
+
"ListMicrovmImagesRequestTypeDef",
|
|
77
|
+
"ListMicrovmImagesResponseTypeDef",
|
|
78
|
+
"ListMicrovmsRequestPaginateTypeDef",
|
|
79
|
+
"ListMicrovmsRequestTypeDef",
|
|
80
|
+
"ListMicrovmsResponseTypeDef",
|
|
81
|
+
"ListTagsRequestTypeDef",
|
|
82
|
+
"ListTagsResponseTypeDef",
|
|
83
|
+
"LoggingOutputTypeDef",
|
|
84
|
+
"LoggingTypeDef",
|
|
85
|
+
"LoggingUnionTypeDef",
|
|
86
|
+
"ManagedMicrovmImageSummaryTypeDef",
|
|
87
|
+
"ManagedMicrovmImageVersionTypeDef",
|
|
88
|
+
"MicrovmHooksTypeDef",
|
|
89
|
+
"MicrovmImageBuildSummaryTypeDef",
|
|
90
|
+
"MicrovmImageHooksTypeDef",
|
|
91
|
+
"MicrovmImageSummaryTypeDef",
|
|
92
|
+
"MicrovmImageVersionSummaryTypeDef",
|
|
93
|
+
"MicrovmItemTypeDef",
|
|
94
|
+
"PaginatorConfigTypeDef",
|
|
95
|
+
"PortRangeTypeDef",
|
|
96
|
+
"PortSpecificationTypeDef",
|
|
97
|
+
"ResourcesTypeDef",
|
|
98
|
+
"ResponseMetadataTypeDef",
|
|
99
|
+
"ResumeMicrovmRequestTypeDef",
|
|
100
|
+
"RunMicrovmRequestTypeDef",
|
|
101
|
+
"RunMicrovmResponseTypeDef",
|
|
102
|
+
"SnapshotBuildTypeDef",
|
|
103
|
+
"SuspendMicrovmRequestTypeDef",
|
|
104
|
+
"TagResourceRequestTypeDef",
|
|
105
|
+
"TerminateMicrovmRequestTypeDef",
|
|
106
|
+
"UntagResourceRequestTypeDef",
|
|
107
|
+
"UpdateMicrovmImageRequestTypeDef",
|
|
108
|
+
"UpdateMicrovmImageResponseTypeDef",
|
|
109
|
+
"UpdateMicrovmImageVersionRequestTypeDef",
|
|
110
|
+
"UpdateMicrovmImageVersionResponseTypeDef",
|
|
111
|
+
)
|
|
112
|
+
|
|
113
|
+
class CloudWatchLoggingTypeDef(TypedDict):
|
|
114
|
+
logGroup: NotRequired[str]
|
|
115
|
+
logStream: NotRequired[str]
|
|
116
|
+
|
|
117
|
+
class CodeArtifactTypeDef(TypedDict):
|
|
118
|
+
uri: NotRequired[str]
|
|
119
|
+
|
|
120
|
+
class CpuConfigurationTypeDef(TypedDict):
|
|
121
|
+
architecture: Literal["ARM_64"]
|
|
122
|
+
|
|
123
|
+
class ResponseMetadataTypeDef(TypedDict):
|
|
124
|
+
RequestId: str
|
|
125
|
+
HTTPStatusCode: int
|
|
126
|
+
HTTPHeaders: dict[str, str]
|
|
127
|
+
RetryAttempts: int
|
|
128
|
+
HostId: NotRequired[str]
|
|
129
|
+
|
|
130
|
+
class ResourcesTypeDef(TypedDict):
|
|
131
|
+
minimumMemoryInMiB: int
|
|
132
|
+
|
|
133
|
+
class CreateMicrovmShellAuthTokenRequestTypeDef(TypedDict):
|
|
134
|
+
microvmIdentifier: str
|
|
135
|
+
expirationInMinutes: int
|
|
136
|
+
|
|
137
|
+
class DeleteMicrovmImageInputTypeDef(TypedDict):
|
|
138
|
+
imageIdentifier: str
|
|
139
|
+
|
|
140
|
+
class DeleteMicrovmImageVersionInputTypeDef(TypedDict):
|
|
141
|
+
imageIdentifier: str
|
|
142
|
+
imageVersion: str
|
|
143
|
+
|
|
144
|
+
class GetMicrovmImageBuildInputTypeDef(TypedDict):
|
|
145
|
+
imageIdentifier: str
|
|
146
|
+
imageVersion: str
|
|
147
|
+
buildId: str
|
|
148
|
+
|
|
149
|
+
class SnapshotBuildTypeDef(TypedDict):
|
|
150
|
+
memorySnapshotSizeInBytes: NotRequired[int]
|
|
151
|
+
codeInstallSizeInBytes: NotRequired[int]
|
|
152
|
+
diskSnapshotSizeInBytes: NotRequired[int]
|
|
153
|
+
|
|
154
|
+
class GetMicrovmImageInputTypeDef(TypedDict):
|
|
155
|
+
imageIdentifier: str
|
|
156
|
+
|
|
157
|
+
class GetMicrovmImageVersionInputTypeDef(TypedDict):
|
|
158
|
+
imageIdentifier: str
|
|
159
|
+
imageVersion: str
|
|
160
|
+
|
|
161
|
+
class GetMicrovmRequestTypeDef(TypedDict):
|
|
162
|
+
microvmIdentifier: str
|
|
163
|
+
|
|
164
|
+
class IdlePolicyTypeDef(TypedDict):
|
|
165
|
+
maxIdleDurationSeconds: int
|
|
166
|
+
suspendedDurationSeconds: int
|
|
167
|
+
autoResumeEnabled: bool
|
|
168
|
+
|
|
169
|
+
class MicrovmHooksTypeDef(TypedDict):
|
|
170
|
+
run: NotRequired[HookStateType]
|
|
171
|
+
runTimeoutInSeconds: NotRequired[int]
|
|
172
|
+
resume: NotRequired[HookStateType]
|
|
173
|
+
resumeTimeoutInSeconds: NotRequired[int]
|
|
174
|
+
suspend: NotRequired[HookStateType]
|
|
175
|
+
suspendTimeoutInSeconds: NotRequired[int]
|
|
176
|
+
terminate: NotRequired[HookStateType]
|
|
177
|
+
terminateTimeoutInSeconds: NotRequired[int]
|
|
178
|
+
|
|
179
|
+
class MicrovmImageHooksTypeDef(TypedDict):
|
|
180
|
+
ready: NotRequired[HookStateType]
|
|
181
|
+
readyTimeoutInSeconds: NotRequired[int]
|
|
182
|
+
validate: NotRequired[HookStateType]
|
|
183
|
+
validateTimeoutInSeconds: NotRequired[int]
|
|
184
|
+
|
|
185
|
+
class PaginatorConfigTypeDef(TypedDict):
|
|
186
|
+
MaxItems: NotRequired[int]
|
|
187
|
+
PageSize: NotRequired[int]
|
|
188
|
+
StartingToken: NotRequired[str]
|
|
189
|
+
|
|
190
|
+
class ListManagedMicrovmImageVersionsInputTypeDef(TypedDict):
|
|
191
|
+
imageIdentifier: str
|
|
192
|
+
maxResults: NotRequired[int]
|
|
193
|
+
nextToken: NotRequired[str]
|
|
194
|
+
|
|
195
|
+
class ManagedMicrovmImageVersionTypeDef(TypedDict):
|
|
196
|
+
imageArn: str
|
|
197
|
+
imageVersion: str
|
|
198
|
+
createdAt: datetime
|
|
199
|
+
updatedAt: NotRequired[datetime]
|
|
200
|
+
|
|
201
|
+
class ListManagedMicrovmImagesInputTypeDef(TypedDict):
|
|
202
|
+
maxResults: NotRequired[int]
|
|
203
|
+
nextToken: NotRequired[str]
|
|
204
|
+
|
|
205
|
+
class ManagedMicrovmImageSummaryTypeDef(TypedDict):
|
|
206
|
+
imageArn: str
|
|
207
|
+
createdAt: datetime
|
|
208
|
+
updatedAt: NotRequired[datetime]
|
|
209
|
+
|
|
210
|
+
class ListMicrovmImageBuildsInputTypeDef(TypedDict):
|
|
211
|
+
imageIdentifier: str
|
|
212
|
+
imageVersion: str
|
|
213
|
+
maxResults: NotRequired[int]
|
|
214
|
+
nextToken: NotRequired[str]
|
|
215
|
+
architecture: NotRequired[Literal["ARM_64"]]
|
|
216
|
+
chipset: NotRequired[Literal["GRAVITON"]]
|
|
217
|
+
chipsetGeneration: NotRequired[str]
|
|
218
|
+
|
|
219
|
+
class MicrovmImageBuildSummaryTypeDef(TypedDict):
|
|
220
|
+
imageArn: str
|
|
221
|
+
imageVersion: str
|
|
222
|
+
buildId: str
|
|
223
|
+
buildState: BuildStateType
|
|
224
|
+
architecture: Literal["ARM_64"]
|
|
225
|
+
chipset: Literal["GRAVITON"]
|
|
226
|
+
chipsetGeneration: str
|
|
227
|
+
createdAt: datetime
|
|
228
|
+
stateReason: NotRequired[str]
|
|
229
|
+
|
|
230
|
+
class ListMicrovmImageVersionsInputTypeDef(TypedDict):
|
|
231
|
+
imageIdentifier: str
|
|
232
|
+
maxResults: NotRequired[int]
|
|
233
|
+
nextToken: NotRequired[str]
|
|
234
|
+
|
|
235
|
+
class ListMicrovmImagesRequestTypeDef(TypedDict):
|
|
236
|
+
maxResults: NotRequired[int]
|
|
237
|
+
nextToken: NotRequired[str]
|
|
238
|
+
nameFilter: NotRequired[str]
|
|
239
|
+
|
|
240
|
+
class MicrovmImageSummaryTypeDef(TypedDict):
|
|
241
|
+
imageArn: str
|
|
242
|
+
name: str
|
|
243
|
+
state: MicrovmImageStateType
|
|
244
|
+
createdAt: datetime
|
|
245
|
+
latestActiveImageVersion: NotRequired[str]
|
|
246
|
+
latestFailedImageVersion: NotRequired[str]
|
|
247
|
+
|
|
248
|
+
class ListMicrovmsRequestTypeDef(TypedDict):
|
|
249
|
+
maxResults: NotRequired[int]
|
|
250
|
+
nextToken: NotRequired[str]
|
|
251
|
+
imageIdentifier: NotRequired[str]
|
|
252
|
+
imageVersion: NotRequired[str]
|
|
253
|
+
|
|
254
|
+
class MicrovmItemTypeDef(TypedDict):
|
|
255
|
+
microvmId: str
|
|
256
|
+
state: MicrovmStateType
|
|
257
|
+
imageArn: str
|
|
258
|
+
imageVersion: str
|
|
259
|
+
startedAt: datetime
|
|
260
|
+
|
|
261
|
+
class ListTagsRequestTypeDef(TypedDict):
|
|
262
|
+
Resource: str
|
|
263
|
+
|
|
264
|
+
class PortRangeTypeDef(TypedDict):
|
|
265
|
+
startPort: int
|
|
266
|
+
endPort: int
|
|
267
|
+
|
|
268
|
+
class ResumeMicrovmRequestTypeDef(TypedDict):
|
|
269
|
+
microvmIdentifier: str
|
|
270
|
+
|
|
271
|
+
class SuspendMicrovmRequestTypeDef(TypedDict):
|
|
272
|
+
microvmIdentifier: str
|
|
273
|
+
|
|
274
|
+
class TagResourceRequestTypeDef(TypedDict):
|
|
275
|
+
Resource: str
|
|
276
|
+
Tags: Mapping[str, str]
|
|
277
|
+
|
|
278
|
+
class TerminateMicrovmRequestTypeDef(TypedDict):
|
|
279
|
+
microvmIdentifier: str
|
|
280
|
+
|
|
281
|
+
class UntagResourceRequestTypeDef(TypedDict):
|
|
282
|
+
Resource: str
|
|
283
|
+
TagKeys: Sequence[str]
|
|
284
|
+
|
|
285
|
+
class UpdateMicrovmImageVersionRequestTypeDef(TypedDict):
|
|
286
|
+
imageIdentifier: str
|
|
287
|
+
imageVersion: str
|
|
288
|
+
status: MicrovmImageVersionStatusType
|
|
289
|
+
|
|
290
|
+
class LoggingOutputTypeDef(TypedDict):
|
|
291
|
+
disabled: NotRequired[dict[str, Any]]
|
|
292
|
+
cloudWatch: NotRequired[CloudWatchLoggingTypeDef]
|
|
293
|
+
|
|
294
|
+
class LoggingTypeDef(TypedDict):
|
|
295
|
+
disabled: NotRequired[Mapping[str, Any]]
|
|
296
|
+
cloudWatch: NotRequired[CloudWatchLoggingTypeDef]
|
|
297
|
+
|
|
298
|
+
class CreateMicrovmAuthTokenResponseTypeDef(TypedDict):
|
|
299
|
+
authToken: dict[str, str]
|
|
300
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
301
|
+
|
|
302
|
+
class CreateMicrovmShellAuthTokenResponseTypeDef(TypedDict):
|
|
303
|
+
authToken: dict[str, str]
|
|
304
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
305
|
+
|
|
306
|
+
class DeleteMicrovmImageOutputTypeDef(TypedDict):
|
|
307
|
+
imageIdentifier: str
|
|
308
|
+
state: MicrovmImageStateType
|
|
309
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
310
|
+
|
|
311
|
+
class DeleteMicrovmImageVersionOutputTypeDef(TypedDict):
|
|
312
|
+
imageIdentifier: str
|
|
313
|
+
imageVersion: str
|
|
314
|
+
state: MicrovmImageVersionStateType
|
|
315
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
316
|
+
|
|
317
|
+
class EmptyResponseMetadataTypeDef(TypedDict):
|
|
318
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
319
|
+
|
|
320
|
+
class GetMicrovmImageOutputTypeDef(TypedDict):
|
|
321
|
+
imageArn: str
|
|
322
|
+
name: str
|
|
323
|
+
state: MicrovmImageStateType
|
|
324
|
+
latestActiveImageVersion: str
|
|
325
|
+
latestFailedImageVersion: str
|
|
326
|
+
createdAt: datetime
|
|
327
|
+
tags: dict[str, str]
|
|
328
|
+
updatedAt: datetime
|
|
329
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
330
|
+
|
|
331
|
+
class ListTagsResponseTypeDef(TypedDict):
|
|
332
|
+
Tags: dict[str, str]
|
|
333
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
334
|
+
|
|
335
|
+
class GetMicrovmImageBuildOutputTypeDef(TypedDict):
|
|
336
|
+
imageArn: str
|
|
337
|
+
imageVersion: str
|
|
338
|
+
buildId: str
|
|
339
|
+
buildState: BuildStateType
|
|
340
|
+
architecture: Literal["ARM_64"]
|
|
341
|
+
chipset: Literal["GRAVITON"]
|
|
342
|
+
chipsetGeneration: str
|
|
343
|
+
stateReason: str
|
|
344
|
+
createdAt: datetime
|
|
345
|
+
snapshotBuild: SnapshotBuildTypeDef
|
|
346
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
347
|
+
|
|
348
|
+
class GetMicrovmResponseTypeDef(TypedDict):
|
|
349
|
+
microvmId: str
|
|
350
|
+
state: MicrovmStateType
|
|
351
|
+
endpoint: str
|
|
352
|
+
imageArn: str
|
|
353
|
+
imageVersion: str
|
|
354
|
+
executionRoleArn: str
|
|
355
|
+
idlePolicy: IdlePolicyTypeDef
|
|
356
|
+
maximumDurationInSeconds: int
|
|
357
|
+
startedAt: datetime
|
|
358
|
+
terminatedAt: datetime
|
|
359
|
+
stateReason: str
|
|
360
|
+
ingressNetworkConnectors: list[str]
|
|
361
|
+
egressNetworkConnectors: list[str]
|
|
362
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
363
|
+
|
|
364
|
+
class RunMicrovmResponseTypeDef(TypedDict):
|
|
365
|
+
microvmId: str
|
|
366
|
+
state: MicrovmStateType
|
|
367
|
+
endpoint: str
|
|
368
|
+
imageArn: str
|
|
369
|
+
imageVersion: str
|
|
370
|
+
executionRoleArn: str
|
|
371
|
+
idlePolicy: IdlePolicyTypeDef
|
|
372
|
+
maximumDurationInSeconds: int
|
|
373
|
+
startedAt: datetime
|
|
374
|
+
terminatedAt: datetime
|
|
375
|
+
stateReason: str
|
|
376
|
+
ingressNetworkConnectors: list[str]
|
|
377
|
+
egressNetworkConnectors: list[str]
|
|
378
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
379
|
+
|
|
380
|
+
class HooksTypeDef(TypedDict):
|
|
381
|
+
port: NotRequired[int]
|
|
382
|
+
microvmHooks: NotRequired[MicrovmHooksTypeDef]
|
|
383
|
+
microvmImageHooks: NotRequired[MicrovmImageHooksTypeDef]
|
|
384
|
+
|
|
385
|
+
class ListManagedMicrovmImageVersionsInputPaginateTypeDef(TypedDict):
|
|
386
|
+
imageIdentifier: str
|
|
387
|
+
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
388
|
+
|
|
389
|
+
class ListManagedMicrovmImagesInputPaginateTypeDef(TypedDict):
|
|
390
|
+
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
391
|
+
|
|
392
|
+
class ListMicrovmImageBuildsInputPaginateTypeDef(TypedDict):
|
|
393
|
+
imageIdentifier: str
|
|
394
|
+
imageVersion: str
|
|
395
|
+
architecture: NotRequired[Literal["ARM_64"]]
|
|
396
|
+
chipset: NotRequired[Literal["GRAVITON"]]
|
|
397
|
+
chipsetGeneration: NotRequired[str]
|
|
398
|
+
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
399
|
+
|
|
400
|
+
class ListMicrovmImageVersionsInputPaginateTypeDef(TypedDict):
|
|
401
|
+
imageIdentifier: str
|
|
402
|
+
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
403
|
+
|
|
404
|
+
class ListMicrovmImagesRequestPaginateTypeDef(TypedDict):
|
|
405
|
+
nameFilter: NotRequired[str]
|
|
406
|
+
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
407
|
+
|
|
408
|
+
class ListMicrovmsRequestPaginateTypeDef(TypedDict):
|
|
409
|
+
imageIdentifier: NotRequired[str]
|
|
410
|
+
imageVersion: NotRequired[str]
|
|
411
|
+
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
412
|
+
|
|
413
|
+
class ListManagedMicrovmImageVersionsOutputTypeDef(TypedDict):
|
|
414
|
+
items: list[ManagedMicrovmImageVersionTypeDef]
|
|
415
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
416
|
+
nextToken: NotRequired[str]
|
|
417
|
+
|
|
418
|
+
class ListManagedMicrovmImagesOutputTypeDef(TypedDict):
|
|
419
|
+
items: list[ManagedMicrovmImageSummaryTypeDef]
|
|
420
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
421
|
+
nextToken: NotRequired[str]
|
|
422
|
+
|
|
423
|
+
class ListMicrovmImageBuildsOutputTypeDef(TypedDict):
|
|
424
|
+
items: list[MicrovmImageBuildSummaryTypeDef]
|
|
425
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
426
|
+
nextToken: NotRequired[str]
|
|
427
|
+
|
|
428
|
+
class ListMicrovmImagesResponseTypeDef(TypedDict):
|
|
429
|
+
items: list[MicrovmImageSummaryTypeDef]
|
|
430
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
431
|
+
nextToken: NotRequired[str]
|
|
432
|
+
|
|
433
|
+
class ListMicrovmsResponseTypeDef(TypedDict):
|
|
434
|
+
items: list[MicrovmItemTypeDef]
|
|
435
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
436
|
+
nextToken: NotRequired[str]
|
|
437
|
+
|
|
438
|
+
PortSpecificationTypeDef = TypedDict(
|
|
439
|
+
"PortSpecificationTypeDef",
|
|
440
|
+
{
|
|
441
|
+
"port": NotRequired[int],
|
|
442
|
+
"range": NotRequired[PortRangeTypeDef],
|
|
443
|
+
"allPorts": NotRequired[Mapping[str, Any]],
|
|
444
|
+
},
|
|
445
|
+
)
|
|
446
|
+
LoggingUnionTypeDef = Union[LoggingTypeDef, LoggingOutputTypeDef]
|
|
447
|
+
|
|
448
|
+
class CreateMicrovmImageResponseTypeDef(TypedDict):
|
|
449
|
+
imageArn: str
|
|
450
|
+
name: str
|
|
451
|
+
state: MicrovmImageStateType
|
|
452
|
+
latestActiveImageVersion: str
|
|
453
|
+
latestFailedImageVersion: str
|
|
454
|
+
createdAt: datetime
|
|
455
|
+
baseImageArn: str
|
|
456
|
+
baseImageVersion: str
|
|
457
|
+
buildRoleArn: str
|
|
458
|
+
description: str
|
|
459
|
+
codeArtifact: CodeArtifactTypeDef
|
|
460
|
+
logging: LoggingOutputTypeDef
|
|
461
|
+
egressNetworkConnectors: list[str]
|
|
462
|
+
cpuConfigurations: list[CpuConfigurationTypeDef]
|
|
463
|
+
resources: list[ResourcesTypeDef]
|
|
464
|
+
additionalOsCapabilities: list[Literal["ALL"]]
|
|
465
|
+
hooks: HooksTypeDef
|
|
466
|
+
environmentVariables: dict[str, str]
|
|
467
|
+
tags: dict[str, str]
|
|
468
|
+
updatedAt: datetime
|
|
469
|
+
imageVersion: str
|
|
470
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
471
|
+
|
|
472
|
+
class GetMicrovmImageVersionOutputTypeDef(TypedDict):
|
|
473
|
+
baseImageArn: str
|
|
474
|
+
baseImageVersion: str
|
|
475
|
+
buildRoleArn: str
|
|
476
|
+
description: str
|
|
477
|
+
codeArtifact: CodeArtifactTypeDef
|
|
478
|
+
logging: LoggingOutputTypeDef
|
|
479
|
+
egressNetworkConnectors: list[str]
|
|
480
|
+
cpuConfigurations: list[CpuConfigurationTypeDef]
|
|
481
|
+
resources: list[ResourcesTypeDef]
|
|
482
|
+
additionalOsCapabilities: list[Literal["ALL"]]
|
|
483
|
+
hooks: HooksTypeDef
|
|
484
|
+
environmentVariables: dict[str, str]
|
|
485
|
+
imageArn: str
|
|
486
|
+
imageVersion: str
|
|
487
|
+
state: MicrovmImageVersionStateType
|
|
488
|
+
status: MicrovmImageVersionStatusType
|
|
489
|
+
createdAt: datetime
|
|
490
|
+
updatedAt: datetime
|
|
491
|
+
stateReason: str
|
|
492
|
+
tags: dict[str, str]
|
|
493
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
494
|
+
|
|
495
|
+
class MicrovmImageVersionSummaryTypeDef(TypedDict):
|
|
496
|
+
baseImageArn: str
|
|
497
|
+
buildRoleArn: str
|
|
498
|
+
codeArtifact: CodeArtifactTypeDef
|
|
499
|
+
imageArn: str
|
|
500
|
+
imageVersion: str
|
|
501
|
+
state: MicrovmImageVersionStateType
|
|
502
|
+
status: MicrovmImageVersionStatusType
|
|
503
|
+
createdAt: datetime
|
|
504
|
+
baseImageVersion: NotRequired[str]
|
|
505
|
+
description: NotRequired[str]
|
|
506
|
+
logging: NotRequired[LoggingOutputTypeDef]
|
|
507
|
+
egressNetworkConnectors: NotRequired[list[str]]
|
|
508
|
+
cpuConfigurations: NotRequired[list[CpuConfigurationTypeDef]]
|
|
509
|
+
resources: NotRequired[list[ResourcesTypeDef]]
|
|
510
|
+
additionalOsCapabilities: NotRequired[list[Literal["ALL"]]]
|
|
511
|
+
hooks: NotRequired[HooksTypeDef]
|
|
512
|
+
environmentVariables: NotRequired[dict[str, str]]
|
|
513
|
+
updatedAt: NotRequired[datetime]
|
|
514
|
+
stateReason: NotRequired[str]
|
|
515
|
+
tags: NotRequired[dict[str, str]]
|
|
516
|
+
|
|
517
|
+
class UpdateMicrovmImageResponseTypeDef(TypedDict):
|
|
518
|
+
imageArn: str
|
|
519
|
+
name: str
|
|
520
|
+
state: MicrovmImageStateType
|
|
521
|
+
latestActiveImageVersion: str
|
|
522
|
+
latestFailedImageVersion: str
|
|
523
|
+
createdAt: datetime
|
|
524
|
+
baseImageArn: str
|
|
525
|
+
baseImageVersion: str
|
|
526
|
+
buildRoleArn: str
|
|
527
|
+
description: str
|
|
528
|
+
codeArtifact: CodeArtifactTypeDef
|
|
529
|
+
logging: LoggingOutputTypeDef
|
|
530
|
+
egressNetworkConnectors: list[str]
|
|
531
|
+
cpuConfigurations: list[CpuConfigurationTypeDef]
|
|
532
|
+
resources: list[ResourcesTypeDef]
|
|
533
|
+
additionalOsCapabilities: list[Literal["ALL"]]
|
|
534
|
+
hooks: HooksTypeDef
|
|
535
|
+
environmentVariables: dict[str, str]
|
|
536
|
+
updatedAt: datetime
|
|
537
|
+
imageVersion: str
|
|
538
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
539
|
+
|
|
540
|
+
class UpdateMicrovmImageVersionResponseTypeDef(TypedDict):
|
|
541
|
+
baseImageArn: str
|
|
542
|
+
baseImageVersion: str
|
|
543
|
+
buildRoleArn: str
|
|
544
|
+
description: str
|
|
545
|
+
codeArtifact: CodeArtifactTypeDef
|
|
546
|
+
logging: LoggingOutputTypeDef
|
|
547
|
+
egressNetworkConnectors: list[str]
|
|
548
|
+
cpuConfigurations: list[CpuConfigurationTypeDef]
|
|
549
|
+
resources: list[ResourcesTypeDef]
|
|
550
|
+
additionalOsCapabilities: list[Literal["ALL"]]
|
|
551
|
+
hooks: HooksTypeDef
|
|
552
|
+
environmentVariables: dict[str, str]
|
|
553
|
+
imageArn: str
|
|
554
|
+
imageVersion: str
|
|
555
|
+
state: MicrovmImageVersionStateType
|
|
556
|
+
status: MicrovmImageVersionStatusType
|
|
557
|
+
createdAt: datetime
|
|
558
|
+
updatedAt: datetime
|
|
559
|
+
stateReason: str
|
|
560
|
+
tags: dict[str, str]
|
|
561
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
562
|
+
|
|
563
|
+
class CreateMicrovmAuthTokenRequestTypeDef(TypedDict):
|
|
564
|
+
microvmIdentifier: str
|
|
565
|
+
expirationInMinutes: int
|
|
566
|
+
allowedPorts: Sequence[PortSpecificationTypeDef]
|
|
567
|
+
|
|
568
|
+
class CreateMicrovmImageRequestTypeDef(TypedDict):
|
|
569
|
+
baseImageArn: str
|
|
570
|
+
buildRoleArn: str
|
|
571
|
+
codeArtifact: CodeArtifactTypeDef
|
|
572
|
+
name: str
|
|
573
|
+
baseImageVersion: NotRequired[str]
|
|
574
|
+
description: NotRequired[str]
|
|
575
|
+
logging: NotRequired[LoggingUnionTypeDef]
|
|
576
|
+
egressNetworkConnectors: NotRequired[Sequence[str]]
|
|
577
|
+
cpuConfigurations: NotRequired[Sequence[CpuConfigurationTypeDef]]
|
|
578
|
+
resources: NotRequired[Sequence[ResourcesTypeDef]]
|
|
579
|
+
additionalOsCapabilities: NotRequired[Sequence[Literal["ALL"]]]
|
|
580
|
+
hooks: NotRequired[HooksTypeDef]
|
|
581
|
+
environmentVariables: NotRequired[Mapping[str, str]]
|
|
582
|
+
tags: NotRequired[Mapping[str, str]]
|
|
583
|
+
clientToken: NotRequired[str]
|
|
584
|
+
|
|
585
|
+
class RunMicrovmRequestTypeDef(TypedDict):
|
|
586
|
+
imageIdentifier: str
|
|
587
|
+
ingressNetworkConnectors: NotRequired[Sequence[str]]
|
|
588
|
+
egressNetworkConnectors: NotRequired[Sequence[str]]
|
|
589
|
+
imageVersion: NotRequired[str]
|
|
590
|
+
executionRoleArn: NotRequired[str]
|
|
591
|
+
idlePolicy: NotRequired[IdlePolicyTypeDef]
|
|
592
|
+
logging: NotRequired[LoggingUnionTypeDef]
|
|
593
|
+
runHookPayload: NotRequired[str]
|
|
594
|
+
maximumDurationInSeconds: NotRequired[int]
|
|
595
|
+
clientToken: NotRequired[str]
|
|
596
|
+
|
|
597
|
+
class UpdateMicrovmImageRequestTypeDef(TypedDict):
|
|
598
|
+
baseImageArn: str
|
|
599
|
+
buildRoleArn: str
|
|
600
|
+
codeArtifact: CodeArtifactTypeDef
|
|
601
|
+
imageIdentifier: str
|
|
602
|
+
baseImageVersion: NotRequired[str]
|
|
603
|
+
description: NotRequired[str]
|
|
604
|
+
logging: NotRequired[LoggingUnionTypeDef]
|
|
605
|
+
egressNetworkConnectors: NotRequired[Sequence[str]]
|
|
606
|
+
cpuConfigurations: NotRequired[Sequence[CpuConfigurationTypeDef]]
|
|
607
|
+
resources: NotRequired[Sequence[ResourcesTypeDef]]
|
|
608
|
+
additionalOsCapabilities: NotRequired[Sequence[Literal["ALL"]]]
|
|
609
|
+
hooks: NotRequired[HooksTypeDef]
|
|
610
|
+
environmentVariables: NotRequired[Mapping[str, str]]
|
|
611
|
+
clientToken: NotRequired[str]
|
|
612
|
+
|
|
613
|
+
class ListMicrovmImageVersionsOutputTypeDef(TypedDict):
|
|
614
|
+
items: list[MicrovmImageVersionSummaryTypeDef]
|
|
615
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
616
|
+
nextToken: NotRequired[str]
|