aws-sdk-lambda 1.185.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: a2554238c78719dca22aa1dafd4a5cf537e5cb9c4b3e6cbd2678211aaab48bb1
4
- data.tar.gz: bf3d51bf6d6f5c144647a5231298ca323c2c25598ed13086202751b9684548e4
3
+ metadata.gz: 956707c6a55a483cc8903a56cbd31f57ab355a3fce85a17007e74b040bfba03e
4
+ data.tar.gz: 3b06a8d0b965e2bcb31522d4f8606c0b9b3d3e491e5aeab56557094ae826f609
5
5
  SHA512:
6
- metadata.gz: cfc15e6876ba5581b7850da7d21e64e96a192d40c3aa042b1dc559ca2c58421ef36ea3e8f8c2e39b245122ecc6f622603095a96c911c9ecd686c1c287e1dcc4a
7
- data.tar.gz: 2ca4b33f6347e2c42e0dacdf2f38633bb5e8def34fe4c06ad847eae13d89b1e7984aad89a61b128666a34a176a927f5caaabf6bbc1c039fa660f7cb97e0f283e
6
+ metadata.gz: ef240964072dd6976316736349225e9af7a83347c038dbc55c087dd7e07debe32dbb1bc6f05d88216bef4a1d495c9e48c2b9ae69a1838b0718b773360265b841
7
+ data.tar.gz: c1b1e2d73c5498d703b432f11762f1a76d410d6f99e9b054fdfc4185e17585ca4c70b353aa6115d07393b7c8187aadd708d73eb555060516de48fe8b0958591c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.186.0 (2026-06-29)
10
+ ------------------
11
+
12
+ * Feature - Lambda now supports self-managed S3 buckets for Lambda code storage giving you the option for Lambda to reference a copy of your source code from your own S3 buckets. This allows you to maintain a single copy of your source code and manage your own code storage limits.
13
+
4
14
  1.185.0 (2026-06-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.185.0
1
+ 1.187.0
@@ -2114,6 +2114,7 @@ module Aws::Lambda
2114
2114
  # s3_bucket: "S3Bucket",
2115
2115
  # s3_key: "S3Key",
2116
2116
  # s3_object_version: "S3ObjectVersion",
2117
+ # s3_object_storage_mode: "COPY", # accepts COPY, REFERENCE
2117
2118
  # image_uri: "String",
2118
2119
  # source_kms_key_arn: "KMSKeyArn",
2119
2120
  # },
@@ -2180,6 +2181,7 @@ module Aws::Lambda
2180
2181
  # },
2181
2182
  # },
2182
2183
  # durable_config: {
2184
+ # kms_key_arn: "KMSKeyArn",
2183
2185
  # retention_period_in_days: 1,
2184
2186
  # execution_timeout: 1,
2185
2187
  # },
@@ -2255,6 +2257,7 @@ module Aws::Lambda
2255
2257
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
2256
2258
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
2257
2259
  # resp.config_sha_256 #=> String
2260
+ # resp.durable_config.kms_key_arn #=> String
2258
2261
  # resp.durable_config.retention_period_in_days #=> Integer
2259
2262
  # resp.durable_config.execution_timeout #=> Integer
2260
2263
  #
@@ -3211,6 +3214,12 @@ module Aws::Lambda
3211
3214
  # @option params [required, String] :durable_execution_arn
3212
3215
  # The Amazon Resource Name (ARN) of the durable execution.
3213
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
+ #
3214
3223
  # @return [Types::GetDurableExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3215
3224
  #
3216
3225
  # * {Types::GetDurableExecutionResponse#durable_execution_arn #durable_execution_arn} => String
@@ -3224,11 +3233,14 @@ module Aws::Lambda
3224
3233
  # * {Types::GetDurableExecutionResponse#end_timestamp #end_timestamp} => Time
3225
3234
  # * {Types::GetDurableExecutionResponse#version #version} => String
3226
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
3227
3238
  #
3228
3239
  # @example Request syntax with placeholder values
3229
3240
  #
3230
3241
  # resp = client.get_durable_execution({
3231
3242
  # durable_execution_arn: "DurableExecutionArn", # required
3243
+ # include_execution_data: false,
3232
3244
  # })
3233
3245
  #
3234
3246
  # @example Response structure
@@ -3248,6 +3260,10 @@ module Aws::Lambda
3248
3260
  # resp.end_timestamp #=> Time
3249
3261
  # resp.version #=> String
3250
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
3251
3267
  #
3252
3268
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecution AWS API Documentation
3253
3269
  #
@@ -3850,13 +3866,19 @@ module Aws::Lambda
3850
3866
  # resp.configuration.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
3851
3867
  # resp.configuration.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
3852
3868
  # resp.configuration.config_sha_256 #=> String
3869
+ # resp.configuration.durable_config.kms_key_arn #=> String
3853
3870
  # resp.configuration.durable_config.retention_period_in_days #=> Integer
3854
3871
  # resp.configuration.durable_config.execution_timeout #=> Integer
3855
3872
  # resp.code.repository_type #=> String
3856
3873
  # resp.code.location #=> String
3857
3874
  # resp.code.image_uri #=> String
3858
3875
  # resp.code.resolved_image_uri #=> String
3876
+ # resp.code.resolved_s3_object.s3_bucket #=> String
3877
+ # resp.code.resolved_s3_object.s3_key #=> String
3878
+ # resp.code.resolved_s3_object.s3_object_version #=> String
3859
3879
  # resp.code.source_kms_key_arn #=> String
3880
+ # resp.code.error.error_code #=> String
3881
+ # resp.code.error.message #=> String
3860
3882
  # resp.tags #=> Hash
3861
3883
  # resp.tags["TagKey"] #=> String
3862
3884
  # resp.tags_error.error_code #=> String
@@ -4168,6 +4190,7 @@ module Aws::Lambda
4168
4190
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
4169
4191
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
4170
4192
  # resp.config_sha_256 #=> String
4193
+ # resp.durable_config.kms_key_arn #=> String
4171
4194
  # resp.durable_config.retention_period_in_days #=> Integer
4172
4195
  # resp.durable_config.execution_timeout #=> Integer
4173
4196
  #
@@ -4477,6 +4500,9 @@ module Aws::Lambda
4477
4500
  # resp.content.code_size #=> Integer
4478
4501
  # resp.content.signing_profile_version_arn #=> String
4479
4502
  # resp.content.signing_job_arn #=> String
4503
+ # resp.content.resolved_s3_object.s3_bucket #=> String
4504
+ # resp.content.resolved_s3_object.s3_key #=> String
4505
+ # resp.content.resolved_s3_object.s3_object_version #=> String
4480
4506
  # resp.layer_arn #=> String
4481
4507
  # resp.layer_version_arn #=> String
4482
4508
  # resp.description #=> String
@@ -4558,6 +4584,9 @@ module Aws::Lambda
4558
4584
  # resp.content.code_size #=> Integer
4559
4585
  # resp.content.signing_profile_version_arn #=> String
4560
4586
  # resp.content.signing_job_arn #=> String
4587
+ # resp.content.resolved_s3_object.s3_bucket #=> String
4588
+ # resp.content.resolved_s3_object.s3_key #=> String
4589
+ # resp.content.resolved_s3_object.s3_object_version #=> String
4561
4590
  # resp.layer_arn #=> String
4562
4591
  # resp.layer_version_arn #=> String
4563
4592
  # resp.description #=> String
@@ -4717,9 +4746,9 @@ module Aws::Lambda
4717
4746
  # * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
4718
4747
  #
4719
4748
  #
4720
- # @example Example: To get a provisioned concurrency configuration
4749
+ # @example Example: To view a provisioned concurrency configuration
4721
4750
  #
4722
- # # 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
4723
4752
  # # function.
4724
4753
  #
4725
4754
  # resp = client.get_provisioned_concurrency_config({
@@ -4736,9 +4765,9 @@ module Aws::Lambda
4736
4765
  # status: "READY",
4737
4766
  # }
4738
4767
  #
4739
- # @example Example: To view a provisioned concurrency configuration
4768
+ # @example Example: To get a provisioned concurrency configuration
4740
4769
  #
4741
- # # 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
4742
4771
  # # function.
4743
4772
  #
4744
4773
  # resp = client.get_provisioned_concurrency_config({
@@ -4941,9 +4970,18 @@ module Aws::Lambda
4941
4970
  # only.
4942
4971
  #
4943
4972
  # @option params [String] :durable_execution_name
4944
- # Optional unique name for the durable execution. When you start your
4945
- # special function, you can give it a unique name to identify this
4946
- # 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
4947
4985
  #
4948
4986
  # @option params [String, StringIO, File] :payload
4949
4987
  # The JSON that you want to provide to your Lambda function as input.
@@ -5625,6 +5663,7 @@ module Aws::Lambda
5625
5663
  # resp.durable_executions[0].status #=> String, one of "RUNNING", "SUCCEEDED", "FAILED", "TIMED_OUT", "STOPPED"
5626
5664
  # resp.durable_executions[0].start_timestamp #=> Time
5627
5665
  # resp.durable_executions[0].end_timestamp #=> Time
5666
+ # resp.durable_executions[0].kms_key_arn #=> String
5628
5667
  # resp.next_marker #=> String
5629
5668
  #
5630
5669
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListDurableExecutionsByFunction AWS API Documentation
@@ -6194,6 +6233,7 @@ module Aws::Lambda
6194
6233
  # resp.functions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
6195
6234
  # resp.functions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
6196
6235
  # resp.functions[0].config_sha_256 #=> String
6236
+ # resp.functions[0].durable_config.kms_key_arn #=> String
6197
6237
  # resp.functions[0].durable_config.retention_period_in_days #=> Integer
6198
6238
  # resp.functions[0].durable_config.execution_timeout #=> Integer
6199
6239
  #
@@ -6809,6 +6849,7 @@ module Aws::Lambda
6809
6849
  # resp.versions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
6810
6850
  # resp.versions[0].capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
6811
6851
  # resp.versions[0].config_sha_256 #=> String
6852
+ # resp.versions[0].durable_config.kms_key_arn #=> String
6812
6853
  # resp.versions[0].durable_config.retention_period_in_days #=> Integer
6813
6854
  # resp.versions[0].durable_config.execution_timeout #=> Integer
6814
6855
  #
@@ -6934,6 +6975,7 @@ module Aws::Lambda
6934
6975
  # s3_bucket: "S3Bucket",
6935
6976
  # s3_key: "S3Key",
6936
6977
  # s3_object_version: "S3ObjectVersion",
6978
+ # s3_object_storage_mode: "COPY", # accepts COPY, REFERENCE
6937
6979
  # zip_file: "data",
6938
6980
  # },
6939
6981
  # compatible_architectures: ["x86_64"], # accepts x86_64, arm64
@@ -6948,6 +6990,9 @@ module Aws::Lambda
6948
6990
  # resp.content.code_size #=> Integer
6949
6991
  # resp.content.signing_profile_version_arn #=> String
6950
6992
  # resp.content.signing_job_arn #=> String
6993
+ # resp.content.resolved_s3_object.s3_bucket #=> String
6994
+ # resp.content.resolved_s3_object.s3_key #=> String
6995
+ # resp.content.resolved_s3_object.s3_object_version #=> String
6951
6996
  # resp.layer_arn #=> String
6952
6997
  # resp.layer_version_arn #=> String
6953
6998
  # resp.description #=> String
@@ -7181,6 +7226,7 @@ module Aws::Lambda
7181
7226
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
7182
7227
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
7183
7228
  # resp.config_sha_256 #=> String
7229
+ # resp.durable_config.kms_key_arn #=> String
7184
7230
  # resp.durable_config.retention_period_in_days #=> Integer
7185
7231
  # resp.durable_config.execution_timeout #=> Integer
7186
7232
  #
@@ -8883,6 +8929,12 @@ module Aws::Lambda
8883
8929
  # For versioned objects, the version of the deployment package object to
8884
8930
  # use.
8885
8931
  #
8932
+ # @option params [String] :s3_object_storage_mode
8933
+ # Specifies how the deployment package is stored. Use `COPY` (default)
8934
+ # to upload a copy of your deployment package to Lambda. Use `REFERENCE`
8935
+ # to have Lambda reference the deployment package from the specified
8936
+ # Amazon S3 bucket.
8937
+ #
8886
8938
  # @option params [String] :image_uri
8887
8939
  # URI of a container image in the Amazon ECR registry. Do not use for a
8888
8940
  # function defined with a .zip file archive.
@@ -8998,6 +9050,7 @@ module Aws::Lambda
8998
9050
  # s3_bucket: "S3Bucket",
8999
9051
  # s3_key: "S3Key",
9000
9052
  # s3_object_version: "S3ObjectVersion",
9053
+ # s3_object_storage_mode: "COPY", # accepts COPY, REFERENCE
9001
9054
  # image_uri: "String",
9002
9055
  # architectures: ["x86_64"], # accepts x86_64, arm64
9003
9056
  # publish: false,
@@ -9077,6 +9130,7 @@ module Aws::Lambda
9077
9130
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
9078
9131
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
9079
9132
  # resp.config_sha_256 #=> String
9133
+ # resp.durable_config.kms_key_arn #=> String
9080
9134
  # resp.durable_config.retention_period_in_days #=> Integer
9081
9135
  # resp.durable_config.execution_timeout #=> Integer
9082
9136
  #
@@ -9295,9 +9349,15 @@ module Aws::Lambda
9295
9349
  # for Lambda functions.
9296
9350
  #
9297
9351
  # @option params [Types::DurableConfig] :durable_config
9298
- # Configuration settings for durable functions. Allows updating
9299
- # execution timeout and retention period for functions with durability
9300
- # 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
9301
9361
  #
9302
9362
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9303
9363
  #
@@ -9441,6 +9501,7 @@ module Aws::Lambda
9441
9501
  # },
9442
9502
  # },
9443
9503
  # durable_config: {
9504
+ # kms_key_arn: "KMSKeyArn",
9444
9505
  # retention_period_in_days: 1,
9445
9506
  # execution_timeout: 1,
9446
9507
  # },
@@ -9516,6 +9577,7 @@ module Aws::Lambda
9516
9577
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.per_execution_environment_max_concurrency #=> Integer
9517
9578
  # resp.capacity_provider_config.lambda_managed_instances_capacity_provider_config.execution_environment_memory_gi_b_per_v_cpu #=> Float
9518
9579
  # resp.config_sha_256 #=> String
9580
+ # resp.durable_config.kms_key_arn #=> String
9519
9581
  # resp.durable_config.retention_period_in_days #=> Integer
9520
9582
  # resp.durable_config.execution_timeout #=> Integer
9521
9583
  #
@@ -9781,7 +9843,7 @@ module Aws::Lambda
9781
9843
  tracer: tracer
9782
9844
  )
