aws-sdk-lambda 1.213.0 → 1.214.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62c09f6c9964442b92631f3b37d7b05fd69d884ea3a0b13ec6c822e91c4dc904
4
- data.tar.gz: 8a20c15faf7bbcd26092f35bccbd36db94f20d368f7efd38d61ccfe8664a4e06
3
+ metadata.gz: 218e9bb488e53b242ba368407b1134ce753d7ee5568c96b48a4dfbdf5a088518
4
+ data.tar.gz: 40c7e7588c2f9facf92040be248ce55de848e5bca47f1469cf9875a126abc250
5
5
  SHA512:
6
- metadata.gz: a2e8481a017350055e1efb10b2c140e46ec623287543a734a3c24bfd4989994248ee39ad996d7526116b88ce84584e6d48a149bec270d1fc77f52a17543d7519
7
- data.tar.gz: 1aaacfe829e4accf412e5fd45182e4db1689c5c2f40c7ee980216d92038a44b92736bb6b980d9e61a3d2548063a6ee688de74d1e2b8217beea9a1ae9b09ed80b
6
+ metadata.gz: c6b444dbfbd25a83d0284b822150c9fd205e56825fa86d4ab66d3ce8abe14749aeb5e8c068b111d3a2899ea8c7f1ccb8d18dd2baa1ee418da9f3f8e3d2f3cf46
7
+ data.tar.gz: 9f457b4a90cd62358aff8858c7b46180f68289755ca0babc808f9db563c0c71cf1f108a90bff11112b23b63ebdffa44e2e1b1f2a20f0add41d275709c5e014b7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.214.0 (2026-11-17)
5
+ ------------------
6
+
7
+ * Feature - AWS Lambda durable functions now supports pausing, resuming, and deleting durable executions with the new PauseDurableExecution, ResumeDurableExecution, and DeleteDurableExecution APIs.
8
+
4
9
  1.213.0 (2026-11-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.213.0
1
+ 1.214.0
@@ -2572,6 +2572,45 @@ module Aws::Lambda
2572
2572
  req.send_request(options)
2573
2573
  end
2574
2574
 
2575
+ # Deletes a completed Lambda [durable execution][1] and its data. The
2576
+ # execution must be in a terminal state (`SUCCEEDED`, `FAILED`,
2577
+ # `STOPPED`, or `TIMED_OUT`). Otherwise, this operation returns a
2578
+ # `ResourceConflictException`.
2579
+ #
2580
+ # The execution has `DELETING` status until the deletion finishes. For
2581
+ # more information, see [Deleting durable executions][2].
2582
+ #
2583
+ #
2584
+ #
2585
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
2586
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/durable-delete.html
2587
+ #
2588
+ # @option params [required, String] :durable_execution_arn
2589
+ # The Amazon Resource Name (ARN) of the durable execution.
2590
+ #
2591
+ # @return [Types::DeleteDurableExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2592
+ #
2593
+ # * {Types::DeleteDurableExecutionResponse#deletion_request_timestamp #deletion_request_timestamp} => Time
2594
+ #
2595
+ # @example Request syntax with placeholder values
2596
+ #
2597
+ # resp = client.delete_durable_execution({
2598
+ # durable_execution_arn: "DurableExecutionArn", # required
2599
+ # })
2600
+ #
2601
+ # @example Response structure
2602
+ #
2603
+ # resp.deletion_request_timestamp #=> Time
2604
+ #
2605
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteDurableExecution AWS API Documentation
2606
+ #
2607
+ # @overload delete_durable_execution(params = {})
2608
+ # @param [Hash] params ({})
2609
+ def delete_durable_execution(params = {}, options = {})
2610
+ req = build_request(:delete_durable_execution, params)
2611
+ req.send_request(options)
2612
+ end
2613
+
2575
2614
  # Deletes an [event source mapping][1]. You can get the identifier of a
2576
2615
  # mapping from the output of ListEventSourceMappings.
2577
2616
  #
@@ -3343,6 +3382,8 @@ module Aws::Lambda
3343
3382
  # * {Types::GetDurableExecutionResponse#trace_header #trace_header} => Types::TraceHeader
3344
3383
  # * {Types::GetDurableExecutionResponse#execution_data_included #execution_data_included} => Boolean
3345
3384
  # * {Types::GetDurableExecutionResponse#durable_config #durable_config} => Types::DurableConfig
3385
+ # * {Types::GetDurableExecutionResponse#pause_details #pause_details} => Types::PauseDetails
3386
+ # * {Types::GetDurableExecutionResponse#expected_execution_timeout_timestamp #expected_execution_timeout_timestamp} => Time
3346
3387
  #
3347
3388
  # @example Request syntax with placeholder values
3348
3389
  #
@@ -3364,7 +3405,7 @@ module Aws::Lambda
3364
3405
  # resp.error.stack_trace #=> Array
3365
3406
  # resp.error.stack_trace[0] #=> String
3366
3407
  # resp.start_timestamp #=> Time
3367
- # resp.status #=> String, one of "RUNNING", "SUCCEEDED", "FAILED", "TIMED_OUT", "STOPPED"
3408
+ # resp.status #=> String, one of "RUNNING", "SUCCEEDED", "FAILED", "TIMED_OUT", "STOPPED", "DELETING", "PAUSING", "PAUSED"
3368
3409
  # resp.end_timestamp #=> Time
3369
3410
  # resp.version #=> String
3370
3411
  # resp.trace_header.x_amzn_trace_id #=> String
@@ -3372,6 +3413,10 @@ module Aws::Lambda
3372
3413
  # resp.durable_config.kms_key_arn #=> String
3373
3414
  # resp.durable_config.retention_period_in_days #=> Integer
3374
3415
  # resp.durable_config.execution_timeout #=> Integer
3416
+ # resp.pause_details.pause_request_timestamp #=> Time
3417
+ # resp.pause_details.reason #=> String
3418
+ # resp.pause_details.execution_timeout_paused #=> Boolean
3419
+ # resp.expected_execution_timeout_timestamp #=> Time
3375
3420
  #
3376
3421
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecution AWS API Documentation
3377
3422
  #
@@ -3440,7 +3485,7 @@ module Aws::Lambda
3440
3485
  # @example Response structure
3441
3486
  #
3442
3487
  # resp.events #=> Array
3443
- # resp.events[0].event_type #=> String, one of "ExecutionStarted", "ExecutionSucceeded", "ExecutionFailed", "ExecutionTimedOut", "ExecutionStopped", "ContextStarted", "ContextSucceeded", "ContextFailed", "WaitStarted", "WaitSucceeded", "WaitCancelled", "StepStarted", "StepSucceeded", "StepFailed", "ChainedInvokeStarted", "ChainedInvokeSucceeded", "ChainedInvokeFailed", "ChainedInvokeTimedOut", "ChainedInvokeStopped", "CallbackStarted", "CallbackSucceeded", "CallbackFailed", "CallbackTimedOut", "InvocationCompleted"
3488
+ # resp.events[0].event_type #=> String, one of "ExecutionStarted", "ExecutionSucceeded", "ExecutionFailed", "ExecutionTimedOut", "ExecutionStopped", "ContextStarted", "ContextSucceeded", "ContextFailed", "WaitStarted", "WaitSucceeded", "WaitCancelled", "StepStarted", "StepSucceeded", "StepFailed", "ChainedInvokeStarted", "ChainedInvokeSucceeded", "ChainedInvokeFailed", "ChainedInvokeTimedOut", "ChainedInvokeStopped", "CallbackStarted", "CallbackSucceeded", "CallbackFailed", "CallbackTimedOut", "InvocationCompleted", "ExecutionPaused", "ExecutionResumed"
3444
3489
  # resp.events[0].sub_type #=> String
3445
3490
  # resp.events[0].event_id #=> Integer
3446
3491
  # resp.events[0].id #=> String
@@ -3551,6 +3596,13 @@ module Aws::Lambda
3551
3596
  # resp.events[0].invocation_completed_details.error.payload.stack_trace #=> Array
3552
3597
  # resp.events[0].invocation_completed_details.error.payload.stack_trace[0] #=> String
3553
3598
  # resp.events[0].invocation_completed_details.error.truncated #=> Boolean
3599
+ # resp.events[0].execution_paused_details.pause_request_timestamp #=> Time
3600
+ # resp.events[0].execution_paused_details.reason.payload #=> String
3601
+ # resp.events[0].execution_paused_details.reason.truncated #=> Boolean
3602
+ # resp.events[0].execution_paused_details.execution_timeout_paused #=> Boolean
3603
+ # resp.events[0].execution_resumed_details.resume_request_timestamp #=> Time
3604
+ # resp.events[0].execution_resumed_details.reason.payload #=> String
3605
+ # resp.events[0].execution_resumed_details.reason.truncated #=> Boolean
3554
3606
  # resp.next_marker #=> String
3555
3607
  #
3556
3608
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecutionHistory AWS API Documentation
@@ -5774,8 +5826,27 @@ module Aws::Lambda
5774
5826
  # this string are returned.
5775
5827
  #
5776
5828
  # @option params [Array<String>] :statuses
5777
- # Filter executions by status. Valid values: RUNNING, SUCCEEDED, FAILED,
5778
- # TIMED\_OUT, STOPPED.
5829
+ # Filters the executions by status. Specify one of the following values:
5830
+ #
5831
+ # * `RUNNING` – The execution is running or waiting for pending
5832
+ # operations to complete.
5833
+ #
5834
+ # * `PAUSING` – The execution is waiting for an in-progress invocation
5835
+ # to reach its next checkpoint before it pauses.
5836
+ #
5837
+ # * `PAUSED` – The execution is paused, and Lambda doesn't invoke your
5838
+ # function.
5839
+ #
5840
+ # * `SUCCEEDED` – The execution completed successfully.
5841
+ #
5842
+ # * `FAILED` – The execution completed with an error.
5843
+ #
5844
+ # * `TIMED_OUT` – The execution exceeded its execution timeout.
5845
+ #
5846
+ # * `STOPPED` – A `StopDurableExecution` request stopped the execution.
5847
+ #
5848
+ # * `DELETING` – A `DeleteDurableExecution` request is deleting the
5849
+ # execution and its data.
5779
5850
  #
5780
5851
  # @option params [Time,DateTime,Date,Integer,String] :started_after
5781
5852
  # Filter executions that started after this timestamp (ISO 8601 format).
@@ -5808,7 +5879,7 @@ module Aws::Lambda
5808
5879
  # function_name: "NamespacedFunctionName", # required
5809
5880
  # qualifier: "NumericLatestPublishedOrAliasQualifier",
5810
5881
  # durable_execution_name: "DurableExecutionName",
5811
- # statuses: ["RUNNING"], # accepts RUNNING, SUCCEEDED, FAILED, TIMED_OUT, STOPPED
5882
+ # statuses: ["RUNNING"], # accepts RUNNING, SUCCEEDED, FAILED, TIMED_OUT, STOPPED, DELETING, PAUSING, PAUSED
5812
5883
  # started_after: Time.now,
5813
5884
  # started_before: Time.now,
5814
5885
  # reverse_order: false,
@@ -5822,7 +5893,7 @@ module Aws::Lambda
5822
5893
  # resp.durable_executions[0].durable_execution_arn #=> String
5823
5894
  # resp.durable_executions[0].durable_execution_name #=> String
5824
5895
  # resp.durable_executions[0].function_arn #=> String
5825
- # resp.durable_executions[0].status #=> String, one of "RUNNING", "SUCCEEDED", "FAILED", "TIMED_OUT", "STOPPED"
5896
+ # resp.durable_executions[0].status #=> String, one of "RUNNING", "SUCCEEDED", "FAILED", "TIMED_OUT", "STOPPED", "DELETING", "PAUSING", "PAUSED"
5826
5897
  # resp.durable_executions[0].start_timestamp #=> Time
5827
5898
  # resp.durable_executions[0].end_timestamp #=> Time
5828
5899
  # resp.durable_executions[0].kms_key_arn #=> String
@@ -7035,6 +7106,65 @@ module Aws::Lambda
7035
7106
  req.send_request(options)
7036
7107
  end
7037
7108
 
7109
+ # Pauses a running [durable execution][1]. While an execution is paused,
7110
+ # Lambda doesn't invoke your function, but pending operations such as
7111
+ # waits and callbacks continue to complete.
7112
+ #
7113
+ # If an invocation is in progress, the execution status changes to
7114
+ # `PAUSING` until the invocation reaches its next checkpoint, and then
7115
+ # changes to `PAUSED`. This operation returns a successful response
7116
+ # while the execution status is still `RUNNING`, and the status changes
7117
+ # when Lambda processes the request. For more information about pausing
7118
+ # executions, see [Pausing and resuming durable executions][2].
7119
+ #
7120
+ #
7121
+ #
7122
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
7123
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/durable-pause-resume.html
7124
+ #
7125
+ # @option params [required, String] :durable_execution_arn
7126
+ # The Amazon Resource Name (ARN) of the durable execution.
7127
+ #
7128
+ # @option params [String] :client_token
7129
+ # A unique, case-sensitive identifier that you provide so that the
7130
+ # request completes no more than one time. If you repeat a request with
7131
+ # the same client token and parameters within 15 minutes, Lambda
7132
+ # doesn't pause the execution again and returns a successful response
7133
+ # instead of an error.
7134
+ #
7135
+ # **A suitable default value is auto-generated.** You should normally
7136
+ # not need to pass this option.**
7137
+ #
7138
+ # @option params [String] :reason
7139
+ # A description of why you're pausing the execution. Lambda records the
7140
+ # reason in the execution history.
7141
+ #
7142
+ # @option params [Boolean] :execution_timeout_paused
7143
+ # Specifies whether to pause the execution timeout while the execution
7144
+ # is paused. If `true`, Lambda extends the execution timeout by the time
7145
+ # the execution spends paused. An execution with a paused timeout still
7146
+ # times out 366 days after it started. The default value is `true`.
7147
+ #
7148
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7149
+ #
7150
+ # @example Request syntax with placeholder values
7151
+ #
7152
+ # resp = client.pause_durable_execution({
7153
+ # durable_execution_arn: "DurableExecutionArn", # required
7154
+ # client_token: "ClientToken",
7155
+ # reason: "PauseReason",
7156
+ # execution_timeout_paused: false,
7157
+ # })
7158
+ #
7159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PauseDurableExecution AWS API Documentation
7160
+ #
7161
+ # @overload pause_durable_execution(params = {})
7162
+ # @param [Hash] params ({})
7163
+ def pause_durable_execution(params = {}, options = {})
7164
+ req = build_request(:pause_durable_execution, params)
7165
+ req.send_request(options)
7166
+ end
7167
+
7038
7168
  # Creates an [Lambda layer][1] from a ZIP archive. Each time you call
7039
7169
  # `PublishLayerVersion` with the same layer name, a new version is
7040
7170
  # created.
@@ -8177,6 +8307,59 @@ module Aws::Lambda
8177
8307
  req.send_request(options)
8178
8308
  end
8179
8309
 
8310
+ # Resumes a paused [durable execution][1]. If the pause interrupted an
8311
+ # invocation, or an operation completed while the execution was paused,
8312
+ # Lambda invokes your function. Otherwise, the execution continues to
8313
+ # wait for its pending operations.
8314
+ #
8315
+ # If the execution status is `PAUSING`, this operation cancels the
8316
+ # pause, and the in-progress invocation continues. This operation
8317
+ # returns a successful response while the execution status is still
8318
+ # `PAUSED` or `PAUSING`, and the status changes to `RUNNING` when Lambda
8319
+ # processes the request. For more information about resuming executions,
8320
+ # see [Pausing and resuming durable executions][2].
8321
+ #
8322
+ #
8323
+ #
8324
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
8325
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/durable-pause-resume.html
8326
+ #
8327
+ # @option params [required, String] :durable_execution_arn
8328
+ # The Amazon Resource Name (ARN) of the durable execution.
8329
+ #
8330
+ # @option params [String] :client_token
8331
+ # A unique, case-sensitive identifier that you provide so that the
8332
+ # request completes no more than one time. If you repeat a request with
8333
+ # the same client token and parameters within 15 minutes, Lambda
8334
+ # doesn't resume the execution again and returns a successful response
8335
+ # instead of an error.
8336
+ #
8337
+ # **A suitable default value is auto-generated.** You should normally
8338
+ # not need to pass this option.**
8339
+ #
8340
+ # @option params [String] :reason
8341
+ # A description of why you're resuming the execution. Lambda records
8342
+ # the reason in the execution history.
8343
+ #
8344
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
8345
+ #
8346
+ # @example Request syntax with placeholder values
8347
+ #
8348
+ # resp = client.resume_durable_execution({
8349
+ # durable_execution_arn: "DurableExecutionArn", # required
8350
+ # client_token: "ClientToken",
8351
+ # reason: "ResumeReason",
8352
+ # })
8353
+ #
8354
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ResumeDurableExecution AWS API Documentation
8355
+ #
8356
+ # @overload resume_durable_execution(params = {})
8357
+ # @param [Hash] params ({})
8358
+ def resume_durable_execution(params = {}, options = {})
8359
+ req = build_request(:resume_durable_execution, params)
8360
+ req.send_request(options)
8361
+ end
8362
+
8180
8363
  # Sends a failure response for a callback operation in a durable
8181
8364
  # execution. Use this API when an external system cannot complete a
8182
8365
  # callback operation successfully.
@@ -8264,9 +8447,9 @@ module Aws::Lambda
8264
8447
  req.send_request(options)
8265
8448
  end
8266
8449
 
8267
- # Stops a running [durable execution][1]. The execution transitions to
8268
- # STOPPED status and cannot be resumed. Any in-progress operations are
8269
- # terminated.
8450
+ # Stops a running or paused [durable execution][1]. The execution
8451
+ # transitions to STOPPED status and cannot be resumed. Any in-progress
8452
+ # operations are terminated.
8270
8453
  #
8271
8454
  #
8272
8455
  #
@@ -10153,7 +10336,7 @@ module Aws::Lambda
10153
10336
  tracer: tracer
10154
10337
  )
