aws-sdk-lambda 1.167.0 → 1.169.0

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.
@@ -225,14 +225,8 @@ module Aws::Lambda
225
225
  # @return [String]
226
226
  #
227
227
  # @!attribute [rw] invoked_via_function_url
228
- # Restricts the `lambda:InvokeFunction` action to function URL calls.
229
- # When specified, this option prevents the principal from invoking the
230
- # function by any means other than the function URL. For more
231
- # information, see [Control access to Lambda function URLs][1].
232
- #
233
- #
234
- #
235
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
228
+ # Indicates whether the permission applies when the function is
229
+ # invoked through a function URL.
236
230
  # @return [Boolean]
237
231
  #
238
232
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermissionRequest AWS API Documentation
@@ -375,6 +369,517 @@ module Aws::Lambda
375
369
  include Aws::Structure
376
370
  end
377
371
 
372
+ # Contains details about a callback operation in a durable execution,
373
+ # including the callback token and timeout configuration.
374
+ #
375
+ # @!attribute [rw] callback_id
376
+ # The callback ID. Callback IDs are generated by the `DurableContext`
377
+ # when a durable function calls `ctx.waitForCallback`.
378
+ # @return [String]
379
+ #
380
+ # @!attribute [rw] result
381
+ # The response payload from the callback operation as a string.
382
+ # @return [String]
383
+ #
384
+ # @!attribute [rw] error
385
+ # An error object that contains details about the failure.
386
+ # @return [Types::ErrorObject]
387
+ #
388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CallbackDetails AWS API Documentation
389
+ #
390
+ class CallbackDetails < Struct.new(
391
+ :callback_id,
392
+ :result,
393
+ :error)
394
+ SENSITIVE = [:result]
395
+ include Aws::Structure
396
+ end
397
+
398
+ # Contains details about a failed callback operation, including error
399
+ # information and the reason for failure.
400
+ #
401
+ # @!attribute [rw] error
402
+ # An error object that contains details about the failure.
403
+ # @return [Types::EventError]
404
+ #
405
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CallbackFailedDetails AWS API Documentation
406
+ #
407
+ class CallbackFailedDetails < Struct.new(
408
+ :error)
409
+ SENSITIVE = []
410
+ include Aws::Structure
411
+ end
412
+
413
+ # Configuration options for callback operations in durable executions,
414
+ # including timeout settings and retry behavior.
415
+ #
416
+ # @!attribute [rw] timeout_seconds
417
+ # The timeout for the callback operation in seconds. If not specified
418
+ # or set to 0, the callback has no timeout.
419
+ # @return [Integer]
420
+ #
421
+ # @!attribute [rw] heartbeat_timeout_seconds
422
+ # The heartbeat timeout for the callback operation, in seconds. If not
423
+ # specified or set to 0, heartbeat timeout is disabled.
424
+ # @return [Integer]
425
+ #
426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CallbackOptions AWS API Documentation
427
+ #
428
+ class CallbackOptions < Struct.new(
429
+ :timeout_seconds,
430
+ :heartbeat_timeout_seconds)
431
+ SENSITIVE = []
432
+ include Aws::Structure
433
+ end
434
+
435
+ # Contains details about a callback operation that has started,
436
+ # including timing information and callback metadata.
437
+ #
438
+ # @!attribute [rw] callback_id
439
+ # The callback ID. Callback IDs are generated by the `DurableContext`
440
+ # when a durable function calls `ctx.waitForCallback`.
441
+ # @return [String]
442
+ #
443
+ # @!attribute [rw] heartbeat_timeout
444
+ # The heartbeat timeout value, in seconds.
445
+ # @return [Integer]
446
+ #
447
+ # @!attribute [rw] timeout
448
+ # The timeout value, in seconds.
449
+ # @return [Integer]
450
+ #
451
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CallbackStartedDetails AWS API Documentation
452
+ #
453
+ class CallbackStartedDetails < Struct.new(
454
+ :callback_id,
455
+ :heartbeat_timeout,
456
+ :timeout)
457
+ SENSITIVE = []
458
+ include Aws::Structure
459
+ end
460
+
461
+ # Contains details about a successfully completed callback operation,
462
+ # including the result data and completion timestamp.
463
+ #
464
+ # @!attribute [rw] result
465
+ # The response payload from the successful operation.
466
+ # @return [Types::EventResult]
467
+ #
468
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CallbackSucceededDetails AWS API Documentation
469
+ #
470
+ class CallbackSucceededDetails < Struct.new(
471
+ :result)
472
+ SENSITIVE = []
473
+ include Aws::Structure
474
+ end
475
+
476
+ # Contains details about a callback operation that timed out, including
477
+ # timeout duration and any partial results.
478
+ #
479
+ # @!attribute [rw] error
480
+ # Details about the callback timeout.
481
+ # @return [Types::EventError]
482
+ #
483
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CallbackTimedOutDetails AWS API Documentation
484
+ #
485
+ class CallbackTimedOutDetails < Struct.new(
486
+ :error)
487
+ SENSITIVE = []
488
+ include Aws::Structure
489
+ end
490
+
491
+ # The callback ID token has either expired or the callback associated
492
+ # with the token has already been closed.
493
+ #
494
+ # @!attribute [rw] type
495
+ # The exception type.
496
+ # @return [String]
497
+ #
498
+ # @!attribute [rw] message
499
+ # @return [String]
500
+ #
501
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CallbackTimeoutException AWS API Documentation
502
+ #
503
+ class CallbackTimeoutException < Struct.new(
504
+ :type,
505
+ :message)
506
+ SENSITIVE = []
507
+ include Aws::Structure
508
+ end
509
+
510
+ # A capacity provider manages compute resources for Lambda functions.
511
+ #
512
+ # @!attribute [rw] capacity_provider_arn
513
+ # The Amazon Resource Name (ARN) of the capacity provider.
514
+ # @return [String]
515
+ #
516
+ # @!attribute [rw] state
517
+ # The current state of the capacity provider.
518
+ # @return [String]
519
+ #
520
+ # @!attribute [rw] vpc_config
521
+ # The VPC configuration for the capacity provider.
522
+ # @return [Types::CapacityProviderVpcConfig]
523
+ #
524
+ # @!attribute [rw] permissions_config
525
+ # The permissions configuration for the capacity provider.
526
+ # @return [Types::CapacityProviderPermissionsConfig]
527
+ #
528
+ # @!attribute [rw] instance_requirements
529
+ # The instance requirements for compute resources managed by the
530
+ # capacity provider.
531
+ # @return [Types::InstanceRequirements]
532
+ #
533
+ # @!attribute [rw] capacity_provider_scaling_config
534
+ # The scaling configuration for the capacity provider.
535
+ # @return [Types::CapacityProviderScalingConfig]
536
+ #
537
+ # @!attribute [rw] kms_key_arn
538
+ # The ARN of the KMS key used to encrypt the capacity provider's
539
+ # resources.
540
+ # @return [String]
541
+ #
542
+ # @!attribute [rw] last_modified
543
+ # The date and time when the capacity provider was last modified.
544
+ # @return [Time]
545
+ #
546
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CapacityProvider AWS API Documentation
547
+ #
548
+ class CapacityProvider < Struct.new(
549
+ :capacity_provider_arn,
550
+ :state,
551
+ :vpc_config,
552
+ :permissions_config,
553
+ :instance_requirements,
554
+ :capacity_provider_scaling_config,
555
+ :kms_key_arn,
556
+ :last_modified)
557
+ SENSITIVE = []
558
+ include Aws::Structure
559
+ end
560
+
561
+ # Configuration for the capacity provider that manages compute resources
562
+ # for Lambda functions.
563
+ #
564
+ # @!attribute [rw] lambda_managed_instances_capacity_provider_config
565
+ # Configuration for Lambda-managed instances used by the capacity
566
+ # provider.
567
+ # @return [Types::LambdaManagedInstancesCapacityProviderConfig]
568
+ #
569
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CapacityProviderConfig AWS API Documentation
570
+ #
571
+ class CapacityProviderConfig < Struct.new(
572
+ :lambda_managed_instances_capacity_provider_config)
573
+ SENSITIVE = []
574
+ include Aws::Structure
575
+ end
576
+
577
+ # The maximum number of capacity providers for your account has been
578
+ # exceeded. For more information, see [Lambda quotas][1]
579
+ #
580
+ #
581
+ #
582
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
583
+ #
584
+ # @!attribute [rw] type
585
+ # The exception type.
586
+ # @return [String]
587
+ #
588
+ # @!attribute [rw] message
589
+ # @return [String]
590
+ #
591
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CapacityProviderLimitExceededException AWS API Documentation
592
+ #
593
+ class CapacityProviderLimitExceededException < Struct.new(
594
+ :type,
595
+ :message)
596
+ SENSITIVE = []
597
+ include Aws::Structure
598
+ end
599
+
600
+ # Configuration that specifies the permissions required for the capacity
601
+ # provider to manage compute resources.
602
+ #
603
+ # @!attribute [rw] capacity_provider_operator_role_arn
604
+ # The ARN of the IAM role that the capacity provider uses to manage
605
+ # compute instances and other Amazon Web Services resources.
606
+ # @return [String]
607
+ #
608
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CapacityProviderPermissionsConfig AWS API Documentation
609
+ #
610
+ class CapacityProviderPermissionsConfig < Struct.new(
611
+ :capacity_provider_operator_role_arn)
612
+ SENSITIVE = []
613
+ include Aws::Structure
614
+ end
615
+
616
+ # Configuration that defines how the capacity provider scales compute
617
+ # instances based on demand and policies.
618
+ #
619
+ # @!attribute [rw] max_v_cpu_count
620
+ # The maximum number of vCPUs that the capacity provider can provision
621
+ # across all compute instances.
622
+ # @return [Integer]
623
+ #
624
+ # @!attribute [rw] scaling_mode
625
+ # The scaling mode that determines how the capacity provider responds
626
+ # to changes in demand.
627
+ # @return [String]
628
+ #
629
+ # @!attribute [rw] scaling_policies
630
+ # A list of scaling policies that define how the capacity provider
631
+ # scales compute instances based on metrics and thresholds.
632
+ # @return [Array<Types::TargetTrackingScalingPolicy>]
633
+ #
634
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CapacityProviderScalingConfig AWS API Documentation
635
+ #
636
+ class CapacityProviderScalingConfig < Struct.new(
637
+ :max_v_cpu_count,
638
+ :scaling_mode,
639
+ :scaling_policies)
640
+ SENSITIVE = []
641
+ include Aws::Structure
642
+ end
643
+
644
+ # VPC configuration that specifies the network settings for compute
645
+ # instances managed by the capacity provider.
646
+ #
647
+ # @!attribute [rw] subnet_ids
648
+ # A list of subnet IDs where the capacity provider launches compute
649
+ # instances.
650
+ # @return [Array<String>]
651
+ #
652
+ # @!attribute [rw] security_group_ids
653
+ # A list of security group IDs that control network access for compute
654
+ # instances managed by the capacity provider.
655
+ # @return [Array<String>]
656
+ #
657
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CapacityProviderVpcConfig AWS API Documentation
658
+ #
659
+ class CapacityProviderVpcConfig < Struct.new(
660
+ :subnet_ids,
661
+ :security_group_ids)
662
+ SENSITIVE = []
663
+ include Aws::Structure
664
+ end
665
+
666
+ # Contains details about a chained function invocation in a durable
667
+ # execution, including the target function and invocation parameters.
668
+ #
669
+ # @!attribute [rw] result
670
+ # The response payload from the chained invocation.
671
+ # @return [String]
672
+ #
673
+ # @!attribute [rw] error
674
+ # Details about the chained invocation failure.
675
+ # @return [Types::ErrorObject]
676
+ #
677
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ChainedInvokeDetails AWS API Documentation
678
+ #
679
+ class ChainedInvokeDetails < Struct.new(
680
+ :result,
681
+ :error)
682
+ SENSITIVE = [:result]
683
+ include Aws::Structure
684
+ end
685
+
686
+ # Contains details about a failed chained function invocation, including
687
+ # error information and failure reason.
688
+ #
689
+ # @!attribute [rw] error
690
+ # Details about the chained invocation failure.
691
+ # @return [Types::EventError]
692
+ #
693
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ChainedInvokeFailedDetails AWS API Documentation
694
+ #
695
+ class ChainedInvokeFailedDetails < Struct.new(
696
+ :error)
697
+ SENSITIVE = []
698
+ include Aws::Structure
699
+ end
700
+
701
+ # Configuration options for chained function invocations in durable
702
+ # executions, including retry settings and timeout configuration.
703
+ #
704
+ # @!attribute [rw] function_name
705
+ # The name or ARN of the Lambda function to invoke.
706
+ # @return [String]
707
+ #
708
+ # @!attribute [rw] tenant_id
709
+ # The tenant identifier for the chained invocation.
710
+ # @return [String]
711
+ #
712
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ChainedInvokeOptions AWS API Documentation
713
+ #
714
+ class ChainedInvokeOptions < Struct.new(
715
+ :function_name,
716
+ :tenant_id)
717
+ SENSITIVE = []
718
+ include Aws::Structure
719
+ end
720
+
721
+ # Contains details about a chained function invocation that has started
722
+ # execution, including start time and execution context.
723
+ #
724
+ # @!attribute [rw] function_name
725
+ # The name or ARN of the Lambda function being invoked.
726
+ # @return [String]
727
+ #
728
+ # @!attribute [rw] tenant_id
729
+ # The tenant identifier for the chained invocation.
730
+ # @return [String]
731
+ #
732
+ # @!attribute [rw] input
733
+ # The JSON input payload provided to the chained invocation.
734
+ # @return [Types::EventInput]
735
+ #
736
+ # @!attribute [rw] executed_version
737
+ # The version of the function that was executed.
738
+ # @return [String]
739
+ #
740
+ # @!attribute [rw] durable_execution_arn
741
+ # The Amazon Resource Name (ARN) that identifies the durable
742
+ # execution.
743
+ # @return [String]
744
+ #
745
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ChainedInvokeStartedDetails AWS API Documentation
746
+ #
747
+ class ChainedInvokeStartedDetails < Struct.new(
748
+ :function_name,
749
+ :tenant_id,
750
+ :input,
751
+ :executed_version,
752
+ :durable_execution_arn)
753
+ SENSITIVE = []
754
+ include Aws::Structure
755
+ end
756
+
757
+ # Details about a chained invocation that was stopped.
758
+ #
759
+ # @!attribute [rw] error
760
+ # Details about why the chained invocation stopped.
761
+ # @return [Types::EventError]
762
+ #
763
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ChainedInvokeStoppedDetails AWS API Documentation
764
+ #
765
+ class ChainedInvokeStoppedDetails < Struct.new(
766
+ :error)
767
+ SENSITIVE = []
768
+ include Aws::Structure
769
+ end
770
+
771
+ # Details about a chained invocation that succeeded.
772
+ #
773
+ # @!attribute [rw] result
774
+ # The response payload from the successful operation.
775
+ # @return [Types::EventResult]
776
+ #
777
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ChainedInvokeSucceededDetails AWS API Documentation
778
+ #
779
+ class ChainedInvokeSucceededDetails < Struct.new(
780
+ :result)
781
+ SENSITIVE = []
782
+ include Aws::Structure
783
+ end
784
+
785
+ # Details about a chained invocation that timed out.
786
+ #
787
+ # @!attribute [rw] error
788
+ # Details about the chained invocation timeout.
789
+ # @return [Types::EventError]
790
+ #
791
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ChainedInvokeTimedOutDetails AWS API Documentation
792
+ #
793
+ class ChainedInvokeTimedOutDetails < Struct.new(
794
+ :error)
795
+ SENSITIVE = []
796
+ include Aws::Structure
797
+ end
798
+
799
+ # @!attribute [rw] durable_execution_arn
800
+ # The Amazon Resource Name (ARN) of the durable execution.
801
+ # @return [String]
802
+ #
803
+ # @!attribute [rw] checkpoint_token
804
+ # A unique token that identifies the current checkpoint state. This
805
+ # token is provided by the Lambda runtime and must be used to ensure
806
+ # checkpoints are applied in the correct order. Each checkpoint
807
+ # operation consumes this token and returns a new one.
808
+ # @return [String]
809
+ #
810
+ # @!attribute [rw] updates
811
+ # An array of state updates to apply during this checkpoint. Each
812
+ # update represents a change to the execution state, such as
813
+ # completing a step, starting a callback, or scheduling a timer.
814
+ # Updates are applied atomically as part of the checkpoint operation.
815
+ # @return [Array<Types::OperationUpdate>]
816
+ #
817
+ # @!attribute [rw] client_token
818
+ # An optional idempotency token to ensure that duplicate checkpoint
819
+ # requests are handled correctly. If provided, Lambda uses this token
820
+ # to detect and handle duplicate requests within a 15-minute window.
821
+ #
822
+ # **A suitable default value is auto-generated.** You should normally
823
+ # not need to pass this option.
824
+ # @return [String]
825
+ #
826
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CheckpointDurableExecutionRequest AWS API Documentation
827
+ #
828
+ class CheckpointDurableExecutionRequest < Struct.new(
829
+ :durable_execution_arn,
830
+ :checkpoint_token,
831
+ :updates,
832
+ :client_token)
833
+ SENSITIVE = []
834
+ include Aws::Structure
835
+ end
836
+
837
+ # The response from the CheckpointDurableExecution operation.
838
+ #
839
+ # @!attribute [rw] checkpoint_token
840
+ # A new checkpoint token to use for the next checkpoint operation.
841
+ # This token replaces the one provided in the request and must be used
842
+ # for subsequent checkpoints to maintain proper ordering.
843
+ # @return [String]
844
+ #
845
+ # @!attribute [rw] new_execution_state
846
+ # Updated execution state information that includes any changes that
847
+ # occurred since the last checkpoint, such as completed callbacks or
848
+ # expired timers. This allows the SDK to update its internal state
849
+ # during replay.
850
+ # @return [Types::CheckpointUpdatedExecutionState]
851
+ #
852
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CheckpointDurableExecutionResponse AWS API Documentation
853
+ #
854
+ class CheckpointDurableExecutionResponse < Struct.new(
855
+ :checkpoint_token,
856
+ :new_execution_state)
857
+ SENSITIVE = []
858
+ include Aws::Structure
859
+ end
860
+
861
+ # Contains operations that have been updated since the last checkpoint,
862
+ # such as completed asynchronous work like timers or callbacks.
863
+ #
864
+ # @!attribute [rw] operations
865
+ # A list of operations that have been updated since the last
866
+ # checkpoint.
867
+ # @return [Array<Types::Operation>]
868
+ #
869
+ # @!attribute [rw] next_marker
870
+ # Indicates that more results are available. Use this value in a
871
+ # subsequent call to retrieve the next page of results.
872
+ # @return [String]
873
+ #
874
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CheckpointUpdatedExecutionState AWS API Documentation
875
+ #
876
+ class CheckpointUpdatedExecutionState < Struct.new(
877
+ :operations,
878
+ :next_marker)
879
+ SENSITIVE = []
880
+ include Aws::Structure
881
+ end
882
+
378
883
  # Details about a [Code signing configuration][1].