9783
9845
  context[:gem_name] = 'aws-sdk-lambda'
9784
- context[:gem_version] = '1.185.0'
9846
+ context[:gem_version] = '1.187.0'
9785
9847
  Seahorse::Client::Request.new(handlers, context)
9786
9848
  end
9787
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')
@@ -209,6 +210,7 @@ module Aws::Lambda
209
210
  FunctionArnList = Shapes::ListShape.new(name: 'FunctionArnList')
210
211
  FunctionCode = Shapes::StructureShape.new(name: 'FunctionCode')
211
212
  FunctionCodeLocation = Shapes::StructureShape.new(name: 'FunctionCodeLocation')
213
+ FunctionCodeLocationError = Shapes::StructureShape.new(name: 'FunctionCodeLocationError')
212
214
  FunctionConfiguration = Shapes::StructureShape.new(name: 'FunctionConfiguration')
213
215
  FunctionEventInvokeConfig = Shapes::StructureShape.new(name: 'FunctionEventInvokeConfig')
214
216
  FunctionEventInvokeConfigList = Shapes::ListShape.new(name: 'FunctionEventInvokeConfigList')
@@ -459,6 +461,7 @@ module Aws::Lambda
459
461
  ReplayChildren = Shapes::BooleanShape.new(name: 'ReplayChildren')
