aws-sdk-lambda 1.168.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +783 -9
- data/lib/aws-sdk-lambda/client_api.rb +581 -0
- data/lib/aws-sdk-lambda/errors.rb +42 -0
- data/lib/aws-sdk-lambda/types.rb +1829 -77
- data/lib/aws-sdk-lambda.rb +1 -1
- data/sig/client.rbs +184 -5
- data/sig/errors.rbs +8 -0
- data/sig/types.rbs +460 -1
- metadata +1 -1
data/lib/aws-sdk-lambda/types.rb
CHANGED
|
@@ -369,6 +369,144 @@ module Aws::Lambda
|
|
|
369
369
|
include Aws::Structure
|
|
370
370
|
end
|
|
371
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
|
+
|
|
372
510
|
# A capacity provider manages compute resources for Lambda functions.
|
|
373
511
|
#
|
|
374
512
|
# @!attribute [rw] capacity_provider_arn
|
|
@@ -525,6 +663,223 @@ module Aws::Lambda
|
|
|
525
663
|
include Aws::Structure
|
|
526
664
|
end
|
|
527
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
|
+
|
|
528
883
|
# Details about a [Code signing configuration][1].
|
|
529
884
|
#
|
|
530
885
|
#
|
|
@@ -673,6 +1028,82 @@ module Aws::Lambda
|
|
|
673
1028
|
include Aws::Structure
|
|
674
1029
|
end
|
|
675
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
|
+
|
|
676
1107
|
# The [cross-origin resource sharing (CORS)][1] settings for your Lambda
|
|
677
1108
|
# function URL. Use CORS to grant access to your function URL from any
|
|
678
1109
|
# origin. You can also use CORS to control access for specific HTTP
|
|
@@ -1384,6 +1815,12 @@ module Aws::Lambda
|
|
|
1384
1815
|
# Specifies where to publish the function version or configuration.
|
|
1385
1816
|
# @return [String]
|
|
1386
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
|
+
#
|
|
1387
1824
|
# @!attribute [rw] tenancy_config
|
|
1388
1825
|
# Configuration for multi-tenant applications that use Lambda
|
|
1389
1826
|
# functions. Defines tenant isolation settings and resource
|
|
@@ -1419,6 +1856,7 @@ module Aws::Lambda
|
|
|
1419
1856
|
:logging_config,
|
|
1420
1857
|
:capacity_provider_config,
|
|
1421
1858
|
:publish_to,
|
|
1859
|
+
:durable_config,
|
|
1422
1860
|
:tenancy_config)
|
|
1423
1861
|
SENSITIVE = []
|
|
1424
1862
|
include Aws::Structure
|
|
@@ -1911,6 +2349,55 @@ module Aws::Lambda
|
|
|
1911
2349
|
include Aws::Structure
|
|
1912
2350
|
end
|
|
1913
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
|
|
2390
|
+
# @return [String]
|
|
2391
|
+
#
|
|
2392
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DurableExecutionAlreadyStartedException AWS API Documentation
|
|
2393
|
+
#
|
|
2394
|
+
class DurableExecutionAlreadyStartedException < Struct.new(
|
|
2395
|
+
:type,
|
|
2396
|
+
:message)
|
|
2397
|
+
SENSITIVE = []
|
|
2398
|
+
include Aws::Structure
|
|
2399
|
+
end
|
|
2400
|
+
|
|
1914
2401
|
# Need additional permissions to configure VPC settings.
|
|
1915
2402
|
#
|
|
1916
2403
|
# @!attribute [rw] type
|
|
@@ -2146,6 +2633,269 @@ module Aws::Lambda
|
|
|
2146
2633
|
include Aws::Structure
|
|
2147
2634
|
end
|
|
2148
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
|
+
|
|
2149
2899
|
# A mapping between an Amazon Web Services resource and a Lambda
|
|
2150
2900
|
# function. For details, see CreateEventSourceMapping.
|
|
2151
2901
|
#
|
|
@@ -2344,93 +3094,258 @@ module Aws::Lambda
|
|
|
2344
3094
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics
|
|
2345
3095
|
# @return [String]
|
|
2346
3096
|
#
|
|
2347
|
-
# @!attribute [rw] filter_criteria_error
|
|
2348
|
-
# An object that contains details about an error related to filter
|
|
2349
|
-
# criteria encryption.
|
|
2350
|
-
# @return [Types::FilterCriteriaError]
|
|
3097
|
+
# @!attribute [rw] filter_criteria_error
|
|
3098
|
+
# An object that contains details about an error related to filter
|
|
3099
|
+
# criteria encryption.
|
|
3100
|
+
# @return [Types::FilterCriteriaError]
|
|
3101
|
+
#
|
|
3102
|
+
# @!attribute [rw] event_source_mapping_arn
|
|
3103
|
+
# The Amazon Resource Name (ARN) of the event source mapping.
|
|
3104
|
+
# @return [String]
|
|
3105
|
+
#
|
|
3106
|
+
# @!attribute [rw] metrics_config
|
|
3107
|
+
# The metrics configuration for your event source. For more
|
|
3108
|
+
# information, see [Event source mapping metrics][1].
|
|
3109
|
+
#
|
|
3110
|
+
#
|
|
3111
|
+
#
|
|
3112
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
|
|
3113
|
+
# @return [Types::EventSourceMappingMetricsConfig]
|
|
3114
|
+
#
|
|
3115
|
+
# @!attribute [rw] provisioned_poller_config
|
|
3116
|
+
# (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The
|
|
3117
|
+
# provisioned mode configuration for the event source. For more
|
|
3118
|
+
# information, see [provisioned mode][1].
|
|
3119
|
+
#
|
|
3120
|
+
#
|
|
3121
|
+
#
|
|
3122
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode
|
|
3123
|
+
# @return [Types::ProvisionedPollerConfig]
|
|
3124
|
+
#
|
|
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.
|
|
2351
3300
|
#
|
|
2352
|
-
# @!attribute [rw] event_source_mapping_arn
|
|
2353
|
-
# The Amazon Resource Name (ARN) of the event source mapping.
|
|
2354
|
-
# @return [String]
|
|
2355
3301
|
#
|
|
2356
|
-
# @!attribute [rw] metrics_config
|
|
2357
|
-
# The metrics configuration for your event source. For more
|
|
2358
|
-
# information, see [Event source mapping metrics][1].
|
|
2359
3302
|
#
|
|
3303
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
|
|
2360
3304
|
#
|
|
3305
|
+
# @!attribute [rw] error
|
|
3306
|
+
# Details about why the execution stopped.
|
|
3307
|
+
# @return [Types::EventError]
|
|
2361
3308
|
#
|
|
2362
|
-
#
|
|
2363
|
-
# @return [Types::EventSourceMappingMetricsConfig]
|
|
3309
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ExecutionStoppedDetails AWS API Documentation
|
|
2364
3310
|
#
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
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.
|
|
2369
3318
|
#
|
|
2370
3319
|
#
|
|
2371
3320
|
#
|
|
2372
|
-
#
|
|
2373
|
-
# @return [Types::ProvisionedPollerConfig]
|
|
3321
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
|
|
2374
3322
|
#
|
|
2375
|
-
#
|
|
3323
|
+
# @!attribute [rw] result
|
|
3324
|
+
# The response payload from the successful operation.
|
|
3325
|
+
# @return [Types::EventResult]
|
|
2376
3326
|
#
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
:
|
|
2381
|
-
:batch_size,
|
|
2382
|
-
:maximum_batching_window_in_seconds,
|
|
2383
|
-
:parallelization_factor,
|
|
2384
|
-
:event_source_arn,
|
|
2385
|
-
:filter_criteria,
|
|
2386
|
-
:function_arn,
|
|
2387
|
-
:last_modified,
|
|
2388
|
-
:last_processing_result,
|
|
2389
|
-
:state,
|
|
2390
|
-
:state_transition_reason,
|
|
2391
|
-
:destination_config,
|
|
2392
|
-
:topics,
|
|
2393
|
-
:queues,
|
|
2394
|
-
:source_access_configurations,
|
|
2395
|
-
:self_managed_event_source,
|
|
2396
|
-
:maximum_record_age_in_seconds,
|
|
2397
|
-
:bisect_batch_on_function_error,
|
|
2398
|
-
:maximum_retry_attempts,
|
|
2399
|
-
:tumbling_window_in_seconds,
|
|
2400
|
-
:function_response_types,
|
|
2401
|
-
:amazon_managed_kafka_event_source_config,
|
|
2402
|
-
:self_managed_kafka_event_source_config,
|
|
2403
|
-
:scaling_config,
|
|
2404
|
-
:document_db_event_source_config,
|
|
2405
|
-
:kms_key_arn,
|
|
2406
|
-
:filter_criteria_error,
|
|
2407
|
-
:event_source_mapping_arn,
|
|
2408
|
-
:metrics_config,
|
|
2409
|
-
:provisioned_poller_config)
|
|
3327
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ExecutionSucceededDetails AWS API Documentation
|
|
3328
|
+
#
|
|
3329
|
+
class ExecutionSucceededDetails < Struct.new(
|
|
3330
|
+
:result)
|
|
2410
3331
|
SENSITIVE = []
|
|
2411
3332
|
include Aws::Structure
|
|
2412
3333
|
end
|
|
2413
3334
|
|
|
2414
|
-
#
|
|
2415
|
-
# configuration object to define which metrics you want your event
|
|
2416
|
-
# source mapping to produce.
|
|
3335
|
+
# Details about a [durable execution][1] that timed out.
|
|
2417
3336
|
#
|
|
2418
|
-
# @!attribute [rw] metrics
|
|
2419
|
-
# The metrics you want your event source mapping to produce. Include
|
|
2420
|
-
# `EventCount` to receive event source mapping metrics related to the
|
|
2421
|
-
# number of events processed by your event source mapping. For more
|
|
2422
|
-
# information about these metrics, see [ Event source mapping
|
|
2423
|
-
# metrics][1].
|
|
2424
3337
|
#
|
|
2425
3338
|
#
|
|
3339
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
|
|
2426
3340
|
#
|
|
2427
|
-
#
|
|
2428
|
-
#
|
|
3341
|
+
# @!attribute [rw] error
|
|
3342
|
+
# Details about the execution timeout.
|
|
3343
|
+
# @return [Types::EventError]
|
|
2429
3344
|
#
|
|
2430
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/
|
|
3345
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ExecutionTimedOutDetails AWS API Documentation
|
|
2431
3346
|
#
|
|
2432
|
-
class
|
|
2433
|
-
:
|
|
3347
|
+
class ExecutionTimedOutDetails < Struct.new(
|
|
3348
|
+
:error)
|
|
2434
3349
|
SENSITIVE = []
|
|
2435
3350
|
include Aws::Structure
|
|
2436
3351
|
end
|
|
@@ -2854,6 +3769,11 @@ module Aws::Lambda
|
|
|
2854
3769
|
# The SHA256 hash of the function configuration.
|
|
2855
3770
|
# @return [String]
|
|
2856
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
|
+
#
|
|
2857
3777
|
# @!attribute [rw] tenancy_config
|
|
2858
3778
|
# The function's tenant isolation configuration settings. Determines
|
|
2859
3779
|
# whether the Lambda function runs on a shared or dedicated
|
|
@@ -2901,6 +3821,7 @@ module Aws::Lambda
|
|
|
2901
3821
|
:logging_config,
|
|
2902
3822
|
:capacity_provider_config,
|
|
2903
3823
|
:config_sha_256,
|
|
3824
|
+
:durable_config,
|
|
2904
3825
|
:tenancy_config)
|
|
2905
3826
|
SENSITIVE = []
|
|
2906
3827
|
include Aws::Structure
|
|
@@ -3205,6 +4126,225 @@ module Aws::Lambda
|
|
|
3205
4126
|
include Aws::Structure
|
|
3206
4127
|
end
|
|
3207
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
|
+
|
|
3208
4348
|
# @!attribute [rw] uuid
|
|
3209
4349
|
# The identifier of the event source mapping.
|
|
3210
4350
|
# @return [String]
|
|
@@ -4164,6 +5304,45 @@ module Aws::Lambda
|
|
|
4164
5304
|
include Aws::Structure
|
|
4165
5305
|
end
|
|
4166
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
|
+
|
|
4167
5346
|
# @!attribute [rw] function_name
|
|
4168
5347
|
# The name or ARN of the Lambda function, version, or alias.
|
|
4169
5348
|
#
|
|
@@ -4210,6 +5389,12 @@ module Aws::Lambda
|
|
|
4210
5389
|
# only.
|
|
4211
5390
|
# @return [String]
|
|
4212
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
|
+
#
|
|
4213
5398
|
# @!attribute [rw] payload
|
|
4214
5399
|
# The JSON that you want to provide to your Lambda function as input.
|
|
4215
5400
|
# The maximum payload size is 6 MB for synchronous invocations and 1
|
|
@@ -4236,6 +5421,7 @@ module Aws::Lambda
|
|
|
4236
5421
|
:invocation_type,
|
|
4237
5422
|
:log_type,
|
|
4238
5423
|
:client_context,
|
|
5424
|
+
:durable_execution_name,
|
|
4239
5425
|
:payload,
|
|
4240
5426
|
:qualifier,
|
|
4241
5427
|
:tenant_id)
|
|
@@ -4270,6 +5456,12 @@ module Aws::Lambda
|
|
|
4270
5456
|
# resolved to.
|
|
4271
5457
|
# @return [String]
|
|
4272
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
|
+
#
|
|
4273
5465
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvocationResponse AWS API Documentation
|
|
4274
5466
|
#
|
|
4275
5467
|
class InvocationResponse < Struct.new(
|
|
@@ -4277,7 +5469,8 @@ module Aws::Lambda
|
|
|
4277
5469
|
:function_error,
|
|
4278
5470
|
:log_result,
|
|
4279
5471
|
:payload,
|
|
4280
|
-
:executed_version
|
|
5472
|
+
:executed_version,
|
|
5473
|
+
:durable_execution_arn)
|
|
4281
5474
|
SENSITIVE = [:payload]
|
|
4282
5475
|
include Aws::Structure
|
|
4283
5476
|
end
|
|
@@ -4978,18 +6171,99 @@ module Aws::Lambda
|
|
|
4978
6171
|
end
|
|
4979
6172
|
|
|
4980
6173
|
# @!attribute [rw] next_marker
|
|
4981
|
-
# The pagination token that's included if more results are available.
|
|
6174
|
+
# The pagination token that's included if more results are available.
|
|
6175
|
+
# @return [String]
|
|
6176
|
+
#
|
|
6177
|
+
# @!attribute [rw] code_signing_configs
|
|
6178
|
+
# The code signing configurations
|
|
6179
|
+
# @return [Array<Types::CodeSigningConfig>]
|
|
6180
|
+
#
|
|
6181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCodeSigningConfigsResponse AWS API Documentation
|
|
6182
|
+
#
|
|
6183
|
+
class ListCodeSigningConfigsResponse < Struct.new(
|
|
6184
|
+
:next_marker,
|
|
6185
|
+
:code_signing_configs)
|
|
6186
|
+
SENSITIVE = []
|
|
6187
|
+
include Aws::Structure
|
|
6188
|
+
end
|
|
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.
|
|
4982
6260
|
# @return [String]
|
|
4983
6261
|
#
|
|
4984
|
-
#
|
|
4985
|
-
# The code signing configurations
|
|
4986
|
-
# @return [Array<Types::CodeSigningConfig>]
|
|
4987
|
-
#
|
|
4988
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCodeSigningConfigsResponse AWS API Documentation
|
|
6262
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListDurableExecutionsByFunctionResponse AWS API Documentation
|
|
4989
6263
|
#
|
|
4990
|
-
class
|
|
4991
|
-
:
|
|
4992
|
-
:
|
|
6264
|
+
class ListDurableExecutionsByFunctionResponse < Struct.new(
|
|
6265
|
+
:durable_executions,
|
|
6266
|
+
:next_marker)
|
|
4993
6267
|
SENSITIVE = []
|
|
4994
6268
|
include Aws::Structure
|
|
4995
6269
|
end
|
|
@@ -5721,6 +6995,177 @@ module Aws::Lambda
|
|
|
5721
6995
|
include Aws::Structure
|
|
5722
6996
|
end
|
|
5723
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]
|
|
7102
|
+
#
|
|
7103
|
+
# @!attribute [rw] name
|
|
7104
|
+
# The customer-provided name for this operation.
|
|
7105
|
+
# @return [String]
|
|
7106
|
+
#
|
|
7107
|
+
# @!attribute [rw] type
|
|
7108
|
+
# The type of operation to update.
|
|
7109
|
+
# @return [String]
|
|
7110
|
+
#
|
|
7111
|
+
# @!attribute [rw] sub_type
|
|
7112
|
+
# The subtype of the operation, providing additional categorization.
|
|
7113
|
+
# @return [String]
|
|
7114
|
+
#
|
|
7115
|
+
# @!attribute [rw] action
|
|
7116
|
+
# The action to take on the operation.
|
|
7117
|
+
# @return [String]
|
|
7118
|
+
#
|
|
7119
|
+
# @!attribute [rw] payload
|
|
7120
|
+
# The payload for successful operations.
|
|
7121
|
+
# @return [String]
|
|
7122
|
+
#
|
|
7123
|
+
# @!attribute [rw] error
|
|
7124
|
+
# The error information for failed operations.
|
|
7125
|
+
# @return [Types::ErrorObject]
|
|
7126
|
+
#
|
|
7127
|
+
# @!attribute [rw] context_options
|
|
7128
|
+
# Options for context operations.
|
|
7129
|
+
# @return [Types::ContextOptions]
|
|
7130
|
+
#
|
|
7131
|
+
# @!attribute [rw] step_options
|
|
7132
|
+
# Options for step operations.
|
|
7133
|
+
# @return [Types::StepOptions]
|
|
7134
|
+
#
|
|
7135
|
+
# @!attribute [rw] wait_options
|
|
7136
|
+
# Options for wait operations.
|
|
7137
|
+
# @return [Types::WaitOptions]
|
|
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]
|
|
7143
|
+
#
|
|
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]
|
|
7148
|
+
#
|
|
7149
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/OperationUpdate AWS API Documentation
|
|
7150
|
+
#
|
|
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]
|
|
7166
|
+
include Aws::Structure
|
|
7167
|
+
end
|
|
7168
|
+
|
|
5724
7169
|
# The permissions policy for the resource is too large. For more
|
|
5725
7170
|
# information, see [Lambda quotas][1].
|
|
5726
7171
|
#
|
|
@@ -6704,6 +8149,25 @@ module Aws::Lambda
|
|
|
6704
8149
|
include Aws::Structure
|
|
6705
8150
|
end
|
|
6706
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
|
+
|
|
6707
8171
|
# The ARN of the runtime and any errors that occured.
|
|
6708
8172
|
#
|
|
6709
8173
|
# @!attribute [rw] runtime_version_arn
|
|
@@ -6804,6 +8268,65 @@ module Aws::Lambda
|
|
|
6804
8268
|
include Aws::Structure
|
|
6805
8269
|
end
|
|
6806
8270
|
|
|
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
|
+
|
|
6807
8330
|
# The request payload exceeded the maximum allowed size for serialized
|
|
6808
8331
|
# request entities.
|
|
6809
8332
|
#
|
|
@@ -7014,6 +8537,129 @@ module Aws::Lambda
|
|
|
7014
8537
|
include Aws::Structure
|
|
7015
8538
|
end
|
|
7016
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
|
+
|
|
7017
8663
|
# Lambda couldn't set up VPC access for the Lambda function because one
|
|
7018
8664
|
# or more configured subnets has no available IP addresses.
|
|
7019
8665
|
#
|
|
@@ -7140,6 +8786,20 @@ module Aws::Lambda
|
|
|
7140
8786
|
include Aws::Structure
|
|
7141
8787
|
end
|
|
7142
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
|
+
|
|
7143
8803
|
# The function's [X-Ray][1] tracing configuration. To sample and record
|
|
7144
8804
|
# incoming requests, set `Mode` to `Active`.
|
|
7145
8805
|
#
|
|
@@ -7844,6 +9504,12 @@ module Aws::Lambda
|
|
|
7844
9504
|
# resources for Lambda functions.
|
|
7845
9505
|
# @return [Types::CapacityProviderConfig]
|
|
7846
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
|
+
#
|
|
7847
9513
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
|
|
7848
9514
|
#
|
|
7849
9515
|
class UpdateFunctionConfigurationRequest < Struct.new(
|
|
@@ -7866,7 +9532,8 @@ module Aws::Lambda
|
|
|
7866
9532
|
:ephemeral_storage,
|
|
7867
9533
|
:snap_start,
|
|
7868
9534
|
:logging_config,
|
|
7869
|
-
:capacity_provider_config
|
|
9535
|
+
:capacity_provider_config,
|
|
9536
|
+
:durable_config)
|
|
7870
9537
|
SENSITIVE = []
|
|
7871
9538
|
include Aws::Structure
|
|
7872
9539
|
end
|
|
@@ -8142,6 +9809,91 @@ module Aws::Lambda
|
|
|
8142
9809
|
include Aws::Structure
|
|
8143
9810
|
end
|
|
8144
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
|
+
|
|
8145
9897
|
# An object that includes a chunk of the response payload. When the
|
|
8146
9898
|
# stream has ended, Lambda includes a `InvokeComplete` object.
|
|
8147
9899
|
#
|