aws-sdk-lambda 1.186.0 → 1.187.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: 6334932cf377cdaaba7067c4cb799967bc56e0136ae00f76ef2d42925923a82b
4
- data.tar.gz: cd7a75ea9e711e17c7127c38b6fe5df3c60dfddca2bc818aebafb957d1dbe5ab
3
+ metadata.gz: 956707c6a55a483cc8903a56cbd31f57ab355a3fce85a17007e74b040bfba03e
4
+ data.tar.gz: 3b06a8d0b965e2bcb31522d4f8606c0b9b3d3e491e5aeab56557094ae826f609
5
5
  SHA512:
6
- metadata.gz: d4b5ff07f1117f9475ce7ab5af8e5a84cb8f279dc8ff304887b4ef885b574970f30b89d414f42cfa85cda2e9f9e9d7e848f3c3bf1e7fe8449f7e901579aee9d5
7
- data.tar.gz: fd5abaf2ec807de7310e8327530a4290c824a9c33779f0b0f6cdb04d62e3eccd477b4c5b02599a150d4ce50bbc38421765f4820771e77e1d73e546ff60159730
6
+ metadata.gz: ef240964072dd6976316736349225e9af7a83347c038dbc55c087dd7e07debe32dbb1bc6f05d88216bef4a1d495c9e48c2b9ae69a1838b0718b773360265b841
7
+ data.tar.gz: c1b1e2d73c5498d703b432f11762f1a76d410d6f99e9b054fdfc4185e17585ca4c70b353aa6115d07393b7c8187aadd708d73eb555060516de48fe8b0958591c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.187.0 (2026-07-07)
5
+ ------------------
6
+
7
+ * Feature - AWS Lambda Durable Functions now supports customer managed KMS keys. This allows customers to configure a KMS key in Durable Config to have all their durable execution data encrypted.
8
+
4
9
  1.186.0 (2026-06-29)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.186.0
1
+ 1.187.0
@@ -2181,6 +2181,7 @@ module Aws::Lambda
2181
2181
  # },
2182
2182
  # },
2183
2183
  # durable_config: {
2184
+ # kms_key_arn: "KMSKeyArn",
2184
2185
  # retention_period_in_days: 1,
2185
2186
  # execution_timeout: 1,
2186
2187
  # },
@@ -2256,6 +2257,7 @@ module Aws::Lambda
2256
2257
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
2257
2258
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
2258
2259
  # resp.config_sha_256 #=> String
2260
+ # resp.durable_config.kms_key_arn #=> String
2259
2261
  # resp.durable_config.retention_period_in_days #=> Integer
2260
2262
  # resp.durable_config.execution_timeout #=> Integer
2261
2263
  #
@@ -3212,6 +3214,12 @@ module Aws::Lambda
3212
3214
  # @option params [required, String] :durable_execution_arn
3213
3215
  # The Amazon Resource Name (ARN) of the durable execution.
3214
3216
  #
3217
+ # @option params [Boolean] :include_execution_data
3218
+ # Specifies whether to include execution data such as input payload,
3219
+ # result, and error information in the response. Set to `false` for a
3220
+ # more compact response that includes only execution metadata. The
3221
+ # default value is set to `true`.
3222
+ #
3215
3223
  # @return [Types::GetDurableExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3216
3224
  #
3217
3225
  # * {Types::GetDurableExecutionResponse#durable_execution_arn #durable_execution_arn} => String
@@ -3225,11 +3233,14 @@ module Aws::Lambda
3225
3233
  # * {Types::GetDurableExecutionResponse#end_timestamp #end_timestamp} => Time
3226
3234
  # * {Types::GetDurableExecutionResponse#version #version} => String
3227
3235
  # * {Types::GetDurableExecutionResponse#trace_header #trace_header} => Types::TraceHeader
3236
+ # * {Types::GetDurableExecutionResponse#execution_data_included #execution_data_included} => Boolean
3237
+ # * {Types::GetDurableExecutionResponse#durable_config #durable_config} => Types::DurableConfig
3228
3238
  #
3229
3239
  # @example Request syntax with placeholder values
3230
3240
  #
3231
3241
  # resp = client.get_durable_execution({
3232
3242
  # durable_execution_arn: "DurableExecutionArn", # required
3243
+ # include_execution_data: false,
3233
3244
  # })
3234
3245
  #
3235
3246
  # @example Response structure