10155
10338
  context[:gem_name] = 'aws-sdk-lambda'
10156
- context[:gem_version] = '1.213.0'
10339
+ context[:gem_version] = '1.214.0'
10157
10340
  Seahorse::Client::Request.new(handlers, context)
10158
10341
  end
10159
10342
 
@@ -125,6 +125,8 @@ module Aws::Lambda
125
125
  DeleteCapacityProviderResponse = Shapes::StructureShape.new(name: 'DeleteCapacityProviderResponse')
126
126
  DeleteCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'DeleteCodeSigningConfigRequest')
127
127
  DeleteCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'DeleteCodeSigningConfigResponse')
128
+ DeleteDurableExecutionRequest = Shapes::StructureShape.new(name: 'DeleteDurableExecutionRequest')
129
+ DeleteDurableExecutionResponse = Shapes::StructureShape.new(name: 'DeleteDurableExecutionResponse')
128
130
  DeleteEventSourceMappingRequest = Shapes::StructureShape.new(name: 'DeleteEventSourceMappingRequest')
129
131
  DeleteFunctionCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'DeleteFunctionCodeSigningConfigRequest')
130
132
  DeleteFunctionConcurrencyRequest = Shapes::StructureShape.new(name: 'DeleteFunctionConcurrencyRequest')