460
462
  RequestTooLargeException = Shapes::StructureShape.new(name: 'RequestTooLargeException')
461
463
  ReservedConcurrentExecutions = Shapes::IntegerShape.new(name: 'ReservedConcurrentExecutions')
464
+ ResolvedS3Object = Shapes::StructureShape.new(name: 'ResolvedS3Object')
462
465
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
463
466
  ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
464
467
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
@@ -478,6 +481,7 @@ module Aws::Lambda
478
481
  S3FilesMountFailureException = Shapes::StructureShape.new(name: 'S3FilesMountFailureException')
479
482
  S3FilesMountTimeoutException = Shapes::StructureShape.new(name: 'S3FilesMountTimeoutException')
480
483
  S3Key = Shapes::StringShape.new(name: 'S3Key')
484
+ S3ObjectStorageMode = Shapes::StringShape.new(name: 'S3ObjectStorageMode')
481
485
  S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
482
486
  ScalingConfig = Shapes::StructureShape.new(name: 'ScalingConfig')
483
487
  SchemaRegistryEventRecordFormat = Shapes::StringShape.new(name: 'SchemaRegistryEventRecordFormat')
@@ -999,6 +1003,7 @@ module Aws::Lambda
999
1003
  DocumentDBEventSourceConfig.add_member(:full_document, Shapes::ShapeRef.new(shape: FullDocument, location_name: "FullDocument"))