@@ -3249,6 +3260,10 @@ module Aws::Lambda
3249
3260
  # resp.end_timestamp #=> Time
3250
3261
  # resp.version #=> String
3251
3262
  # resp.trace_header.x_amzn_trace_id #=> String
3263
+ # resp.execution_data_included #=> Boolean
3264
+ # resp.durable_config.kms_key_arn #=> String
3265
+ # resp.durable_config.retention_period_in_days #=> Integer
3266
+ # resp.durable_config.execution_timeout #=> Integer
3252
3267
  #
3253
3268
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecution AWS API Documentation
3254
3269
  #
@@ -3851,6 +3866,7 @@ module Aws::Lambda
3851
3866
  # resp.configuration.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
3852
3867
  # resp.configuration.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
3853
3868
  # resp.configuration.config_sha_256 #=> String
3869
+ # resp.configuration.durable_config.kms_key_arn #=> String
3854
3870
  # resp.configuration.durable_config.retention_period_in_days #=> Integer
3855
3871
  # resp.configuration.durable_config.execution_timeout #=> Integer
3856
3872
  # resp.code.repository_type #=> String
@@ -4174,6 +4190,7 @@ module Aws::Lambda
4174
4190
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
4175
4191
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
4176
4192
  # resp.config_sha_256 #=> String
4193
+ # resp.durable_config.kms_key_arn #=> String
4177
4194
  # resp.durable_config.retention_period_in_days #=> Integer
4178
4195
  # resp.durable_config.execution_timeout #=> Integer
4179
4196
  #
@@ -4729,9 +4746,9 @@ module Aws::Lambda
4729
4746
  # * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
4730
4747
  #
4731
4748
  #
4732
- # @example Example: To get a provisioned concurrency configuration
4749
+ # @example Example: To view a provisioned concurrency configuration
4733
4750
  #
4734
- # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
4751
+ # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
4735
4752
  # # function.
4736
4753
  #
4737
4754
  # resp = client.get_provisioned_concurrency_config({
@@ -4748,9 +4765,9 @@ module Aws::Lambda
4748
4765
  # status: "READY",
4749
4766
  # }
4750
4767
  #
4751
- # @example Example: To view a provisioned concurrency configuration
4768
+ # @example Example: To get a provisioned concurrency configuration
4752
4769
  #
4753
- # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
4770
+ # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
4754
4771
  # # function.
4755
4772
  #
4756
4773
  # resp = client.get_provisioned_concurrency_config({
@@ -4953,9 +4970,18 @@ module Aws::Lambda
4953
4970
  # only.
4954
4971
  #
4955
4972
  # @option params [String] :durable_execution_name
4956
- # Optional unique name for the durable execution. When you start your
4957
- # special function, you can give it a unique name to identify this
4958
- # specific execution. It's like giving a nickname to a task.
4973
+ # A unique name for the durable execution. If you invoke a durable
4974
+ # function using a name that already exists with the same payload,
4975
+ # Lambda returns the existing execution instead of creating a duplicate.
4976
+ # If the payload differs, Lambda returns a
4977
+ # `DurableExecutionAlreadyStartedException` error.
4978
+ #
4979
+ # If not specified, Lambda generates a unique identifier automatically.
4980
+ # For more information, see [Execution names][1].
4981
+ #
4982
+ #
4983
+ #
4984
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-execution-idempotency.html#durable-idempotency-execution-names
4959
4985
  #
4960
4986
  # @option params [String, StringIO, File] :payload
4961
4987
  # The JSON that you want to provide to your Lambda function as input.
@@ -5637,6 +5663,7 @@ module Aws::Lambda
5637
5663
  # resp.durable_executions[0].status #=> String, one of "RUNNING", "SUCCEEDED", "FAILED", "TIMED_OUT", "STOPPED"
5638
5664
  # resp.durable_executions[0].start_timestamp #=> Time
5639
5665
  # resp.durable_executions[0].end_timestamp #=> Time
5666
+ # resp.durable_executions[0].kms_key_arn #=> String
5640
5667
  # resp.next_marker #=> String
5641
5668
  #
5642
5669
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListDurableExecutionsByFunction AWS API Documentation
@@ -6206,6 +6233,7 @@ module Aws::Lambda
6206
6233
  # resp.functions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
6207
6234
  # resp.functions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
6208
6235
  # resp.functions[0].config_sha_256 #=> String