@@ -176,7 +178,9 @@ module Aws::Lambda
176
178
  EventError = Shapes::StructureShape.new(name: 'EventError')
177
179
  EventId = Shapes::IntegerShape.new(name: 'EventId')
178
180
  EventInput = Shapes::StructureShape.new(name: 'EventInput')
181
+ EventPauseReason = Shapes::StructureShape.new(name: 'EventPauseReason')
179
182
  EventResult = Shapes::StructureShape.new(name: 'EventResult')
183
+ EventResumeReason = Shapes::StructureShape.new(name: 'EventResumeReason')
180
184
  EventSourceMappingArn = Shapes::StringShape.new(name: 'EventSourceMappingArn')
181
185
  EventSourceMappingConfiguration = Shapes::StructureShape.new(name: 'EventSourceMappingConfiguration')
182
186
  EventSourceMappingLoggingConfig = Shapes::StructureShape.new(name: 'EventSourceMappingLoggingConfig')
@@ -194,6 +198,8 @@ module Aws::Lambda
194
198
  ExecutionDetails = Shapes::StructureShape.new(name: 'ExecutionDetails')
195
199
  ExecutionEnvironmentMemoryGiBPerVCpu = Shapes::FloatShape.new(name: 'ExecutionEnvironmentMemoryGiBPerVCpu')
196
200
  ExecutionFailedDetails = Shapes::StructureShape.new(name: 'ExecutionFailedDetails')
201
+ ExecutionPausedDetails = Shapes::StructureShape.new(name: 'ExecutionPausedDetails')
202
+ ExecutionResumedDetails = Shapes::StructureShape.new(name: 'ExecutionResumedDetails')
197
203
  ExecutionStartedDetails = Shapes::StructureShape.new(name: 'ExecutionStartedDetails')
198
204
  ExecutionStatus = Shapes::StringShape.new(name: 'ExecutionStatus')
199
205
  ExecutionStatusList = Shapes::ListShape.new(name: 'ExecutionStatusList')
@@ -201,6 +207,7 @@ module Aws::Lambda
201
207
  ExecutionSucceededDetails = Shapes::StructureShape.new(name: 'ExecutionSucceededDetails')
202
208
  ExecutionTimedOutDetails = Shapes::StructureShape.new(name: 'ExecutionTimedOutDetails')
203
209
  ExecutionTimeout = Shapes::IntegerShape.new(name: 'ExecutionTimeout')
210
+ ExecutionTimeoutPaused = Shapes::BooleanShape.new(name: 'ExecutionTimeoutPaused')
204
211
  ExecutionTimestamp = Shapes::TimestampShape.new(name: 'ExecutionTimestamp')
205
212
  FileSystemArn = Shapes::StringShape.new(name: 'FileSystemArn')
206
213
  FileSystemConfig = Shapes::StructureShape.new(name: 'FileSystemConfig')
@@ -432,6 +439,10 @@ module Aws::Lambda
432
439
  PackageType = Shapes::StringShape.new(name: 'PackageType')
433
440
  ParallelizationFactor = Shapes::IntegerShape.new(name: 'ParallelizationFactor')
434
441
  Pattern = Shapes::StringShape.new(name: 'Pattern')
442
+ PauseDetails = Shapes::StructureShape.new(name: 'PauseDetails')
443
+ PauseDurableExecutionRequest = Shapes::StructureShape.new(name: 'PauseDurableExecutionRequest')
444
+ PauseDurableExecutionResponse = Shapes::StructureShape.new(name: 'PauseDurableExecutionResponse')
445
+ PauseReason = Shapes::StringShape.new(name: 'PauseReason')
435
446
  PerExecutionEnvironmentMaxConcurrency = Shapes::IntegerShape.new(name: 'PerExecutionEnvironmentMaxConcurrency')
436
447
  PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
437
448
  PolicyResourceArn = Shapes::StringShape.new(name: 'PolicyResourceArn')
@@ -485,6 +496,9 @@ module Aws::Lambda
485
496
  ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
486
497
  ResourcePolicy = Shapes::StringShape.new(name: 'ResourcePolicy')
487
498
  ResponseStreamingInvocationType = Shapes::StringShape.new(name: 'ResponseStreamingInvocationType')
499
+ ResumeDurableExecutionRequest = Shapes::StructureShape.new(name: 'ResumeDurableExecutionRequest')
500
+ ResumeDurableExecutionResponse = Shapes::StructureShape.new(name: 'ResumeDurableExecutionResponse')
501
+ ResumeReason = Shapes::StringShape.new(name: 'ResumeReason')
488
502
  RetentionPeriodInDays = Shapes::IntegerShape.new(name: 'RetentionPeriodInDays')
489
503
  RetryDetails = Shapes::StructureShape.new(name: 'RetryDetails')
490
504
  ReverseOrder = Shapes::BooleanShape.new(name: 'ReverseOrder')
@@ -998,6 +1012,12 @@ module Aws::Lambda
998
1012
 
999
1013
  DeleteCodeSigningConfigResponse.struct_class = Types::DeleteCodeSigningConfigResponse
1000
1014
 
1015
+ DeleteDurableExecutionRequest.add_member(:durable_execution_arn, Shapes::ShapeRef.new(shape: DurableExecutionArn, required: true, location: "uri", location_name: "DurableExecutionArn"))
1016
+ DeleteDurableExecutionRequest.struct_class = Types::DeleteDurableExecutionRequest
1017
+
1018
+ DeleteDurableExecutionResponse.add_member(:deletion_request_timestamp, Shapes::ShapeRef.new(shape: ExecutionTimestamp, required: true, location_name: "DeletionRequestTimestamp"))
1019
+ DeleteDurableExecutionResponse.struct_class = Types::DeleteDurableExecutionResponse
1020
+
1001
1021
  DeleteEventSourceMappingRequest.add_member(:uuid, Shapes::ShapeRef.new(shape: UUIDString, required: true, location: "uri", location_name: "UUID"))
1002
1022
  DeleteEventSourceMappingRequest.struct_class = Types::DeleteEventSourceMappingRequest
1003
1023
 