379
884
  #
380
885
  #
@@ -523,6 +1028,82 @@ module Aws::Lambda
523
1028
  include Aws::Structure
524
1029
  end
525
1030
 
1031
+ # Details about a durable execution context.
1032
+ #
1033
+ # @!attribute [rw] replay_children
1034
+ # Whether the state data of child operations of this completed context
1035
+ # should be included in the invoke payload and
1036
+ # `GetDurableExecutionState` response.
1037
+ # @return [Boolean]
1038
+ #
1039
+ # @!attribute [rw] result
1040
+ # The response payload from the context.
1041
+ # @return [String]
1042
+ #
1043
+ # @!attribute [rw] error
1044
+ # Details about the context failure.
1045
+ # @return [Types::ErrorObject]
1046
+ #
1047
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ContextDetails AWS API Documentation
1048
+ #
1049
+ class ContextDetails < Struct.new(
1050
+ :replay_children,
1051
+ :result,
1052
+ :error)
1053
+ SENSITIVE = [:result]
1054
+ include Aws::Structure
1055
+ end
1056
+
1057
+ # Details about a context that failed.
1058
+ #
1059
+ # @!attribute [rw] error
1060
+ # Details about the context failure.
1061
+ # @return [Types::EventError]
1062
+ #
1063
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ContextFailedDetails AWS API Documentation
1064
+ #
1065
+ class ContextFailedDetails < Struct.new(
1066
+ :error)
1067
+ SENSITIVE = []
1068
+ include Aws::Structure
1069
+ end
1070
+
1071
+ # Configuration options for a durable execution context.
1072
+ #
1073
+ # @!attribute [rw] replay_children
1074
+ # Whether the state data of children of the completed context should
1075
+ # be included in the invoke payload and `GetDurableExecutionState`
1076
+ # response.
1077
+ # @return [Boolean]
1078
+ #
1079
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ContextOptions AWS API Documentation
1080
+ #
1081
+ class ContextOptions < Struct.new(
1082
+ :replay_children)
1083
+ SENSITIVE = []
1084
+ include Aws::Structure
1085
+ end
1086
+
1087
+ # Details about a context that has started.
1088
+ #
1089
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ContextStartedDetails AWS API Documentation
1090
+ #
1091
+ class ContextStartedDetails < Aws::EmptyStructure; end
1092
+
1093
+ # Details about a context that succeeded.
1094
+ #
1095
+ # @!attribute [rw] result
1096
+ # The JSON response payload from the successful context.
1097
+ # @return [Types::EventResult]
1098
+ #
1099
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ContextSucceededDetails AWS API Documentation
1100
+ #
1101
+ class ContextSucceededDetails < Struct.new(
1102
+ :result)
1103
+ SENSITIVE = []
1104
+ include Aws::Structure
1105
+ end
1106
+
526
1107
  # The [cross-origin resource sharing (CORS)][1] settings for your Lambda
527
1108
  # function URL. Use CORS to grant access to your function URL from any
528
1109
  # origin. You can also use CORS to control access for specific HTTP
@@ -630,6 +1211,67 @@ module Aws::Lambda
630
1211
  include Aws::Structure
631
1212
  end
632
1213
 
1214
+ # @!attribute [rw] capacity_provider_name
1215
+ # The name of the capacity provider.
1216
+ # @return [String]
1217
+ #
1218
+ # @!attribute [rw] vpc_config
1219
+ # The VPC configuration for the capacity provider, including subnet
1220
+ # IDs and security group IDs where compute instances will be launched.
1221
+ # @return [Types::CapacityProviderVpcConfig]
1222
+ #
1223
+ # @!attribute [rw] permissions_config
1224
+ # The permissions configuration that specifies the IAM role ARN used
1225
+ # by the capacity provider to manage compute resources.
1226
+ # @return [Types::CapacityProviderPermissionsConfig]
1227
+ #
1228
+ # @!attribute [rw] instance_requirements
1229
+ # The instance requirements that specify the compute instance
1230
+ # characteristics, including architectures and allowed or excluded
1231
+ # instance types.
1232
+ # @return [Types::InstanceRequirements]
1233
+ #
1234
+ # @!attribute [rw] capacity_provider_scaling_config
1235
+ # The scaling configuration that defines how the capacity provider
1236
+ # scales compute instances, including maximum vCPU count and scaling
1237
+ # policies.
1238
+ # @return [Types::CapacityProviderScalingConfig]
1239
+ #
1240
+ # @!attribute [rw] kms_key_arn
1241
+ # The ARN of the KMS key used to encrypt data associated with the
1242
+ # capacity provider.
1243
+ # @return [String]
1244
+ #
1245
+ # @!attribute [rw] tags
1246
+ # A list of tags to associate with the capacity provider.
1247
+ # @return [Hash<String,String>]
1248
+ #
1249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCapacityProviderRequest AWS API Documentation
1250
+ #
1251
+ class CreateCapacityProviderRequest < Struct.new(
1252
+ :capacity_provider_name,
1253
+ :vpc_config,
1254
+ :permissions_config,
1255
+ :instance_requirements,
1256
+ :capacity_provider_scaling_config,
1257
+ :kms_key_arn,
1258
+ :tags)
1259
+ SENSITIVE = []
1260
+ include Aws::Structure
1261
+ end
1262
+
1263
+ # @!attribute [rw] capacity_provider
1264
+ # Information about the capacity provider that was created.
1265
+ # @return [Types::CapacityProvider]
1266
+ #
1267
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCapacityProviderResponse AWS API Documentation
1268
+ #
1269
+ class CreateCapacityProviderResponse < Struct.new(
1270
+ :capacity_provider)
1271
+ SENSITIVE = []
1272
+ include Aws::Structure
1273
+ end
1274
+
633
1275
  # @!attribute [rw] description
634
1276
  # Descriptive name for this code signing configuration.
635
1277
  # @return [String]
@@ -1164,6 +1806,21 @@ module Aws::Lambda
1164
1806
  # The function's Amazon CloudWatch Logs configuration settings.
1165
1807
  # @return [Types::LoggingConfig]
1166
1808
  #
1809
+ # @!attribute [rw] capacity_provider_config
1810
+ # Configuration for the capacity provider that manages compute
1811
+ # resources for Lambda functions.
1812
+ # @return [Types::CapacityProviderConfig]
1813
+ #
1814
+ # @!attribute [rw] publish_to
1815
+ # Specifies where to publish the function version or configuration.
1816
+ # @return [String]
1817
+ #
1818
+ # @!attribute [rw] durable_config
1819
+ # Configuration settings for durable functions. Enables creating
1820
+ # functions with durability that can remember their state and continue
1821
+ # execution even after interruptions.
1822
+ # @return [Types::DurableConfig]
1823
+ #
1167
1824
  # @!attribute [rw] tenancy_config
1168
1825
  # Configuration for multi-tenant applications that use Lambda
1169
1826
  # functions. Defines tenant isolation settings and resource
@@ -1197,6 +1854,9 @@ module Aws::Lambda
1197
1854
  :ephemeral_storage,
1198
1855
  :snap_start,
1199
1856
  :logging_config,
1857
+ :capacity_provider_config,
1858
+ :publish_to,
1859
+ :durable_config,
1200
1860
  :tenancy_config)
1201
1861
  SENSITIVE = []
1202
1862
  include Aws::Structure
@@ -1382,6 +2042,30 @@ module Aws::Lambda
1382
2042
  include Aws::Structure
1383
2043
  end
1384
2044
 
2045
+ # @!attribute [rw] capacity_provider_name
2046
+ # The name of the capacity provider to delete.
2047
+ # @return [String]
2048
+ #
2049
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteCapacityProviderRequest AWS API Documentation
2050
+ #
2051
+ class DeleteCapacityProviderRequest < Struct.new(
2052
+ :capacity_provider_name)
2053
+ SENSITIVE = []
2054
+ include Aws::Structure
2055
+ end
2056
+
2057
+ # @!attribute [rw] capacity_provider
2058
+ # Information about the deleted capacity provider.
2059
+ # @return [Types::CapacityProvider]
2060
+ #
2061
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteCapacityProviderResponse AWS API Documentation
2062
+ #
2063
+ class DeleteCapacityProviderResponse < Struct.new(
2064
+ :capacity_provider)
2065
+ SENSITIVE = []
2066
+ include Aws::Structure
2067
+ end
2068
+
1385
2069
  # @!attribute [rw] code_signing_config_arn
1386
2070
  # The The Amazon Resource Name (ARN) of the code signing
1387
2071
  # configuration.
@@ -1522,6 +2206,18 @@ module Aws::Lambda
1522
2206
  include Aws::Structure
1523
2207
  end
1524
2208
 
2209
+ # @!attribute [rw] status_code
2210
+ # The HTTP status code returned by the operation.
2211
+ # @return [Integer]
2212
+ #
2213
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionResponse AWS API Documentation
2214
+ #
2215
+ class DeleteFunctionResponse < Struct.new(
2216
+ :status_code)
2217
+ SENSITIVE = []
2218
+ include Aws::Structure
2219
+ end
2220
+
1525
2221
  # @!attribute [rw] function_name
1526
2222
  # The name or ARN of the Lambda function.
1527
2223
  #
@@ -1635,20 +2331,69 @@ module Aws::Lambda
1635
2331
  # not specify a collection, Lambda consumes all collections.
1636
2332
  # @return [String]
1637
2333
  #