6236
+ # resp.functions[0].durable_config.kms_key_arn #=> String
6209
6237
  # resp.functions[0].durable_config.retention_period_in_days #=> Integer
6210
6238
  # resp.functions[0].durable_config.execution_timeout #=> Integer
6211
6239
  #
@@ -6821,6 +6849,7 @@ module Aws::Lambda
6821
6849
  # resp.versions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
6822
6850
  # resp.versions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
6823
6851
  # resp.versions[0].config_sha_256 #=> String
6852
+ # resp.versions[0].durable_config.kms_key_arn #=> String
6824
6853
  # resp.versions[0].durable_config.retention_period_in_days #=> Integer
6825
6854
  # resp.versions[0].durable_config.execution_timeout #=> Integer
6826
6855
  #
@@ -7197,6 +7226,7 @@ module Aws::Lambda
7197
7226
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
7198
7227
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
7199
7228
  # resp.config_sha_256 #=> String
7229
+ # resp.durable_config.kms_key_arn #=> String
7200
7230
  # resp.durable_config.retention_period_in_days #=> Integer
7201
7231
  # resp.durable_config.execution_timeout #=> Integer
7202
7232
  #
@@ -9100,6 +9130,7 @@ module Aws::Lambda
9100
9130
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
9101
9131
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
9102
9132
  # resp.config_sha_256 #=> String
9133
+ # resp.durable_config.kms_key_arn #=> String
9103
9134
  # resp.durable_config.retention_period_in_days #=> Integer
9104
9135
  # resp.durable_config.execution_timeout #=> Integer
9105
9136
  #
@@ -9318,9 +9349,15 @@ module Aws::Lambda
9318
9349
  # for Lambda functions.
9319
9350
  #
9320
9351
  # @option params [Types::DurableConfig] :durable_config
9321
- # Configuration settings for durable functions. Allows updating
9322
- # execution timeout and retention period for functions with durability
9323
- # enabled.
9352
+ # Configuration settings for [durable functions][1], including execution
9353
+ # timeout, retention period for execution history, and an optional ARN
9354
+ # of the Key Management Service (KMS) customer managed key that is used
9355
+ # to encrypt your durable execution's payload data, including input,
9356
+ # output, and error payloads.
9357
+ #
9358
+ #
9359
+ #
9360
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
9324
9361
  #
9325
9362
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9326
9363
  #
@@ -9464,6 +9501,7 @@ module Aws::Lambda
9464
9501
  # },
9465
9502
  # },
9466
9503
  # durable_config: {
9504
+ # kms_key_arn: "KMSKeyArn",
9467
9505
  # retention_period_in_days: 1,
9468
9506
  # execution_timeout: 1,
9469
9507
  # },
@@ -9539,6 +9577,7 @@ module Aws::Lambda
9539
9577
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
9540
9578
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
9541
9579
  # resp.config_sha_256 #=> String
9580
+ # resp.durable_config.kms_key_arn #=> String
9542
9581
  # resp.durable_config.retention_period_in_days #=> Integer
9543
9582
  # resp.durable_config.execution_timeout #=> Integer
9544
9583
  #
@@ -9804,7 +9843,7 @@ module Aws::Lambda
9804
9843
  tracer: tracer
9805
9844
  )
9806
9845
  context[:gem_name] = 'aws-sdk-lambda'
9807
- context[:gem_version] = '1.186.0'
9846
+ context[:gem_version] = '1.187.0'
9808
9847
  Seahorse::Client::Request.new(handlers, context)
9809
9848
  end
9810
9849
 
@@ -184,6 +184,7 @@ module Aws::Lambda
184
184
  EventType = Shapes::StringShape.new(name: 'EventType')
185
185
  Events = Shapes::ListShape.new(name: 'Events')
186
186
  Execution = Shapes::StructureShape.new(name: 'Execution')
187
+ ExecutionDataIncluded = Shapes::BooleanShape.new(name: 'ExecutionDataIncluded')
187
188
  ExecutionDetails = Shapes::StructureShape.new(name: 'ExecutionDetails')
188
189
  ExecutionEnvironmentMemoryGiBPerVCpu = Shapes::FloatShape.new(name: 'ExecutionEnvironmentMemoryGiBPerVCpu')
189
190
  ExecutionFailedDetails = Shapes::StructureShape.new(name: 'ExecutionFailedDetails')