@@ -1150,6 +1170,8 @@ module Aws::Lambda
1150
1170
  Event.add_member(:callback_failed_details, Shapes::ShapeRef.new(shape: CallbackFailedDetails, location_name: "CallbackFailedDetails"))
1151
1171
  Event.add_member(:callback_timed_out_details, Shapes::ShapeRef.new(shape: CallbackTimedOutDetails, location_name: "CallbackTimedOutDetails"))
1152
1172
  Event.add_member(:invocation_completed_details, Shapes::ShapeRef.new(shape: InvocationCompletedDetails, location_name: "InvocationCompletedDetails"))
1173
+ Event.add_member(:execution_paused_details, Shapes::ShapeRef.new(shape: ExecutionPausedDetails, location_name: "ExecutionPausedDetails"))
1174
+ Event.add_member(:execution_resumed_details, Shapes::ShapeRef.new(shape: ExecutionResumedDetails, location_name: "ExecutionResumedDetails"))
1153
1175
  Event.struct_class = Types::Event
1154
1176
 
1155
1177
  EventError.add_member(:payload, Shapes::ShapeRef.new(shape: ErrorObject, location_name: "Payload"))
@@ -1160,10 +1182,18 @@ module Aws::Lambda
1160
1182
  EventInput.add_member(:truncated, Shapes::ShapeRef.new(shape: Truncated, location_name: "Truncated"))
1161
1183
  EventInput.struct_class = Types::EventInput
1162
1184
 
1185
+ EventPauseReason.add_member(:payload, Shapes::ShapeRef.new(shape: PauseReason, location_name: "Payload"))
1186
+ EventPauseReason.add_member(:truncated, Shapes::ShapeRef.new(shape: Truncated, location_name: "Truncated"))
1187
+ EventPauseReason.struct_class = Types::EventPauseReason
1188
+
1163
1189
  EventResult.add_member(:payload, Shapes::ShapeRef.new(shape: OperationPayload, location_name: "Payload"))
1164
1190
  EventResult.add_member(:truncated, Shapes::ShapeRef.new(shape: Truncated, location_name: "Truncated"))
1165
1191
  EventResult.struct_class = Types::EventResult
1166
1192
 
1193
+ EventResumeReason.add_member(:payload, Shapes::ShapeRef.new(shape: ResumeReason, location_name: "Payload"))
1194
+ EventResumeReason.add_member(:truncated, Shapes::ShapeRef.new(shape: Truncated, location_name: "Truncated"))
1195
+ EventResumeReason.struct_class = Types::EventResumeReason
1196
+
1167
1197
  EventSourceMappingConfiguration.add_member(:uuid, Shapes::ShapeRef.new(shape: UUIDString, location_name: "UUID"))
1168
1198
  EventSourceMappingConfiguration.add_member(:starting_position, Shapes::ShapeRef.new(shape: EventSourcePosition, location_name: "StartingPosition"))
1169
1199
  EventSourceMappingConfiguration.add_member(:starting_position_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "StartingPositionTimestamp"))
@@ -1226,6 +1256,15 @@ module Aws::Lambda
1226
1256
  ExecutionFailedDetails.add_member(:error, Shapes::ShapeRef.new(shape: EventError, required: true, location_name: "Error"))
1227
1257
  ExecutionFailedDetails.struct_class = Types::ExecutionFailedDetails
1228
1258
 
1259
+ ExecutionPausedDetails.add_member(:pause_request_timestamp, Shapes::ShapeRef.new(shape: ExecutionTimestamp, required: true, location_name: "PauseRequestTimestamp"))
1260
+ ExecutionPausedDetails.add_member(:reason, Shapes::ShapeRef.new(shape: EventPauseReason, location_name: "Reason"))
1261
+ ExecutionPausedDetails.add_member(:execution_timeout_paused, Shapes::ShapeRef.new(shape: ExecutionTimeoutPaused, required: true, location_name: "ExecutionTimeoutPaused"))
1262
+ ExecutionPausedDetails.struct_class = Types::ExecutionPausedDetails
1263
+
1264
+ ExecutionResumedDetails.add_member(:resume_request_timestamp, Shapes::ShapeRef.new(shape: ExecutionTimestamp, required: true, location_name: "ResumeRequestTimestamp"))
1265
+ ExecutionResumedDetails.add_member(:reason, Shapes::ShapeRef.new(shape: EventResumeReason, location_name: "Reason"))
1266
+ ExecutionResumedDetails.struct_class = Types::ExecutionResumedDetails
1267
+
1229
1268
  ExecutionStartedDetails.add_member(:input, Shapes::ShapeRef.new(shape: EventInput, required: true, location_name: "Input"))
1230
1269
  ExecutionStartedDetails.add_member(:execution_timeout, Shapes::ShapeRef.new(shape: DurationSeconds, required: true, location_name: "ExecutionTimeout"))
1231
1270
  ExecutionStartedDetails.struct_class = Types::ExecutionStartedDetails
@@ -1420,6 +1459,8 @@ module Aws::Lambda
1420
1459
  GetDurableExecutionResponse.add_member(:trace_header, Shapes::ShapeRef.new(shape: TraceHeader, location_name: "TraceHeader"))
1421
1460
  GetDurableExecutionResponse.add_member(:execution_data_included, Shapes::ShapeRef.new(shape: ExecutionDataIncluded, location_name: "ExecutionDataIncluded"))
1422
1461
  GetDurableExecutionResponse.add_member(:durable_config, Shapes::ShapeRef.new(shape: DurableConfig, location_name: "DurableConfig"))
1462
+ GetDurableExecutionResponse.add_member(:pause_details, Shapes::ShapeRef.new(shape: PauseDetails, location_name: "PauseDetails"))
1463
+ GetDurableExecutionResponse.add_member(:expected_execution_timeout_timestamp, Shapes::ShapeRef.new(shape: ExecutionTimestamp, location_name: "ExpectedExecutionTimeoutTimestamp"))
1423
1464
  GetDurableExecutionResponse.struct_class = Types::GetDurableExecutionResponse
1424
1465
 
1425
1466
  GetDurableExecutionStateRequest.add_member(:durable_execution_arn, Shapes::ShapeRef.new(shape: DurableExecutionArn, required: true, location: "uri", location_name: "DurableExecutionArn"))
@@ -1955,6 +1996,19 @@ module Aws::Lambda
1955
1996
 
1956
1997
  Operations.member = Shapes::ShapeRef.new(shape: Operation)
1957
1998
 
1999
+ PauseDetails.add_member(:pause_request_timestamp, Shapes::ShapeRef.new(shape: ExecutionTimestamp, required: true, location_name: "PauseRequestTimestamp"))
2000
+ PauseDetails.add_member(:reason, Shapes::ShapeRef.new(shape: PauseReason, location_name: "Reason"))
2001
+ PauseDetails.add_member(:execution_timeout_paused, Shapes::ShapeRef.new(shape: ExecutionTimeoutPaused, required: true, location_name: "ExecutionTimeoutPaused"))
2002
+ PauseDetails.struct_class = Types::PauseDetails
2003
+
2004
+ PauseDurableExecutionRequest.add_member(:durable_execution_arn, Shapes::ShapeRef.new(shape: DurableExecutionArn, required: true, location: "uri", location_name: "DurableExecutionArn"))
2005
+ PauseDurableExecutionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
2006
+ PauseDurableExecutionRequest.add_member(:reason, Shapes::ShapeRef.new(shape: PauseReason, location_name: "Reason"))
2007
+ PauseDurableExecutionRequest.add_member(:execution_timeout_paused, Shapes::ShapeRef.new(shape: ExecutionTimeoutPaused, location_name: "ExecutionTimeoutPaused"))
2008
+ PauseDurableExecutionRequest.struct_class = Types::PauseDurableExecutionRequest
2009
+
2010
+ PauseDurableExecutionResponse.struct_class = Types::PauseDurableExecutionResponse
2011
+
1958
2012
  PolicyLengthExceededException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
1959
2013
  PolicyLengthExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1960
2014
  PolicyLengthExceededException.struct_class = Types::PolicyLengthExceededException
@@ -2130,6 +2184,13 @@ module Aws::Lambda
2130
2184
  ResourceNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
2131
2185
  ResourceNotReadyException.struct_class = Types::ResourceNotReadyException
2132
2186
 
