ominfra 0.0.0.dev199__py3-none-any.whl → 0.0.0.dev201__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,864 @@
1
+ # flake8: noqa: E501
2
+ # ruff: noqa: N801 S105
3
+ # fmt: off
4
+ import dataclasses as _dc # noqa
5
+ import enum as _enum # noqa
6
+ import typing as _ta # noqa
7
+
8
+ from .. import base as _base # noqa
9
+
10
+
11
+ ##
12
+
13
+
14
+ class ApplicationLogLevel(_enum.Enum):
15
+ TRACE = 'TRACE'
16
+ DEBUG = 'DEBUG'
17
+ INFO = 'INFO'
18
+ WARN = 'WARN'
19
+ ERROR = 'ERROR'
20
+ FATAL = 'FATAL'
21
+
22
+
23
+ class Architecture(_enum.Enum):
24
+ X86_64 = 'x86_64'
25
+ ARM64 = 'arm64'
26
+
27
+
28
+ Arn = _ta.NewType('Arn', str)
29
+
30
+ Description = _ta.NewType('Description', str)
31
+
32
+ EnvironmentVariableName = _ta.NewType('EnvironmentVariableName', str)
33
+
34
+ EnvironmentVariableValue = _ta.NewType('EnvironmentVariableValue', str)
35
+
36
+ EphemeralStorageSize = _ta.NewType('EphemeralStorageSize', int)
37
+
38
+ FileSystemArn = _ta.NewType('FileSystemArn', str)
39
+
40
+ FunctionArn = _ta.NewType('FunctionArn', str)
41
+
42
+
43
+ class FunctionVersion(_enum.Enum):
44
+ ALL = 'ALL'
45
+
46
+
47
+ Handler = _ta.NewType('Handler', str)
48
+
49
+ KMSKeyArn = _ta.NewType('KMSKeyArn', str)
50
+
51
+
52
+ class LastUpdateStatus(_enum.Enum):
53
+ SUCCESSFUL = 'Successful'
54
+ FAILED = 'Failed'
55
+ IN_PROGRESS = 'InProgress'
56
+
57
+
58
+ LastUpdateStatusReason = _ta.NewType('LastUpdateStatusReason', str)
59
+
60
+
61
+ class LastUpdateStatusReasonCode(_enum.Enum):
62
+ ENI_LIMIT_EXCEEDED = 'EniLimitExceeded'
63
+ INSUFFICIENT_ROLE_PERMISSIONS = 'InsufficientRolePermissions'
64
+ INVALID_CONFIGURATION = 'InvalidConfiguration'
65
+ INTERNAL_ERROR = 'InternalError'
66
+ SUBNET_OUT_OF_IP_ADDRESSES = 'SubnetOutOfIPAddresses'
67
+ INVALID_SUBNET = 'InvalidSubnet'
68
+ INVALID_SECURITY_GROUP = 'InvalidSecurityGroup'
69
+ IMAGE_DELETED = 'ImageDeleted'
70
+ IMAGE_ACCESS_DENIED = 'ImageAccessDenied'
71
+ INVALID_IMAGE = 'InvalidImage'
72
+ KMS_KEY_ACCESS_DENIED = 'KMSKeyAccessDenied'
73
+ KMS_KEY_NOT_FOUND = 'KMSKeyNotFound'
74
+ INVALID_STATE_KMS_KEY = 'InvalidStateKMSKey'
75
+ DISABLED_KMS_KEY = 'DisabledKMSKey'
76
+ EFS_IO_ERROR = 'EFSIOError'
77
+ EFS_MOUNT_CONNECTIVITY_ERROR = 'EFSMountConnectivityError'
78
+ EFS_MOUNT_FAILURE = 'EFSMountFailure'
79
+ EFS_MOUNT_TIMEOUT = 'EFSMountTimeout'
80
+ INVALID_RUNTIME = 'InvalidRuntime'
81
+ INVALID_ZIP_FILE_EXCEPTION = 'InvalidZipFileException'
82
+ FUNCTION_ERROR = 'FunctionError'
83
+
84
+
85
+ LayerVersionArn = _ta.NewType('LayerVersionArn', str)
86
+
87
+ LocalMountPath = _ta.NewType('LocalMountPath', str)
88
+
89
+
90
+ class LogFormat(_enum.Enum):
91
+ JSON = 'JSON'
92
+ TEXT = 'Text'
93
+
94
+
95
+ LogGroup = _ta.NewType('LogGroup', str)
96
+
97
+ Long = _ta.NewType('Long', int)
98
+
99
+ MasterRegion = _ta.NewType('MasterRegion', str)
100
+
101
+ MaxListItems = _ta.NewType('MaxListItems', int)
102
+
103
+ MemorySize = _ta.NewType('MemorySize', int)
104
+
105
+ NameSpacedFunctionArn = _ta.NewType('NameSpacedFunctionArn', str)
106
+
107
+ NamespacedFunctionName = _ta.NewType('NamespacedFunctionName', str)
108
+
109
+ NullableBoolean = _ta.NewType('NullableBoolean', bool)
110
+
111
+
112
+ class PackageType(_enum.Enum):
113
+ ZIP = 'Zip'
114
+ IMAGE = 'Image'
115
+
116
+
117
+ ResourceArn = _ta.NewType('ResourceArn', str)
118
+
119
+ RoleArn = _ta.NewType('RoleArn', str)
120
+
121
+
122
+ class Runtime(_enum.Enum):
123
+ NODEJS = 'nodejs'
124
+ NODEJS4_3 = 'nodejs4.3'
125
+ NODEJS6_10 = 'nodejs6.10'
126
+ NODEJS8_10 = 'nodejs8.10'
127
+ NODEJS10_X = 'nodejs10.x'
128
+ NODEJS12_X = 'nodejs12.x'
129
+ NODEJS14_X = 'nodejs14.x'
130
+ NODEJS16_X = 'nodejs16.x'
131
+ JAVA8 = 'java8'
132
+ JAVA8_AL2 = 'java8.al2'
133
+ JAVA11 = 'java11'
134
+ PYTHON2_7 = 'python2.7'
135
+ PYTHON3_6 = 'python3.6'
136
+ PYTHON3_7 = 'python3.7'
137
+ PYTHON3_8 = 'python3.8'
138
+ PYTHON3_9 = 'python3.9'
139
+ DOTNETCORE1_0 = 'dotnetcore1.0'
140
+ DOTNETCORE2_0 = 'dotnetcore2.0'
141
+ DOTNETCORE2_1 = 'dotnetcore2.1'
142
+ DOTNETCORE3_1 = 'dotnetcore3.1'
143
+ DOTNET6 = 'dotnet6'
144
+ DOTNET8 = 'dotnet8'
145
+ NODEJS4_3_EDGE = 'nodejs4.3-edge'
146
+ GO1_X = 'go1.x'
147
+ RUBY2_5 = 'ruby2.5'
148
+ RUBY2_7 = 'ruby2.7'
149
+ PROVIDED = 'provided'
150
+ PROVIDED_AL2 = 'provided.al2'
151
+ NODEJS18_X = 'nodejs18.x'
152
+ PYTHON3_10 = 'python3.10'
153
+ JAVA17 = 'java17'
154
+ RUBY3_2 = 'ruby3.2'
155
+ RUBY3_3 = 'ruby3.3'
156
+ PYTHON3_11 = 'python3.11'
157
+ NODEJS20_X = 'nodejs20.x'
158
+ PROVIDED_AL2023 = 'provided.al2023'
159
+ PYTHON3_12 = 'python3.12'
160
+ JAVA21 = 'java21'
161
+ PYTHON3_13 = 'python3.13'
162
+ NODEJS22_X = 'nodejs22.x'
163
+
164
+
165
+ RuntimeVersionArn = _ta.NewType('RuntimeVersionArn', str)
166
+
167
+ SecurityGroupId = _ta.NewType('SecurityGroupId', str)
168
+
169
+ SensitiveString = _ta.NewType('SensitiveString', str)
170
+
171
+
172
+ class SnapStartApplyOn(_enum.Enum):
173
+ PUBLISHED_VERSIONS = 'PublishedVersions'
174
+ NONE = 'None'
175
+
176
+
177
+ class SnapStartOptimizationStatus(_enum.Enum):
178
+ ON = 'On'
179
+ OFF = 'Off'
180
+
181
+
182
+ class State(_enum.Enum):
183
+ PENDING = 'Pending'
184
+ ACTIVE = 'Active'
185
+ INACTIVE = 'Inactive'
186
+ FAILED = 'Failed'
187
+
188
+
189
+ StateReason = _ta.NewType('StateReason', str)
190
+
191
+
192
+ class StateReasonCode(_enum.Enum):
193
+ IDLE = 'Idle'
194
+ CREATING = 'Creating'
195
+ RESTORING = 'Restoring'
196
+ ENI_LIMIT_EXCEEDED = 'EniLimitExceeded'
197
+ INSUFFICIENT_ROLE_PERMISSIONS = 'InsufficientRolePermissions'
198
+ INVALID_CONFIGURATION = 'InvalidConfiguration'
199
+ INTERNAL_ERROR = 'InternalError'
200
+ SUBNET_OUT_OF_IP_ADDRESSES = 'SubnetOutOfIPAddresses'
201
+ INVALID_SUBNET = 'InvalidSubnet'
202
+ INVALID_SECURITY_GROUP = 'InvalidSecurityGroup'
203
+ IMAGE_DELETED = 'ImageDeleted'
204
+ IMAGE_ACCESS_DENIED = 'ImageAccessDenied'
205
+ INVALID_IMAGE = 'InvalidImage'
206
+ KMS_KEY_ACCESS_DENIED = 'KMSKeyAccessDenied'
207
+ KMS_KEY_NOT_FOUND = 'KMSKeyNotFound'
208
+ INVALID_STATE_KMS_KEY = 'InvalidStateKMSKey'
209
+ DISABLED_KMS_KEY = 'DisabledKMSKey'
210
+ EFS_IO_ERROR = 'EFSIOError'
211
+ EFS_MOUNT_CONNECTIVITY_ERROR = 'EFSMountConnectivityError'
212
+ EFS_MOUNT_FAILURE = 'EFSMountFailure'
213
+ EFS_MOUNT_TIMEOUT = 'EFSMountTimeout'
214
+ INVALID_RUNTIME = 'InvalidRuntime'
215
+ INVALID_ZIP_FILE_EXCEPTION = 'InvalidZipFileException'
216
+ FUNCTION_ERROR = 'FunctionError'
217
+
218
+
219
+ SubnetId = _ta.NewType('SubnetId', str)
220
+
221
+
222
+ class SystemLogLevel(_enum.Enum):
223
+ DEBUG = 'DEBUG'
224
+ INFO = 'INFO'
225
+ WARN = 'WARN'
226
+
227
+
228
+ class ThrottleReason(_enum.Enum):
229
+ CONCURRENT_INVOCATION_LIMIT_EXCEEDED = 'ConcurrentInvocationLimitExceeded'
230
+ FUNCTION_INVOCATION_RATE_LIMIT_EXCEEDED = 'FunctionInvocationRateLimitExceeded'
231
+ RESERVED_FUNCTION_CONCURRENT_INVOCATION_LIMIT_EXCEEDED = 'ReservedFunctionConcurrentInvocationLimitExceeded'
232
+ RESERVED_FUNCTION_INVOCATION_RATE_LIMIT_EXCEEDED = 'ReservedFunctionInvocationRateLimitExceeded'
233
+ CALLER_RATE_LIMIT_EXCEEDED = 'CallerRateLimitExceeded'
234
+ CONCURRENT_SNAPSHOT_CREATE_LIMIT_EXCEEDED = 'ConcurrentSnapshotCreateLimitExceeded'
235
+
236
+
237
+ Timeout = _ta.NewType('Timeout', int)
238
+
239
+ Timestamp = _ta.NewType('Timestamp', str)
240
+
241
+
242
+ class TracingMode(_enum.Enum):
243
+ ACTIVE = 'Active'
244
+ PASS_THROUGH = 'PassThrough'
245
+
246
+
247
+ Version = _ta.NewType('Version', str)
248
+
249
+ VpcId = _ta.NewType('VpcId', str)
250
+
251
+ WorkingDirectory = _ta.NewType('WorkingDirectory', str)
252
+
253
+ ArchitecturesList: _ta.TypeAlias = _ta.Sequence[Architecture]
254
+
255
+
256
+ @_dc.dataclass(frozen=True)
257
+ class DeadLetterConfig(
258
+ _base.Shape,
259
+ shape_name='DeadLetterConfig',
260
+ ):
261
+ target_arn: ResourceArn = _dc.field(metadata=_base.field_metadata(
262
+ member_name='TargetArn',
263
+ shape_name='ResourceArn',
264
+ ))
265
+
266
+
267
+ @_dc.dataclass(frozen=True)
268
+ class EnvironmentError_(
269
+ _base.Shape,
270
+ shape_name='EnvironmentError',
271
+ ):
272
+ error_code: str = _dc.field(metadata=_base.field_metadata(
273
+ member_name='ErrorCode',
274
+ shape_name='String',
275
+ ))
276
+
277
+ message: SensitiveString = _dc.field(metadata=_base.field_metadata(
278
+ member_name='Message',
279
+ shape_name='SensitiveString',
280
+ ))
281
+
282
+
283
+ EnvironmentVariables: _ta.TypeAlias = _ta.Mapping[EnvironmentVariableName, EnvironmentVariableName]
284
+
285
+
286
+ @_dc.dataclass(frozen=True)
287
+ class EphemeralStorage(
288
+ _base.Shape,
289
+ shape_name='EphemeralStorage',
290
+ ):
291
+ size: EphemeralStorageSize = _dc.field(metadata=_base.field_metadata(
292
+ member_name='Size',
293
+ shape_name='EphemeralStorageSize',
294
+ ))
295
+
296
+
297
+ @_dc.dataclass(frozen=True)
298
+ class FileSystemConfig(
299
+ _base.Shape,
300
+ shape_name='FileSystemConfig',
301
+ ):
302
+ arn: FileSystemArn = _dc.field(metadata=_base.field_metadata(
303
+ member_name='Arn',
304
+ shape_name='FileSystemArn',
305
+ ))
306
+
307
+ local_mount_path: LocalMountPath = _dc.field(metadata=_base.field_metadata(
308
+ member_name='LocalMountPath',
309
+ shape_name='LocalMountPath',
310
+ ))
311
+
312
+
313
+ @_dc.dataclass(frozen=True)
314
+ class ImageConfigError(
315
+ _base.Shape,
316
+ shape_name='ImageConfigError',
317
+ ):
318
+ error_code: str = _dc.field(metadata=_base.field_metadata(
319
+ member_name='ErrorCode',
320
+ shape_name='String',
321
+ ))
322
+
323
+ message: SensitiveString = _dc.field(metadata=_base.field_metadata(
324
+ member_name='Message',
325
+ shape_name='SensitiveString',
326
+ ))
327
+
328
+
329
+ @_dc.dataclass(frozen=True)
330
+ class InvalidParameterValueException(
331
+ _base.Shape,
332
+ shape_name='InvalidParameterValueException',
333
+ ):
334
+ type: str = _dc.field(metadata=_base.field_metadata(
335
+ member_name='Type',
336
+ shape_name='String',
337
+ ))
338
+
339
+ message: str = _dc.field(metadata=_base.field_metadata(
340
+ member_name='message',
341
+ shape_name='String',
342
+ ))
343
+
344
+
345
+ @_dc.dataclass(frozen=True)
346
+ class Layer(
347
+ _base.Shape,
348
+ shape_name='Layer',
349
+ ):
350
+ arn: LayerVersionArn = _dc.field(metadata=_base.field_metadata(
351
+ member_name='Arn',
352
+ shape_name='LayerVersionArn',
353
+ ))
354
+
355
+ code_size: Long = _dc.field(metadata=_base.field_metadata(
356
+ member_name='CodeSize',
357
+ shape_name='Long',
358
+ ))
359
+
360
+ signing_profile_version_arn: Arn = _dc.field(metadata=_base.field_metadata(
361
+ member_name='SigningProfileVersionArn',
362
+ shape_name='Arn',
363
+ ))
364
+
365
+ signing_job_arn: Arn = _dc.field(metadata=_base.field_metadata(
366
+ member_name='SigningJobArn',
367
+ shape_name='Arn',
368
+ ))
369
+
370
+
371
+ @_dc.dataclass(frozen=True)
372
+ class ListFunctionsRequest(
373
+ _base.Shape,
374
+ shape_name='ListFunctionsRequest',
375
+ ):
376
+ master_region: MasterRegion = _dc.field(metadata=_base.field_metadata(
377
+ member_name='MasterRegion',
378
+ shape_name='MasterRegion',
379
+ ))
380
+
381
+ function_version: FunctionVersion = _dc.field(metadata=_base.field_metadata(
382
+ member_name='FunctionVersion',
383
+ shape_name='FunctionVersion',
384
+ ))
385
+
386
+ marker: str = _dc.field(metadata=_base.field_metadata(
387
+ member_name='Marker',
388
+ shape_name='String',
389
+ ))
390
+
391
+ max_items: MaxListItems = _dc.field(metadata=_base.field_metadata(
392
+ member_name='MaxItems',
393
+ shape_name='MaxListItems',
394
+ ))
395
+
396
+
397
+ @_dc.dataclass(frozen=True)
398
+ class LoggingConfig(
399
+ _base.Shape,
400
+ shape_name='LoggingConfig',
401
+ ):
402
+ log_format: LogFormat = _dc.field(metadata=_base.field_metadata(
403
+ member_name='LogFormat',
404
+ shape_name='LogFormat',
405
+ ))
406
+
407
+ application_log_level: ApplicationLogLevel = _dc.field(metadata=_base.field_metadata(
408
+ member_name='ApplicationLogLevel',
409
+ shape_name='ApplicationLogLevel',
410
+ ))
411
+
412
+ system_log_level: SystemLogLevel = _dc.field(metadata=_base.field_metadata(
413
+ member_name='SystemLogLevel',
414
+ shape_name='SystemLogLevel',
415
+ ))
416
+
417
+ log_group: LogGroup = _dc.field(metadata=_base.field_metadata(
418
+ member_name='LogGroup',
419
+ shape_name='LogGroup',
420
+ ))
421
+
422
+
423
+ @_dc.dataclass(frozen=True)
424
+ class RuntimeVersionError(
425
+ _base.Shape,
426
+ shape_name='RuntimeVersionError',
427
+ ):
428
+ error_code: str = _dc.field(metadata=_base.field_metadata(
429
+ member_name='ErrorCode',
430
+ shape_name='String',
431
+ ))
432
+
433
+ message: SensitiveString = _dc.field(metadata=_base.field_metadata(
434
+ member_name='Message',
435
+ shape_name='SensitiveString',
436
+ ))
437
+
438
+
439
+ SecurityGroupIds: _ta.TypeAlias = _ta.Sequence[SecurityGroupId]
440
+
441
+
442
+ @_dc.dataclass(frozen=True)
443
+ class ServiceException(
444
+ _base.Shape,
445
+ shape_name='ServiceException',
446
+ ):
447
+ type: str = _dc.field(metadata=_base.field_metadata(
448
+ member_name='Type',
449
+ shape_name='String',
450
+ ))
451
+
452
+ message: str = _dc.field(metadata=_base.field_metadata(
453
+ member_name='Message',
454
+ shape_name='String',
455
+ ))
456
+
457
+
458
+ @_dc.dataclass(frozen=True)
459
+ class SnapStartResponse(
460
+ _base.Shape,
461
+ shape_name='SnapStartResponse',
462
+ ):
463
+ apply_on: SnapStartApplyOn = _dc.field(metadata=_base.field_metadata(
464
+ member_name='ApplyOn',
465
+ shape_name='SnapStartApplyOn',
466
+ ))
467
+
468
+ optimization_status: SnapStartOptimizationStatus = _dc.field(metadata=_base.field_metadata(
469
+ member_name='OptimizationStatus',
470
+ shape_name='SnapStartOptimizationStatus',
471
+ ))
472
+
473
+
474
+ StringList: _ta.TypeAlias = _ta.Sequence[str]
475
+
476
+ SubnetIds: _ta.TypeAlias = _ta.Sequence[SubnetId]
477
+
478
+
479
+ @_dc.dataclass(frozen=True)
480
+ class TooManyRequestsException(
481
+ _base.Shape,
482
+ shape_name='TooManyRequestsException',
483
+ ):
484
+ retry_after_seconds: str = _dc.field(metadata=_base.field_metadata(
485
+ member_name='retryAfterSeconds',
486
+ shape_name='String',
487
+ ))
488
+
489
+ type: str = _dc.field(metadata=_base.field_metadata(
490
+ member_name='Type',
491
+ shape_name='String',
492
+ ))
493
+
494
+ message: str = _dc.field(metadata=_base.field_metadata(
495
+ member_name='message',
496
+ shape_name='String',
497
+ ))
498
+
499
+ reason: ThrottleReason = _dc.field(metadata=_base.field_metadata(
500
+ member_name='Reason',
501
+ shape_name='ThrottleReason',
502
+ ))
503
+
504
+
505
+ @_dc.dataclass(frozen=True)
506
+ class TracingConfigResponse(
507
+ _base.Shape,
508
+ shape_name='TracingConfigResponse',
509
+ ):
510
+ mode: TracingMode = _dc.field(metadata=_base.field_metadata(
511
+ member_name='Mode',
512
+ shape_name='TracingMode',
513
+ ))
514
+
515
+
516
+ @_dc.dataclass(frozen=True)
517
+ class EnvironmentResponse(
518
+ _base.Shape,
519
+ shape_name='EnvironmentResponse',
520
+ ):
521
+ variables: EnvironmentVariables = _dc.field(metadata=_base.field_metadata(
522
+ member_name='Variables',
523
+ shape_name='EnvironmentVariables',
524
+ ))
525
+
526
+ error: EnvironmentError_ = _dc.field(metadata=_base.field_metadata(
527
+ member_name='Error',
528
+ shape_name='EnvironmentError',
529
+ ))
530
+
531
+
532
+ FileSystemConfigList: _ta.TypeAlias = _ta.Sequence[FileSystemConfig]
533
+
534
+
535
+ @_dc.dataclass(frozen=True)
536
+ class ImageConfig(
537
+ _base.Shape,
538
+ shape_name='ImageConfig',
539
+ ):
540
+ entry_point: StringList = _dc.field(metadata=_base.field_metadata(
541
+ member_name='EntryPoint',
542
+ shape_name='StringList',
543
+ ))
544
+
545
+ command: StringList = _dc.field(metadata=_base.field_metadata(
546
+ member_name='Command',
547
+ shape_name='StringList',
548
+ ))
549
+
550
+ working_directory: WorkingDirectory = _dc.field(metadata=_base.field_metadata(
551
+ member_name='WorkingDirectory',
552
+ shape_name='WorkingDirectory',
553
+ ))
554
+
555
+
556
+ LayersReferenceList: _ta.TypeAlias = _ta.Sequence[Layer]
557
+
558
+
559
+ @_dc.dataclass(frozen=True)
560
+ class RuntimeVersionConfig(
561
+ _base.Shape,
562
+ shape_name='RuntimeVersionConfig',
563
+ ):
564
+ runtime_version_arn: RuntimeVersionArn = _dc.field(metadata=_base.field_metadata(
565
+ member_name='RuntimeVersionArn',
566
+ shape_name='RuntimeVersionArn',
567
+ ))
568
+
569
+ error: RuntimeVersionError = _dc.field(metadata=_base.field_metadata(
570
+ member_name='Error',
571
+ shape_name='RuntimeVersionError',
572
+ ))
573
+
574
+
575
+ @_dc.dataclass(frozen=True)
576
+ class VpcConfigResponse(
577
+ _base.Shape,
578
+ shape_name='VpcConfigResponse',
579
+ ):
580
+ subnet_ids: SubnetIds = _dc.field(metadata=_base.field_metadata(
581
+ member_name='SubnetIds',
582
+ shape_name='SubnetIds',
583
+ ))
584
+
585
+ security_group_ids: SecurityGroupIds = _dc.field(metadata=_base.field_metadata(
586
+ member_name='SecurityGroupIds',
587
+ shape_name='SecurityGroupIds',
588
+ ))
589
+
590
+ vpc_id: VpcId = _dc.field(metadata=_base.field_metadata(
591
+ member_name='VpcId',
592
+ shape_name='VpcId',
593
+ ))
594
+
595
+ ipv6_allowed_for_dual_stack: NullableBoolean = _dc.field(metadata=_base.field_metadata(
596
+ member_name='Ipv6AllowedForDualStack',
597
+ shape_name='NullableBoolean',
598
+ ))
599
+
600
+
601
+ @_dc.dataclass(frozen=True)
602
+ class ImageConfigResponse(
603
+ _base.Shape,
604
+ shape_name='ImageConfigResponse',
605
+ ):
606
+ image_config: ImageConfig = _dc.field(metadata=_base.field_metadata(
607
+ member_name='ImageConfig',
608
+ shape_name='ImageConfig',
609
+ ))
610
+
611
+ error: ImageConfigError = _dc.field(metadata=_base.field_metadata(
612
+ member_name='Error',
613
+ shape_name='ImageConfigError',
614
+ ))
615
+
616
+
617
+ @_dc.dataclass(frozen=True)
618
+ class FunctionConfiguration(
619
+ _base.Shape,
620
+ shape_name='FunctionConfiguration',
621
+ ):
622
+ function_name: NamespacedFunctionName = _dc.field(metadata=_base.field_metadata(
623
+ member_name='FunctionName',
624
+ shape_name='NamespacedFunctionName',
625
+ ))
626
+
627
+ function_arn: NameSpacedFunctionArn = _dc.field(metadata=_base.field_metadata(
628
+ member_name='FunctionArn',
629
+ shape_name='NameSpacedFunctionArn',
630
+ ))
631
+
632
+ runtime: Runtime = _dc.field(metadata=_base.field_metadata(
633
+ member_name='Runtime',
634
+ shape_name='Runtime',
635
+ ))
636
+
637
+ role: RoleArn = _dc.field(metadata=_base.field_metadata(
638
+ member_name='Role',
639
+ shape_name='RoleArn',
640
+ ))
641
+
642
+ handler: Handler = _dc.field(metadata=_base.field_metadata(
643
+ member_name='Handler',
644
+ shape_name='Handler',
645
+ ))
646
+
647
+ code_size: Long = _dc.field(metadata=_base.field_metadata(
648
+ member_name='CodeSize',
649
+ shape_name='Long',
650
+ ))
651
+
652
+ description: Description = _dc.field(metadata=_base.field_metadata(
653
+ member_name='Description',
654
+ shape_name='Description',
655
+ ))
656
+
657
+ timeout: Timeout = _dc.field(metadata=_base.field_metadata(
658
+ member_name='Timeout',
659
+ shape_name='Timeout',
660
+ ))
661
+
662
+ memory_size: MemorySize = _dc.field(metadata=_base.field_metadata(
663
+ member_name='MemorySize',
664
+ shape_name='MemorySize',
665
+ ))
666
+
667
+ last_modified: Timestamp = _dc.field(metadata=_base.field_metadata(
668
+ member_name='LastModified',
669
+ shape_name='Timestamp',
670
+ ))
671
+
672
+ code_sha256: str = _dc.field(metadata=_base.field_metadata(
673
+ member_name='CodeSha256',
674
+ shape_name='String',
675
+ ))
676
+
677
+ version: Version = _dc.field(metadata=_base.field_metadata(
678
+ member_name='Version',
679
+ shape_name='Version',
680
+ ))
681
+
682
+ vpc_config: VpcConfigResponse = _dc.field(metadata=_base.field_metadata(
683
+ member_name='VpcConfig',
684
+ shape_name='VpcConfigResponse',
685
+ ))
686
+
687
+ dead_letter_config: DeadLetterConfig = _dc.field(metadata=_base.field_metadata(
688
+ member_name='DeadLetterConfig',
689
+ shape_name='DeadLetterConfig',
690
+ ))
691
+
692
+ environment: EnvironmentResponse = _dc.field(metadata=_base.field_metadata(
693
+ member_name='Environment',
694
+ shape_name='EnvironmentResponse',
695
+ ))
696
+
697
+ kms_key_arn: KMSKeyArn = _dc.field(metadata=_base.field_metadata(
698
+ member_name='KMSKeyArn',
699
+ shape_name='KMSKeyArn',
700
+ ))
701
+
702
+ tracing_config: TracingConfigResponse = _dc.field(metadata=_base.field_metadata(
703
+ member_name='TracingConfig',
704
+ shape_name='TracingConfigResponse',
705
+ ))
706
+
707
+ master_arn: FunctionArn = _dc.field(metadata=_base.field_metadata(
708
+ member_name='MasterArn',
709
+ shape_name='FunctionArn',
710
+ ))
711
+
712
+ revision_id: str = _dc.field(metadata=_base.field_metadata(
713
+ member_name='RevisionId',
714
+ shape_name='String',
715
+ ))
716
+
717
+ layers: LayersReferenceList = _dc.field(metadata=_base.field_metadata(
718
+ member_name='Layers',
719
+ shape_name='LayersReferenceList',
720
+ ))
721
+
722
+ state: State = _dc.field(metadata=_base.field_metadata(
723
+ member_name='State',
724
+ shape_name='State',
725
+ ))
726
+
727
+ state_reason: StateReason = _dc.field(metadata=_base.field_metadata(
728
+ member_name='StateReason',
729
+ shape_name='StateReason',
730
+ ))
731
+
732
+ state_reason_code: StateReasonCode = _dc.field(metadata=_base.field_metadata(
733
+ member_name='StateReasonCode',
734
+ shape_name='StateReasonCode',
735
+ ))
736
+
737
+ last_update_status: LastUpdateStatus = _dc.field(metadata=_base.field_metadata(
738
+ member_name='LastUpdateStatus',
739
+ shape_name='LastUpdateStatus',
740
+ ))
741
+
742
+ last_update_status_reason: LastUpdateStatusReason = _dc.field(metadata=_base.field_metadata(
743
+ member_name='LastUpdateStatusReason',
744
+ shape_name='LastUpdateStatusReason',
745
+ ))
746
+
747
+ last_update_status_reason_code: LastUpdateStatusReasonCode = _dc.field(metadata=_base.field_metadata(
748
+ member_name='LastUpdateStatusReasonCode',
749
+ shape_name='LastUpdateStatusReasonCode',
750
+ ))
751
+
752
+ file_system_configs: FileSystemConfigList = _dc.field(metadata=_base.field_metadata(
753
+ member_name='FileSystemConfigs',
754
+ shape_name='FileSystemConfigList',
755
+ ))
756
+
757
+ package_type: PackageType = _dc.field(metadata=_base.field_metadata(
758
+ member_name='PackageType',
759
+ shape_name='PackageType',
760
+ ))
761
+
762
+ image_config_response: ImageConfigResponse = _dc.field(metadata=_base.field_metadata(
763
+ member_name='ImageConfigResponse',
764
+ shape_name='ImageConfigResponse',
765
+ ))
766
+
767
+ signing_profile_version_arn: Arn = _dc.field(metadata=_base.field_metadata(
768
+ member_name='SigningProfileVersionArn',
769
+ shape_name='Arn',
770
+ ))
771
+
772
+ signing_job_arn: Arn = _dc.field(metadata=_base.field_metadata(
773
+ member_name='SigningJobArn',
774
+ shape_name='Arn',
775
+ ))
776
+
777
+ architectures: ArchitecturesList = _dc.field(metadata=_base.field_metadata(
778
+ member_name='Architectures',
779
+ shape_name='ArchitecturesList',
780
+ ))
781
+
782
+ ephemeral_storage: EphemeralStorage = _dc.field(metadata=_base.field_metadata(
783
+ member_name='EphemeralStorage',
784
+ shape_name='EphemeralStorage',
785
+ ))
786
+
787
+ snap_start: SnapStartResponse = _dc.field(metadata=_base.field_metadata(
788
+ member_name='SnapStart',
789
+ shape_name='SnapStartResponse',
790
+ ))
791
+
792
+ runtime_version_config: RuntimeVersionConfig = _dc.field(metadata=_base.field_metadata(
793
+ member_name='RuntimeVersionConfig',
794
+ shape_name='RuntimeVersionConfig',
795
+ ))
796
+
797
+ logging_config: LoggingConfig = _dc.field(metadata=_base.field_metadata(
798
+ member_name='LoggingConfig',
799
+ shape_name='LoggingConfig',
800
+ ))
801
+
802
+
803
+ FunctionList: _ta.TypeAlias = _ta.Sequence[FunctionConfiguration]
804
+
805
+
806
+ @_dc.dataclass(frozen=True)
807
+ class ListFunctionsResponse(
808
+ _base.Shape,
809
+ shape_name='ListFunctionsResponse',
810
+ ):
811
+ next_marker: str = _dc.field(metadata=_base.field_metadata(
812
+ member_name='NextMarker',
813
+ shape_name='String',
814
+ ))
815
+
816
+ functions: FunctionList = _dc.field(metadata=_base.field_metadata(
817
+ member_name='Functions',
818
+ shape_name='FunctionList',
819
+ ))
820
+
821
+
822
+ ALL_SHAPES: frozenset[type[_base.Shape]] = frozenset([
823
+ DeadLetterConfig,
824
+ EnvironmentError_,
825
+ EnvironmentResponse,
826
+ EphemeralStorage,
827
+ FileSystemConfig,
828
+ FunctionConfiguration,
829
+ ImageConfig,
830
+ ImageConfigError,
831
+ ImageConfigResponse,
832
+ InvalidParameterValueException,
833
+ Layer,
834
+ ListFunctionsRequest,
835
+ ListFunctionsResponse,
836
+ LoggingConfig,
837
+ RuntimeVersionConfig,
838
+ RuntimeVersionError,
839
+ ServiceException,
840
+ SnapStartResponse,
841
+ TooManyRequestsException,
842
+ TracingConfigResponse,
843
+ VpcConfigResponse,
844
+ ])
845
+
846
+
847
+ ##
848
+
849
+
850
+ LIST_FUNCTIONS = _base.Operation(
851
+ name='ListFunctions',
852
+ input=ListFunctionsRequest,
853
+ output=ListFunctionsResponse,
854
+ errors=[
855
+ ServiceException,
856
+ TooManyRequestsException,
857
+ InvalidParameterValueException,
858
+ ],
859
+ )
860
+
861
+
862
+ ALL_OPERATIONS: frozenset[_base.Operation] = frozenset([
863
+ LIST_FUNCTIONS,
864
+ ])