@@ -1002,6 +1003,7 @@ module Aws::Lambda
1002
1003
  DocumentDBEventSourceConfig.add_member(:full_document, Shapes::ShapeRef.new(shape: FullDocument, location_name: "FullDocument"))
1003
1004
  DocumentDBEventSourceConfig.struct_class = Types::DocumentDBEventSourceConfig
1004
1005
 
1006
+ DurableConfig.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
1005
1007
  DurableConfig.add_member(:retention_period_in_days, Shapes::ShapeRef.new(shape: RetentionPeriodInDays, location_name: "RetentionPeriodInDays"))
1006
1008
  DurableConfig.add_member(:execution_timeout, Shapes::ShapeRef.new(shape: ExecutionTimeout, location_name: "ExecutionTimeout"))
1007
1009
  DurableConfig.struct_class = Types::DurableConfig
@@ -1175,6 +1177,7 @@ module Aws::Lambda
1175
1177
  Execution.add_member(:status, Shapes::ShapeRef.new(shape: ExecutionStatus, required: true, location_name: "Status"))
1176
1178
  Execution.add_member(:start_timestamp, Shapes::ShapeRef.new(shape: ExecutionTimestamp, required: true, location_name: "StartTimestamp"))
1177
1179
  Execution.add_member(:end_timestamp, Shapes::ShapeRef.new(shape: ExecutionTimestamp, location_name: "EndTimestamp"))
1180
+ Execution.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
1178
1181
  Execution.struct_class = Types::Execution
1179
1182
 
1180
1183
  ExecutionDetails.add_member(:input_payload, Shapes::ShapeRef.new(shape: InputPayload, location_name: "InputPayload"))
@@ -1354,6 +1357,7 @@ module Aws::Lambda
1354
1357
  GetDurableExecutionHistoryResponse.struct_class = Types::GetDurableExecutionHistoryResponse
1355
1358
 
1356
1359
  GetDurableExecutionRequest.add_member(:durable_execution_arn, Shapes::ShapeRef.new(shape: DurableExecutionArn, required: true, location: "uri", location_name: "DurableExecutionArn"))
1360
+ GetDurableExecutionRequest.add_member(:include_execution_data, Shapes::ShapeRef.new(shape: IncludeExecutionData, location: "querystring", location_name: "IncludeExecutionData"))
1357
1361
  GetDurableExecutionRequest.struct_class = Types::GetDurableExecutionRequest
1358
1362
 
1359
1363
  GetDurableExecutionResponse.add_member(:durable_execution_arn, Shapes::ShapeRef.new(shape: DurableExecutionArn, required: true, location_name: "DurableExecutionArn"))
@@ -1367,6 +1371,8 @@ module Aws::Lambda
1367
1371
  GetDurableExecutionResponse.add_member(:end_timestamp, Shapes::ShapeRef.new(shape: ExecutionTimestamp, location_name: "EndTimestamp"))
1368
1372
  GetDurableExecutionResponse.add_member(:version, Shapes::ShapeRef.new(shape: VersionWithLatestPublished, location_name: "Version"))
1369
1373
  GetDurableExecutionResponse.add_member(:trace_header, Shapes::ShapeRef.new(shape: TraceHeader, location_name: "TraceHeader"))
1374
+ GetDurableExecutionResponse.add_member(:execution_data_included, Shapes::ShapeRef.new(shape: ExecutionDataIncluded, location_name: "ExecutionDataIncluded"))
1375
+ GetDurableExecutionResponse.add_member(:durable_config, Shapes::ShapeRef.new(shape: DurableConfig, location_name: "DurableConfig"))
1370
1376
  GetDurableExecutionResponse.struct_class = Types::GetDurableExecutionResponse
1371
1377
 
1372
1378
  GetDurableExecutionStateRequest.add_member(:durable_execution_arn, Shapes::ShapeRef.new(shape: DurableExecutionArn, required: true, location: "uri", location_name: "DurableExecutionArn"))
@@ -2438,8 +2444,12 @@ module Aws::Lambda
2438
2444
  o.input = Shapes::ShapeRef.new(shape: CheckpointDurableExecutionRequest)
2439
2445
  o.output = Shapes::ShapeRef.new(shape: CheckpointDurableExecutionResponse)
2440
2446
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2447
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
2441
2448
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2442
2449
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2450
+ o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
2451
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
2452
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
2443
2453
  end)
2444
2454
 
2445
2455
  api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