2187
+ ResumeDurableExecutionRequest.add_member(:durable_execution_arn, Shapes::ShapeRef.new(shape: DurableExecutionArn, required: true, location: "uri", location_name: "DurableExecutionArn"))
2188
+ ResumeDurableExecutionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
2189
+ ResumeDurableExecutionRequest.add_member(:reason, Shapes::ShapeRef.new(shape: ResumeReason, location_name: "Reason"))
2190
+ ResumeDurableExecutionRequest.struct_class = Types::ResumeDurableExecutionRequest
2191
+
2192
+ ResumeDurableExecutionResponse.struct_class = Types::ResumeDurableExecutionResponse
2193
+
2133
2194
  RetryDetails.add_member(:current_attempt, Shapes::ShapeRef.new(shape: AttemptCount, location_name: "CurrentAttempt"))
2134
2195
  RetryDetails.add_member(:next_attempt_delay_seconds, Shapes::ShapeRef.new(shape: DurationSeconds, location_name: "NextAttemptDelaySeconds"))
2135
2196
  RetryDetails.struct_class = Types::RetryDetails
@@ -2649,6 +2710,19 @@ module Aws::Lambda
2649
2710
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2650
2711
  end)
2651
2712
 
2713
+ api.add_operation(:delete_durable_execution, Seahorse::Model::Operation.new.tap do |o|
2714
+ o.name = "DeleteDurableExecution"
2715
+ o.http_method = "DELETE"
2716
+ o.http_request_uri = "/2025-12-01/durable-executions/{DurableExecutionArn}"
2717
+ o.input = Shapes::ShapeRef.new(shape: DeleteDurableExecutionRequest)
2718
+ o.output = Shapes::ShapeRef.new(shape: DeleteDurableExecutionResponse)
2719
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2720
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2721
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2722
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2723
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2724
+ end)
2725
+
2652
2726
  api.add_operation(:delete_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
2653
2727
  o.name = "DeleteEventSourceMapping"
2654
2728
  o.http_method = "DELETE"
@@ -3465,6 +3539,23 @@ module Aws::Lambda
3465
3539
  )
3466
3540
  end)
3467
3541
 
3542
+ api.add_operation(:pause_durable_execution, Seahorse::Model::Operation.new.tap do |o|
3543
+ o.name = "PauseDurableExecution"
3544
+ o.http_method = "POST"
3545
+ o.http_request_uri = "/2025-12-01/durable-executions/{DurableExecutionArn}/pause"
3546
+ o.input = Shapes::ShapeRef.new(shape: PauseDurableExecutionRequest)
3547
+ o.output = Shapes::ShapeRef.new(shape: PauseDurableExecutionResponse)
3548
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3549
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
3550
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
3551
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3552
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3553
+ o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
3554
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3555
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
3556
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
3557
+ end)
3558
+
3468
3559
  api.add_operation(:publish_layer_version, Seahorse::Model::Operation.new.tap do |o|
3469
3560
  o.name = "PublishLayerVersion"
3470
3561
  o.http_method = "POST"
@@ -3630,6 +3721,23 @@ module Aws::Lambda
3630
3721
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
3631
3722
  end)
3632
3723
 
3724
+ api.add_operation(:resume_durable_execution, Seahorse::Model::Operation.new.tap do |o|
3725
+ o.name = "ResumeDurableExecution"
3726
+ o.http_method = "POST"
3727
+ o.http_request_uri = "/2025-12-01/durable-executions/{DurableExecutionArn}/resume"
3728
+ o.input = Shapes::ShapeRef.new(shape: ResumeDurableExecutionRequest)
3729
+ o.output = Shapes::ShapeRef.new(shape: ResumeDurableExecutionResponse)
3730
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3731
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
3732
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
3733
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3734
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3735
+ o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
3736
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3737
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
3738
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
3739
+ end)
3740
+
3633
3741
  api.add_operation(:send_durable_execution_callback_failure, Seahorse::Model::Operation.new.tap do |o|
3634
3742
  o.name = "SendDurableExecutionCallbackFailure"
3635
3743
  o.http_method = "POST"
@@ -2315,6 +2315,31 @@ module Aws::Lambda
2315
2315
  #
2316
2316
  class DeleteCodeSigningConfigResponse < Aws::EmptyStructure; end
2317
2317
 
2318
+ # @!attribute [rw] durable_execution_arn
2319
+ # The Amazon Resource Name (ARN) of the durable execution.
2320
+ # @return [String]
2321
+ #
2322
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteDurableExecutionRequest AWS API Documentation
2323
+ #
2324
+ class DeleteDurableExecutionRequest < Struct.new(
2325
+ :durable_execution_arn)
2326
+ SENSITIVE = []
2327
+ include Aws::Structure
2328
+ end
2329
+
2330
+ # @!attribute [rw] deletion_request_timestamp
2331
+ # The timestamp when Lambda accepted the deletion request (ISO 8601
2332
+ # format).
2333
+ # @return [Time]
2334
+ #
2335
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteDurableExecutionResponse AWS API Documentation
2336
+ #
2337
+ class DeleteDurableExecutionResponse < Struct.new(
2338
+ :deletion_request_timestamp)
2339
+ SENSITIVE = []
2340
+ include Aws::Structure
2341
+ end
2342
+
2318
2343
  # @!attribute [rw] uuid
2319
2344
  # The identifier of the event source mapping.
2320
2345
  # @return [String]
@@ -3094,6 +3119,14 @@ module Aws::Lambda
3094
3119
  # Details about a function invocation that completed.
3095
3120
  # @return [Types::InvocationCompletedDetails]
3096
3121
  #
3122
+ # @!attribute [rw] execution_paused_details
3123
+ # The details of an `ExecutionPaused` event.
3124
+ # @return [Types::ExecutionPausedDetails]
3125
+ #
3126
+ # @!attribute [rw] execution_resumed_details
3127
+ # The details of an `ExecutionResumed` event.
3128
+ # @return [Types::ExecutionResumedDetails]
3129
+ #
3097
3130
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Event AWS API Documentation
3098
3131
  #
3099
3132
  class Event < Struct.new(
@@ -3127,7 +3160,9 @@ module Aws::Lambda
3127
3160
  :callback_succeeded_details,
3128
3161
  :callback_failed_details,
3129
3162
  :callback_timed_out_details,
3130
- :invocation_completed_details)
3163
+ :invocation_completed_details,
3164
+ :execution_paused_details,
3165
+ :execution_resumed_details)
3131
3166
  SENSITIVE = []
3132
3167
  include Aws::Structure
3133
3168
  end
@@ -3170,6 +3205,29 @@ module Aws::Lambda
3170
3205
  include Aws::Structure
3171
3206
  end
3172
3207
 
3208
+ # The reason for pausing a durable execution, as recorded in the
3209
+ # execution history.
3210
+ #
3211
+ # @!attribute [rw] payload
3212
+ # The reason that you provided when you paused the execution. This
3213
+ # field is only present if you set `IncludeExecutionData` to `true` in
3214
+ # the request.
3215
+ # @return [String]
3216
+ #
3217
+ # @!attribute [rw] truncated
3218
+ # Specifies whether Lambda omitted the reason from the response
3219
+ # because `IncludeExecutionData` is `false`.
3220
+ # @return [Boolean]
3221
+ #
3222
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventPauseReason AWS API Documentation
3223
+ #
3224
+ class EventPauseReason < Struct.new(
3225
+ :payload,
3226
+ :truncated)
3227
+ SENSITIVE = [:payload]
3228
+ include Aws::Structure
3229
+ end
3230
+
3173
3231
  # Result information for an event.
3174
3232
  #
3175
3233
  # @!attribute [rw] payload
@@ -3189,6 +3247,29 @@ module Aws::Lambda
3189
3247
  include Aws::Structure
3190
3248
  end
3191
3249
 
3250
+ # The reason for resuming a durable execution, as recorded in the
3251
+ # execution history.
3252
+ #
3253
+ # @!attribute [rw] payload
3254
+ # The reason that you provided when you resumed the execution. This
3255
+ # field is only present if you set `IncludeExecutionData` to `true` in
3256
+ # the request.
3257
+ # @return [String]
3258
+ #
3259
+ # @!attribute [rw] truncated
3260
+ # Specifies whether Lambda omitted the reason from the response
3261
+ # because `IncludeExecutionData` is `false`.
3262
+ # @return [Boolean]
3263
+ #
3264
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventResumeReason AWS API Documentation
3265
+ #
3266
+ class EventResumeReason < Struct.new(
3267
+ :payload,
3268
+ :truncated)
3269
+ SENSITIVE = [:payload]
3270
+ include Aws::Structure
3271
+ end
3272
+
3192
3273
  # A mapping between an Amazon Web Services resource and a Lambda
3193
3274
  # function. For details, see CreateEventSourceMapping.
3194
3275
  #