1638
- # @!attribute [rw] full_document
1639
- # Determines what DocumentDB sends to your event stream during
1640
- # document update operations. If set to UpdateLookup, DocumentDB sends
1641
- # a delta describing the changes, along with a copy of the entire
1642
- # document. Otherwise, DocumentDB sends only a partial document that
1643
- # contains the changes.
2334
+ # @!attribute [rw] full_document
2335
+ # Determines what DocumentDB sends to your event stream during
2336
+ # document update operations. If set to UpdateLookup, DocumentDB sends
2337
+ # a delta describing the changes, along with a copy of the entire
2338
+ # document. Otherwise, DocumentDB sends only a partial document that
2339
+ # contains the changes.
2340
+ # @return [String]
2341
+ #
2342
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DocumentDBEventSourceConfig AWS API Documentation
2343
+ #
2344
+ class DocumentDBEventSourceConfig < Struct.new(
2345
+ :database_name,
2346
+ :collection_name,
2347
+ :full_document)
2348
+ SENSITIVE = []
2349
+ include Aws::Structure
2350
+ end
2351
+
2352
+ # Configuration settings for [durable functions][1], including execution
2353
+ # timeout and retention period for execution history.
2354
+ #
2355
+ #
2356
+ #
2357
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
2358
+ #
2359
+ # @!attribute [rw] retention_period_in_days
2360
+ # The number of days to retain execution history after a durable
2361
+ # execution completes. After this period, execution history is no
2362
+ # longer available through the GetDurableExecutionHistory API.
2363
+ # @return [Integer]
2364
+ #
2365
+ # @!attribute [rw] execution_timeout
2366
+ # The maximum time (in seconds) that a durable execution can run
2367
+ # before timing out. This timeout applies to the entire durable
2368
+ # execution, not individual function invocations.
2369
+ # @return [Integer]
2370
+ #
2371
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DurableConfig AWS API Documentation
2372
+ #
2373
+ class DurableConfig < Struct.new(
2374
+ :retention_period_in_days,
2375
+ :execution_timeout)
2376
+ SENSITIVE = []
2377
+ include Aws::Structure
2378
+ end
2379
+
2380
+ # The durable execution with the specified name has already been
2381
+ # started. Each durable execution name must be unique within the
2382
+ # function. Use a different name or check the status of the existing
2383
+ # execution.
2384
+ #
2385
+ # @!attribute [rw] type
2386
+ # The exception type.
2387
+ # @return [String]
2388
+ #
2389
+ # @!attribute [rw] message
1644
2390
  # @return [String]
1645
2391
  #
1646
- # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DocumentDBEventSourceConfig AWS API Documentation
2392
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DurableExecutionAlreadyStartedException AWS API Documentation
1647
2393
  #
1648
- class DocumentDBEventSourceConfig < Struct.new(
1649
- :database_name,
1650
- :collection_name,
1651
- :full_document)
2394
+ class DurableExecutionAlreadyStartedException < Struct.new(
2395
+ :type,
2396
+ :message)
1652
2397
  SENSITIVE = []
1653
2398
  include Aws::Structure
1654
2399
  end
@@ -1888,6 +2633,269 @@ module Aws::Lambda
1888
2633
  include Aws::Structure
1889
2634
  end
1890
2635
 
2636
+ # An object that contains error information.
2637
+ #
2638
+ # @!attribute [rw] error_message
2639
+ # A human-readable error message.
2640
+ # @return [String]
2641
+ #
2642
+ # @!attribute [rw] error_type
2643
+ # The error type.
2644
+ # @return [String]
2645
+ #
2646
+ # @!attribute [rw] error_data
2647
+ # Machine-readable error data.
2648
+ # @return [String]
2649
+ #
2650
+ # @!attribute [rw] stack_trace
2651
+ # Stack trace information for the error.
2652
+ # @return [Array<String>]
2653
+ #
2654
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ErrorObject AWS API Documentation
2655
+ #
2656
+ class ErrorObject < Struct.new(
2657
+ :error_message,
2658
+ :error_type,
2659
+ :error_data,
2660
+ :stack_trace)
2661
+ SENSITIVE = [:error_message, :error_type, :error_data, :stack_trace]
2662
+ include Aws::Structure
2663
+ end
2664
+
2665
+ # An event that occurred during the execution of a durable function.
2666
+ #
2667
+ # @!attribute [rw] event_type
2668
+ # The type of event that occurred.
2669
+ # @return [String]
2670
+ #
2671
+ # @!attribute [rw] sub_type
2672
+ # The subtype of the event, providing additional categorization.
2673
+ # @return [String]
2674
+ #
2675
+ # @!attribute [rw] event_id
2676
+ # The unique identifier for this event. Event IDs increment
2677
+ # sequentially.
2678
+ # @return [Integer]
2679
+ #
2680
+ # @!attribute [rw] id
2681
+ # The unique identifier for this operation.
2682
+ # @return [String]
2683
+ #
2684
+ # @!attribute [rw] name
2685
+ # The customer-provided name for this operation.
2686
+ # @return [String]
2687
+ #
2688
+ # @!attribute [rw] event_timestamp
2689
+ # The date and time when this event occurred, in [ISO-8601 format][1]
2690
+ # (YYYY-MM-DDThh:mm:ss.sTZD).
2691
+ #
2692
+ #
2693
+ #
2694
+ # [1]: https://www.w3.org/TR/NOTE-datetime
2695
+ # @return [Time]
2696
+ #
2697
+ # @!attribute [rw] parent_id
2698
+ # The unique identifier of the parent operation, if this operation is
2699
+ # running within a child context.
2700
+ # @return [String]
2701
+ #
2702
+ # @!attribute [rw] execution_started_details
2703
+ # Details about an execution that started.
2704
+ # @return [Types::ExecutionStartedDetails]
2705
+ #
2706
+ # @!attribute [rw] execution_succeeded_details
2707
+ # Details about an execution that succeeded.
2708
+ # @return [Types::ExecutionSucceededDetails]
2709
+ #
2710
+ # @!attribute [rw] execution_failed_details
2711
+ # Details about an execution that failed.
2712
+ # @return [Types::ExecutionFailedDetails]
2713
+ #
2714
+ # @!attribute [rw] execution_timed_out_details
2715
+ # Details about an execution that timed out.
2716
+ # @return [Types::ExecutionTimedOutDetails]
2717
+ #
2718
+ # @!attribute [rw] execution_stopped_details
2719
+ # Details about an execution that was stopped.
2720
+ # @return [Types::ExecutionStoppedDetails]
2721
+ #
2722
+ # @!attribute [rw] context_started_details
2723
+ # Details about a context that started.
2724
+ # @return [Types::ContextStartedDetails]
2725
+ #
2726
+ # @!attribute [rw] context_succeeded_details
2727
+ # Details about a context that succeeded.
2728
+ # @return [Types::ContextSucceededDetails]
2729
+ #
2730
+ # @!attribute [rw] context_failed_details
2731
+ # Details about a context that failed.
2732
+ # @return [Types::ContextFailedDetails]
2733
+ #
2734
+ # @!attribute [rw] wait_started_details
2735
+ # Details about a wait operation that started.
2736
+ # @return [Types::WaitStartedDetails]
2737
+ #
2738
+ # @!attribute [rw] wait_succeeded_details
2739
+ # Details about a wait operation that succeeded.
2740
+ # @return [Types::WaitSucceededDetails]
2741
+ #
2742
+ # @!attribute [rw] wait_cancelled_details
2743
+ # Details about a wait operation that was cancelled.
2744
+ # @return [Types::WaitCancelledDetails]
2745
+ #
2746
+ # @!attribute [rw] step_started_details
2747
+ # Details about a step that started.
2748
+ # @return [Types::StepStartedDetails]
2749
+ #
2750
+ # @!attribute [rw] step_succeeded_details
2751
+ # Details about a step that succeeded.
2752
+ # @return [Types::StepSucceededDetails]
2753
+ #
2754
+ # @!attribute [rw] step_failed_details
2755
+ # Details about a step that failed.
2756
+ # @return [Types::StepFailedDetails]
2757
+ #
2758
+ # @!attribute [rw] chained_invoke_started_details
2759
+ # Contains details about a chained function invocation that has
2760
+ # started execution, including start time and execution context.
2761
+ # @return [Types::ChainedInvokeStartedDetails]
2762
+ #
2763
+ # @!attribute [rw] chained_invoke_succeeded_details
2764
+ # Details about a chained invocation that succeeded.
2765
+ # @return [Types::ChainedInvokeSucceededDetails]
2766
+ #
2767
+ # @!attribute [rw] chained_invoke_failed_details
2768
+ # Contains details about a failed chained function invocation,
2769
+ # including error information and failure reason.
2770
+ # @return [Types::ChainedInvokeFailedDetails]
2771
+ #
2772
+ # @!attribute [rw] chained_invoke_timed_out_details
2773
+ # Details about a chained invocation that timed out.
2774
+ # @return [Types::ChainedInvokeTimedOutDetails]
2775
+ #
2776
+ # @!attribute [rw] chained_invoke_stopped_details
2777
+ # Details about a chained invocation that was stopped.
2778
+ # @return [Types::ChainedInvokeStoppedDetails]
2779
+ #
2780
+ # @!attribute [rw] callback_started_details
2781
+ # Contains details about a callback operation that has started,
2782
+ # including timing information and callback metadata.
2783
+ # @return [Types::CallbackStartedDetails]
2784
+ #
2785
+ # @!attribute [rw] callback_succeeded_details
2786
+ # Contains details about a successfully completed callback operation,
2787
+ # including the result data and completion timestamp.
2788
+ # @return [Types::CallbackSucceededDetails]
2789
+ #
2790
+ # @!attribute [rw] callback_failed_details
2791
+ # Contains details about a failed callback operation, including error
2792
+ # information and the reason for failure.
2793
+ # @return [Types::CallbackFailedDetails]
2794
+ #
2795
+ # @!attribute [rw] callback_timed_out_details
2796
+ # Contains details about a callback operation that timed out,
2797
+ # including timeout duration and any partial results.
2798
+ # @return [Types::CallbackTimedOutDetails]
2799
+ #
2800
+ # @!attribute [rw] invocation_completed_details
2801
+ # Details about a function invocation that completed.
2802
+ # @return [Types::InvocationCompletedDetails]
2803
+ #
2804
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Event AWS API Documentation
2805
+ #
2806
+ class Event < Struct.new(
2807
+ :event_type,
2808
+ :sub_type,
2809
+ :event_id,
2810
+ :id,
2811
+ :name,
2812
+ :event_timestamp,
2813
+ :parent_id,
2814
+ :execution_started_details,
2815
+ :execution_succeeded_details,
2816
+ :execution_failed_details,
2817
+ :execution_timed_out_details,
2818
+ :execution_stopped_details,
2819
+ :context_started_details,
2820
+ :context_succeeded_details,
2821
+ :context_failed_details,
2822
+ :wait_started_details,
2823
+ :wait_succeeded_details,
2824
+ :wait_cancelled_details,
2825
+ :step_started_details,
2826
+ :step_succeeded_details,
2827
+ :step_failed_details,
2828
+ :chained_invoke_started_details,
2829
+ :chained_invoke_succeeded_details,
2830
+ :chained_invoke_failed_details,
2831
+ :chained_invoke_timed_out_details,
2832
+ :chained_invoke_stopped_details,
2833
+ :callback_started_details,
2834
+ :callback_succeeded_details,
2835
+ :callback_failed_details,
2836
+ :callback_timed_out_details,
2837
+ :invocation_completed_details)
2838
+ SENSITIVE = []
2839
+ include Aws::Structure
2840
+ end
2841
+
2842
+ # Error information for an event.
2843
+ #
2844
+ # @!attribute [rw] payload
2845
+ # The error payload.
2846
+ # @return [Types::ErrorObject]
2847
+ #
2848
+ # @!attribute [rw] truncated
2849
+ # Indicates if the error payload was truncated due to size limits.
2850
+ # @return [Boolean]
2851
+ #
2852
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventError AWS API Documentation
2853
+ #
2854
+ class EventError < Struct.new(
2855
+ :payload,
2856
+ :truncated)
2857
+ SENSITIVE = []
2858
+ include Aws::Structure
2859
+ end
2860
+
2861
+ # Input information for an event.
2862
+ #
2863
+ # @!attribute [rw] payload
2864
+ # The input payload.
2865
+ # @return [String]
2866
+ #
2867
+ # @!attribute [rw] truncated
2868
+ # Indicates if the error payload was truncated due to size limits.
2869
+ # @return [Boolean]
2870
+ #
2871
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventInput AWS API Documentation
2872
+ #
2873
+ class EventInput < Struct.new(
2874
+ :payload,
2875
+ :truncated)
2876
+ SENSITIVE = [:payload]
2877
+ include Aws::Structure
2878
+ end
2879
+
2880
+ # Result information for an event.
2881
+ #
2882
+ # @!attribute [rw] payload
2883
+ # The result payload.
2884
+ # @return [String]
2885
+ #
2886
+ # @!attribute [rw] truncated
2887
+ # Indicates if the error payload was truncated due to size limits.
2888
+ # @return [Boolean]
2889
+ #
2890
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventResult AWS API Documentation
2891
+ #
2892
+ class EventResult < Struct.new(
2893
+ :payload,
2894
+ :truncated)
2895
+ SENSITIVE = [:payload]
2896
+ include Aws::Structure
2897
+ end
2898
+
1891
2899
  # A mapping between an Amazon Web Services resource and a Lambda
1892
2900
  # function. For details, see CreateEventSourceMapping.
1893
2901
  #
@@ -2114,65 +3122,230 @@ module Aws::Lambda
2114
3122
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode
2115
3123
  # @return [Types::ProvisionedPollerConfig]
2116
3124
  #