@@ -2718,9 +2728,13 @@ module Aws::Lambda
2718
2728
  o.input = Shapes::ShapeRef.new(shape: GetDurableExecutionRequest)
2719
2729
  o.output = Shapes::ShapeRef.new(shape: GetDurableExecutionResponse)
2720
2730
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2731
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
2721
2732
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2722
2733
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2734
+ o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
2723
2735
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2736
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
2737
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
2724
2738
  end)
2725
2739
 
2726
2740
  api.add_operation(:get_durable_execution_history, Seahorse::Model::Operation.new.tap do |o|
@@ -2730,9 +2744,13 @@ module Aws::Lambda
2730
2744
  o.input = Shapes::ShapeRef.new(shape: GetDurableExecutionHistoryRequest)
2731
2745
  o.output = Shapes::ShapeRef.new(shape: GetDurableExecutionHistoryResponse)
2732
2746
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2747
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
2733
2748
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2734
2749
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2750
+ o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
2735
2751
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2752
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
2753
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
2736
2754
  o[:pager] = Aws::Pager.new(
2737
2755
  limit_key: "max_items",
2738
2756
  tokens: {
@@ -2748,8 +2766,12 @@ module Aws::Lambda
2748
2766
  o.input = Shapes::ShapeRef.new(shape: GetDurableExecutionStateRequest)
2749
2767
  o.output = Shapes::ShapeRef.new(shape: GetDurableExecutionStateResponse)
2750
2768
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2769
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
2751
2770
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2752
2771
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2772
+ o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
2773
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
2774
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
2753
2775
  o[:pager] = Aws::Pager.new(
2754
2776
  limit_key: "max_items",
2755
2777
  tokens: {
@@ -3487,10 +3509,14 @@ module Aws::Lambda
3487
3509
  o.input = Shapes::ShapeRef.new(shape: SendDurableExecutionCallbackFailureRequest)
3488
3510
  o.output = Shapes::ShapeRef.new(shape: SendDurableExecutionCallbackFailureResponse)
3489
3511
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3512
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
3490
3513
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3491
3514
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3515
+ o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
3492
3516
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3493
3517
  o.errors << Shapes::ShapeRef.new(shape: CallbackTimeoutException)
3518
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
3519
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
3494
3520
  end)
3495
3521
 
3496
3522
  api.add_operation(:send_durable_execution_callback_heartbeat, Seahorse::Model::Operation.new.tap do |o|
@@ -3513,10 +3539,14 @@ module Aws::Lambda
3513
3539
  o.input = Shapes::ShapeRef.new(shape: SendDurableExecutionCallbackSuccessRequest)
3514
3540
  o.output = Shapes::ShapeRef.new(shape: SendDurableExecutionCallbackSuccessResponse)
3515
3541
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3542
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
3516
3543
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3517
3544
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3545
+ o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
3518
3546
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3519
3547
  o.errors << Shapes::ShapeRef.new(shape: CallbackTimeoutException)
3548
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
3549
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
3520
3550
  end)
3521
3551
 
3522
3552
  api.add_operation(:stop_durable_execution, Seahorse::Model::Operation.new.tap do |o|
@@ -3526,9 +3556,13 @@ module Aws::Lambda
3526
3556
  o.input = Shapes::ShapeRef.new(shape: StopDurableExecutionRequest)
3527
3557
  o.output = Shapes::ShapeRef.new(shape: StopDurableExecutionResponse)
3528
3558
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3559
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
3529
3560
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3530
3561
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3562
+ o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
3531
3563
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3564
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
3565
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
3532
3566
  end)
3533
3567
 
3534
3568
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -2463,12 +2463,21 @@ module Aws::Lambda
2463
2463
  end
2464
2464
 
2465
2465
  # Configuration settings for [durable functions][1], including execution
2466
- # timeout and retention period for execution history.
2466
+ # timeout, retention period for execution history, and an optional ARN
2467
+ # of the Key Management Service (KMS) customer managed key that is used
2468
+ # to encrypt your durable execution's payload data, including input,
2469
+ # output, and error payloads.
2467
2470
  #
2468
2471
  #
2469
2472
  #
2470
2473
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
2471
2474
  #
2475
+ # @!attribute [rw] kms_key_arn
2476
+ # The ARN of the Key Management Service (KMS) customer managed key
2477
+ # that is used to encrypt your durable execution's payload data,
2478
+ # including input, output, and error payloads.
2479
+ # @return [String]
2480
+ #
2472
2481
  # @!attribute [rw] retention_period_in_days
2473
2482
  # The number of days to retain execution history after a durable
2474
2483
  # execution completes. After this period, execution history is no
@@ -2484,6 +2493,7 @@ module Aws::Lambda
2484
2493
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DurableConfig AWS API Documentation
2485
2494
  #
2486
2495
  class DurableConfig < Struct.new(
2496
+ :kms_key_arn,
2487
2497
  :retention_period_in_days,
2488
2498
  :execution_timeout)
2489
2499
  SENSITIVE = []
@@ -3413,6 +3423,12 @@ module Aws::Lambda
3413
3423
  # [1]: https://www.w3.org/TR/NOTE-datetime
3414
3424
  # @return [Time]
3415
3425
  #
3426
+ # @!attribute [rw] kms_key_arn
3427
+ # The ARN of the Key Management Service (KMS) customer managed key
3428
+ # that is used to encrypt your durable execution's payload data,
3429
+ # including input, output, and error payloads.
3430
+ # @return [String]
3431
+ #
3416
3432
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Execution AWS API Documentation
3417
3433
  #
3418
3434
  class Execution < Struct.new(
@@ -3421,7 +3437,8 @@ module Aws::Lambda
3421
3437
  :function_arn,
3422
3438
  :status,
3423
3439
  :start_timestamp,
3424
- :end_timestamp)
3440
+ :end_timestamp,
3441
+ :kms_key_arn)
3425
3442
  SENSITIVE = []
3426
3443
  include Aws::Structure
3427
3444
  end
@@ -4422,10 +4439,18 @@ module Aws::Lambda
4422
4439
  # The Amazon Resource Name (ARN) of the durable execution.
4423
4440
  # @return [String]
4424
4441
  #
4442
+ # @!attribute [rw] include_execution_data
4443
+ # Specifies whether to include execution data such as input payload,
4444
+ # result, and error information in the response. Set to `false` for a
4445
+ # more compact response that includes only execution metadata. The
4446
+ # default value is set to `true`.
4447
+ # @return [Boolean]
4448
+ #
4425
4449
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecutionRequest AWS API Documentation
4426
4450
  #
4427
4451
  class GetDurableExecutionRequest < Struct.new(
4428
- :durable_execution_arn)
4452
+ :durable_execution_arn,
4453
+ :include_execution_data)
4429
4454
  SENSITIVE = []
4430
4455
  include Aws::Structure
4431
4456
  end
@@ -4494,6 +4519,20 @@ module Aws::Lambda
4494
4519
  # The trace headers associated with the durable execution.
4495
4520
  # @return [Types::TraceHeader]
4496
4521
  #
4522
+ # @!attribute [rw] execution_data_included
4523
+ # Indicates whether execution data is included in this response.
4524
+ # Returns `false` when `IncludeExecutionData` is set to `false` in the
4525
+ # request.
4526
+ # @return [Boolean]
4527
+ #
4528
+ # @!attribute [rw] durable_config
4529
+ # Configuration settings for the durable execution, including
4530
+ # execution timeout, retention period for execution history, and an
4531
+ # optional ARN of the Key Management Service (KMS) customer managed
4532
+ # key that is used to encrypt your durable execution's payload data,
4533
+ # including input, output, and error payloads.
4534
+ # @return [Types::DurableConfig]
4535
+ #
4497
4536
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecutionResponse AWS API Documentation
4498
4537
  #
4499
4538
  class GetDurableExecutionResponse < Struct.new(
@@ -4507,7 +4546,9 @@ module Aws::Lambda
4507
4546
  :status,
4508
4547
  :end_timestamp,
4509
4548
  :version,
4510
- :trace_header)
4549
+ :trace_header,
4550
+ :execution_data_included,
4551
+ :durable_config)
4511
4552
  SENSITIVE = [:input_payload, :result]
4512
4553
  include Aws::Structure
4513
4554
  end
@@ -5616,9 +5657,18 @@ module Aws::Lambda
5616
5657
  # @return [String]
5617
5658
  #
5618
5659
  # @!attribute [rw] durable_execution_name
5619
- # Optional unique name for the durable execution. When you start your
5620
- # special function, you can give it a unique name to identify this
5621
- # specific execution. It's like giving a nickname to a task.
5660
+ # A unique name for the durable execution. If you invoke a durable
5661
+ # function using a name that already exists with the same payload,
5662
+ # Lambda returns the existing execution instead of creating a
5663
+ # duplicate. If the payload differs, Lambda returns a
5664
+ # `DurableExecutionAlreadyStartedException` error.
5665
+ #
5666
+ # If not specified, Lambda generates a unique identifier
5667
+ # automatically. For more information, see [Execution names][1].
5668
+ #
5669
+ #
5670
+ #
5671
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-execution-idempotency.html#durable-idempotency-execution-names
5622
5672
  # @return [String]
5623
5673
  #
5624
5674
  # @!attribute [rw] payload
@@ -9985,9 +10035,15 @@ module Aws::Lambda
9985
10035
  # @return [Types::CapacityProviderConfig]
9986
10036
  #
9987
10037
  # @!attribute [rw] durable_config
9988
- # Configuration settings for durable functions. Allows updating
9989
- # execution timeout and retention period for functions with durability
9990
- # enabled.
10038
+ # Configuration settings for [durable functions][1], including
10039
+ # execution timeout, retention period for execution history, and an
10040
+ # optional ARN of the Key Management Service (KMS) customer managed
10041
+ # key that is used to encrypt your durable execution's payload data,
10042
+ # including input, output, and error payloads.
10043
+ #
10044
+ #
10045
+ #
10046
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
9991
10047
  # @return [Types::DurableConfig]
9992
10048
  #
9993
10049
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
@@ -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.186.0'
59
+ GEM_VERSION = '1.187.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -446,6 +446,7 @@ module Aws
446
446
  }