@@ -3622,6 +3703,69 @@ module Aws::Lambda
3622
3703
  include Aws::Structure
3623
3704
  end
3624
3705
 
3706
+ # Details about a [durable execution][1] that paused. The event
3707
+ # timestamp is when the execution paused.
3708
+ #
3709
+ #
3710
+ #
3711
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
3712
+ #
3713
+ # @!attribute [rw] pause_request_timestamp
3714
+ # The date and time when you requested the pause, in [ISO-8601
3715
+ # format][1] (YYYY-MM-DDThh:mm:ss.sTZD).
3716
+ #
3717
+ #
3718
+ #
3719
+ # [1]: https://www.w3.org/TR/NOTE-datetime
3720
+ # @return [Time]
3721
+ #
3722
+ # @!attribute [rw] reason
3723
+ # The reason that you provided when you paused the execution.
3724
+ # @return [Types::EventPauseReason]
3725
+ #
3726
+ # @!attribute [rw] execution_timeout_paused
3727
+ # Specifies whether the pause also paused the execution timeout.
3728
+ # @return [Boolean]
3729
+ #
3730
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ExecutionPausedDetails AWS API Documentation
3731
+ #
3732
+ class ExecutionPausedDetails < Struct.new(
3733
+ :pause_request_timestamp,
3734
+ :reason,
3735
+ :execution_timeout_paused)
3736
+ SENSITIVE = []
3737
+ include Aws::Structure
3738
+ end
3739
+
3740
+ # Details about a [durable execution][1] that resumed. The event
3741
+ # timestamp is when the execution resumed.
3742
+ #
3743
+ #
3744
+ #
3745
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
3746
+ #
3747
+ # @!attribute [rw] resume_request_timestamp
3748
+ # The date and time when you requested the resume, in [ISO-8601
3749
+ # format][1] (YYYY-MM-DDThh:mm:ss.sTZD).
3750
+ #
3751
+ #
3752
+ #
3753
+ # [1]: https://www.w3.org/TR/NOTE-datetime
3754
+ # @return [Time]
3755
+ #
3756
+ # @!attribute [rw] reason
3757
+ # The reason that you provided when you resumed the execution.
3758
+ # @return [Types::EventResumeReason]
3759
+ #
3760
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ExecutionResumedDetails AWS API Documentation
3761
+ #
3762
+ class ExecutionResumedDetails < Struct.new(
3763
+ :resume_request_timestamp,
3764
+ :reason)
3765
+ SENSITIVE = []
3766
+ include Aws::Structure
3767
+ end
3768
+
3625
3769
  # Details about a durable execution that started.
3626
3770
  #
3627
3771
  # @!attribute [rw] input
@@ -4692,8 +4836,28 @@ module Aws::Lambda
4692
4836
  # @return [Time]
4693
4837
  #
4694
4838
  # @!attribute [rw] status
4695
- # The current status of the durable execution. Valid values are
4696
- # `RUNNING`, `SUCCEEDED`, `FAILED`, `TIMED_OUT`, and `STOPPED`.
4839
+ # The durable execution has one of the following statuses:
4840
+ #
4841
+ # * `RUNNING` – The execution is running or waiting for pending
4842
+ # operations to complete.
4843
+ #
4844
+ # * `PAUSING` – The execution is waiting for an in-progress invocation
4845
+ # to reach its next checkpoint before it pauses.
4846
+ #
4847
+ # * `PAUSED` – The execution is paused, and Lambda doesn't invoke
4848
+ # your function.
4849
+ #
4850
+ # * `SUCCEEDED` – The execution completed successfully.
4851
+ #
4852
+ # * `FAILED` – The execution completed with an error.
4853
+ #
4854
+ # * `TIMED_OUT` – The execution exceeded its execution timeout.
4855
+ #
4856
+ # * `STOPPED` – A `StopDurableExecution` request stopped the
4857
+ # execution.
4858
+ #
4859
+ # * `DELETING` – A `DeleteDurableExecution` request is deleting the
4860
+ # execution and its data.
4697
4861
  # @return [String]
4698
4862
  #
4699
4863
  # @!attribute [rw] end_timestamp
@@ -4727,6 +4891,20 @@ module Aws::Lambda
4727
4891
  # including input, output, and error payloads.
4728
4892
  # @return [Types::DurableConfig]
4729
4893
  #
4894
+ # @!attribute [rw] pause_details
4895
+ # The details of the pause, including when you requested it and
4896
+ # whether it pauses the execution timeout. This field is only present
4897
+ # when the execution status is `PAUSING` or `PAUSED`.
4898
+ # @return [Types::PauseDetails]
4899
+ #
4900
+ # @!attribute [rw] expected_execution_timeout_timestamp
4901
+ # The date and time when the durable execution will time out, in Unix
4902
+ # timestamp format. This value includes any extension from time the
4903
+ # execution spent paused. While the execution is paused with its
4904
+ # execution timeout paused, this value is 366 days after the start
4905
+ # time. This field isn't present for completed executions.
4906
+ # @return [Time]
4907
+ #
4730
4908
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecutionResponse AWS API Documentation
4731
4909
  #
4732
4910
  class GetDurableExecutionResponse < Struct.new(
@@ -4742,7 +4920,9 @@ module Aws::Lambda
4742
4920
  :version,
4743
4921
  :trace_header,
4744
4922
  :execution_data_included,
4745
- :durable_config)
4923
+ :durable_config,
4924
+ :pause_details,
4925
+ :expected_execution_timeout_timestamp)
4746
4926
  SENSITIVE = [:input_payload, :result]
4747
4927
  include Aws::Structure
4748
4928
  end
@@ -6745,8 +6925,29 @@ module Aws::Lambda
6745
6925
  # @return [String]
6746
6926
  #
6747
6927
  # @!attribute [rw] statuses
6748
- # Filter executions by status. Valid values: RUNNING, SUCCEEDED,
6749
- # FAILED, TIMED\_OUT, STOPPED.
6928
+ # Filters the executions by status. Specify one of the following
6929
+ # values:
6930
+ #
6931
+ # * `RUNNING` – The execution is running or waiting for pending
6932
+ # operations to complete.
6933
+ #
6934
+ # * `PAUSING` – The execution is waiting for an in-progress invocation
6935
+ # to reach its next checkpoint before it pauses.
6936
+ #
6937
+ # * `PAUSED` – The execution is paused, and Lambda doesn't invoke
6938
+ # your function.
6939
+ #
6940
+ # * `SUCCEEDED` – The execution completed successfully.
6941
+ #
6942
+ # * `FAILED` – The execution completed with an error.
6943
+ #
6944
+ # * `TIMED_OUT` – The execution exceeded its execution timeout.
6945
+ #
6946
+ # * `STOPPED` – A `StopDurableExecution` request stopped the
6947
+ # execution.
6948
+ #
6949
+ # * `DELETING` – A `DeleteDurableExecution` request is deleting the
6950
+ # execution and its data.
6750
6951
  # @return [Array<String>]
6751
6952
  #
6752
6953
  # @!attribute [rw] started_after
@@ -7740,6 +7941,84 @@ module Aws::Lambda
7740
7941
  include Aws::Structure
7741
7942
  end
7742
7943
 