1000
1004
  DocumentDBEventSourceConfig.struct_class = Types::DocumentDBEventSourceConfig
1001
1005
 
1006
+ DurableConfig.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
1002
1007
  DurableConfig.add_member(:retention_period_in_days, Shapes::ShapeRef.new(shape: RetentionPeriodInDays, location_name: "RetentionPeriodInDays"))
1003
1008
  DurableConfig.add_member(:execution_timeout, Shapes::ShapeRef.new(shape: ExecutionTimeout, location_name: "ExecutionTimeout"))
1004
1009
  DurableConfig.struct_class = Types::DurableConfig
@@ -1172,6 +1177,7 @@ module Aws::Lambda
1172
1177
  Execution.add_member(:status, Shapes::ShapeRef.new(shape: ExecutionStatus, required: true, location_name: "Status"))
1173
1178
  Execution.add_member(:start_timestamp, Shapes::ShapeRef.new(shape: ExecutionTimestamp, required: true, location_name: "StartTimestamp"))
1174
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"))
1175
1181
  Execution.struct_class = Types::Execution
1176
1182
 
1177
1183
  ExecutionDetails.add_member(:input_payload, Shapes::ShapeRef.new(shape: InputPayload, location_name: "InputPayload"))
@@ -1219,6 +1225,7 @@ module Aws::Lambda
1219
1225
  FunctionCode.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
1220
1226
  FunctionCode.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
1221
1227
  FunctionCode.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
1228
+ FunctionCode.add_member(:s3_object_storage_mode, Shapes::ShapeRef.new(shape: S3ObjectStorageMode, location_name: "S3ObjectStorageMode"))
1222
1229
  FunctionCode.add_member(:image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ImageUri"))
1223
1230
  FunctionCode.add_member(:source_kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "SourceKMSKeyArn"))
1224
1231
  FunctionCode.struct_class = Types::FunctionCode
@@ -1227,9 +1234,15 @@ module Aws::Lambda
1227
1234
  FunctionCodeLocation.add_member(:location, Shapes::ShapeRef.new(shape: SensitiveStringOnServerOnly, location_name: "Location"))
1228
1235
  FunctionCodeLocation.add_member(:image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ImageUri"))
1229
1236
  FunctionCodeLocation.add_member(:resolved_image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ResolvedImageUri"))
1237
+ FunctionCodeLocation.add_member(:resolved_s3_object, Shapes::ShapeRef.new(shape: ResolvedS3Object, location_name: "ResolvedS3Object"))
1230
1238
  FunctionCodeLocation.add_member(:source_kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "SourceKMSKeyArn"))
1239
+ FunctionCodeLocation.add_member(:error, Shapes::ShapeRef.new(shape: FunctionCodeLocationError, location_name: "Error"))
1231
1240
  FunctionCodeLocation.struct_class = Types::FunctionCodeLocation
1232
1241
 
1242
+ FunctionCodeLocationError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode"))
1243
+ FunctionCodeLocationError.add_member(:message, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Message"))
1244
+ FunctionCodeLocationError.struct_class = Types::FunctionCodeLocationError
1245
+
1233
1246
  FunctionConfiguration.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, location_name: "FunctionName"))
1234
1247
  FunctionConfiguration.add_member(:function_arn, Shapes::ShapeRef.new(shape: NameSpacedFunctionArn, location_name: "FunctionArn"))
1235
1248
  FunctionConfiguration.add_member(:runtime, Shapes::ShapeRef.new(shape: Runtime, location_name: "Runtime"))
@@ -1344,6 +1357,7 @@ module Aws::Lambda
1344
1357
  GetDurableExecutionHistoryResponse.struct_class = Types::GetDurableExecutionHistoryResponse
1345
1358
 
1346
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"))
1347
1361
  GetDurableExecutionRequest.struct_class = Types::GetDurableExecutionRequest
1348
1362
 
1349
1363
  GetDurableExecutionResponse.add_member(:durable_execution_arn, Shapes::ShapeRef.new(shape: DurableExecutionArn, required: true, location_name: "DurableExecutionArn"))
@@ -1357,6 +1371,8 @@ module Aws::Lambda
1357
1371
  GetDurableExecutionResponse.add_member(:end_timestamp, Shapes::ShapeRef.new(shape: ExecutionTimestamp, location_name: "EndTimestamp"))
1358
1372
  GetDurableExecutionResponse.add_member(:version, Shapes::ShapeRef.new(shape: VersionWithLatestPublished, location_name: "Version"))
1359
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"))
1360
1376
  GetDurableExecutionResponse.struct_class = Types::GetDurableExecutionResponse
1361
1377
 
1362
1378
  GetDurableExecutionStateRequest.add_member(:durable_execution_arn, Shapes::ShapeRef.new(shape: DurableExecutionArn, required: true, location: "uri", location_name: "DurableExecutionArn"))
@@ -1654,6 +1670,7 @@ module Aws::Lambda
1654
1670
  LayerVersionContentInput.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
1655
1671
  LayerVersionContentInput.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
1656
1672
  LayerVersionContentInput.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