2117
- # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
3125
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
3126
+ #
3127
+ class EventSourceMappingConfiguration < Struct.new(
3128
+ :uuid,
3129
+ :starting_position,
3130
+ :starting_position_timestamp,
3131
+ :batch_size,
3132
+ :maximum_batching_window_in_seconds,
3133
+ :parallelization_factor,
3134
+ :event_source_arn,
3135
+ :filter_criteria,
3136
+ :function_arn,
3137
+ :last_modified,
3138
+ :last_processing_result,
3139
+ :state,
3140
+ :state_transition_reason,
3141
+ :destination_config,
3142
+ :topics,
3143
+ :queues,
3144
+ :source_access_configurations,
3145
+ :self_managed_event_source,
3146
+ :maximum_record_age_in_seconds,
3147
+ :bisect_batch_on_function_error,
3148
+ :maximum_retry_attempts,
3149
+ :tumbling_window_in_seconds,
3150
+ :function_response_types,
3151
+ :amazon_managed_kafka_event_source_config,
3152
+ :self_managed_kafka_event_source_config,
3153
+ :scaling_config,
3154
+ :document_db_event_source_config,
3155
+ :kms_key_arn,
3156
+ :filter_criteria_error,
3157
+ :event_source_mapping_arn,
3158
+ :metrics_config,
3159
+ :provisioned_poller_config)
3160
+ SENSITIVE = []
3161
+ include Aws::Structure
3162
+ end
3163
+
3164
+ # The metrics configuration for your event source. Use this
3165
+ # configuration object to define which metrics you want your event
3166
+ # source mapping to produce.
3167
+ #
3168
+ # @!attribute [rw] metrics
3169
+ # The metrics you want your event source mapping to produce. Include
3170
+ # `EventCount` to receive event source mapping metrics related to the
3171
+ # number of events processed by your event source mapping. For more
3172
+ # information about these metrics, see [ Event source mapping
3173
+ # metrics][1].
3174
+ #
3175
+ #
3176
+ #
3177
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
3178
+ # @return [Array<String>]
3179
+ #
3180
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingMetricsConfig AWS API Documentation
3181
+ #
3182
+ class EventSourceMappingMetricsConfig < Struct.new(
3183
+ :metrics)
3184
+ SENSITIVE = []
3185
+ include Aws::Structure
3186
+ end
3187
+
3188
+ # Information about a [durable execution][1].
3189
+ #
3190
+ #
3191
+ #
3192
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
3193
+ #
3194
+ # @!attribute [rw] durable_execution_arn
3195
+ # The Amazon Resource Name (ARN) of the durable execution, if this
3196
+ # execution is a durable execution.
3197
+ # @return [String]
3198
+ #
3199
+ # @!attribute [rw] durable_execution_name
3200
+ # The unique name of the durable execution, if one was provided when
3201
+ # the execution was started.
3202
+ # @return [String]
3203
+ #
3204
+ # @!attribute [rw] function_arn
3205
+ # The Amazon Resource Name (ARN) of the Lambda function.
3206
+ # @return [String]
3207
+ #
3208
+ # @!attribute [rw] status
3209
+ # The current status of the durable execution.
3210
+ # @return [String]
3211
+ #
3212
+ # @!attribute [rw] start_timestamp
3213
+ # The date and time when the durable execution started, in [ISO-8601
3214
+ # format][1] (YYYY-MM-DDThh:mm:ss.sTZD).
3215
+ #
3216
+ #
3217
+ #
3218
+ # [1]: https://www.w3.org/TR/NOTE-datetime
3219
+ # @return [Time]
3220
+ #
3221
+ # @!attribute [rw] end_timestamp
3222
+ # The date and time when the durable execution ended, in [ISO-8601
3223
+ # format][1] (YYYY-MM-DDThh:mm:ss.sTZD).
3224
+ #
3225
+ #
3226
+ #
3227
+ # [1]: https://www.w3.org/TR/NOTE-datetime
3228
+ # @return [Time]
3229
+ #
3230
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Execution AWS API Documentation
3231
+ #
3232
+ class Execution < Struct.new(
3233
+ :durable_execution_arn,
3234
+ :durable_execution_name,
3235
+ :function_arn,
3236
+ :status,
3237
+ :start_timestamp,
3238
+ :end_timestamp)
3239
+ SENSITIVE = []
3240
+ include Aws::Structure
3241
+ end
3242
+
3243
+ # Details about a [durable execution][1].
3244
+ #
3245
+ #
3246
+ #
3247
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
3248
+ #
3249
+ # @!attribute [rw] input_payload
3250
+ # The original input payload provided for the durable execution.
3251
+ # @return [String]
3252
+ #
3253
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ExecutionDetails AWS API Documentation
3254
+ #
3255
+ class ExecutionDetails < Struct.new(
3256
+ :input_payload)
3257
+ SENSITIVE = [:input_payload]
3258
+ include Aws::Structure
3259
+ end
3260
+
3261
+ # Details about a failed [durable execution][1].
3262
+ #
3263
+ #
3264
+ #
3265
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
3266
+ #
3267
+ # @!attribute [rw] error
3268
+ # Details about the execution failure.
3269
+ # @return [Types::EventError]
3270
+ #
3271
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ExecutionFailedDetails AWS API Documentation
3272
+ #
3273
+ class ExecutionFailedDetails < Struct.new(
3274
+ :error)
3275
+ SENSITIVE = []
3276
+ include Aws::Structure
3277
+ end
3278
+
3279
+ # Details about a durable execution that started.
3280
+ #
3281
+ # @!attribute [rw] input
3282
+ # The input payload provided for the durable execution.
3283
+ # @return [Types::EventInput]
3284
+ #
3285
+ # @!attribute [rw] execution_timeout
3286
+ # The maximum amount of time that the durable execution is allowed to
3287
+ # run, in seconds.
3288
+ # @return [Integer]
3289
+ #
3290
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ExecutionStartedDetails AWS API Documentation
3291
+ #
3292
+ class ExecutionStartedDetails < Struct.new(
3293
+ :input,
3294
+ :execution_timeout)
3295
+ SENSITIVE = []
3296
+ include Aws::Structure
3297
+ end
3298
+
3299
+ # Details about a [durable execution][1] that stopped.
3300
+ #
3301
+ #
3302
+ #
3303
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
3304
+ #
3305
+ # @!attribute [rw] error
3306
+ # Details about why the execution stopped.
3307
+ # @return [Types::EventError]
3308
+ #
3309
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ExecutionStoppedDetails AWS API Documentation
3310
+ #
3311
+ class ExecutionStoppedDetails < Struct.new(
3312
+ :error)
3313
+ SENSITIVE = []
3314
+ include Aws::Structure
3315
+ end
3316
+
3317
+ # Details about a [durable execution][1] that succeeded.
3318
+ #
3319
+ #
3320
+ #
3321
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
3322
+ #
3323
+ # @!attribute [rw] result
3324
+ # The response payload from the successful operation.
3325
+ # @return [Types::EventResult]
3326
+ #
3327
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ExecutionSucceededDetails AWS API Documentation
2118
3328
  #
2119
- class EventSourceMappingConfiguration < Struct.new(
2120
- :uuid,
2121
- :starting_position,
2122
- :starting_position_timestamp,
2123
- :batch_size,
2124
- :maximum_batching_window_in_seconds,
2125
- :parallelization_factor,
2126
- :event_source_arn,
2127
- :filter_criteria,
2128
- :function_arn,
2129
- :last_modified,
2130
- :last_processing_result,
2131
- :state,
2132
- :state_transition_reason,
2133
- :destination_config,
2134
- :topics,
2135
- :queues,
2136
- :source_access_configurations,
2137
- :self_managed_event_source,
2138
- :maximum_record_age_in_seconds,
2139
- :bisect_batch_on_function_error,
2140
- :maximum_retry_attempts,
2141
- :tumbling_window_in_seconds,
2142
- :function_response_types,
2143
- :amazon_managed_kafka_event_source_config,
2144
- :self_managed_kafka_event_source_config,
2145
- :scaling_config,
2146
- :document_db_event_source_config,
2147
- :kms_key_arn,
2148
- :filter_criteria_error,
2149
- :event_source_mapping_arn,
2150
- :metrics_config,
2151
- :provisioned_poller_config)
3329
+ class ExecutionSucceededDetails < Struct.new(
3330
+ :result)
2152
3331
  SENSITIVE = []
2153
3332
  include Aws::Structure
2154
3333
  end
2155
3334
 
2156
- # The metrics configuration for your event source. Use this
2157
- # configuration object to define which metrics you want your event
2158
- # source mapping to produce.
3335
+ # Details about a [durable execution][1] that timed out.
2159
3336
  #
2160
- # @!attribute [rw] metrics
2161
- # The metrics you want your event source mapping to produce. Include
2162
- # `EventCount` to receive event source mapping metrics related to the
2163
- # number of events processed by your event source mapping. For more
2164
- # information about these metrics, see [ Event source mapping
2165
- # metrics][1].
2166
3337
  #
2167
3338
  #
3339
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
2168
3340
  #
2169
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
2170
- # @return [Array<String>]
3341
+ # @!attribute [rw] error
3342
+ # Details about the execution timeout.
3343
+ # @return [Types::EventError]
2171
3344
  #
2172
- # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingMetricsConfig AWS API Documentation
3345
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ExecutionTimedOutDetails AWS API Documentation
2173
3346
  #
2174
- class EventSourceMappingMetricsConfig < Struct.new(
2175
- :metrics)
3347
+ class ExecutionTimedOutDetails < Struct.new(
3348
+ :error)
2176
3349
  SENSITIVE = []
2177
3350
  include Aws::Structure
2178
3351
  end
@@ -2587,6 +3760,20 @@ module Aws::Lambda
2587
3760
  # The function's Amazon CloudWatch Logs configuration settings.
2588
3761
  # @return [Types::LoggingConfig]
2589
3762
  #
3763
+ # @!attribute [rw] capacity_provider_config
3764
+ # Configuration for the capacity provider that manages compute
3765
+ # resources for Lambda functions.
3766
+ # @return [Types::CapacityProviderConfig]
3767
+ #
3768
+ # @!attribute [rw] config_sha_256
3769
+ # The SHA256 hash of the function configuration.
3770
+ # @return [String]
3771
+ #
3772
+ # @!attribute [rw] durable_config
3773
+ # The function's durable execution configuration settings, if the
3774
+ # function is configured for durability.
3775
+ # @return [Types::DurableConfig]
3776
+ #
2590
3777
  # @!attribute [rw] tenancy_config
2591
3778
  # The function's tenant isolation configuration settings. Determines
2592
3779
  # whether the Lambda function runs on a shared or dedicated
@@ -2632,6 +3819,9 @@ module Aws::Lambda
2632
3819
  :snap_start,
2633
3820
  :runtime_version_config,
2634
3821
  :logging_config,
3822
+ :capacity_provider_config,
3823
+ :config_sha_256,
3824
+ :durable_config,
2635
3825
  :tenancy_config)
2636
3826
  SENSITIVE = []
2637
3827
  include Aws::Structure
@@ -2690,6 +3880,29 @@ module Aws::Lambda
2690
3880
  include Aws::Structure
2691
3881
  end
2692
3882
 
3883
+ # Configuration that defines the scaling behavior for a Lambda Managed
3884
+ # Instances function, including the minimum and maximum number of
3885
+ # execution environments that can be provisioned.
3886
+ #
3887
+ # @!attribute [rw] min_execution_environments
3888
+ # The minimum number of execution environments to maintain for the
3889
+ # function.
3890
+ # @return [Integer]
3891
+ #
3892
+ # @!attribute [rw] max_execution_environments
3893
+ # The maximum number of execution environments that can be provisioned
3894
+ # for the function.
3895
+ # @return [Integer]
3896
+ #
3897
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionScalingConfig AWS API Documentation
3898
+ #
3899
+ class FunctionScalingConfig < Struct.new(
3900
+ :min_execution_environments,
3901
+ :max_execution_environments)
3902
+ SENSITIVE = []
3903
+ include Aws::Structure
3904
+ end
3905
+
2693
3906
  # Details about a Lambda function URL.
2694
3907
  #
2695
3908
  # @!attribute [rw] function_url
@@ -2767,6 +3980,50 @@ module Aws::Lambda
2767
3980
  include Aws::Structure
2768
3981
  end
2769
3982
 
3983
+ # Information about a function version that uses a specific capacity
3984
+ # provider, including its ARN and current state.
3985
+ #
3986
+ # @!attribute [rw] function_arn
3987
+ # The Amazon Resource Name (ARN) of the function version.
3988
+ # @return [String]
3989
+ #
3990
+ # @!attribute [rw] state
3991
+ # The current state of the function version.
3992
+ # @return [String]
3993
+ #
3994
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionVersionsByCapacityProviderListItem AWS API Documentation
3995
+ #
3996
+ class FunctionVersionsByCapacityProviderListItem < Struct.new(
3997
+ :function_arn,
3998
+ :state)
3999
+ SENSITIVE = []
4000
+ include Aws::Structure
4001
+ end
4002
+
4003
+ # The maximum number of function versions that can be associated with a
4004
+ # single capacity provider has been exceeded. For more information, see
4005
+ # [Lambda quotas][1].
4006
+ #
4007
+ #
4008
+ #
4009
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
4010
+ #
4011
+ # @!attribute [rw] type
4012
+ # The exception type.
4013
+ # @return [String]
4014
+ #
4015
+ # @!attribute [rw] message
4016
+ # @return [String]
4017
+ #
4018
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionVersionsPerCapacityProviderLimitExceededException AWS API Documentation
4019
+ #
4020
+ class FunctionVersionsPerCapacityProviderLimitExceededException < Struct.new(
4021
+ :type,
4022
+ :message)
4023
+ SENSITIVE = []
4024
+ include Aws::Structure
4025
+ end
4026
+
2770
4027
  # @api private
2771
4028
  #
2772
4029
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettingsRequest AWS API Documentation
@@ -2819,6 +4076,31 @@ module Aws::Lambda
2819
4076
  include Aws::Structure
2820
4077
  end
2821
4078
 
4079
+ # @!attribute [rw] capacity_provider_name
4080
+ # The name of the capacity provider to retrieve.
4081
+ # @return [String]
4082
+ #
4083
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetCapacityProviderRequest AWS API Documentation
4084
+ #
4085
+ class GetCapacityProviderRequest < Struct.new(
4086
+ :capacity_provider_name)
4087
+ SENSITIVE = []
4088
+ include Aws::Structure
4089
+ end
4090
+
4091
+ # @!attribute [rw] capacity_provider
4092
+ # Information about the capacity provider, including its configuration
4093
+ # and current state.
4094
+ # @return [Types::CapacityProvider]
4095
+ #
4096
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetCapacityProviderResponse AWS API Documentation
4097
+ #
4098
+ class GetCapacityProviderResponse < Struct.new(
4099
+ :capacity_provider)
4100
+ SENSITIVE = []
4101
+ include Aws::Structure
4102
+ end
4103
+
2822
4104
  # @!attribute [rw] code_signing_config_arn