7944
+ # Details about a [durable execution][1] that is pausing or paused.
7945
+ #
7946
+ #
7947
+ #
7948
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
7949
+ #
7950
+ # @!attribute [rw] pause_request_timestamp
7951
+ # The date and time when you requested the pause, in [ISO-8601
7952
+ # format][1] (YYYY-MM-DDThh:mm:ss.sTZD).
7953
+ #
7954
+ #
7955
+ #
7956
+ # [1]: https://www.w3.org/TR/NOTE-datetime
7957
+ # @return [Time]
7958
+ #
7959
+ # @!attribute [rw] reason
7960
+ # The reason that you provided when you paused the execution. This
7961
+ # field is only present if you set `IncludeExecutionData` to `true` in
7962
+ # the request.
7963
+ # @return [String]
7964
+ #
7965
+ # @!attribute [rw] execution_timeout_paused
7966
+ # Specifies whether the pause also pauses the execution timeout.
7967
+ # @return [Boolean]
7968
+ #
7969
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PauseDetails AWS API Documentation
7970
+ #
7971
+ class PauseDetails < Struct.new(
7972
+ :pause_request_timestamp,
7973
+ :reason,
7974
+ :execution_timeout_paused)
7975
+ SENSITIVE = [:reason]
7976
+ include Aws::Structure
7977
+ end
7978
+
7979
+ # @!attribute [rw] durable_execution_arn
7980
+ # The Amazon Resource Name (ARN) of the durable execution.
7981
+ # @return [String]
7982
+ #
7983
+ # @!attribute [rw] client_token
7984
+ # A unique, case-sensitive identifier that you provide so that the
7985
+ # request completes no more than one time. If you repeat a request
7986
+ # with the same client token and parameters within 15 minutes, Lambda
7987
+ # doesn't pause the execution again and returns a successful response
7988
+ # instead of an error.
7989
+ #
7990
+ # **A suitable default value is auto-generated.** You should normally
7991
+ # not need to pass this option.
7992
+ # @return [String]
7993
+ #
7994
+ # @!attribute [rw] reason
7995
+ # A description of why you're pausing the execution. Lambda records
7996
+ # the reason in the execution history.
7997
+ # @return [String]
7998
+ #
7999
+ # @!attribute [rw] execution_timeout_paused
8000
+ # Specifies whether to pause the execution timeout while the execution
8001
+ # is paused. If `true`, Lambda extends the execution timeout by the
8002
+ # time the execution spends paused. An execution with a paused timeout
8003
+ # still times out 366 days after it started. The default value is
8004
+ # `true`.
8005
+ # @return [Boolean]
8006
+ #
8007
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PauseDurableExecutionRequest AWS API Documentation
8008
+ #
8009
+ class PauseDurableExecutionRequest < Struct.new(
8010
+ :durable_execution_arn,
8011
+ :client_token,
8012
+ :reason,
8013
+ :execution_timeout_paused)
8014
+ SENSITIVE = [:reason]
8015
+ include Aws::Structure
8016
+ end
8017
+
8018
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PauseDurableExecutionResponse AWS API Documentation
8019
+ #
8020
+ class PauseDurableExecutionResponse < Aws::EmptyStructure; end
8021
+
7743
8022
  # The permissions policy for the resource is too large. For more
7744
8023
  # information, see [Lambda quotas][1].
7745
8024
  #
@@ -8846,6 +9125,40 @@ module Aws::Lambda
8846
9125
  include Aws::Structure
8847
9126
  end
8848
9127
 
9128
+ # @!attribute [rw] durable_execution_arn
9129
+ # The Amazon Resource Name (ARN) of the durable execution.
9130
+ # @return [String]
9131
+ #
9132
+ # @!attribute [rw] client_token
9133
+ # A unique, case-sensitive identifier that you provide so that the
9134
+ # request completes no more than one time. If you repeat a request
9135
+ # with the same client token and parameters within 15 minutes, Lambda
9136
+ # doesn't resume the execution again and returns a successful
9137
+ # response instead of an error.
9138
+ #
9139
+ # **A suitable default value is auto-generated.** You should normally
9140
+ # not need to pass this option.
9141
+ # @return [String]
9142
+ #
9143
+ # @!attribute [rw] reason
9144
+ # A description of why you're resuming the execution. Lambda records
9145
+ # the reason in the execution history.
9146
+ # @return [String]
9147
+ #
9148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ResumeDurableExecutionRequest AWS API Documentation
9149
+ #
9150
+ class ResumeDurableExecutionRequest < Struct.new(
9151
+ :durable_execution_arn,
9152
+ :client_token,
9153
+ :reason)
9154
+ SENSITIVE = [:reason]
9155
+ include Aws::Structure
9156
+ end
9157
+
9158
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ResumeDurableExecutionResponse AWS API Documentation
9159
+ #
9160
+ class ResumeDurableExecutionResponse < Aws::EmptyStructure; end
9161
+
8849
9162
  # Information about retry attempts for an operation.
8850
9163
  #
8851
9164
  # @!attribute [rw] current_attempt
@@ -10855,7 +11168,7 @@ module Aws::Lambda
10855
11168
  include Aws::Structure
10856
11169
  end
10857
11170
 
10858
- # Specifies how long to pause the durable execution.
11171
+ # Specifies how long the durable execution waits.
10859
11172
  #
10860
11173
  # @!attribute [rw] wait_seconds
10861
11174
  # The duration to wait, in seconds.
@@ -56,7 +56,7 @@ module Aws::Lambda
56
56
  autoload :Endpoints, 'aws-sdk-lambda/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-lambda/event_streams'
58
58
 
59
- GEM_VERSION = '1.213.0'
59
+ GEM_VERSION = '1.214.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -518,6 +518,16 @@ module Aws
518
518
  ) -> _DeleteCodeSigningConfigResponseSuccess
519
519
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCodeSigningConfigResponseSuccess
520
520
 
521
+ interface _DeleteDurableExecutionResponseSuccess
522
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDurableExecutionResponse]
523
+ def deletion_request_timestamp: () -> ::Time
524
+ end
525
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#delete_durable_execution-instance_method
526
+ def delete_durable_execution: (
527
+ durable_execution_arn: ::String
528
+ ) -> _DeleteDurableExecutionResponseSuccess
529
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDurableExecutionResponseSuccess
530
+
521
531
  interface _DeleteEventSourceMappingResponseSuccess
522
532
  include ::Seahorse::Client::_ResponseSuccess[Types::EventSourceMappingConfiguration]
523
533
  def uuid: () -> ::String
@@ -672,12 +682,14 @@ module Aws
672
682
  def input_payload: () -> ::String
673
683
  def result: () -> ::String
674
684
  def start_timestamp: () -> ::Time
675
- def status: () -> ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "STOPPED")
685
+ def status: () -> ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "STOPPED" | "DELETING" | "PAUSING" | "PAUSED")
676
686
  def end_timestamp: () -> ::Time
677
687
  def version: () -> ::String
678
688
  def trace_header: () -> Types::TraceHeader
679
689
  def execution_data_included: () -> bool
680
690
  def durable_config: () -> Types::DurableConfig
691
+ def pause_details: () -> Types::PauseDetails
692
+ def expected_execution_timeout_timestamp: () -> ::Time
681
693
  end