447
447
  },
448
448
  ?durable_config: {
449
+ kms_key_arn: ::String?,
449
450
  retention_period_in_days: ::Integer?,
450
451
  execution_timeout: ::Integer?
451
452
  }
@@ -648,10 +649,13 @@ module Aws
648
649
  def end_timestamp: () -> ::Time
649
650
  def version: () -> ::String
650
651
  def trace_header: () -> Types::TraceHeader
652
+ def execution_data_included: () -> bool
653
+ def durable_config: () -> Types::DurableConfig
651
654
  end
652
655
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_durable_execution-instance_method
653
656
  def get_durable_execution: (
654
- durable_execution_arn: ::String
657
+ durable_execution_arn: ::String,
658
+ ?include_execution_data: bool
655
659
  ) -> _GetDurableExecutionResponseSuccess
656
660
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDurableExecutionResponseSuccess
657
661
 
@@ -1779,6 +1783,7 @@ module Aws
1779
1783
  }
1780
1784
  },
1781
1785
  ?durable_config: {
1786
+ kms_key_arn: ::String?,
1782
1787
  retention_period_in_days: ::Integer?,
1783
1788
  execution_timeout: ::Integer?
1784
1789
  }
data/sig/types.rbs CHANGED
@@ -543,6 +543,7 @@ module Aws::Lambda
543
543
  end