1673
+ LayerVersionContentInput.add_member(:s3_object_storage_mode, Shapes::ShapeRef.new(shape: S3ObjectStorageMode, location_name: "S3ObjectStorageMode"))
1657
1674
  LayerVersionContentInput.add_member(:zip_file, Shapes::ShapeRef.new(shape: Blob, location_name: "ZipFile"))
1658
1675
  LayerVersionContentInput.struct_class = Types::LayerVersionContentInput
1659
1676
 
@@ -1662,6 +1679,7 @@ module Aws::Lambda
1662
1679
  LayerVersionContentOutput.add_member(:code_size, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSize"))
1663
1680
  LayerVersionContentOutput.add_member(:signing_profile_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningProfileVersionArn"))
1664
1681
  LayerVersionContentOutput.add_member(:signing_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningJobArn"))
1682
+ LayerVersionContentOutput.add_member(:resolved_s3_object, Shapes::ShapeRef.new(shape: ResolvedS3Object, location_name: "ResolvedS3Object"))
1665
1683
  LayerVersionContentOutput.struct_class = Types::LayerVersionContentOutput
1666
1684
 
1667
1685
  LayerVersionsList.member = Shapes::ShapeRef.new(shape: LayerVersionsListItem)
@@ -2028,6 +2046,11 @@ module Aws::Lambda
2028
2046
  RequestTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
2029
2047
  RequestTooLargeException.struct_class = Types::RequestTooLargeException
2030
2048
 
2049
+ ResolvedS3Object.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
2050
+ ResolvedS3Object.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
2051
+ ResolvedS3Object.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
2052
+ ResolvedS3Object.struct_class = Types::ResolvedS3Object
2053
+
2031
2054
  ResourceConflictException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
2032
2055
  ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
2033
2056
  ResourceConflictException.struct_class = Types::ResourceConflictException
@@ -2281,6 +2304,7 @@ module Aws::Lambda
2281
2304
  UpdateFunctionCodeRequest.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
2282
2305
  UpdateFunctionCodeRequest.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
2283
2306
  UpdateFunctionCodeRequest.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
2307
+ UpdateFunctionCodeRequest.add_member(:s3_object_storage_mode, Shapes::ShapeRef.new(shape: S3ObjectStorageMode, location_name: "S3ObjectStorageMode"))
2284
2308
  UpdateFunctionCodeRequest.add_member(:image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ImageUri"))
2285
2309
  UpdateFunctionCodeRequest.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
2286
2310
  UpdateFunctionCodeRequest.add_member(:publish, Shapes::ShapeRef.new(shape: Boolean, location_name: "Publish"))
@@ -2420,8 +2444,12 @@ module Aws::Lambda
2420
2444
  o.input = Shapes::ShapeRef.new(shape: CheckpointDurableExecutionRequest)
2421
2445
  o.output = Shapes::ShapeRef.new(shape: CheckpointDurableExecutionResponse)
2422
2446
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2447
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
2423
2448
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2424
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)
2425
2453
  end)
2426
2454
 
2427
2455
  api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
@@ -2700,9 +2728,13 @@ module Aws::Lambda
2700
2728
  o.input = Shapes::ShapeRef.new(shape: GetDurableExecutionRequest)
2701
2729
  o.output = Shapes::ShapeRef.new(shape: GetDurableExecutionResponse)
2702
2730
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2731
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
2703
2732
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2704
2733
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2734
+ o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
2705
2735
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2736
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
2737
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
2706
2738
  end)
2707
2739
 
2708
2740
  api.add_operation(:get_durable_execution_history, Seahorse::Model::Operation.new.tap do |o|
@@ -2712,9 +2744,13 @@ module Aws::Lambda
2712
2744
  o.input = Shapes::ShapeRef.new(shape: GetDurableExecutionHistoryRequest)
2713
2745
  o.output = Shapes::ShapeRef.new(shape: GetDurableExecutionHistoryResponse)
2714
2746
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2747
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
2715
2748
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2716
2749
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2750
+ o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
2717
2751
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2752
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
2753
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
2718
2754
  o[:pager] = Aws::Pager.new(
2719
2755
  limit_key: "max_items",
2720
2756
  tokens: {
@@ -2730,8 +2766,12 @@ module Aws::Lambda
2730
2766
  o.input = Shapes::ShapeRef.new(shape: GetDurableExecutionStateRequest)
2731
2767
  o.output = Shapes::ShapeRef.new(shape: GetDurableExecutionStateResponse)
2732
2768
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2769
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
2733
2770
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2734
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)
2735
2775
  o[:pager] = Aws::Pager.new(
2736
2776
  limit_key: "max_items",
2737
2777
  tokens: {
@@ -3469,10 +3509,14 @@ module Aws::Lambda
3469
3509
  o.input = Shapes::ShapeRef.new(shape: SendDurableExecutionCallbackFailureRequest)
3470
3510
  o.output = Shapes::ShapeRef.new(shape: SendDurableExecutionCallbackFailureResponse)
3471
3511
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3512
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
3472
3513
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3473
3514
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3515
+ o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
3474
3516
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3475
3517
  o.errors << Shapes::ShapeRef.new(shape: CallbackTimeoutException)
3518
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
3519
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
3476
3520
  end)
3477
3521
 
3478
3522
  api.add_operation(:send_durable_execution_callback_heartbeat, Seahorse::Model::Operation.new.tap do |o|
@@ -3495,10 +3539,14 @@ module Aws::Lambda
3495
3539
  o.input = Shapes::ShapeRef.new(shape: SendDurableExecutionCallbackSuccessRequest)
3496
3540
  o.output = Shapes::ShapeRef.new(shape: SendDurableExecutionCallbackSuccessResponse)
3497
3541
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3542
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
3498
3543
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3499
3544
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3545
+ o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
3500
3546
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3501
3547
  o.errors << Shapes::ShapeRef.new(shape: CallbackTimeoutException)
3548
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
3549
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
3502
3550
  end)
3503
3551
 
3504
3552
  api.add_operation(:stop_durable_execution, Seahorse::Model::Operation.new.tap do |o|
@@ -3508,9 +3556,13 @@ module Aws::Lambda
3508
3556
  o.input = Shapes::ShapeRef.new(shape: StopDurableExecutionRequest)
3509
3557
  o.output = Shapes::ShapeRef.new(shape: StopDurableExecutionResponse)
3510
3558
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3559
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
3511
3560
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3512
3561
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3562
+ o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
3513
3563
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3564
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
3565
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
3514
3566
  end)
3515
3567
 
3516
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
@@ -3641,6 +3658,13 @@ module Aws::Lambda
3641
3658
  # to use.
3642
3659
  # @return [String]
3643
3660
  #
3661
+ # @!attribute [rw] s3_object_storage_mode
3662
+ # Specifies how the deployment package is stored. Use `COPY` (default)
3663
+ # to upload a copy of your deployment package to Lambda. Use
3664
+ # `REFERENCE` to have Lambda reference the deployment package from the
3665
+ # specified Amazon S3 bucket.
3666
+ # @return [String]
3667
+ #
3644
3668
  # @!attribute [rw] image_uri
3645
3669
  # URI of a [container image][1] in the Amazon ECR registry.
3646
3670
  #
@@ -3667,6 +3691,7 @@ module Aws::Lambda
3667
3691
  :s3_bucket,
3668
3692
  :s3_key,
3669
3693
  :s3_object_version,
3694
+ :s3_object_storage_mode,
3670
3695
  :image_uri,
3671
3696
  :source_kms_key_arn)
3672
3697
  SENSITIVE = [:zip_file]
@@ -3691,6 +3716,10 @@ module Aws::Lambda
3691
3716
  # The resolved URI for the image.
3692
3717
  # @return [String]
3693
3718
  #
3719
+ # @!attribute [rw] resolved_s3_object
3720
+ # The resolved Amazon S3 object that contains the deployment package.
3721
+ # @return [Types::ResolvedS3Object]
3722
+ #
3694
3723
  # @!attribute [rw] source_kms_key_arn
3695
3724
  # The ARN of the Key Management Service (KMS) customer managed key
3696
3725
  # that's used to encrypt your function's .zip deployment package. If
@@ -3702,6 +3731,11 @@ module Aws::Lambda
3702
3731
  # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk
3703
3732
  # @return [String]
3704
3733
  #
3734
+ # @!attribute [rw] error
3735
+ # An object that contains details about an error related to function
3736
+ # deployment package retrieval.
3737
+ # @return [Types::FunctionCodeLocationError]
3738
+ #
3705
3739
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCodeLocation AWS API Documentation
3706
3740
  #
3707
3741
  class FunctionCodeLocation < Struct.new(
@@ -3709,11 +3743,33 @@ module Aws::Lambda
3709
3743
  :location,
3710
3744
  :image_uri,
3711
3745
  :resolved_image_uri,
3712
- :source_kms_key_arn)
3746
+ :resolved_s3_object,
3747
+ :source_kms_key_arn,
3748
+ :error)
3713
3749
  SENSITIVE = []
3714
3750
  include Aws::Structure
3715
3751
  end
3716
3752
 
3753
+ # Details about an error related to retrieving a function's deployment
3754
+ # package.
3755
+ #
3756
+ # @!attribute [rw] error_code
3757
+ # The error code for the failed retrieval.
3758
+ # @return [String]
3759
+ #
3760
+ # @!attribute [rw] message
3761
+ # A description of the error.
3762
+ # @return [String]
3763
+ #
3764
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCodeLocationError AWS API Documentation
3765
+ #
3766
+ class FunctionCodeLocationError < Struct.new(
3767
+ :error_code,
3768
+ :message)
3769
+ SENSITIVE = [:message]
3770
+ include Aws::Structure
3771
+ end
3772
+
3717
3773
  # Details about a function's configuration.
3718
3774
  #
3719
3775
  # @!attribute [rw] function_name
@@ -4383,10 +4439,18 @@ module Aws::Lambda
4383
4439
  # The Amazon Resource Name (ARN) of the durable execution.
4384
4440
  # @return [String]
4385
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
+ #
4386
4449
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecutionRequest AWS API Documentation
4387
4450
  #
4388
4451
  class GetDurableExecutionRequest < Struct.new(
4389
- :durable_execution_arn)
4452
+ :durable_execution_arn,
4453
+ :include_execution_data)
4390
4454
  SENSITIVE = []
4391
4455
  include Aws::Structure
4392
4456
  end
@@ -4455,6 +4519,20 @@ module Aws::Lambda
4455
4519
  # The trace headers associated with the durable execution.
4456
4520
  # @return [Types::TraceHeader]
4457
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
+ #
4458
4536
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecutionResponse AWS API Documentation
4459
4537
  #
4460
4538
  class GetDurableExecutionResponse < Struct.new(
@@ -4468,7 +4546,9 @@ module Aws::Lambda
4468
4546
  :status,
4469
4547
  :end_timestamp,
4470
4548
  :version,
4471
- :trace_header)
4549
+ :trace_header,
4550
+ :execution_data_included,
4551
+ :durable_config)
4472
4552
  SENSITIVE = [:input_payload, :result]