2823
4105
  # The The Amazon Resource Name (ARN) of the code signing
2824
4106
  # configuration.
@@ -2844,6 +4126,225 @@ module Aws::Lambda
2844
4126
  include Aws::Structure
2845
4127
  end
2846
4128
 
4129
+ # @!attribute [rw] durable_execution_arn
4130
+ # The Amazon Resource Name (ARN) of the durable execution.
4131
+ # @return [String]
4132
+ #
4133
+ # @!attribute [rw] include_execution_data
4134
+ # Specifies whether to include execution data such as step results and
4135
+ # callback payloads in the history events. Set to `true` to include
4136
+ # data, or `false` to exclude it for a more compact response. The
4137
+ # default is `true`.
4138
+ # @return [Boolean]
4139
+ #
4140
+ # @!attribute [rw] max_items
4141
+ # The maximum number of history events to return per call. You can use
4142
+ # `Marker` to retrieve additional pages of results. The default is 100
4143
+ # and the maximum allowed is 1000. A value of 0 uses the default.
4144
+ # @return [Integer]
4145
+ #
4146
+ # @!attribute [rw] marker
4147
+ # If `NextMarker` was returned from a previous request, use this value
4148
+ # to retrieve the next page of results. Each pagination token expires
4149
+ # after 24 hours.
4150
+ # @return [String]
4151
+ #
4152
+ # @!attribute [rw] reverse_order
4153
+ # When set to `true`, returns the history events in reverse
4154
+ # chronological order (newest first). By default, events are returned
4155
+ # in chronological order (oldest first).
4156
+ # @return [Boolean]
4157
+ #
4158
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecutionHistoryRequest AWS API Documentation
4159
+ #
4160
+ class GetDurableExecutionHistoryRequest < Struct.new(
4161
+ :durable_execution_arn,
4162
+ :include_execution_data,
4163
+ :max_items,
4164
+ :marker,
4165
+ :reverse_order)
4166
+ SENSITIVE = []
4167
+ include Aws::Structure
4168
+ end
4169
+
4170
+ # The response from the GetDurableExecutionHistory operation, containing
4171
+ # the execution history and events.
4172
+ #
4173
+ # @!attribute [rw] events
4174
+ # An array of execution history events, ordered chronologically unless
4175
+ # `ReverseOrder` is set to `true`. Each event represents a significant
4176
+ # occurrence during the execution, such as step completion or callback
4177
+ # resolution.
4178
+ # @return [Array<Types::Event>]
4179
+ #
4180
+ # @!attribute [rw] next_marker
4181
+ # If present, indicates that more history events are available. Use
4182
+ # this value as the `Marker` parameter in a subsequent request to
4183
+ # retrieve the next page of results.
4184
+ # @return [String]
4185
+ #
4186
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecutionHistoryResponse AWS API Documentation
4187
+ #
4188
+ class GetDurableExecutionHistoryResponse < Struct.new(
4189
+ :events,
4190
+ :next_marker)
4191
+ SENSITIVE = []
4192
+ include Aws::Structure
4193
+ end
4194
+
4195
+ # @!attribute [rw] durable_execution_arn
4196
+ # The Amazon Resource Name (ARN) of the durable execution.
4197
+ # @return [String]
4198
+ #
4199
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecutionRequest AWS API Documentation
4200
+ #
4201
+ class GetDurableExecutionRequest < Struct.new(
4202
+ :durable_execution_arn)
4203
+ SENSITIVE = []
4204
+ include Aws::Structure
4205
+ end
4206
+
4207
+ # The response from the GetDurableExecution operation, containing
4208
+ # detailed information about the durable execution.
4209
+ #
4210
+ # @!attribute [rw] durable_execution_arn
4211
+ # The Amazon Resource Name (ARN) of the durable execution.
4212
+ # @return [String]
4213
+ #
4214
+ # @!attribute [rw] durable_execution_name
4215
+ # The name of the durable execution. This is either the name you
4216
+ # provided when invoking the function, or a system-generated unique
4217
+ # identifier if no name was provided.
4218
+ # @return [String]
4219
+ #
4220
+ # @!attribute [rw] function_arn
4221
+ # The Amazon Resource Name (ARN) of the Lambda function that was
4222
+ # invoked to start this durable execution.
4223
+ # @return [String]
4224
+ #
4225
+ # @!attribute [rw] input_payload
4226
+ # The JSON input payload that was provided when the durable execution
4227
+ # was started. For asynchronous invocations, this is limited to 256
4228
+ # KB. For synchronous invocations, this can be up to 6 MB.
4229
+ # @return [String]
4230
+ #
4231
+ # @!attribute [rw] result
4232
+ # The JSON result returned by the durable execution if it completed
4233
+ # successfully. This field is only present when the execution status
4234
+ # is `SUCCEEDED`. The result is limited to 256 KB.
4235
+ # @return [String]
4236
+ #
4237
+ # @!attribute [rw] error
4238
+ # Error information if the durable execution failed. This field is
4239
+ # only present when the execution status is `FAILED`, `TIMED_OUT`, or
4240
+ # `STOPPED`. The combined size of all error fields is limited to 256
4241
+ # KB.
4242
+ # @return [Types::ErrorObject]
4243
+ #
4244
+ # @!attribute [rw] start_timestamp
4245
+ # The date and time when the durable execution started, in Unix
4246
+ # timestamp format.
4247
+ # @return [Time]
4248
+ #
4249
+ # @!attribute [rw] status
4250
+ # The current status of the durable execution. Valid values are
4251
+ # `RUNNING`, `SUCCEEDED`, `FAILED`, `TIMED_OUT`, and `STOPPED`.
4252
+ # @return [String]
4253
+ #
4254
+ # @!attribute [rw] end_timestamp
4255
+ # The date and time when the durable execution ended, in Unix
4256
+ # timestamp format. This field is only present if the execution has
4257
+ # completed (status is `SUCCEEDED`, `FAILED`, `TIMED_OUT`, or
4258
+ # `STOPPED`).
4259
+ # @return [Time]
4260
+ #
4261
+ # @!attribute [rw] version
4262
+ # The version of the Lambda function that was invoked for this durable
4263
+ # execution. This ensures that all replays during the execution use
4264
+ # the same function version.
4265
+ # @return [String]
4266
+ #
4267
+ # @!attribute [rw] trace_header
4268
+ # The trace headers associated with the durable execution.
4269
+ # @return [Types::TraceHeader]
4270
+ #
4271
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecutionResponse AWS API Documentation
4272
+ #
4273
+ class GetDurableExecutionResponse < Struct.new(
4274
+ :durable_execution_arn,
4275
+ :durable_execution_name,
4276
+ :function_arn,
4277
+ :input_payload,
4278
+ :result,
4279
+ :error,
4280
+ :start_timestamp,
4281
+ :status,
4282
+ :end_timestamp,
4283
+ :version,
4284
+ :trace_header)
4285
+ SENSITIVE = [:input_payload, :result]
4286
+ include Aws::Structure
4287
+ end
4288
+
4289
+ # @!attribute [rw] durable_execution_arn
4290
+ # The Amazon Resource Name (ARN) of the durable execution.
4291
+ # @return [String]
4292
+ #
4293
+ # @!attribute [rw] checkpoint_token
4294
+ # A checkpoint token that identifies the current state of the
4295
+ # execution. This token is provided by the Lambda runtime and ensures
4296
+ # that state retrieval is consistent with the current execution
4297
+ # context.
4298
+ # @return [String]
4299
+ #
4300
+ # @!attribute [rw] marker
4301
+ # If `NextMarker` was returned from a previous request, use this value
4302
+ # to retrieve the next page of operations. Each pagination token
4303
+ # expires after 24 hours.
4304
+ # @return [String]
4305
+ #
4306
+ # @!attribute [rw] max_items
4307
+ # The maximum number of operations to return per call. You can use
4308
+ # `Marker` to retrieve additional pages of results. The default is 100
4309
+ # and the maximum allowed is 1000. A value of 0 uses the default.
4310
+ # @return [Integer]
4311
+ #
4312
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecutionStateRequest AWS API Documentation
4313
+ #
4314
+ class GetDurableExecutionStateRequest < Struct.new(
4315
+ :durable_execution_arn,
4316
+ :checkpoint_token,
4317
+ :marker,
4318
+ :max_items)
4319
+ SENSITIVE = []
4320
+ include Aws::Structure
4321
+ end
4322
+
4323
+ # The response from the GetDurableExecutionState operation, containing
4324
+ # the current execution state for replay.
4325
+ #
4326
+ # @!attribute [rw] operations
4327
+ # An array of operations that represent the current state of the
4328
+ # durable execution. Operations are ordered by their start sequence
4329
+ # number in ascending order and include information needed for replay
4330
+ # processing.
4331
+ # @return [Array<Types::Operation>]
4332
+ #
4333
+ # @!attribute [rw] next_marker
4334
+ # If present, indicates that more operations are available. Use this
4335
+ # value as the `Marker` parameter in a subsequent request to retrieve
4336
+ # the next page of results.
4337
+ # @return [String]
4338
+ #
4339
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecutionStateResponse AWS API Documentation
4340
+ #
4341
+ class GetDurableExecutionStateResponse < Struct.new(
4342
+ :operations,
4343
+ :next_marker)
4344
+ SENSITIVE = []
4345
+ include Aws::Structure
4346
+ end
4347
+
2847
4348
  # @!attribute [rw] uuid
2848
4349
  # The identifier of the event source mapping.
2849
4350
  # @return [String]
@@ -3011,6 +4512,7 @@ module Aws::Lambda
3011
4512
  end
3012
4513
 
3013
4514
  # @!attribute [rw] function_name
4515
+ # The name of the function.
3014
4516
  # @return [String]
3015
4517
  #
3016
4518
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionRecursionConfigRequest AWS API Documentation
@@ -3119,6 +4621,47 @@ module Aws::Lambda
3119
4621
  include Aws::Structure
3120
4622
  end
3121
4623
 
4624
+ # @!attribute [rw] function_name
4625
+ # The name or ARN of the Lambda function.
4626
+ # @return [String]
4627
+ #
4628
+ # @!attribute [rw] qualifier
4629
+ # Specify a version or alias to get the scaling configuration for a
4630
+ # published version of the function.
4631
+ # @return [String]
4632
+ #
4633
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionScalingConfigRequest AWS API Documentation
4634
+ #
4635
+ class GetFunctionScalingConfigRequest < Struct.new(
4636
+ :function_name,
4637
+ :qualifier)
4638
+ SENSITIVE = []
4639
+ include Aws::Structure
4640
+ end
4641
+
4642
+ # @!attribute [rw] function_arn
4643
+ # The Amazon Resource Name (ARN) of the function.
4644
+ # @return [String]
4645
+ #
4646
+ # @!attribute [rw] applied_function_scaling_config
4647
+ # The scaling configuration that is currently applied to the function.
4648
+ # This represents the actual scaling settings in effect.
4649
+ # @return [Types::FunctionScalingConfig]
4650
+ #
4651
+ # @!attribute [rw] requested_function_scaling_config
4652
+ # The scaling configuration that was requested for the function.
4653
+ # @return [Types::FunctionScalingConfig]
4654
+ #
4655
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionScalingConfigResponse AWS API Documentation
4656
+ #
4657
+ class GetFunctionScalingConfigResponse < Struct.new(
4658
+ :function_arn,
4659
+ :applied_function_scaling_config,
4660
+ :requested_function_scaling_config)
4661
+ SENSITIVE = []
4662
+ include Aws::Structure
4663
+ end
4664
+
3122
4665
  # @!attribute [rw] function_name
3123
4666
  # The name or ARN of the Lambda function.
3124
4667
  #
@@ -3587,19 +5130,47 @@ module Aws::Lambda
3587
5130
 
3588
5131
  # Response to a `GetFunctionConfiguration` request.
3589
5132
  #
3590
- # @!attribute [rw] image_config
3591
- # Configuration values that override the container image Dockerfile.
3592
- # @return [Types::ImageConfig]
5133
+ # @!attribute [rw] image_config
5134
+ # Configuration values that override the container image Dockerfile.
5135
+ # @return [Types::ImageConfig]
5136
+ #
5137
+ # @!attribute [rw] error
5138
+ # Error response to `GetFunctionConfiguration`.
5139
+ # @return [Types::ImageConfigError]
5140
+ #
5141
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ImageConfigResponse AWS API Documentation
5142
+ #
5143
+ class ImageConfigResponse < Struct.new(
5144
+ :image_config,
5145
+ :error)
5146
+ SENSITIVE = []
5147
+ include Aws::Structure
5148
+ end
5149
+
5150
+ # Specifications that define the characteristics and constraints for
5151
+ # compute instances used by the capacity provider.
5152
+ #
5153
+ # @!attribute [rw] architectures
5154
+ # A list of supported CPU architectures for compute instances. Valid
5155
+ # values include `x86_64` and `arm64`.
5156
+ # @return [Array<String>]
5157
+ #
5158
+ # @!attribute [rw] allowed_instance_types
5159
+ # A list of EC2 instance types that the capacity provider is allowed
5160
+ # to use. If not specified, all compatible instance types are allowed.
5161
+ # @return [Array<String>]
3593
5162
  #
3594
- # @!attribute [rw] error
3595
- # Error response to `GetFunctionConfiguration`.
3596
- # @return [Types::ImageConfigError]
5163
+ # @!attribute [rw] excluded_instance_types
5164
+ # A list of EC2 instance types that the capacity provider should not
5165
+ # use, even if they meet other requirements.
5166
+ # @return [Array<String>]
3597
5167
  #
3598
- # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ImageConfigResponse AWS API Documentation
5168
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InstanceRequirements AWS API Documentation
3599
5169
  #
3600
- class ImageConfigResponse < Struct.new(
3601
- :image_config,
3602
- :error)
5170
+ class InstanceRequirements < Struct.new(
5171
+ :architectures,
5172
+ :allowed_instance_types,
5173
+ :excluded_instance_types)
3603
5174
  SENSITIVE = []
3604
5175
  include Aws::Structure
3605
5176
  end
@@ -3733,6 +5304,45 @@ module Aws::Lambda
3733
5304
  include Aws::Structure
3734
5305
  end