544
544
 
545
545
  class DurableConfig
546
+ attr_accessor kms_key_arn: ::String
546
547
  attr_accessor retention_period_in_days: ::Integer
547
548
  attr_accessor execution_timeout: ::Integer
548
549
  SENSITIVE: []
@@ -746,6 +747,7 @@ module Aws::Lambda
746
747
  attr_accessor status: ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "STOPPED")
747
748
  attr_accessor start_timestamp: ::Time
748
749
  attr_accessor end_timestamp: ::Time
750
+ attr_accessor kms_key_arn: ::String
749
751
  SENSITIVE: []
750
752
  end
751
753
 
@@ -964,6 +966,7 @@ module Aws::Lambda
964
966
 
965
967
  class GetDurableExecutionRequest
966
968
  attr_accessor durable_execution_arn: ::String
969
+ attr_accessor include_execution_data: bool
967
970
  SENSITIVE: []
968
971
  end
969
972
 
@@ -979,6 +982,8 @@ module Aws::Lambda
979
982
  attr_accessor end_timestamp: ::Time
980
983
  attr_accessor version: ::String
981
984
  attr_accessor trace_header: Types::TraceHeader
985
+ attr_accessor execution_data_included: bool
986
+ attr_accessor durable_config: Types::DurableConfig
982
987
  SENSITIVE: [:input_payload, :result]
983
988
  end
984
989
 
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.186.0
4
+ version: 1.187.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services