4473
4553
  include Aws::Structure
4474
4554
  end
@@ -5577,9 +5657,18 @@ module Aws::Lambda
5577
5657
  # @return [String]
5578
5658
  #
5579
5659
  # @!attribute [rw] durable_execution_name
5580
- # Optional unique name for the durable execution. When you start your
5581
- # special function, you can give it a unique name to identify this
5582
- # 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
5583
5672
  # @return [String]
5584
5673
  #
5585
5674
  # @!attribute [rw] payload
@@ -6093,6 +6182,10 @@ module Aws::Lambda
6093
6182
  # use.
6094
6183
  # @return [String]
6095
6184
  #
6185
+ # @!attribute [rw] s3_object_storage_mode
6186
+ # The storage mode for a function's deployment package.
6187
+ # @return [String]
6188
+ #
6096
6189
  # @!attribute [rw] zip_file
6097
6190
  # The base64-encoded contents of the layer archive. Amazon Web
6098
6191
  # Services SDK and Amazon Web Services CLI clients handle the encoding
@@ -6105,6 +6198,7 @@ module Aws::Lambda
6105
6198
  :s3_bucket,
6106
6199
  :s3_key,
6107
6200
  :s3_object_version,
6201
+ :s3_object_storage_mode,
6108
6202
  :zip_file)
