ominfra 0.0.0.dev209__py3-none-any.whl → 0.0.0.dev211__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- ominfra/__about__.py +0 -1
- ominfra/clouds/aws/journald2aws/main.py +0 -1
- ominfra/clouds/aws/models/base.py +44 -10
- ominfra/clouds/aws/models/gen/gen.py +45 -5
- ominfra/clouds/aws/models/services/ec2.py +1072 -946
- ominfra/clouds/aws/models/services/lambda_.py +111 -102
- ominfra/clouds/aws/models/services/rds.py +321 -293
- ominfra/clouds/aws/models/services/s3.py +197 -190
- ominfra/manage/main.py +0 -1
- ominfra/scripts/journald2aws.py +22 -22
- ominfra/scripts/manage.py +41 -25
- ominfra/scripts/supervisor.py +22 -22
- ominfra/supervisor/main.py +0 -1
- {ominfra-0.0.0.dev209.dist-info → ominfra-0.0.0.dev211.dist-info}/METADATA +3 -4
- {ominfra-0.0.0.dev209.dist-info → ominfra-0.0.0.dev211.dist-info}/RECORD +19 -19
- {ominfra-0.0.0.dev209.dist-info → ominfra-0.0.0.dev211.dist-info}/LICENSE +0 -0
- {ominfra-0.0.0.dev209.dist-info → ominfra-0.0.0.dev211.dist-info}/WHEEL +0 -0
- {ominfra-0.0.0.dev209.dist-info → ominfra-0.0.0.dev211.dist-info}/entry_points.txt +0 -0
- {ominfra-0.0.0.dev209.dist-info → ominfra-0.0.0.dev211.dist-info}/top_level.txt +0 -0
@@ -251,28 +251,28 @@ WorkingDirectory = _ta.NewType('WorkingDirectory', str)
|
|
251
251
|
ArchitecturesList: _ta.TypeAlias = _ta.Sequence[Architecture]
|
252
252
|
|
253
253
|
|
254
|
-
@_dc.dataclass(frozen=True)
|
254
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
255
255
|
class DeadLetterConfig(
|
256
256
|
_base.Shape,
|
257
257
|
shape_name='DeadLetterConfig',
|
258
258
|
):
|
259
|
-
target_arn: ResourceArn = _dc.field(metadata=_base.field_metadata(
|
259
|
+
target_arn: ResourceArn | None = _dc.field(default=None, metadata=_base.field_metadata(
|
260
260
|
member_name='TargetArn',
|
261
261
|
shape_name='ResourceArn',
|
262
262
|
))
|
263
263
|
|
264
264
|
|
265
|
-
@_dc.dataclass(frozen=True)
|
265
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
266
266
|
class EnvironmentError_(
|
267
267
|
_base.Shape,
|
268
268
|
shape_name='EnvironmentError',
|
269
269
|
):
|
270
|
-
error_code: str = _dc.field(metadata=_base.field_metadata(
|
270
|
+
error_code: str | None = _dc.field(default=None, metadata=_base.field_metadata(
|
271
271
|
member_name='ErrorCode',
|
272
272
|
shape_name='String',
|
273
273
|
))
|
274
274
|
|
275
|
-
message: SensitiveString = _dc.field(metadata=_base.field_metadata(
|
275
|
+
message: SensitiveString | None = _dc.field(default=None, metadata=_base.field_metadata(
|
276
276
|
member_name='Message',
|
277
277
|
shape_name='SensitiveString',
|
278
278
|
))
|
@@ -281,7 +281,7 @@ class EnvironmentError_(
|
|
281
281
|
EnvironmentVariables: _ta.TypeAlias = _ta.Mapping[EnvironmentVariableName, EnvironmentVariableName]
|
282
282
|
|
283
283
|
|
284
|
-
@_dc.dataclass(frozen=True)
|
284
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
285
285
|
class EphemeralStorage(
|
286
286
|
_base.Shape,
|
287
287
|
shape_name='EphemeralStorage',
|
@@ -292,7 +292,7 @@ class EphemeralStorage(
|
|
292
292
|
))
|
293
293
|
|
294
294
|
|
295
|
-
@_dc.dataclass(frozen=True)
|
295
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
296
296
|
class FileSystemConfig(
|
297
297
|
_base.Shape,
|
298
298
|
shape_name='FileSystemConfig',
|
@@ -308,131 +308,131 @@ class FileSystemConfig(
|
|
308
308
|
))
|
309
309
|
|
310
310
|
|
311
|
-
@_dc.dataclass(frozen=True)
|
311
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
312
312
|
class ImageConfigError(
|
313
313
|
_base.Shape,
|
314
314
|
shape_name='ImageConfigError',
|
315
315
|
):
|
316
|
-
error_code: str = _dc.field(metadata=_base.field_metadata(
|
316
|
+
error_code: str | None = _dc.field(default=None, metadata=_base.field_metadata(
|
317
317
|
member_name='ErrorCode',
|
318
318
|
shape_name='String',
|
319
319
|
))
|
320
320
|
|
321
|
-
message: SensitiveString = _dc.field(metadata=_base.field_metadata(
|
321
|
+
message: SensitiveString | None = _dc.field(default=None, metadata=_base.field_metadata(
|
322
322
|
member_name='Message',
|
323
323
|
shape_name='SensitiveString',
|
324
324
|
))
|
325
325
|
|
326
326
|
|
327
|
-
@_dc.dataclass(frozen=True)
|
327
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
328
328
|
class InvalidParameterValueException(
|
329
329
|
_base.Shape,
|
330
330
|
shape_name='InvalidParameterValueException',
|
331
331
|
):
|
332
|
-
type: str = _dc.field(metadata=_base.field_metadata(
|
332
|
+
type: str | None = _dc.field(default=None, metadata=_base.field_metadata(
|
333
333
|
member_name='Type',
|
334
334
|
shape_name='String',
|
335
335
|
))
|
336
336
|
|
337
|
-
message: str = _dc.field(metadata=_base.field_metadata(
|
337
|
+
message: str | None = _dc.field(default=None, metadata=_base.field_metadata(
|
338
338
|
member_name='message',
|
339
339
|
shape_name='String',
|
340
340
|
))
|
341
341
|
|
342
342
|
|
343
|
-
@_dc.dataclass(frozen=True)
|
343
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
344
344
|
class Layer(
|
345
345
|
_base.Shape,
|
346
346
|
shape_name='Layer',
|
347
347
|
):
|
348
|
-
arn: LayerVersionArn = _dc.field(metadata=_base.field_metadata(
|
348
|
+
arn: LayerVersionArn | None = _dc.field(default=None, metadata=_base.field_metadata(
|
349
349
|
member_name='Arn',
|
350
350
|
shape_name='LayerVersionArn',
|
351
351
|
))
|
352
352
|
|
353
|
-
code_size: int = _dc.field(metadata=_base.field_metadata(
|
353
|
+
code_size: int | None = _dc.field(default=None, metadata=_base.field_metadata(
|
354
354
|
member_name='CodeSize',
|
355
355
|
shape_name='Long',
|
356
356
|
))
|
357
357
|
|
358
|
-
signing_profile_version_arn: Arn = _dc.field(metadata=_base.field_metadata(
|
358
|
+
signing_profile_version_arn: Arn | None = _dc.field(default=None, metadata=_base.field_metadata(
|
359
359
|
member_name='SigningProfileVersionArn',
|
360
360
|
shape_name='Arn',
|
361
361
|
))
|
362
362
|
|
363
|
-
signing_job_arn: Arn = _dc.field(metadata=_base.field_metadata(
|
363
|
+
signing_job_arn: Arn | None = _dc.field(default=None, metadata=_base.field_metadata(
|
364
364
|
member_name='SigningJobArn',
|
365
365
|
shape_name='Arn',
|
366
366
|
))
|
367
367
|
|
368
368
|
|
369
|
-
@_dc.dataclass(frozen=True)
|
369
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
370
370
|
class ListFunctionsRequest(
|
371
371
|
_base.Shape,
|
372
372
|
shape_name='ListFunctionsRequest',
|
373
373
|
):
|
374
|
-
master_region: MasterRegion = _dc.field(metadata=_base.field_metadata(
|
374
|
+
master_region: MasterRegion | None = _dc.field(default=None, metadata=_base.field_metadata(
|
375
375
|
member_name='MasterRegion',
|
376
376
|
serialization_name='MasterRegion',
|
377
377
|
shape_name='MasterRegion',
|
378
378
|
))
|
379
379
|
|
380
|
-
function_version: FunctionVersion = _dc.field(metadata=_base.field_metadata(
|
380
|
+
function_version: FunctionVersion | None = _dc.field(default=None, metadata=_base.field_metadata(
|
381
381
|
member_name='FunctionVersion',
|
382
382
|
serialization_name='FunctionVersion',
|
383
383
|
shape_name='FunctionVersion',
|
384
384
|
))
|
385
385
|
|
386
|
-
marker: str = _dc.field(metadata=_base.field_metadata(
|
386
|
+
marker: str | None = _dc.field(default=None, metadata=_base.field_metadata(
|
387
387
|
member_name='Marker',
|
388
388
|
serialization_name='Marker',
|
389
389
|
shape_name='String',
|
390
390
|
))
|
391
391
|
|
392
|
-
max_items: MaxListItems = _dc.field(metadata=_base.field_metadata(
|
392
|
+
max_items: MaxListItems | None = _dc.field(default=None, metadata=_base.field_metadata(
|
393
393
|
member_name='MaxItems',
|
394
394
|
serialization_name='MaxItems',
|
395
395
|
shape_name='MaxListItems',
|
396
396
|
))
|
397
397
|
|
398
398
|
|
399
|
-
@_dc.dataclass(frozen=True)
|
399
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
400
400
|
class LoggingConfig(
|
401
401
|
_base.Shape,
|
402
402
|
shape_name='LoggingConfig',
|
403
403
|
):
|
404
|
-
log_format: LogFormat = _dc.field(metadata=_base.field_metadata(
|
404
|
+
log_format: LogFormat | None = _dc.field(default=None, metadata=_base.field_metadata(
|
405
405
|
member_name='LogFormat',
|
406
406
|
shape_name='LogFormat',
|
407
407
|
))
|
408
408
|
|
409
|
-
application_log_level: ApplicationLogLevel = _dc.field(metadata=_base.field_metadata(
|
409
|
+
application_log_level: ApplicationLogLevel | None = _dc.field(default=None, metadata=_base.field_metadata(
|
410
410
|
member_name='ApplicationLogLevel',
|
411
411
|
shape_name='ApplicationLogLevel',
|
412
412
|
))
|
413
413
|
|
414
|
-
system_log_level: SystemLogLevel = _dc.field(metadata=_base.field_metadata(
|
414
|
+
system_log_level: SystemLogLevel | None = _dc.field(default=None, metadata=_base.field_metadata(
|
415
415
|
member_name='SystemLogLevel',
|
416
416
|
shape_name='SystemLogLevel',
|
417
417
|
))
|
418
418
|
|
419
|
-
log_group: LogGroup = _dc.field(metadata=_base.field_metadata(
|
419
|
+
log_group: LogGroup | None = _dc.field(default=None, metadata=_base.field_metadata(
|
420
420
|
member_name='LogGroup',
|
421
421
|
shape_name='LogGroup',
|
422
422
|
))
|
423
423
|
|
424
424
|
|
425
|
-
@_dc.dataclass(frozen=True)
|
425
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
426
426
|
class RuntimeVersionError(
|
427
427
|
_base.Shape,
|
428
428
|
shape_name='RuntimeVersionError',
|
429
429
|
):
|
430
|
-
error_code: str = _dc.field(metadata=_base.field_metadata(
|
430
|
+
error_code: str | None = _dc.field(default=None, metadata=_base.field_metadata(
|
431
431
|
member_name='ErrorCode',
|
432
432
|
shape_name='String',
|
433
433
|
))
|
434
434
|
|
435
|
-
message: SensitiveString = _dc.field(metadata=_base.field_metadata(
|
435
|
+
message: SensitiveString | None = _dc.field(default=None, metadata=_base.field_metadata(
|
436
436
|
member_name='Message',
|
437
437
|
shape_name='SensitiveString',
|
438
438
|
))
|
@@ -441,33 +441,33 @@ class RuntimeVersionError(
|
|
441
441
|
SecurityGroupIds: _ta.TypeAlias = _ta.Sequence[SecurityGroupId]
|
442
442
|
|
443
443
|
|
444
|
-
@_dc.dataclass(frozen=True)
|
444
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
445
445
|
class ServiceException(
|
446
446
|
_base.Shape,
|
447
447
|
shape_name='ServiceException',
|
448
448
|
):
|
449
|
-
type: str = _dc.field(metadata=_base.field_metadata(
|
449
|
+
type: str | None = _dc.field(default=None, metadata=_base.field_metadata(
|
450
450
|
member_name='Type',
|
451
451
|
shape_name='String',
|
452
452
|
))
|
453
453
|
|
454
|
-
message: str = _dc.field(metadata=_base.field_metadata(
|
454
|
+
message: str | None = _dc.field(default=None, metadata=_base.field_metadata(
|
455
455
|
member_name='Message',
|
456
456
|
shape_name='String',
|
457
457
|
))
|
458
458
|
|
459
459
|
|
460
|
-
@_dc.dataclass(frozen=True)
|
460
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
461
461
|
class SnapStartResponse(
|
462
462
|
_base.Shape,
|
463
463
|
shape_name='SnapStartResponse',
|
464
464
|
):
|
465
|
-
apply_on: SnapStartApplyOn = _dc.field(metadata=_base.field_metadata(
|
465
|
+
apply_on: SnapStartApplyOn | None = _dc.field(default=None, metadata=_base.field_metadata(
|
466
466
|
member_name='ApplyOn',
|
467
467
|
shape_name='SnapStartApplyOn',
|
468
468
|
))
|
469
469
|
|
470
|
-
optimization_status: SnapStartOptimizationStatus = _dc.field(metadata=_base.field_metadata(
|
470
|
+
optimization_status: SnapStartOptimizationStatus | None = _dc.field(default=None, metadata=_base.field_metadata(
|
471
471
|
member_name='OptimizationStatus',
|
472
472
|
shape_name='SnapStartOptimizationStatus',
|
473
473
|
))
|
@@ -478,55 +478,56 @@ StringList: _ta.TypeAlias = _ta.Sequence[str]
|
|
478
478
|
SubnetIds: _ta.TypeAlias = _ta.Sequence[SubnetId]
|
479
479
|
|
480
480
|
|
481
|
-
@_dc.dataclass(frozen=True)
|
481
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
482
482
|
class TooManyRequestsException(
|
483
483
|
_base.Shape,
|
484
484
|
shape_name='TooManyRequestsException',
|
485
485
|
):
|
486
|
-
retry_after_seconds: str = _dc.field(metadata=_base.field_metadata(
|
486
|
+
retry_after_seconds: str | None = _dc.field(default=None, metadata=_base.field_metadata(
|
487
487
|
member_name='retryAfterSeconds',
|
488
488
|
serialization_name='Retry-After',
|
489
489
|
shape_name='String',
|
490
490
|
))
|
491
491
|
|
492
|
-
type: str = _dc.field(metadata=_base.field_metadata(
|
492
|
+
type: str | None = _dc.field(default=None, metadata=_base.field_metadata(
|
493
493
|
member_name='Type',
|
494
494
|
shape_name='String',
|
495
495
|
))
|
496
496
|
|
497
|
-
message: str = _dc.field(metadata=_base.field_metadata(
|
497
|
+
message: str | None = _dc.field(default=None, metadata=_base.field_metadata(
|
498
498
|
member_name='message',
|
499
499
|
shape_name='String',
|
500
500
|
))
|
501
501
|
|
502
|
-
reason: ThrottleReason = _dc.field(metadata=_base.field_metadata(
|
502
|
+
reason: ThrottleReason | None = _dc.field(default=None, metadata=_base.field_metadata(
|
503
503
|
member_name='Reason',
|
504
504
|
shape_name='ThrottleReason',
|
505
505
|
))
|
506
506
|
|
507
507
|
|
508
|
-
@_dc.dataclass(frozen=True)
|
508
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
509
509
|
class TracingConfigResponse(
|
510
510
|
_base.Shape,
|
511
511
|
shape_name='TracingConfigResponse',
|
512
512
|
):
|
513
|
-
mode: TracingMode = _dc.field(metadata=_base.field_metadata(
|
513
|
+
mode: TracingMode | None = _dc.field(default=None, metadata=_base.field_metadata(
|
514
514
|
member_name='Mode',
|
515
515
|
shape_name='TracingMode',
|
516
516
|
))
|
517
517
|
|
518
518
|
|
519
|
-
@_dc.dataclass(frozen=True)
|
519
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
520
520
|
class EnvironmentResponse(
|
521
521
|
_base.Shape,
|
522
522
|
shape_name='EnvironmentResponse',
|
523
523
|
):
|
524
|
-
variables: EnvironmentVariables = _dc.field(metadata=_base.field_metadata(
|
524
|
+
variables: EnvironmentVariables | None = _dc.field(default=None, metadata=_base.field_metadata(
|
525
525
|
member_name='Variables',
|
526
|
+
value_type=_base.MapValueType(EnvironmentVariableName, EnvironmentVariableValue),
|
526
527
|
shape_name='EnvironmentVariables',
|
527
528
|
))
|
528
529
|
|
529
|
-
error: EnvironmentError_ = _dc.field(metadata=_base.field_metadata(
|
530
|
+
error: EnvironmentError_ | None = _dc.field(default=None, metadata=_base.field_metadata(
|
530
531
|
member_name='Error',
|
531
532
|
shape_name='EnvironmentError',
|
532
533
|
))
|
@@ -535,22 +536,24 @@ class EnvironmentResponse(
|
|
535
536
|
FileSystemConfigList: _ta.TypeAlias = _ta.Sequence[FileSystemConfig]
|
536
537
|
|
537
538
|
|
538
|
-
@_dc.dataclass(frozen=True)
|
539
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
539
540
|
class ImageConfig(
|
540
541
|
_base.Shape,
|
541
542
|
shape_name='ImageConfig',
|
542
543
|
):
|
543
|
-
entry_point: StringList = _dc.field(metadata=_base.field_metadata(
|
544
|
+
entry_point: StringList | None = _dc.field(default=None, metadata=_base.field_metadata(
|
544
545
|
member_name='EntryPoint',
|
546
|
+
value_type=_base.ListValueType(str),
|
545
547
|
shape_name='StringList',
|
546
548
|
))
|
547
549
|
|
548
|
-
command: StringList = _dc.field(metadata=_base.field_metadata(
|
550
|
+
command: StringList | None = _dc.field(default=None, metadata=_base.field_metadata(
|
549
551
|
member_name='Command',
|
552
|
+
value_type=_base.ListValueType(str),
|
550
553
|
shape_name='StringList',
|
551
554
|
))
|
552
555
|
|
553
|
-
working_directory: WorkingDirectory = _dc.field(metadata=_base.field_metadata(
|
556
|
+
working_directory: WorkingDirectory | None = _dc.field(default=None, metadata=_base.field_metadata(
|
554
557
|
member_name='WorkingDirectory',
|
555
558
|
shape_name='WorkingDirectory',
|
556
559
|
))
|
@@ -559,245 +562,250 @@ class ImageConfig(
|
|
559
562
|
LayersReferenceList: _ta.TypeAlias = _ta.Sequence[Layer]
|
560
563
|
|
561
564
|
|
562
|
-
@_dc.dataclass(frozen=True)
|
565
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
563
566
|
class RuntimeVersionConfig(
|
564
567
|
_base.Shape,
|
565
568
|
shape_name='RuntimeVersionConfig',
|
566
569
|
):
|
567
|
-
runtime_version_arn: RuntimeVersionArn = _dc.field(metadata=_base.field_metadata(
|
570
|
+
runtime_version_arn: RuntimeVersionArn | None = _dc.field(default=None, metadata=_base.field_metadata(
|
568
571
|
member_name='RuntimeVersionArn',
|
569
572
|
shape_name='RuntimeVersionArn',
|
570
573
|
))
|
571
574
|
|
572
|
-
error: RuntimeVersionError = _dc.field(metadata=_base.field_metadata(
|
575
|
+
error: RuntimeVersionError | None = _dc.field(default=None, metadata=_base.field_metadata(
|
573
576
|
member_name='Error',
|
574
577
|
shape_name='RuntimeVersionError',
|
575
578
|
))
|
576
579
|
|
577
580
|
|
578
|
-
@_dc.dataclass(frozen=True)
|
581
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
579
582
|
class VpcConfigResponse(
|
580
583
|
_base.Shape,
|
581
584
|
shape_name='VpcConfigResponse',
|
582
585
|
):
|
583
|
-
subnet_ids: SubnetIds = _dc.field(metadata=_base.field_metadata(
|
586
|
+
subnet_ids: SubnetIds | None = _dc.field(default=None, metadata=_base.field_metadata(
|
584
587
|
member_name='SubnetIds',
|
588
|
+
value_type=_base.ListValueType(SubnetId),
|
585
589
|
shape_name='SubnetIds',
|
586
590
|
))
|
587
591
|
|
588
|
-
security_group_ids: SecurityGroupIds = _dc.field(metadata=_base.field_metadata(
|
592
|
+
security_group_ids: SecurityGroupIds | None = _dc.field(default=None, metadata=_base.field_metadata(
|
589
593
|
member_name='SecurityGroupIds',
|
594
|
+
value_type=_base.ListValueType(SecurityGroupId),
|
590
595
|
shape_name='SecurityGroupIds',
|
591
596
|
))
|
592
597
|
|
593
|
-
vpc_id: VpcId = _dc.field(metadata=_base.field_metadata(
|
598
|
+
vpc_id: VpcId | None = _dc.field(default=None, metadata=_base.field_metadata(
|
594
599
|
member_name='VpcId',
|
595
600
|
shape_name='VpcId',
|
596
601
|
))
|
597
602
|
|
598
|
-
ipv6_allowed_for_dual_stack: NullableBoolean = _dc.field(metadata=_base.field_metadata(
|
603
|
+
ipv6_allowed_for_dual_stack: NullableBoolean | None = _dc.field(default=None, metadata=_base.field_metadata(
|
599
604
|
member_name='Ipv6AllowedForDualStack',
|
600
605
|
shape_name='NullableBoolean',
|
601
606
|
))
|
602
607
|
|
603
608
|
|
604
|
-
@_dc.dataclass(frozen=True)
|
609
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
605
610
|
class ImageConfigResponse(
|
606
611
|
_base.Shape,
|
607
612
|
shape_name='ImageConfigResponse',
|
608
613
|
):
|
609
|
-
image_config: ImageConfig = _dc.field(metadata=_base.field_metadata(
|
614
|
+
image_config: ImageConfig | None = _dc.field(default=None, metadata=_base.field_metadata(
|
610
615
|
member_name='ImageConfig',
|
611
616
|
shape_name='ImageConfig',
|
612
617
|
))
|
613
618
|
|
614
|
-
error: ImageConfigError = _dc.field(metadata=_base.field_metadata(
|
619
|
+
error: ImageConfigError | None = _dc.field(default=None, metadata=_base.field_metadata(
|
615
620
|
member_name='Error',
|
616
621
|
shape_name='ImageConfigError',
|
617
622
|
))
|
618
623
|
|
619
624
|
|
620
|
-
@_dc.dataclass(frozen=True)
|
625
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
621
626
|
class FunctionConfiguration(
|
622
627
|
_base.Shape,
|
623
628
|
shape_name='FunctionConfiguration',
|
624
629
|
):
|
625
|
-
function_name: NamespacedFunctionName = _dc.field(metadata=_base.field_metadata(
|
630
|
+
function_name: NamespacedFunctionName | None = _dc.field(default=None, metadata=_base.field_metadata(
|
626
631
|
member_name='FunctionName',
|
627
632
|
shape_name='NamespacedFunctionName',
|
628
633
|
))
|
629
634
|
|
630
|
-
function_arn: NameSpacedFunctionArn = _dc.field(metadata=_base.field_metadata(
|
635
|
+
function_arn: NameSpacedFunctionArn | None = _dc.field(default=None, metadata=_base.field_metadata(
|
631
636
|
member_name='FunctionArn',
|
632
637
|
shape_name='NameSpacedFunctionArn',
|
633
638
|
))
|
634
639
|
|
635
|
-
runtime: Runtime = _dc.field(metadata=_base.field_metadata(
|
640
|
+
runtime: Runtime | None = _dc.field(default=None, metadata=_base.field_metadata(
|
636
641
|
member_name='Runtime',
|
637
642
|
shape_name='Runtime',
|
638
643
|
))
|
639
644
|
|
640
|
-
role: RoleArn = _dc.field(metadata=_base.field_metadata(
|
645
|
+
role: RoleArn | None = _dc.field(default=None, metadata=_base.field_metadata(
|
641
646
|
member_name='Role',
|
642
647
|
shape_name='RoleArn',
|
643
648
|
))
|
644
649
|
|
645
|
-
handler: Handler = _dc.field(metadata=_base.field_metadata(
|
650
|
+
handler: Handler | None = _dc.field(default=None, metadata=_base.field_metadata(
|
646
651
|
member_name='Handler',
|
647
652
|
shape_name='Handler',
|
648
653
|
))
|
649
654
|
|
650
|
-
code_size: int = _dc.field(metadata=_base.field_metadata(
|
655
|
+
code_size: int | None = _dc.field(default=None, metadata=_base.field_metadata(
|
651
656
|
member_name='CodeSize',
|
652
657
|
shape_name='Long',
|
653
658
|
))
|
654
659
|
|
655
|
-
description: Description = _dc.field(metadata=_base.field_metadata(
|
660
|
+
description: Description | None = _dc.field(default=None, metadata=_base.field_metadata(
|
656
661
|
member_name='Description',
|
657
662
|
shape_name='Description',
|
658
663
|
))
|
659
664
|
|
660
|
-
timeout: Timeout = _dc.field(metadata=_base.field_metadata(
|
665
|
+
timeout: Timeout | None = _dc.field(default=None, metadata=_base.field_metadata(
|
661
666
|
member_name='Timeout',
|
662
667
|
shape_name='Timeout',
|
663
668
|
))
|
664
669
|
|
665
|
-
memory_size: MemorySize = _dc.field(metadata=_base.field_metadata(
|
670
|
+
memory_size: MemorySize | None = _dc.field(default=None, metadata=_base.field_metadata(
|
666
671
|
member_name='MemorySize',
|
667
672
|
shape_name='MemorySize',
|
668
673
|
))
|
669
674
|
|
670
|
-
last_modified: Timestamp = _dc.field(metadata=_base.field_metadata(
|
675
|
+
last_modified: Timestamp | None = _dc.field(default=None, metadata=_base.field_metadata(
|
671
676
|
member_name='LastModified',
|
672
677
|
shape_name='Timestamp',
|
673
678
|
))
|
674
679
|
|
675
|
-
code_sha256: str = _dc.field(metadata=_base.field_metadata(
|
680
|
+
code_sha256: str | None = _dc.field(default=None, metadata=_base.field_metadata(
|
676
681
|
member_name='CodeSha256',
|
677
682
|
shape_name='String',
|
678
683
|
))
|
679
684
|
|
680
|
-
version: Version = _dc.field(metadata=_base.field_metadata(
|
685
|
+
version: Version | None = _dc.field(default=None, metadata=_base.field_metadata(
|
681
686
|
member_name='Version',
|
682
687
|
shape_name='Version',
|
683
688
|
))
|
684
689
|
|
685
|
-
vpc_config: VpcConfigResponse = _dc.field(metadata=_base.field_metadata(
|
690
|
+
vpc_config: VpcConfigResponse | None = _dc.field(default=None, metadata=_base.field_metadata(
|
686
691
|
member_name='VpcConfig',
|
687
692
|
shape_name='VpcConfigResponse',
|
688
693
|
))
|
689
694
|
|
690
|
-
dead_letter_config: DeadLetterConfig = _dc.field(metadata=_base.field_metadata(
|
695
|
+
dead_letter_config: DeadLetterConfig | None = _dc.field(default=None, metadata=_base.field_metadata(
|
691
696
|
member_name='DeadLetterConfig',
|
692
697
|
shape_name='DeadLetterConfig',
|
693
698
|
))
|
694
699
|
|
695
|
-
environment: EnvironmentResponse = _dc.field(metadata=_base.field_metadata(
|
700
|
+
environment: EnvironmentResponse | None = _dc.field(default=None, metadata=_base.field_metadata(
|
696
701
|
member_name='Environment',
|
697
702
|
shape_name='EnvironmentResponse',
|
698
703
|
))
|
699
704
|
|
700
|
-
kms_key_arn: KMSKeyArn = _dc.field(metadata=_base.field_metadata(
|
705
|
+
kms_key_arn: KMSKeyArn | None = _dc.field(default=None, metadata=_base.field_metadata(
|
701
706
|
member_name='KMSKeyArn',
|
702
707
|
shape_name='KMSKeyArn',
|
703
708
|
))
|
704
709
|
|
705
|
-
tracing_config: TracingConfigResponse = _dc.field(metadata=_base.field_metadata(
|
710
|
+
tracing_config: TracingConfigResponse | None = _dc.field(default=None, metadata=_base.field_metadata(
|
706
711
|
member_name='TracingConfig',
|
707
712
|
shape_name='TracingConfigResponse',
|
708
713
|
))
|
709
714
|
|
710
|
-
master_arn: FunctionArn = _dc.field(metadata=_base.field_metadata(
|
715
|
+
master_arn: FunctionArn | None = _dc.field(default=None, metadata=_base.field_metadata(
|
711
716
|
member_name='MasterArn',
|
712
717
|
shape_name='FunctionArn',
|
713
718
|
))
|
714
719
|
|
715
|
-
revision_id: str = _dc.field(metadata=_base.field_metadata(
|
720
|
+
revision_id: str | None = _dc.field(default=None, metadata=_base.field_metadata(
|
716
721
|
member_name='RevisionId',
|
717
722
|
shape_name='String',
|
718
723
|
))
|
719
724
|
|
720
|
-
layers: LayersReferenceList = _dc.field(metadata=_base.field_metadata(
|
725
|
+
layers: LayersReferenceList | None = _dc.field(default=None, metadata=_base.field_metadata(
|
721
726
|
member_name='Layers',
|
727
|
+
value_type=_base.ListValueType(Layer),
|
722
728
|
shape_name='LayersReferenceList',
|
723
729
|
))
|
724
730
|
|
725
|
-
state: State = _dc.field(metadata=_base.field_metadata(
|
731
|
+
state: State | None = _dc.field(default=None, metadata=_base.field_metadata(
|
726
732
|
member_name='State',
|
727
733
|
shape_name='State',
|
728
734
|
))
|
729
735
|
|
730
|
-
state_reason: StateReason = _dc.field(metadata=_base.field_metadata(
|
736
|
+
state_reason: StateReason | None = _dc.field(default=None, metadata=_base.field_metadata(
|
731
737
|
member_name='StateReason',
|
732
738
|
shape_name='StateReason',
|
733
739
|
))
|
734
740
|
|
735
|
-
state_reason_code: StateReasonCode = _dc.field(metadata=_base.field_metadata(
|
741
|
+
state_reason_code: StateReasonCode | None = _dc.field(default=None, metadata=_base.field_metadata(
|
736
742
|
member_name='StateReasonCode',
|
737
743
|
shape_name='StateReasonCode',
|
738
744
|
))
|
739
745
|
|
740
|
-
last_update_status: LastUpdateStatus = _dc.field(metadata=_base.field_metadata(
|
746
|
+
last_update_status: LastUpdateStatus | None = _dc.field(default=None, metadata=_base.field_metadata(
|
741
747
|
member_name='LastUpdateStatus',
|
742
748
|
shape_name='LastUpdateStatus',
|
743
749
|
))
|
744
750
|
|
745
|
-
last_update_status_reason: LastUpdateStatusReason = _dc.field(metadata=_base.field_metadata(
|
751
|
+
last_update_status_reason: LastUpdateStatusReason | None = _dc.field(default=None, metadata=_base.field_metadata(
|
746
752
|
member_name='LastUpdateStatusReason',
|
747
753
|
shape_name='LastUpdateStatusReason',
|
748
754
|
))
|
749
755
|
|
750
|
-
last_update_status_reason_code: LastUpdateStatusReasonCode = _dc.field(metadata=_base.field_metadata(
|
756
|
+
last_update_status_reason_code: LastUpdateStatusReasonCode | None = _dc.field(default=None, metadata=_base.field_metadata(
|
751
757
|
member_name='LastUpdateStatusReasonCode',
|
752
758
|
shape_name='LastUpdateStatusReasonCode',
|
753
759
|
))
|
754
760
|
|
755
|
-
file_system_configs: FileSystemConfigList = _dc.field(metadata=_base.field_metadata(
|
761
|
+
file_system_configs: FileSystemConfigList | None = _dc.field(default=None, metadata=_base.field_metadata(
|
756
762
|
member_name='FileSystemConfigs',
|
763
|
+
value_type=_base.ListValueType(FileSystemConfig),
|
757
764
|
shape_name='FileSystemConfigList',
|
758
765
|
))
|
759
766
|
|
760
|
-
package_type: PackageType = _dc.field(metadata=_base.field_metadata(
|
767
|
+
package_type: PackageType | None = _dc.field(default=None, metadata=_base.field_metadata(
|
761
768
|
member_name='PackageType',
|
762
769
|
shape_name='PackageType',
|
763
770
|
))
|
764
771
|
|
765
|
-
image_config_response: ImageConfigResponse = _dc.field(metadata=_base.field_metadata(
|
772
|
+
image_config_response: ImageConfigResponse | None = _dc.field(default=None, metadata=_base.field_metadata(
|
766
773
|
member_name='ImageConfigResponse',
|
767
774
|
shape_name='ImageConfigResponse',
|
768
775
|
))
|
769
776
|
|
770
|
-
signing_profile_version_arn: Arn = _dc.field(metadata=_base.field_metadata(
|
777
|
+
signing_profile_version_arn: Arn | None = _dc.field(default=None, metadata=_base.field_metadata(
|
771
778
|
member_name='SigningProfileVersionArn',
|
772
779
|
shape_name='Arn',
|
773
780
|
))
|
774
781
|
|
775
|
-
signing_job_arn: Arn = _dc.field(metadata=_base.field_metadata(
|
782
|
+
signing_job_arn: Arn | None = _dc.field(default=None, metadata=_base.field_metadata(
|
776
783
|
member_name='SigningJobArn',
|
777
784
|
shape_name='Arn',
|
778
785
|
))
|
779
786
|
|
780
|
-
architectures: ArchitecturesList = _dc.field(metadata=_base.field_metadata(
|
787
|
+
architectures: ArchitecturesList | None = _dc.field(default=None, metadata=_base.field_metadata(
|
781
788
|
member_name='Architectures',
|
789
|
+
value_type=_base.ListValueType(Architecture),
|
782
790
|
shape_name='ArchitecturesList',
|
783
791
|
))
|
784
792
|
|
785
|
-
ephemeral_storage: EphemeralStorage = _dc.field(metadata=_base.field_metadata(
|
793
|
+
ephemeral_storage: EphemeralStorage | None = _dc.field(default=None, metadata=_base.field_metadata(
|
786
794
|
member_name='EphemeralStorage',
|
787
795
|
shape_name='EphemeralStorage',
|
788
796
|
))
|
789
797
|
|
790
|
-
snap_start: SnapStartResponse = _dc.field(metadata=_base.field_metadata(
|
798
|
+
snap_start: SnapStartResponse | None = _dc.field(default=None, metadata=_base.field_metadata(
|
791
799
|
member_name='SnapStart',
|
792
800
|
shape_name='SnapStartResponse',
|
793
801
|
))
|
794
802
|
|
795
|
-
runtime_version_config: RuntimeVersionConfig = _dc.field(metadata=_base.field_metadata(
|
803
|
+
runtime_version_config: RuntimeVersionConfig | None = _dc.field(default=None, metadata=_base.field_metadata(
|
796
804
|
member_name='RuntimeVersionConfig',
|
797
805
|
shape_name='RuntimeVersionConfig',
|
798
806
|
))
|
799
807
|
|
800
|
-
logging_config: LoggingConfig = _dc.field(metadata=_base.field_metadata(
|
808
|
+
logging_config: LoggingConfig | None = _dc.field(default=None, metadata=_base.field_metadata(
|
801
809
|
member_name='LoggingConfig',
|
802
810
|
shape_name='LoggingConfig',
|
803
811
|
))
|
@@ -806,18 +814,19 @@ class FunctionConfiguration(
|
|
806
814
|
FunctionList: _ta.TypeAlias = _ta.Sequence[FunctionConfiguration]
|
807
815
|
|
808
816
|
|
809
|
-
@_dc.dataclass(frozen=True)
|
817
|
+
@_dc.dataclass(frozen=True, kw_only=True)
|
810
818
|
class ListFunctionsResponse(
|
811
819
|
_base.Shape,
|
812
820
|
shape_name='ListFunctionsResponse',
|
813
821
|
):
|
814
|
-
next_marker: str = _dc.field(metadata=_base.field_metadata(
|
822
|
+
next_marker: str | None = _dc.field(default=None, metadata=_base.field_metadata(
|
815
823
|
member_name='NextMarker',
|
816
824
|
shape_name='String',
|
817
825
|
))
|
818
826
|
|
819
|
-
functions: FunctionList = _dc.field(metadata=_base.field_metadata(
|
827
|
+
functions: FunctionList | None = _dc.field(default=None, metadata=_base.field_metadata(
|
820
828
|
member_name='Functions',
|
829
|
+
value_type=_base.ListValueType(FunctionConfiguration),
|
821
830
|
shape_name='FunctionList',
|
822
831
|
))
|
823
832
|
|