3735
5306
 
5307
+ # Details about a function invocation that completed.
5308
+ #
5309
+ # @!attribute [rw] start_timestamp
5310
+ # The date and time when the invocation started, in [ISO-8601
5311
+ # format][1] (YYYY-MM-DDThh:mm:ss.sTZD).
5312
+ #
5313
+ #
5314
+ #
5315
+ # [1]: https://www.w3.org/TR/NOTE-datetime
5316
+ # @return [Time]
5317
+ #
5318
+ # @!attribute [rw] end_timestamp
5319
+ # The date and time when the invocation ended, in [ISO-8601 format][1]
5320
+ # (YYYY-MM-DDThh:mm:ss.sTZD).
5321
+ #
5322
+ #
5323
+ #
5324
+ # [1]: https://www.w3.org/TR/NOTE-datetime
5325
+ # @return [Time]
5326
+ #
5327
+ # @!attribute [rw] request_id
5328
+ # The request ID for the invocation.
5329
+ # @return [String]
5330
+ #
5331
+ # @!attribute [rw] error
5332
+ # Details about the invocation failure.
5333
+ # @return [Types::EventError]
5334
+ #
5335
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvocationCompletedDetails AWS API Documentation
5336
+ #
5337
+ class InvocationCompletedDetails < Struct.new(
5338
+ :start_timestamp,
5339
+ :end_timestamp,
5340
+ :request_id,
5341
+ :error)
5342
+ SENSITIVE = []
5343
+ include Aws::Structure
5344
+ end
5345
+
3736
5346
  # @!attribute [rw] function_name
3737
5347
  # The name or ARN of the Lambda function, version, or alias.
3738
5348
  #
@@ -3779,6 +5389,12 @@ module Aws::Lambda
3779
5389
  # only.
3780
5390
  # @return [String]
3781
5391
  #
5392
+ # @!attribute [rw] durable_execution_name
5393
+ # Optional unique name for the durable execution. When you start your
5394
+ # special function, you can give it a unique name to identify this
5395
+ # specific execution. It's like giving a nickname to a task.
5396
+ # @return [String]
5397
+ #
3782
5398
  # @!attribute [rw] payload
3783
5399
  # The JSON that you want to provide to your Lambda function as input.
3784
5400
  # The maximum payload size is 6 MB for synchronous invocations and 1
@@ -3805,6 +5421,7 @@ module Aws::Lambda
3805
5421
  :invocation_type,
3806
5422
  :log_type,
3807
5423
  :client_context,
5424
+ :durable_execution_name,
3808
5425
  :payload,
3809
5426
  :qualifier,
3810
5427
  :tenant_id)
@@ -3839,6 +5456,12 @@ module Aws::Lambda
3839
5456
  # resolved to.
3840
5457
  # @return [String]
3841
5458
  #
5459
+ # @!attribute [rw] durable_execution_arn
5460
+ # The ARN of the durable execution that was started. This is returned
5461
+ # when invoking a durable function and provides a unique identifier
5462
+ # for tracking the execution.
5463
+ # @return [String]
5464
+ #
3842
5465
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvocationResponse AWS API Documentation
3843
5466
  #
3844
5467
  class InvocationResponse < Struct.new(
@@ -3846,7 +5469,8 @@ module Aws::Lambda
3846
5469
  :function_error,
3847
5470
  :log_result,
3848
5471
  :payload,
3849
- :executed_version)
5472
+ :executed_version,
5473
+ :durable_execution_arn)
3850
5474
  SENSITIVE = [:payload]
3851
5475
  include Aws::Structure
3852
5476
  end
@@ -4201,6 +5825,33 @@ module Aws::Lambda
4201
5825
  include Aws::Structure
4202
5826
  end
4203
5827
 
5828
+ # Configuration for Lambda-managed instances used by the capacity
5829
+ # provider.
5830
+ #
5831
+ # @!attribute [rw] capacity_provider_arn
5832
+ # The Amazon Resource Name (ARN) of the capacity provider.
5833
+ # @return [String]
5834
+ #
5835
+ # @!attribute [rw] per_execution_environment_max_concurrency
5836
+ # The maximum number of concurrent execution environments that can run
5837
+ # on each compute instance.
5838
+ # @return [Integer]
5839
+ #
5840
+ # @!attribute [rw] execution_environment_memory_gi_b_per_v_cpu
5841
+ # The amount of memory in GiB allocated per vCPU for execution
5842
+ # environments.
5843
+ # @return [Float]
5844
+ #
5845
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/LambdaManagedInstancesCapacityProviderConfig AWS API Documentation
5846
+ #
5847
+ class LambdaManagedInstancesCapacityProviderConfig < Struct.new(
5848
+ :capacity_provider_arn,
5849
+ :per_execution_environment_max_concurrency,
5850
+ :execution_environment_memory_gi_b_per_v_cpu)
5851
+ SENSITIVE = []
5852
+ include Aws::Structure
5853
+ end
5854
+
4204
5855
  # An [Lambda layer][1].
4205
5856
  #
4206
5857
  #
@@ -4461,6 +6112,46 @@ module Aws::Lambda
4461
6112
  include Aws::Structure
4462
6113
  end
4463
6114
 
6115
+ # @!attribute [rw] state
6116
+ # Filter capacity providers by their current state.
6117
+ # @return [String]
6118
+ #
6119
+ # @!attribute [rw] marker
6120
+ # Specify the pagination token that's returned by a previous request
6121
+ # to retrieve the next page of results.
6122
+ # @return [String]
6123
+ #
6124
+ # @!attribute [rw] max_items
6125
+ # The maximum number of capacity providers to return.
6126
+ # @return [Integer]
6127
+ #
6128
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCapacityProvidersRequest AWS API Documentation
6129
+ #
6130
+ class ListCapacityProvidersRequest < Struct.new(
6131
+ :state,
6132
+ :marker,
6133
+ :max_items)
6134
+ SENSITIVE = []
6135
+ include Aws::Structure
6136
+ end
6137
+
6138
+ # @!attribute [rw] capacity_providers
6139
+ # A list of capacity providers in your account.
6140
+ # @return [Array<Types::CapacityProvider>]
6141
+ #
6142
+ # @!attribute [rw] next_marker
6143
+ # The pagination token that's included if more results are available.
6144
+ # @return [String]
6145
+ #
6146
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCapacityProvidersResponse AWS API Documentation
6147
+ #
6148
+ class ListCapacityProvidersResponse < Struct.new(
6149
+ :capacity_providers,
6150
+ :next_marker)
6151
+ SENSITIVE = []
6152
+ include Aws::Structure
6153
+ end
6154
+
4464
6155
  # @!attribute [rw] marker
4465
6156
  # Specify the pagination token that's returned by a previous request
4466
6157
  # to retrieve the next page of results.
@@ -4496,6 +6187,87 @@ module Aws::Lambda
4496
6187
  include Aws::Structure
4497
6188
  end
4498
6189
 
6190
+ # @!attribute [rw] function_name
6191
+ # The name or ARN of the Lambda function. You can specify a function
6192
+ # name, a partial ARN, or a full ARN.
6193
+ # @return [String]
6194
+ #
6195
+ # @!attribute [rw] qualifier
6196
+ # The function version or alias. If not specified, lists executions
6197
+ # for the $LATEST version.
6198
+ # @return [String]
6199
+ #
6200
+ # @!attribute [rw] durable_execution_name
6201
+ # Filter executions by name. Only executions with names that contain
6202
+ # this string are returned.
6203
+ # @return [String]
6204
+ #
6205
+ # @!attribute [rw] statuses
6206
+ # Filter executions by status. Valid values: RUNNING, SUCCEEDED,
6207
+ # FAILED, TIMED\_OUT, STOPPED.
6208
+ # @return [Array<String>]
6209
+ #
6210
+ # @!attribute [rw] started_after
6211
+ # Filter executions that started after this timestamp (ISO 8601
6212
+ # format).
6213
+ # @return [Time]
6214
+ #
6215
+ # @!attribute [rw] started_before
6216
+ # Filter executions that started before this timestamp (ISO 8601
6217
+ # format).
6218
+ # @return [Time]
6219
+ #
6220
+ # @!attribute [rw] reverse_order
6221
+ # Set to true to return results in reverse chronological order (newest
6222
+ # first). Default is false.
6223
+ # @return [Boolean]
6224
+ #
6225
+ # @!attribute [rw] marker
6226
+ # Pagination token from a previous request to continue retrieving
6227
+ # results.
6228
+ # @return [String]
6229
+ #
6230
+ # @!attribute [rw] max_items
6231
+ # Maximum number of executions to return (1-1000). Default is 100.
6232
+ # @return [Integer]
6233
+ #
6234
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListDurableExecutionsByFunctionRequest AWS API Documentation
6235
+ #
6236
+ class ListDurableExecutionsByFunctionRequest < Struct.new(
6237
+ :function_name,
6238
+ :qualifier,
6239
+ :durable_execution_name,
6240
+ :statuses,
6241
+ :started_after,
6242
+ :started_before,
6243
+ :reverse_order,
6244
+ :marker,
6245
+ :max_items)
6246
+ SENSITIVE = []
6247
+ include Aws::Structure
6248
+ end
6249
+
6250
+ # The response from the ListDurableExecutionsByFunction operation,
6251
+ # containing a list of durable executions and pagination information.
6252
+ #
6253
+ # @!attribute [rw] durable_executions
6254
+ # List of durable execution summaries matching the filter criteria.
6255
+ # @return [Array<Types::Execution>]
6256
+ #
6257
+ # @!attribute [rw] next_marker
6258
+ # Pagination token for retrieving additional results. Present only if
6259
+ # there are more results available.
6260
+ # @return [String]
6261
+ #
6262
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListDurableExecutionsByFunctionResponse AWS API Documentation
6263
+ #
6264
+ class ListDurableExecutionsByFunctionResponse < Struct.new(
6265
+ :durable_executions,
6266
+ :next_marker)
6267
+ SENSITIVE = []
6268
+ include Aws::Structure
6269
+ end
6270
+
4499
6271
  # @!attribute [rw] event_source_arn
4500
6272
  # The Amazon Resource Name (ARN) of the event source.
4501
6273
  #
@@ -4683,6 +6455,52 @@ module Aws::Lambda
4683
6455
  include Aws::Structure
4684
6456
  end
4685
6457
 
6458
+ # @!attribute [rw] capacity_provider_name
6459
+ # The name of the capacity provider to list function versions for.
6460
+ # @return [String]
6461
+ #
6462
+ # @!attribute [rw] marker
6463
+ # Specify the pagination token that's returned by a previous request
6464
+ # to retrieve the next page of results.
6465
+ # @return [String]
6466
+ #
6467
+ # @!attribute [rw] max_items
6468
+ # The maximum number of function versions to return in the response.
6469
+ # @return [Integer]
6470
+ #
6471
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionVersionsByCapacityProviderRequest AWS API Documentation
6472
+ #
6473
+ class ListFunctionVersionsByCapacityProviderRequest < Struct.new(
6474
+ :capacity_provider_name,
6475
+ :marker,
6476
+ :max_items)
6477
+ SENSITIVE = []
6478
+ include Aws::Structure
6479
+ end
6480
+
6481
+ # @!attribute [rw] capacity_provider_arn
6482
+ # The Amazon Resource Name (ARN) of the capacity provider.
6483
+ # @return [String]
6484
+ #
6485
+ # @!attribute [rw] function_versions
6486
+ # A list of function versions that use the specified capacity
6487
+ # provider.
6488
+ # @return [Array<Types::FunctionVersionsByCapacityProviderListItem>]
6489
+ #
6490
+ # @!attribute [rw] next_marker
6491
+ # The pagination token that's included if more results are available.
6492
+ # @return [String]
6493
+ #
6494
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionVersionsByCapacityProviderResponse AWS API Documentation
6495
+ #
6496
+ class ListFunctionVersionsByCapacityProviderResponse < Struct.new(
6497
+ :capacity_provider_arn,
6498
+ :function_versions,
6499
+ :next_marker)
6500
+ SENSITIVE = []
6501
+ include Aws::Structure
6502
+ end
6503
+
4686
6504
  # @!attribute [rw] code_signing_config_arn
4687
6505
  # The The Amazon Resource Name (ARN) of the code signing
4688
6506
  # configuration.
@@ -5074,6 +6892,24 @@ module Aws::Lambda
5074
6892
  include Aws::Structure
5075
6893
  end
5076
6894
 
6895
+ # The function has no published versions available.
6896
+ #
6897
+ # @!attribute [rw] type
6898
+ # The exception type.
6899
+ # @return [String]
6900
+ #
6901
+ # @!attribute [rw] message
6902
+ # @return [String]
6903
+ #
6904
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/NoPublishedVersionException AWS API Documentation
6905
+ #
6906
+ class NoPublishedVersionException < Struct.new(
6907
+ :type,
6908
+ :message)
6909
+ SENSITIVE = []
6910
+ include Aws::Structure
6911
+ end
6912
+
5077
6913
  # A destination for events that failed processing. For more information,
5078
6914
  # see [Adding a destination][1].
5079
6915
  #
@@ -5122,40 +6958,211 @@ module Aws::Lambda
5122
6958
 
5123
6959
  # A destination for events that were processed successfully.
5124
6960
  #