6109
6203
  SENSITIVE = [:zip_file]
6110
6204
  include Aws::Structure
@@ -6137,6 +6231,11 @@ module Aws::Lambda
6137
6231
  # The Amazon Resource Name (ARN) of a signing job.
6138
6232
  # @return [String]
6139
6233
  #
6234
+ # @!attribute [rw] resolved_s3_object
6235
+ # Details about the resolved Amazon S3 object that contains a
6236
+ # function's deployment package.
6237
+ # @return [Types::ResolvedS3Object]
6238
+ #
6140
6239
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/LayerVersionContentOutput AWS API Documentation
6141
6240
  #
6142
6241
  class LayerVersionContentOutput < Struct.new(
@@ -6144,7 +6243,8 @@ module Aws::Lambda
6144
6243
  :code_sha_256,
6145
6244
  :code_size,
6146
6245
  :signing_profile_version_arn,
6147
- :signing_job_arn)
6246
+ :signing_job_arn,
6247
+ :resolved_s3_object)
6148
6248
  SENSITIVE = []
6149
6249
  include Aws::Structure
6150
6250
  end
@@ -8341,6 +8441,31 @@ module Aws::Lambda
8341
8441
  include Aws::Structure
8342
8442
  end
8343
8443
 
8444
+ # Details about the resolved Amazon S3 object that contains a
8445
+ # function's deployment package.
8446
+ #
8447
+ # @!attribute [rw] s3_bucket
8448
+ # The Amazon S3 bucket that contains the deployment package.
8449
+ # @return [String]
8450
+ #
8451
+ # @!attribute [rw] s3_key
8452
+ # The Amazon S3 key of the deployment package.
8453
+ # @return [String]
8454
+ #
8455
+ # @!attribute [rw] s3_object_version
8456
+ # The version of the deployment package object.
8457
+ # @return [String]
8458
+ #
8459
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ResolvedS3Object AWS API Documentation
8460
+ #
8461
+ class ResolvedS3Object < Struct.new(
8462
+ :s3_bucket,
8463
+ :s3_key,
8464
+ :s3_object_version)
8465
+ SENSITIVE = []
8466
+ include Aws::Structure
8467
+ end
8468
+
8344
8469
  # The resource already exists, or another operation is in progress.
8345
8470
  #
8346
8471
  # @!attribute [rw] type
@@ -9639,6 +9764,13 @@ module Aws::Lambda
9639
9764
  # to use.
9640
9765
  # @return [String]
9641
9766
  #
9767
+ # @!attribute [rw] s3_object_storage_mode
9768
+ # Specifies how the deployment package is stored. Use `COPY` (default)
9769
+ # to upload a copy of your deployment package to Lambda. Use
9770
+ # `REFERENCE` to have Lambda reference the deployment package from the
9771
+ # specified Amazon S3 bucket.
9772
+ # @return [String]
9773
+ #
9642
9774
  # @!attribute [rw] image_uri
9643
9775
  # URI of a container image in the Amazon ECR registry. Do not use for
9644
9776
  # a function defined with a .zip file archive.
@@ -9686,6 +9818,7 @@ module Aws::Lambda
9686
9818
  :s3_bucket,
9687
9819
  :s3_key,
9688
9820
  :s3_object_version,
9821
+ :s3_object_storage_mode,
9689
9822
  :image_uri,
9690
9823
  :architectures,
9691
9824
  :publish,
@@ -9902,9 +10035,15 @@ module Aws::Lambda
9902
10035
  # @return [Types::CapacityProviderConfig]
9903
10036
  #
9904
10037
  # @!attribute [rw] durable_config
9905
- # Configuration settings for durable functions. Allows updating
9906
- # execution timeout and retention period for functions with durability
9907
- # 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
9908
10047
  # @return [Types::DurableConfig]
9909
10048
  #
9910
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.185.0'
59
+ GEM_VERSION = '1.187.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -383,6 +383,7 @@ module Aws
383
383
  s3_bucket: ::String?,
384
384
  s3_key: ::String?,
385
385
  s3_object_version: ::String?,
386
+ s3_object_storage_mode: ("COPY" | "REFERENCE")?,
386
387
  image_uri: ::String?,
387
388
  source_kms_key_arn: ::String?
388
389
  },
@@ -445,6 +446,7 @@ module Aws
445
446
  }
446
447
  },
447
448
  ?durable_config: {
449
+ kms_key_arn: ::String?,
448
450
  retention_period_in_days: ::Integer?,
449
451
  execution_timeout: ::Integer?
450
452
  }
@@ -647,10 +649,13 @@ module Aws
647
649
  def end_timestamp: () -> ::Time
648
650
  def version: () -> ::String
649
651
  def trace_header: () -> Types::TraceHeader