682
694
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_durable_execution-instance_method
683
695
  def get_durable_execution: (
@@ -1102,7 +1114,7 @@ module Aws
1102
1114
  function_name: ::String,
1103
1115
  ?qualifier: ::String,
1104
1116
  ?durable_execution_name: ::String,
1105
- ?statuses: Array[("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "STOPPED")],
1117
+ ?statuses: Array[("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "STOPPED" | "DELETING" | "PAUSING" | "PAUSED")],
1106
1118
  ?started_after: ::Time,
1107
1119
  ?started_before: ::Time,
1108
1120
  ?reverse_order: bool,
@@ -1257,6 +1269,18 @@ module Aws
1257
1269
  ) -> _ListVersionsByFunctionResponseSuccess
1258
1270
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVersionsByFunctionResponseSuccess
1259
1271
 
1272
+ interface _PauseDurableExecutionResponseSuccess
1273
+ include ::Seahorse::Client::_ResponseSuccess[Types::PauseDurableExecutionResponse]
1274
+ end
1275
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#pause_durable_execution-instance_method
1276
+ def pause_durable_execution: (
1277
+ durable_execution_arn: ::String,
1278
+ ?client_token: ::String,
1279
+ ?reason: ::String,
1280
+ ?execution_timeout_paused: bool
1281
+ ) -> _PauseDurableExecutionResponseSuccess
1282
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PauseDurableExecutionResponseSuccess
1283
+
1260
1284
  interface _PublishLayerVersionResponseSuccess
1261
1285
  include ::Seahorse::Client::_ResponseSuccess[Types::PublishLayerVersionResponse]
1262
1286
  def content: () -> Types::LayerVersionContentOutput
@@ -1471,6 +1495,17 @@ module Aws
1471
1495
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1472
1496
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1473
1497
 
1498
+ interface _ResumeDurableExecutionResponseSuccess
1499
+ include ::Seahorse::Client::_ResponseSuccess[Types::ResumeDurableExecutionResponse]
1500
+ end
1501
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#resume_durable_execution-instance_method
1502
+ def resume_durable_execution: (
1503
+ durable_execution_arn: ::String,
1504
+ ?client_token: ::String,
1505
+ ?reason: ::String
1506
+ ) -> _ResumeDurableExecutionResponseSuccess
1507
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResumeDurableExecutionResponseSuccess
1508
+
1474
1509
  interface _SendDurableExecutionCallbackFailureResponseSuccess
1475
1510
  include ::Seahorse::Client::_ResponseSuccess[Types::SendDurableExecutionCallbackFailureResponse]
1476
1511
  end
data/sig/types.rbs CHANGED
@@ -500,6 +500,16 @@ module Aws::Lambda
500
500
  class DeleteCodeSigningConfigResponse < Aws::EmptyStructure
501
501
  end
502
502
 
503
+ class DeleteDurableExecutionRequest
504
+ attr_accessor durable_execution_arn: ::String
505
+ SENSITIVE: []
506
+ end
507
+
508
+ class DeleteDurableExecutionResponse
509
+ attr_accessor deletion_request_timestamp: ::Time
510
+ SENSITIVE: []
511
+ end
512
+
503
513
  class DeleteEventSourceMappingRequest
504
514
  attr_accessor uuid: ::String
505
515
  SENSITIVE: []
@@ -668,7 +678,7 @@ module Aws::Lambda
668
678
  end
669
679
 
670
680
  class Event
671
- attr_accessor event_type: ("ExecutionStarted" | "ExecutionSucceeded" | "ExecutionFailed" | "ExecutionTimedOut" | "ExecutionStopped" | "ContextStarted" | "ContextSucceeded" | "ContextFailed" | "WaitStarted" | "WaitSucceeded" | "WaitCancelled" | "StepStarted" | "StepSucceeded" | "StepFailed" | "ChainedInvokeStarted" | "ChainedInvokeSucceeded" | "ChainedInvokeFailed" | "ChainedInvokeTimedOut" | "ChainedInvokeStopped" | "CallbackStarted" | "CallbackSucceeded" | "CallbackFailed" | "CallbackTimedOut" | "InvocationCompleted")
681
+ attr_accessor event_type: ("ExecutionStarted" | "ExecutionSucceeded" | "ExecutionFailed" | "ExecutionTimedOut" | "ExecutionStopped" | "ContextStarted" | "ContextSucceeded" | "ContextFailed" | "WaitStarted" | "WaitSucceeded" | "WaitCancelled" | "StepStarted" | "StepSucceeded" | "StepFailed" | "ChainedInvokeStarted" | "ChainedInvokeSucceeded" | "ChainedInvokeFailed" | "ChainedInvokeTimedOut" | "ChainedInvokeStopped" | "CallbackStarted" | "CallbackSucceeded" | "CallbackFailed" | "CallbackTimedOut" | "InvocationCompleted" | "ExecutionPaused" | "ExecutionResumed")
672
682
  attr_accessor sub_type: ::String
673
683
  attr_accessor event_id: ::Integer
674
684
  attr_accessor id: ::String
@@ -699,6 +709,8 @@ module Aws::Lambda
699
709
  attr_accessor callback_failed_details: Types::CallbackFailedDetails
700
710
  attr_accessor callback_timed_out_details: Types::CallbackTimedOutDetails
701
711
  attr_accessor invocation_completed_details: Types::InvocationCompletedDetails
712
+ attr_accessor execution_paused_details: Types::ExecutionPausedDetails
713
+ attr_accessor execution_resumed_details: Types::ExecutionResumedDetails
702
714
  SENSITIVE: []
703
715
  end
704
716
 
@@ -714,12 +726,24 @@ module Aws::Lambda
714
726
  SENSITIVE: [:payload]
715
727
  end
716
728
 
729
+ class EventPauseReason
730
+ attr_accessor payload: ::String
731
+ attr_accessor truncated: bool
732
+ SENSITIVE: [:payload]
733
+ end
734
+
717
735
  class EventResult
718
736
  attr_accessor payload: ::String
719
737
  attr_accessor truncated: bool
720
738
  SENSITIVE: [:payload]
721
739
  end
722
740
 
741
+ class EventResumeReason
742
+ attr_accessor payload: ::String
743
+ attr_accessor truncated: bool
744
+ SENSITIVE: [:payload]
745
+ end
746
+
723
747
  class EventSourceMappingConfiguration
724
748
  attr_accessor uuid: ::String
725
749
  attr_accessor starting_position: ("TRIM_HORIZON" | "LATEST" | "AT_TIMESTAMP")
@@ -771,7 +795,7 @@ module Aws::Lambda
771
795
  attr_accessor durable_execution_arn: ::String
772
796
  attr_accessor durable_execution_name: ::String
773
797
  attr_accessor function_arn: ::String
774
- attr_accessor status: ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "STOPPED")
798
+ attr_accessor status: ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "STOPPED" | "DELETING" | "PAUSING" | "PAUSED")
775
799
  attr_accessor start_timestamp: ::Time
776
800
  attr_accessor end_timestamp: ::Time
777
801
  attr_accessor kms_key_arn: ::String
@@ -788,6 +812,19 @@ module Aws::Lambda
788
812
  SENSITIVE: []
789
813
  end
790
814
 
815
+ class ExecutionPausedDetails
816
+ attr_accessor pause_request_timestamp: ::Time
817
+ attr_accessor reason: Types::EventPauseReason
818
+ attr_accessor execution_timeout_paused: bool
819
+ SENSITIVE: []
820
+ end
821
+
822
+ class ExecutionResumedDetails
823
+ attr_accessor resume_request_timestamp: ::Time
824
+ attr_accessor reason: Types::EventResumeReason
825
+ SENSITIVE: []
826
+ end
827
+
791
828
  class ExecutionStartedDetails
792
829
  attr_accessor input: Types::EventInput
793
830
  attr_accessor execution_timeout: ::Integer
@@ -1014,12 +1051,14 @@ module Aws::Lambda
1014
1051
  attr_accessor result: ::String
1015
1052
  attr_accessor error: Types::ErrorObject
1016
1053
  attr_accessor start_timestamp: ::Time
1017
- attr_accessor status: ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "STOPPED")
1054
+ attr_accessor status: ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "STOPPED" | "DELETING" | "PAUSING" | "PAUSED")
1018
1055
  attr_accessor end_timestamp: ::Time
1019
1056
  attr_accessor version: ::String
1020
1057
  attr_accessor trace_header: Types::TraceHeader
1021
1058
  attr_accessor execution_data_included: bool
1022
1059
  attr_accessor durable_config: Types::DurableConfig
1060
+ attr_accessor pause_details: Types::PauseDetails
1061
+ attr_accessor expected_execution_timeout_timestamp: ::Time
1023
1062
  SENSITIVE: [:input_payload, :result]
1024
1063
  end
1025
1064
 
@@ -1498,7 +1537,7 @@ module Aws::Lambda
1498
1537
  attr_accessor function_name: ::String
1499
1538
  attr_accessor qualifier: ::String
1500
1539
  attr_accessor durable_execution_name: ::String
1501
- attr_accessor statuses: ::Array[("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "STOPPED")]
1540
+ attr_accessor statuses: ::Array[("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "STOPPED" | "DELETING" | "PAUSING" | "PAUSED")]
1502
1541
  attr_accessor started_after: ::Time
1503
1542
  attr_accessor started_before: ::Time
1504
1543
  attr_accessor reverse_order: bool
@@ -1724,6 +1763,24 @@ module Aws::Lambda
1724
1763
  SENSITIVE: [:payload]
1725
1764
  end
1726
1765
 
1766
+ class PauseDetails
1767
+ attr_accessor pause_request_timestamp: ::Time
1768
+ attr_accessor reason: ::String
1769
+ attr_accessor execution_timeout_paused: bool
1770
+ SENSITIVE: [:reason]
1771
+ end
1772
+
1773
+ class PauseDurableExecutionRequest
1774
+ attr_accessor durable_execution_arn: ::String
1775
+ attr_accessor client_token: ::String
1776
+ attr_accessor reason: ::String
1777
+ attr_accessor execution_timeout_paused: bool
1778
+ SENSITIVE: [:reason]
1779
+ end
1780
+
1781
+ class PauseDurableExecutionResponse < Aws::EmptyStructure
1782
+ end
1783
+
1727
1784
  class PolicyLengthExceededException
1728
1785
  attr_accessor type: ::String
1729
1786
  attr_accessor message: ::String
@@ -1958,6 +2015,16 @@ module Aws::Lambda
1958
2015
  SENSITIVE: []
1959
2016
  end
1960
2017
 
2018
+ class ResumeDurableExecutionRequest
2019
+ attr_accessor durable_execution_arn: ::String
2020
+ attr_accessor client_token: ::String
2021
+ attr_accessor reason: ::String
2022
+ SENSITIVE: [:reason]
2023
+ end
2024
+
2025
+ class ResumeDurableExecutionResponse < Aws::EmptyStructure
2026
+ end
2027
+
1961
2028
  class RetryDetails
1962
2029
  attr_accessor current_attempt: ::Integer
1963
2030
  attr_accessor next_attempt_delay_seconds: ::Integer
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lambda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.213.0
4
+ version: 1.214.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services