5125
- # To retain records of successful [asynchronous invocations][1], you can
5126
- # configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or
5127
- # Amazon EventBridge event bus as the destination.
6961
+ # To retain records of successful [asynchronous invocations][1], you can
6962
+ # configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or
6963
+ # Amazon EventBridge event bus as the destination.
6964
+ #
6965
+ # <note markdown="1"> `OnSuccess` is not supported in `CreateEventSourceMapping` or
6966
+ # `UpdateEventSourceMapping` requests.
6967
+ #
6968
+ # </note>
6969
+ #
6970
+ #
6971
+ #
6972
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations
6973
+ #
6974
+ # @!attribute [rw] destination
6975
+ # The Amazon Resource Name (ARN) of the destination resource.
6976
+ #
6977
+ # <note markdown="1"> Amazon SNS destinations have a message size limit of 256 KB. If the
6978
+ # combined size of the function request and response payload exceeds
6979
+ # the limit, Lambda will drop the payload when sending `OnFailure`
6980
+ # event to the destination. For details on this behavior, refer to
6981
+ # [Retaining records of asynchronous invocations][1].
6982
+ #
6983
+ # </note>
6984
+ #
6985
+ #
6986
+ #
6987
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html
6988
+ # @return [String]
6989
+ #
6990
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/OnSuccess AWS API Documentation
6991
+ #
6992
+ class OnSuccess < Struct.new(
6993
+ :destination)
6994
+ SENSITIVE = []
6995
+ include Aws::Structure
6996
+ end
6997
+
6998
+ # Information about an operation within a durable execution.
6999
+ #
7000
+ # @!attribute [rw] id
7001
+ # The unique identifier for this operation.
7002
+ # @return [String]
7003
+ #
7004
+ # @!attribute [rw] parent_id
7005
+ # The unique identifier of the parent operation, if this operation is
7006
+ # running within a child context.
7007
+ # @return [String]
7008
+ #
7009
+ # @!attribute [rw] name
7010
+ # The customer-provided name for this operation.
7011
+ # @return [String]
7012
+ #
7013
+ # @!attribute [rw] type
7014
+ # The type of operation.
7015
+ # @return [String]
7016
+ #
7017
+ # @!attribute [rw] sub_type
7018
+ # The subtype of the operation, providing additional categorization.
7019
+ # @return [String]
7020
+ #
7021
+ # @!attribute [rw] start_timestamp
7022
+ # The date and time when the operation started, in [ISO-8601
7023
+ # format][1] (YYYY-MM-DDThh:mm:ss.sTZD).
7024
+ #
7025
+ #
7026
+ #
7027
+ # [1]: https://www.w3.org/TR/NOTE-datetime
7028
+ # @return [Time]
7029
+ #
7030
+ # @!attribute [rw] end_timestamp
7031
+ # The date and time when the operation ended, in [ISO-8601 format][1]
7032
+ # (YYYY-MM-DDThh:mm:ss.sTZD).
7033
+ #
7034
+ #
7035
+ #
7036
+ # [1]: https://www.w3.org/TR/NOTE-datetime
7037
+ # @return [Time]
7038
+ #
7039
+ # @!attribute [rw] status
7040
+ # The current status of the operation.
7041
+ # @return [String]
7042
+ #
7043
+ # @!attribute [rw] execution_details
7044
+ # Details about the execution, if this operation represents an
7045
+ # execution.
7046
+ # @return [Types::ExecutionDetails]
7047
+ #
7048
+ # @!attribute [rw] context_details
7049
+ # Details about the context, if this operation represents a context.
7050
+ # @return [Types::ContextDetails]
7051
+ #
7052
+ # @!attribute [rw] step_details
7053
+ # Details about the step, if this operation represents a step.
7054
+ # @return [Types::StepDetails]
7055
+ #
7056
+ # @!attribute [rw] wait_details
7057
+ # Details about the wait operation, if this operation represents a
7058
+ # wait.
7059
+ # @return [Types::WaitDetails]
7060
+ #
7061
+ # @!attribute [rw] callback_details
7062
+ # Contains details about a callback operation in a durable execution,
7063
+ # including the callback token and timeout configuration.
7064
+ # @return [Types::CallbackDetails]
7065
+ #
7066
+ # @!attribute [rw] chained_invoke_details
7067
+ # Contains details about a chained function invocation in a durable
7068
+ # execution, including the target function and invocation parameters.
7069
+ # @return [Types::ChainedInvokeDetails]
7070
+ #
7071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Operation AWS API Documentation
7072
+ #
7073
+ class Operation < Struct.new(
7074
+ :id,
7075
+ :parent_id,
7076
+ :name,
7077
+ :type,
7078
+ :sub_type,
7079
+ :start_timestamp,
7080
+ :end_timestamp,
7081
+ :status,
7082
+ :execution_details,
7083
+ :context_details,
7084
+ :step_details,
7085
+ :wait_details,
7086
+ :callback_details,
7087
+ :chained_invoke_details)
7088
+ SENSITIVE = []
7089
+ include Aws::Structure
7090
+ end
7091
+
7092
+ # An update to be applied to an operation during checkpointing.
7093
+ #
7094
+ # @!attribute [rw] id
7095
+ # The unique identifier for this operation.
7096
+ # @return [String]
7097
+ #
7098
+ # @!attribute [rw] parent_id
7099
+ # The unique identifier of the parent operation, if this operation is
7100
+ # running within a child context.
7101
+ # @return [String]
5128
7102
  #
5129
- # <note markdown="1"> `OnSuccess` is not supported in `CreateEventSourceMapping` or
5130
- # `UpdateEventSourceMapping` requests.
7103
+ # @!attribute [rw] name
7104
+ # The customer-provided name for this operation.
7105
+ # @return [String]
5131
7106
  #
5132
- # </note>
7107
+ # @!attribute [rw] type
7108
+ # The type of operation to update.
7109
+ # @return [String]
5133
7110
  #
7111
+ # @!attribute [rw] sub_type
7112
+ # The subtype of the operation, providing additional categorization.
7113
+ # @return [String]
5134
7114
  #
7115
+ # @!attribute [rw] action
7116
+ # The action to take on the operation.
7117
+ # @return [String]
5135
7118
  #
5136
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations
7119
+ # @!attribute [rw] payload
7120
+ # The payload for successful operations.
7121
+ # @return [String]
5137
7122
  #
5138
- # @!attribute [rw] destination
5139
- # The Amazon Resource Name (ARN) of the destination resource.
7123
+ # @!attribute [rw] error
7124
+ # The error information for failed operations.
7125
+ # @return [Types::ErrorObject]
5140
7126
  #
5141
- # <note markdown="1"> Amazon SNS destinations have a message size limit of 256 KB. If the
5142
- # combined size of the function request and response payload exceeds
5143
- # the limit, Lambda will drop the payload when sending `OnFailure`
5144
- # event to the destination. For details on this behavior, refer to
5145
- # [Retaining records of asynchronous invocations][1].
7127
+ # @!attribute [rw] context_options
7128
+ # Options for context operations.
7129
+ # @return [Types::ContextOptions]
5146
7130
  #
5147
- # </note>
7131
+ # @!attribute [rw] step_options
7132
+ # Options for step operations.
7133
+ # @return [Types::StepOptions]
5148
7134
  #
7135
+ # @!attribute [rw] wait_options
7136
+ # Options for wait operations.
7137
+ # @return [Types::WaitOptions]
5149
7138
  #
7139
+ # @!attribute [rw] callback_options
7140
+ # Configuration options for callback operations in durable executions,
7141
+ # including timeout settings and retry behavior.
7142
+ # @return [Types::CallbackOptions]
5150
7143
  #
5151
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html
5152
- # @return [String]
7144
+ # @!attribute [rw] chained_invoke_options
7145
+ # Configuration options for chained function invocations in durable
7146
+ # executions, including retry settings and timeout configuration.
7147
+ # @return [Types::ChainedInvokeOptions]
5153
7148
  #
5154
- # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/OnSuccess AWS API Documentation
7149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/OperationUpdate AWS API Documentation
5155
7150
  #
5156
- class OnSuccess < Struct.new(
5157
- :destination)
5158
- SENSITIVE = []
7151
+ class OperationUpdate < Struct.new(
7152
+ :id,
7153
+ :parent_id,
7154
+ :name,
7155
+ :type,
7156
+ :sub_type,
7157
+ :action,
7158
+ :payload,
7159
+ :error,
7160
+ :context_options,
7161
+ :step_options,
7162
+ :wait_options,
7163
+ :callback_options,
7164
+ :chained_invoke_options)
7165
+ SENSITIVE = [:payload]
5159
7166
  include Aws::Structure
5160
7167
  end
5161
7168
 
@@ -5304,10 +7311,11 @@ module Aws::Lambda
5304
7311
  # @!attribute [rw] poller_group_name
5305
7312
  # (Amazon MSK and self-managed Apache Kafka) The name of the
5306
7313
  # provisioned poller group. Use this option to group multiple ESMs
5307
- # within the VPC to share Event Poller Unit (EPU) capacity. This
5308
- # option is used to optimize Provisioned mode costs for your ESMs. You
5309
- # can group up to 100 ESMs per poller group and aggregate maximum
5310
- # pollers across all ESMs in a group cannot exceed 2000.
7314
+ # within the event source's VPC to share Event Poller Unit (EPU)
7315
+ # capacity. You can use this option to optimize Provisioned mode costs
7316
+ # for your ESMs. You can group up to 100 ESMs per poller group and
7317
+ # aggregate maximum pollers across all ESMs in a group cannot exceed
7318
+ # 2000.
5311
7319
  # @return [String]
5312
7320
  #
5313
7321
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ProvisionedPollerConfig AWS API Documentation
@@ -5488,13 +7496,18 @@ module Aws::Lambda
5488
7496
  # function configuration has changed since you last updated it.
5489
7497
  # @return [String]
5490
7498
  #
7499
+ # @!attribute [rw] publish_to
7500
+ # Specifies where to publish the function version or configuration.
7501
+ # @return [String]
7502
+ #
5491
7503
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersionRequest AWS API Documentation
5492
7504
  #
5493
7505
  class PublishVersionRequest < Struct.new(
5494
7506
  :function_name,
5495
7507
  :code_sha_256,
5496
7508
  :description,
5497
- :revision_id)
7509
+ :revision_id,
7510
+ :publish_to)
5498
7511
  SENSITIVE = []
5499
7512
  include Aws::Structure
5500
7513
  end
@@ -5730,6 +7743,43 @@ module Aws::Lambda
5730
7743
  include Aws::Structure
5731
7744
  end
5732
7745
 
7746
+ # @!attribute [rw] function_name
7747
+ # The name or ARN of the Lambda function.
7748
+ # @return [String]
7749
+ #
7750
+ # @!attribute [rw] qualifier
7751
+ # Specify a version or alias to set the scaling configuration for a
7752
+ # published version of the function.
7753
+ # @return [String]
7754
+ #
7755
+ # @!attribute [rw] function_scaling_config
7756
+ # The scaling configuration to apply to the function, including
7757
+ # minimum and maximum execution environment limits.
7758
+ # @return [Types::FunctionScalingConfig]
7759
+ #
7760
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionScalingConfigRequest AWS API Documentation
7761
+ #
7762
+ class PutFunctionScalingConfigRequest < Struct.new(
7763
+ :function_name,
7764
+ :qualifier,
7765
+ :function_scaling_config)
7766
+ SENSITIVE = []
7767
+ include Aws::Structure
7768
+ end
7769
+
7770
+ # @!attribute [rw] function_state
7771
+ # The current state of the function after applying the scaling
7772
+ # configuration.
7773
+ # @return [String]
7774
+ #
7775
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionScalingConfigResponse AWS API Documentation
7776
+ #
7777
+ class PutFunctionScalingConfigResponse < Struct.new(
7778
+ :function_state)
7779
+ SENSITIVE = []
7780
+ include Aws::Structure
7781
+ end
7782
+
5733
7783
  # @!attribute [rw] function_name
5734
7784
  # The name or ARN of the Lambda function.
5735
7785
  #
@@ -6099,6 +8149,25 @@ module Aws::Lambda
6099
8149
  include Aws::Structure
6100
8150
  end
6101
8151
 
8152
+ # Information about retry attempts for an operation.
8153
+ #
8154
+ # @!attribute [rw] current_attempt
8155
+ # The current attempt number for this operation.
8156
+ # @return [Integer]
8157
+ #
8158
+ # @!attribute [rw] next_attempt_delay_seconds
8159
+ # The delay before the next retry attempt, in seconds.
8160
+ # @return [Integer]
8161
+ #
8162
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RetryDetails AWS API Documentation
8163
+ #
8164
+ class RetryDetails < Struct.new(
8165
+ :current_attempt,
8166
+ :next_attempt_delay_seconds)
8167
+ SENSITIVE = []
8168
+ include Aws::Structure
8169
+ end
8170
+
6102
8171
  # The ARN of the runtime and any errors that occured.
6103
8172
  #
6104
8173
  # @!attribute [rw] runtime_version_arn
@@ -6199,10 +8268,67 @@ module Aws::Lambda
6199
8268
  include Aws::Structure
6200
8269
  end
6201
8270
 
6202
- # The processed request payload exceeded the `Invoke` request body size
6203
- # limit for asynchronous invocations. While the event payload may be
6204
- # under 1 MB, the size after internal serialization exceeds the maximum
6205
- # allowed size for asynchronous invocations.
8271
+ # @!attribute [rw] callback_id
8272
+ # The unique identifier for the callback operation.
8273
+ # @return [String]
8274
+ #
8275
+ # @!attribute [rw] error
8276
+ # Error details describing why the callback operation failed.
8277
+ # @return [Types::ErrorObject]
8278
+ #
8279
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SendDurableExecutionCallbackFailureRequest AWS API Documentation
8280
+ #
8281
+ class SendDurableExecutionCallbackFailureRequest < Struct.new(
8282
+ :callback_id,
8283
+ :error)
8284
+ SENSITIVE = []
8285
+ include Aws::Structure
8286
+ end
8287
+
8288
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SendDurableExecutionCallbackFailureResponse AWS API Documentation
8289
+ #
8290
+ class SendDurableExecutionCallbackFailureResponse < Aws::EmptyStructure; end
8291
+
8292
+ # @!attribute [rw] callback_id
8293
+ # The unique identifier for the callback operation.
8294
+ # @return [String]
8295
+ #
8296
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SendDurableExecutionCallbackHeartbeatRequest AWS API Documentation
8297
+ #
8298
+ class SendDurableExecutionCallbackHeartbeatRequest < Struct.new(
8299
+ :callback_id)
8300
+ SENSITIVE = []
8301
+ include Aws::Structure
8302
+ end
8303
+
8304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SendDurableExecutionCallbackHeartbeatResponse AWS API Documentation
8305
+ #
8306
+ class SendDurableExecutionCallbackHeartbeatResponse < Aws::EmptyStructure; end
8307
+
8308
+ # @!attribute [rw] callback_id
8309
+ # The unique identifier for the callback operation.
8310
+ # @return [String]
8311
+ #
8312
+ # @!attribute [rw] result
8313
+ # The result data from the successful callback operation. Maximum size
8314
+ # is 256 KB.
8315
+ # @return [String]
8316
+ #
8317
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SendDurableExecutionCallbackSuccessRequest AWS API Documentation
8318
+ #
8319
+ class SendDurableExecutionCallbackSuccessRequest < Struct.new(
8320
+ :callback_id,
8321
+ :result)
8322
+ SENSITIVE = [:result]
8323
+ include Aws::Structure
8324
+ end
8325
+
8326
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SendDurableExecutionCallbackSuccessResponse AWS API Documentation
8327
+ #
8328
+ class SendDurableExecutionCallbackSuccessResponse < Aws::EmptyStructure; end
8329
+
8330
+ # The request payload exceeded the maximum allowed size for serialized
8331
+ # request entities.
6206
8332
  #