652
+ def execution_data_included: () -> bool
653
+ def durable_config: () -> Types::DurableConfig
650
654
  end
651
655
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_durable_execution-instance_method
652
656
  def get_durable_execution: (
653
- durable_execution_arn: ::String
657
+ durable_execution_arn: ::String,
658
+ ?include_execution_data: bool
654
659
  ) -> _GetDurableExecutionResponseSuccess
655
660
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDurableExecutionResponseSuccess
656
661
 
@@ -1232,6 +1237,7 @@ module Aws
1232
1237
  s3_bucket: ::String?,
1233
1238
  s3_key: ::String?,
1234
1239
  s3_object_version: ::String?,
1240
+ s3_object_storage_mode: ("COPY" | "REFERENCE")?,
1235
1241
  zip_file: ::String?
1236
1242
  },
1237
1243
  ?compatible_architectures: Array[("x86_64" | "arm64")],
@@ -1666,6 +1672,7 @@ module Aws
1666
1672
  ?s3_bucket: ::String,
1667
1673
  ?s3_key: ::String,
1668
1674
  ?s3_object_version: ::String,
1675
+ ?s3_object_storage_mode: ("COPY" | "REFERENCE"),
1669
1676
  ?image_uri: ::String,
1670
1677
  ?architectures: Array[("x86_64" | "arm64")],
1671
1678
  ?publish: bool,
@@ -1776,6 +1783,7 @@ module Aws
1776
1783
  }
1777
1784
  },
1778
1785
  ?durable_config: {
1786
+ kms_key_arn: ::String?,
1779
1787
  retention_period_in_days: ::Integer?,
1780
1788
  execution_timeout: ::Integer?
1781
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
 
@@ -807,6 +809,7 @@ module Aws::Lambda
807
809
  attr_accessor s3_bucket: ::String
808
810
  attr_accessor s3_key: ::String
809
811
  attr_accessor s3_object_version: ::String
812
+ attr_accessor s3_object_storage_mode: ("COPY" | "REFERENCE")
810
813
  attr_accessor image_uri: ::String
811
814
  attr_accessor source_kms_key_arn: ::String
812
815
  SENSITIVE: [:zip_file]
@@ -817,10 +820,18 @@ module Aws::Lambda
817
820
  attr_accessor location: ::String
818
821
  attr_accessor image_uri: ::String
819
822
  attr_accessor resolved_image_uri: ::String
823
+ attr_accessor resolved_s3_object: Types::ResolvedS3Object
820
824
  attr_accessor source_kms_key_arn: ::String
825
+ attr_accessor error: Types::FunctionCodeLocationError
821
826
  SENSITIVE: []
822
827
  end
823
828
 
829
+ class FunctionCodeLocationError
830
+ attr_accessor error_code: ::String
831
+ attr_accessor message: ::String
832
+ SENSITIVE: [:message]
833
+ end
834
+
824
835
  class FunctionConfiguration
825
836
  attr_accessor function_name: ::String
826
837
  attr_accessor function_arn: ::String
@@ -955,6 +966,7 @@ module Aws::Lambda
955
966
 
956
967
  class GetDurableExecutionRequest
957
968
  attr_accessor durable_execution_arn: ::String
969
+ attr_accessor include_execution_data: bool
958
970
  SENSITIVE: []
959
971
  end
960
972
 
@@ -970,6 +982,8 @@ module Aws::Lambda
970
982
  attr_accessor end_timestamp: ::Time
971
983
  attr_accessor version: ::String
972
984
  attr_accessor trace_header: Types::TraceHeader
985
+ attr_accessor execution_data_included: bool
986
+ attr_accessor durable_config: Types::DurableConfig
973
987
  SENSITIVE: [:input_payload, :result]
974
988
  end
975
989
 
@@ -1361,6 +1375,7 @@ module Aws::Lambda
1361
1375
  attr_accessor s3_bucket: ::String
1362
1376
  attr_accessor s3_key: ::String
1363
1377
  attr_accessor s3_object_version: ::String
1378
+ attr_accessor s3_object_storage_mode: ("COPY" | "REFERENCE")
1364
1379
  attr_accessor zip_file: ::String
1365
1380
  SENSITIVE: [:zip_file]
1366
1381
  end
@@ -1371,6 +1386,7 @@ module Aws::Lambda
1371
1386
  attr_accessor code_size: ::Integer
1372
1387
  attr_accessor signing_profile_version_arn: ::String
1373
1388
  attr_accessor signing_job_arn: ::String
1389
+ attr_accessor resolved_s3_object: Types::ResolvedS3Object
1374
1390
  SENSITIVE: []
1375
1391
  end
1376
1392
 
@@ -1851,6 +1867,13 @@ module Aws::Lambda
1851
1867
  SENSITIVE: []
1852
1868
  end
1853
1869
 
1870
+ class ResolvedS3Object
1871
+ attr_accessor s3_bucket: ::String
1872
+ attr_accessor s3_key: ::String
1873
+ attr_accessor s3_object_version: ::String
1874
+ SENSITIVE: []
1875
+ end
1876
+
1854
1877
  class ResourceConflictException
1855
1878
  attr_accessor type: ::String
1856
1879
  attr_accessor message: ::String
@@ -2182,6 +2205,7 @@ module Aws::Lambda
2182
2205
  attr_accessor s3_bucket: ::String
2183
2206
  attr_accessor s3_key: ::String
2184
2207
  attr_accessor s3_object_version: ::String
2208
+ attr_accessor s3_object_storage_mode: ("COPY" | "REFERENCE")
2185
2209
  attr_accessor image_uri: ::String
2186
2210
  attr_accessor architectures: ::Array[("x86_64" | "arm64")]
2187
2211
  attr_accessor publish: bool
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.185.0
4
+ version: 1.187.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services