6207
8333
  # @!attribute [rw] type
6208
8334
  # The error type.
@@ -6411,6 +8537,129 @@ module Aws::Lambda
6411
8537
  include Aws::Structure
6412
8538
  end
6413
8539
 
8540
+ # Details about a step operation.
8541
+ #
8542
+ # @!attribute [rw] attempt
8543
+ # The current attempt number for this step.
8544
+ # @return [Integer]
8545
+ #
8546
+ # @!attribute [rw] next_attempt_timestamp
8547
+ # The date and time when the next attempt is scheduled, in [ISO-8601
8548
+ # format][1] (YYYY-MM-DDThh:mm:ss.sTZD). Only populated when the step
8549
+ # is in a pending state.
8550
+ #
8551
+ #
8552
+ #
8553
+ # [1]: https://www.w3.org/TR/NOTE-datetime
8554
+ # @return [Time]
8555
+ #
8556
+ # @!attribute [rw] result
8557
+ # The JSON response payload from the step operation.
8558
+ # @return [String]
8559
+ #
8560
+ # @!attribute [rw] error
8561
+ # Details about the step failure.
8562
+ # @return [Types::ErrorObject]
8563
+ #
8564
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/StepDetails AWS API Documentation
8565
+ #
8566
+ class StepDetails < Struct.new(
8567
+ :attempt,
8568
+ :next_attempt_timestamp,
8569
+ :result,
8570
+ :error)
8571
+ SENSITIVE = [:result]
8572
+ include Aws::Structure
8573
+ end
8574
+
8575
+ # Details about a step that failed.
8576
+ #
8577
+ # @!attribute [rw] error
8578
+ # Details about the step failure.
8579
+ # @return [Types::EventError]
8580
+ #
8581
+ # @!attribute [rw] retry_details
8582
+ # Information about retry attempts for this step operation.
8583
+ # @return [Types::RetryDetails]
8584
+ #
8585
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/StepFailedDetails AWS API Documentation
8586
+ #
8587
+ class StepFailedDetails < Struct.new(
8588
+ :error,
8589
+ :retry_details)
8590
+ SENSITIVE = []
8591
+ include Aws::Structure
8592
+ end
8593
+
8594
+ # Configuration options for a step operation.
8595
+ #
8596
+ # @!attribute [rw] next_attempt_delay_seconds
8597
+ # The delay in seconds before the next retry attempt.
8598
+ # @return [Integer]
8599
+ #
8600
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/StepOptions AWS API Documentation
8601
+ #
8602
+ class StepOptions < Struct.new(
8603
+ :next_attempt_delay_seconds)
8604
+ SENSITIVE = []
8605
+ include Aws::Structure
8606
+ end
8607
+
8608
+ # Details about a step that has started.
8609
+ #
8610
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/StepStartedDetails AWS API Documentation
8611
+ #
8612
+ class StepStartedDetails < Aws::EmptyStructure; end
8613
+
8614
+ # Details about a step that succeeded.
8615
+ #
8616
+ # @!attribute [rw] result
8617
+ # The response payload from the successful operation.
8618
+ # @return [Types::EventResult]
8619
+ #
8620
+ # @!attribute [rw] retry_details
8621
+ # Information about retry attempts for this step operation.
8622
+ # @return [Types::RetryDetails]
8623
+ #
8624
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/StepSucceededDetails AWS API Documentation
8625
+ #
8626
+ class StepSucceededDetails < Struct.new(
8627
+ :result,
8628
+ :retry_details)
8629
+ SENSITIVE = []
8630
+ include Aws::Structure
8631
+ end
8632
+
8633
+ # @!attribute [rw] durable_execution_arn
8634
+ # The Amazon Resource Name (ARN) of the durable execution.
8635
+ # @return [String]
8636
+ #
8637
+ # @!attribute [rw] error
8638
+ # Optional error details explaining why the execution is being
8639
+ # stopped.
8640
+ # @return [Types::ErrorObject]
8641
+ #
8642
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/StopDurableExecutionRequest AWS API Documentation
8643
+ #
8644
+ class StopDurableExecutionRequest < Struct.new(
8645
+ :durable_execution_arn,
8646
+ :error)
8647
+ SENSITIVE = []
8648
+ include Aws::Structure
8649
+ end
8650
+
8651
+ # @!attribute [rw] stop_timestamp
8652
+ # The timestamp when the execution was stopped (ISO 8601 format).
8653
+ # @return [Time]
8654
+ #
8655
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/StopDurableExecutionResponse AWS API Documentation
8656
+ #
8657
+ class StopDurableExecutionResponse < Struct.new(
8658
+ :stop_timestamp)
8659
+ SENSITIVE = []
8660
+ include Aws::Structure
8661
+ end
8662
+
6414
8663
  # Lambda couldn't set up VPC access for the Lambda function because one
6415
8664
  # or more configured subnets has no available IP addresses.
6416
8665
  #
@@ -6466,6 +8715,27 @@ module Aws::Lambda
6466
8715
  include Aws::Structure
6467
8716
  end
6468
8717
 
8718
+ # A scaling policy for the capacity provider that automatically adjusts
8719
+ # capacity to maintain a target value for a specific metric.
8720
+ #
8721
+ # @!attribute [rw] predefined_metric_type
8722
+ # The predefined metric type to track for scaling decisions.
8723
+ # @return [String]
8724
+ #
8725
+ # @!attribute [rw] target_value
8726
+ # The target value for the metric that the scaling policy attempts to
8727
+ # maintain through scaling actions.
8728
+ # @return [Float]
8729
+ #
8730
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TargetTrackingScalingPolicy AWS API Documentation
8731
+ #
8732
+ class TargetTrackingScalingPolicy < Struct.new(
8733
+ :predefined_metric_type,
8734
+ :target_value)
8735
+ SENSITIVE = []
8736
+ include Aws::Structure
8737
+ end
8738
+
6469
8739
  # Specifies the tenant isolation mode configuration for a Lambda
6470
8740
  # function. This allows you to configure specific tenant isolation
6471
8741
  # strategies for your function invocations. Tenant isolation
@@ -6516,6 +8786,20 @@ module Aws::Lambda
6516
8786
  include Aws::Structure
6517
8787
  end
6518
8788
 
8789
+ # Contains trace headers for the Lambda durable execution.
8790
+ #
8791
+ # @!attribute [rw] x_amzn_trace_id
8792
+ # The X-Ray trace header associated with the durable execution.
8793
+ # @return [String]
8794
+ #
8795
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TraceHeader AWS API Documentation
8796
+ #
8797
+ class TraceHeader < Struct.new(
8798
+ :x_amzn_trace_id)
8799
+ SENSITIVE = []
8800
+ include Aws::Structure
8801
+ end
8802
+
6519
8803
  # The function's [X-Ray][1] tracing configuration. To sample and record
6520
8804
  # incoming requests, set `Mode` to `Active`.
6521
8805
  #
@@ -6638,6 +8922,35 @@ module Aws::Lambda
6638
8922
  include Aws::Structure
6639
8923
  end
6640
8924
 
8925
+ # @!attribute [rw] capacity_provider_name
8926
+ # The name of the capacity provider to update.
8927
+ # @return [String]
8928
+ #
8929
+ # @!attribute [rw] capacity_provider_scaling_config
8930
+ # The updated scaling configuration for the capacity provider.
8931
+ # @return [Types::CapacityProviderScalingConfig]
8932
+ #
8933
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCapacityProviderRequest AWS API Documentation
8934
+ #
8935
+ class UpdateCapacityProviderRequest < Struct.new(
8936
+ :capacity_provider_name,
8937
+ :capacity_provider_scaling_config)
8938
+ SENSITIVE = []
8939
+ include Aws::Structure
8940
+ end
8941
+
8942
+ # @!attribute [rw] capacity_provider
8943
+ # Information about the updated capacity provider.
8944
+ # @return [Types::CapacityProvider]
8945
+ #
8946
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCapacityProviderResponse AWS API Documentation
8947
+ #
8948
+ class UpdateCapacityProviderResponse < Struct.new(
8949
+ :capacity_provider)
8950
+ SENSITIVE = []
8951
+ include Aws::Structure
8952
+ end
8953
+
6641
8954
  # @!attribute [rw] code_signing_config_arn
6642
8955
  # The The Amazon Resource Name (ARN) of the code signing
6643
8956
  # configuration.
@@ -6965,6 +9278,10 @@ module Aws::Lambda
6965
9278
  # Services managed key.
6966
9279
  # @return [String]
6967
9280
  #
9281
+ # @!attribute [rw] publish_to
9282
+ # Specifies where to publish the function version or configuration.
9283
+ # @return [String]
9284
+ #
6968
9285
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeRequest AWS API Documentation
6969
9286
  #
6970
9287
  class UpdateFunctionCodeRequest < Struct.new(
@@ -6978,7 +9295,8 @@ module Aws::Lambda
6978
9295
  :dry_run,
6979
9296
  :revision_id,
6980
9297
  :architectures,
6981
- :source_kms_key_arn)
9298
+ :source_kms_key_arn,
9299
+ :publish_to)
6982
9300
  SENSITIVE = [:zip_file]
6983
9301
  include Aws::Structure
6984
9302
  end
@@ -7181,6 +9499,17 @@ module Aws::Lambda
7181
9499
  # The function's Amazon CloudWatch Logs configuration settings.
7182
9500
  # @return [Types::LoggingConfig]
7183
9501
  #
9502
+ # @!attribute [rw] capacity_provider_config
9503
+ # Configuration for the capacity provider that manages compute
9504
+ # resources for Lambda functions.
9505
+ # @return [Types::CapacityProviderConfig]
9506
+ #
9507
+ # @!attribute [rw] durable_config
9508
+ # Configuration settings for durable functions. Allows updating
9509
+ # execution timeout and retention period for functions with durability
9510
+ # enabled.
9511
+ # @return [Types::DurableConfig]
9512
+ #
7184
9513
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
7185
9514
  #
7186
9515
  class UpdateFunctionConfigurationRequest < Struct.new(
@@ -7202,7 +9531,9 @@ module Aws::Lambda
7202
9531
  :image_config,
7203
9532
  :ephemeral_storage,
7204
9533
  :snap_start,
7205
- :logging_config)
9534
+ :logging_config,
9535
+ :capacity_provider_config,
9536
+ :durable_config)
7206
9537
  SENSITIVE = []
7207
9538
  include Aws::Structure
7208
9539
  end
@@ -7478,6 +9809,91 @@ module Aws::Lambda
7478
9809
  include Aws::Structure
7479
9810
  end
7480
9811
 
9812
+ # Details about a wait operation that was cancelled.
9813
+ #
9814
+ # @!attribute [rw] error
9815
+ # Details about why the wait operation was cancelled.
9816
+ # @return [Types::EventError]
9817
+ #
9818
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/WaitCancelledDetails AWS API Documentation
9819
+ #
9820
+ class WaitCancelledDetails < Struct.new(
9821
+ :error)
9822
+ SENSITIVE = []
9823
+ include Aws::Structure
9824
+ end
9825
+
9826
+ # Details about a wait operation.
9827
+ #
9828
+ # @!attribute [rw] scheduled_end_timestamp
9829
+ # The date and time when the wait operation is scheduled to complete,
9830
+ # in [ISO-8601 format][1] (YYYY-MM-DDThh:mm:ss.sTZD).
9831
+ #
9832
+ #
9833
+ #
9834
+ # [1]: https://www.w3.org/TR/NOTE-datetime
9835
+ # @return [Time]
9836
+ #
9837
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/WaitDetails AWS API Documentation
9838
+ #
9839
+ class WaitDetails < Struct.new(
9840
+ :scheduled_end_timestamp)
9841
+ SENSITIVE = []
9842
+ include Aws::Structure
9843
+ end
9844
+
9845
+ # Specifies how long to pause the durable execution.
9846
+ #
9847
+ # @!attribute [rw] wait_seconds
9848
+ # The duration to wait, in seconds.
9849
+ # @return [Integer]
9850
+ #
9851
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/WaitOptions AWS API Documentation
9852
+ #
9853
+ class WaitOptions < Struct.new(
9854
+ :wait_seconds)
9855
+ SENSITIVE = []
9856
+ include Aws::Structure
9857
+ end
9858
+
9859
+ # Details about a wait operation that has started.
9860
+ #
9861
+ # @!attribute [rw] duration
9862
+ # The duration to wait, in seconds.
9863
+ # @return [Integer]
9864
+ #
9865
+ # @!attribute [rw] scheduled_end_timestamp
9866
+ # The date and time when the wait operation is scheduled to complete,
9867
+ # in [ISO-8601 format][1] (YYYY-MM-DDThh:mm:ss.sTZD).
9868
+ #
9869
+ #
9870
+ #
9871
+ # [1]: https://www.w3.org/TR/NOTE-datetime
9872
+ # @return [Time]
9873
+ #
9874
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/WaitStartedDetails AWS API Documentation
9875
+ #
9876
+ class WaitStartedDetails < Struct.new(
9877
+ :duration,
9878
+ :scheduled_end_timestamp)
9879
+ SENSITIVE = []
9880
+ include Aws::Structure
9881
+ end
9882
+
9883
+ # Details about a wait operation that succeeded.
9884
+ #
9885
+ # @!attribute [rw] duration
9886
+ # The wait duration, in seconds.
9887
+ # @return [Integer]
9888
+ #
9889
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/WaitSucceededDetails AWS API Documentation
9890
+ #
9891
+ class WaitSucceededDetails < Struct.new(
9892
+ :duration)
9893
+ SENSITIVE = []
9894
+ include Aws::Structure
9895
+ end
9896
+
7481
9897
  # An object that includes a chunk of the response payload. When the
7482
9898
  # stream has ended, Lambda includes a `InvokeComplete` object.
7483
9899
  #