aws-sdk-lambda 1.202.0 → 1.216.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.
@@ -272,7 +272,8 @@ module Aws::Lambda
272
272
  # An integer representing the maximum number attempts that will be made for
273
273
  # a single request, including the initial attempt. For example,
274
274
  # setting this value to 5 will result in a request being retried up to
275
- # 4 times. Used in `standard` and `adaptive` retry modes.
275
+ # 4 times. Used in `standard` and `adaptive` retry modes. Defaults to 3,
276
+ # except for DynamoDB and DynamoDB Streams, which default to 4.
276
277
  #
277
278
  # @option options [Proc] :output_event_stream_handler
278
279
  # When an EventStream or Proc object is provided, it will be used as callback for each chunk of event stream response received along the way.
@@ -338,15 +339,15 @@ module Aws::Lambda
338
339
  # used by the default backoff function. This option is only used in the
339
340
  # `legacy` retry mode.
340
341
  #
341
- # @option options [String] :retry_mode ("legacy")
342
+ # @option options [String] :retry_mode ("standard")
342
343
  # Specifies which retry algorithm to use. Values are:
343
344
  #
344
- # * `legacy` - The pre-existing retry behavior. This is the default
345
- # value if no retry mode is provided.
345
+ # * `legacy` - The pre-existing retry behavior.
346
346
  #
347
347
  # * `standard` - A standardized set of retry rules across the AWS SDKs.
348
348
  # This includes support for retry quotas, which limit the number of
349
- # unsuccessful retries a client can make.
349
+ # unsuccessful retries a client can make. This is the default value
350
+ # if no retry mode is provided.
350
351
  #
351
352
  # * `adaptive` - A retry mode that includes all the functionality of
352
353
  # `standard` mode along with automatic client side throttling.
@@ -561,7 +562,7 @@ module Aws::Lambda
561
562
  # @example Request syntax with placeholder values
562
563
  #
563
564
  # resp = client.add_layer_version_permission({
564
- # layer_name: "LayerName", # required
565
+ # layer_name: "LayerNameOrArn", # required
565
566
  # version_number: 1, # required
566
567
  # statement_id: "StatementId", # required
567
568
  # action: "LayerPermissionAllowedAction", # required
@@ -1068,7 +1069,7 @@ module Aws::Lambda
1068
1069
  # scaling_mode: "Auto", # accepts Auto, Manual
1069
1070
  # scaling_policies: [
1070
1071
  # {
1071
- # predefined_metric_type: "LambdaCapacityProviderAverageCPUUtilization", # required, accepts LambdaCapacityProviderAverageCPUUtilization
1072
+ # predefined_metric_type: "LambdaCapacityProviderAverageCPUUtilization", # required, accepts LambdaCapacityProviderAverageCPUUtilization, LambdaCapacityProviderAverageGPUUtilization
1072
1073
  # target_value: 1.0, # required
1073
1074
  # },
1074
1075
  # ],
@@ -1109,7 +1110,7 @@ module Aws::Lambda
1109
1110
  # resp.capacity_provider.capacity_provider_scaling_config.max_v_cpu_count #=> Integer
1110
1111
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
1111
1112
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies #=> Array
1112
- # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization"
1113
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization", "LambdaCapacityProviderAverageGPUUtilization"
1113
1114
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
1114
1115
  # resp.capacity_provider.kms_key_arn #=> String
1115
1116
  # resp.capacity_provider.last_modified #=> Time
@@ -1402,6 +1403,9 @@ module Aws::Lambda
1402
1403
  # when you set `BatchSize` to a value greater than 10, you must set
1403
1404
  # `MaximumBatchingWindowInSeconds` to at least 1.
1404
1405
  #
1406
+ # Not supported for Kafka event source mappings when `ConsumptionMode`
1407
+ # is `Queue`.
1408
+ #
1405
1409
  # @option params [Integer] :parallelization_factor
1406
1410
  # (Kinesis and DynamoDB Streams only) The number of batches to process
1407
1411
  # from each shard concurrently.
@@ -1412,10 +1416,16 @@ module Aws::Lambda
1412
1416
  # `AT_TIMESTAMP` is supported only for Amazon Kinesis streams, Amazon
1413
1417
  # DocumentDB, Amazon MSK, and self-managed Apache Kafka.
1414
1418
  #
1419
+ # Not supported for Kafka event source mappings when `ConsumptionMode`
1420
+ # is `Queue`.
1421
+ #
1415
1422
  # @option params [Time,DateTime,Date,Integer,String] :starting_position_timestamp
1416
1423
  # With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to
1417
1424
  # start reading. `StartingPositionTimestamp` cannot be in the future.
1418
1425
  #
1426
+ # Not supported for Kafka event source mappings when `ConsumptionMode`
1427
+ # is `Queue`.
1428
+ #
1419
1429
  # @option params [Types::DestinationConfig] :destination_config
1420
1430
  # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka)
1421
1431
  # A configuration object that specifies the destination of an event
@@ -1436,6 +1446,12 @@ module Aws::Lambda
1436
1446
  # value is infinite (-1). When set to infinite (-1), failed records are
1437
1447
  # retried until the record expires.
1438
1448
  #
1449
+ # For Kafka event source mappings with `ConsumptionMode` set to `Queue`,
1450
+ # the value -1 (infinite retries) is not supported and the default is 0
1451
+ # (no retries). Lambda releases failed records back to the broker, which
1452
+ # redelivers them up to the share group's
1453
+ # `group.share.delivery.count.limit`.
1454
+ #
1439
1455
  # @option params [Hash<String,String>] :tags
1440
1456
  # A list of tags to apply to the event source mapping.
1441
1457
  #
@@ -1632,6 +1648,7 @@ module Aws::Lambda
1632
1648
  # },
1633
1649
  # ],
1634
1650
  # },
1651
+ # consumption_mode: "Stream", # accepts Stream, Queue
1635
1652
  # },
1636
1653
  # document_db_event_source_config: {
1637
1654
  # database_name: "DatabaseName",
@@ -1702,6 +1719,7 @@ module Aws::Lambda
1702
1719
  # resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
1703
1720
  # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
1704
1721
  # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
1722
+ # resp.self_managed_kafka_event_source_config.consumption_mode #=> String, one of "Stream", "Queue"
1705
1723
  # resp.document_db_event_source_config.database_name #=> String
1706
1724
  # resp.document_db_event_source_config.collection_name #=> String
1707
1725
  # resp.document_db_event_source_config.full_document #=> String, one of "UpdateLookup", "Default"
@@ -1849,7 +1867,7 @@ module Aws::Lambda
1849
1867
  # @option params [Integer] :timeout
1850
1868
  # The amount of time (in seconds) that Lambda allows a function to run
1851
1869
  # before stopping it. The default is 3 seconds, and the maximum allowed
1852
- # value is 900 seconds. For functions using Lambda Managed Instances,
1870
+ # value is 1,800 seconds. For functions using Lambda Managed Instances,
1853
1871
  # asynchronous invocations and event source mapping invocations (except
1854
1872
  # Amazon MQ and Amazon DocumentDB) support a maximum allowed value of
1855
1873
  # 5,400 seconds (90 minutes). For more information, see [Lambda
@@ -1982,6 +2000,7 @@ module Aws::Lambda
1982
2000
  # @option params [Types::EphemeralStorage] :ephemeral_storage
1983
2001
  # The size of the function's `/tmp` directory in MB. The default value
1984
2002
  # is 512, but can be any whole number between 512 and 10,240 MB. For
2003
+ # functions that use `AcceleratorConfig`, the maximum is 32,768 MB. For
1985
2004
  # more information, see [Configuring ephemeral storage (console)][1].
1986
2005
  #
1987
2006
  #
@@ -2012,6 +2031,14 @@ module Aws::Lambda
2012
2031
  # functions with durability that can remember their state and continue
2013
2032
  # execution even after interruptions.
2014
2033
  #
2034
+ # @option params [Types::FunctionRuntimeConfig] :runtime_config
2035
+ # The customer-managed runtime configuration for your function.
2036
+ # Specifies the customer-managed runtime and the runtime alias that your
2037
+ # function uses.
2038
+ #
2039
+ # @option params [Types::AcceleratorConfig] :accelerator_config
2040
+ # The accelerator resource settings for a Lambda execution environment.
2041
+ #
2015
2042
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2016
2043
  #
2017
2044
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -2054,6 +2081,8 @@ module Aws::Lambda
2054
2081
  # * {Types::FunctionConfiguration#capacity_provider_config #capacity_provider_config} => Types::CapacityProviderConfig
2055
2082
  # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
2056
2083
  # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
2084
+ # * {Types::FunctionConfiguration#runtime_config #runtime_config} => Types::FunctionRuntimeConfig
2085
+ # * {Types::FunctionConfiguration#accelerator_config #accelerator_config} => Types::AcceleratorConfig
2057
2086
  #
2058
2087
  #
2059
2088
  # @example Example: To create a function
@@ -2130,7 +2159,7 @@ module Aws::Lambda
2130
2159
  #
2131
2160
  # resp = client.create_function({
2132
2161
  # function_name: "FunctionName", # required
2133
- # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, nodejs26.x, python3.15, java8.al2023, java11.al2023, java17.al2023
2162
+ # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, nodejs26.x, python3.15, java8.al2023, java11.al2023, java17.al2023, custom
2134
2163
  # role: "RoleArn", # required
2135
2164
  # handler: "Handler",
2136
2165
  # code: { # required
@@ -2212,13 +2241,20 @@ module Aws::Lambda
2212
2241
  # retention_period_in_days: 1,
2213
2242
  # execution_timeout: 1,
2214
2243
  # },
2244
+ # runtime_config: {
2245
+ # runtime_arn: "FunctionRuntimeArn", # required
2246
+ # runtime_alias: "FunctionRuntimeAlias", # required
2247
+ # },
2248
+ # accelerator_config: {
2249
+ # accelerator_memory_size: 1, # required
2250
+ # },
2215
2251
  # })
2216
2252
  #
2217
2253
  # @example Response structure
2218
2254
  #
2219
2255
  # resp.function_name #=> String
2220
2256
  # resp.function_arn #=> String
2221
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
2257
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023", "custom"
2222
2258
  # resp.role #=> String
2223
2259
  # resp.handler #=> String
2224
2260
  # resp.code_size #=> Integer
@@ -2250,10 +2286,10 @@ module Aws::Lambda
2250
2286
  # resp.layers[0].signing_job_arn #=> String
2251
2287
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
2252
2288
  # resp.state_reason #=> String
2253
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DrainingDurableExecutions", "DependencyError"
2289
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DrainingDurableExecutions", "IncompatibleAcceleratorInstanceTypes", "DependencyError"
2254
2290
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
2255
2291
  # resp.last_update_status_reason #=> String
2256
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DependencyError"
2292
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "IncompatibleAcceleratorInstanceTypes", "DependencyError"
2257
2293
  # resp.file_system_configs #=> Array
2258
2294
  # resp.file_system_configs[0].arn #=> String
2259
2295
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -2288,6 +2324,9 @@ module Aws::Lambda
2288
2324
  # resp.durable_config.kms_key_arn #=> String
2289
2325
  # resp.durable_config.retention_period_in_days #=> Integer
2290
2326
  # resp.durable_config.execution_timeout #=> Integer
2327
+ # resp.runtime_config.runtime_arn #=> String
2328
+ # resp.runtime_config.runtime_alias #=> String
2329
+ # resp.accelerator_config.accelerator_memory_size #=> Integer
2291
2330
  #
2292
2331
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
2293
2332
  #
@@ -2491,7 +2530,7 @@ module Aws::Lambda
2491
2530
  # resp.capacity_provider.capacity_provider_scaling_config.max_v_cpu_count #=> Integer
2492
2531
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
2493
2532
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies #=> Array
2494
- # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization"
2533
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization", "LambdaCapacityProviderAverageGPUUtilization"
2495
2534
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
2496
2535
  # resp.capacity_provider.kms_key_arn #=> String
2497
2536
  # resp.capacity_provider.last_modified #=> Time
@@ -2533,6 +2572,45 @@ module Aws::Lambda
2533
2572
  req.send_request(options)
2534
2573
  end
2535
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
+
2536
2614
  # Deletes an [event source mapping][1]. You can get the identifier of a
2537
2615
  # mapping from the output of ListEventSourceMappings.
2538
2616
  #
@@ -2665,6 +2743,7 @@ module Aws::Lambda
2665
2743
  # resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
2666
2744
  # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
2667
2745
  # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
2746
+ # resp.self_managed_kafka_event_source_config.consumption_mode #=> String, one of "Stream", "Queue"
2668
2747
  # resp.document_db_event_source_config.database_name #=> String
2669
2748
  # resp.document_db_event_source_config.collection_name #=> String
2670
2749
  # resp.document_db_event_source_config.full_document #=> String, one of "UpdateLookup", "Default"
@@ -2786,7 +2865,7 @@ module Aws::Lambda
2786
2865
  req.send_request(options)
2787
2866
  end
2788
2867
 
2789
- # Removes a concurrent execution limit from a function.
2868
+ # Removes a concurrent execution limit from a Lambda Event Function.
2790
2869
  #
2791
2870
  # @option params [required, String] :function_name
2792
2871
  # The name or ARN of the Lambda function.
@@ -2953,7 +3032,7 @@ module Aws::Lambda
2953
3032
  # @example Request syntax with placeholder values
2954
3033
  #
2955
3034
  # resp = client.delete_layer_version({
2956
- # layer_name: "LayerName", # required
3035
+ # layer_name: "LayerNameOrArn", # required
2957
3036
  # version_number: 1, # required
2958
3037
  # })
2959
3038
  #
@@ -3217,7 +3296,7 @@ module Aws::Lambda
3217
3296
  # resp.capacity_provider.capacity_provider_scaling_config.max_v_cpu_count #=> Integer
3218
3297
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
3219
3298
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies #=> Array
3220
- # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization"
3299
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization", "LambdaCapacityProviderAverageGPUUtilization"
3221
3300
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
3222
3301
  # resp.capacity_provider.kms_key_arn #=> String
3223
3302
  # resp.capacity_provider.last_modified #=> Time
@@ -3303,6 +3382,8 @@ module Aws::Lambda
3303
3382
  # * {Types::GetDurableExecutionResponse#trace_header #trace_header} => Types::TraceHeader
3304
3383
  # * {Types::GetDurableExecutionResponse#execution_data_included #execution_data_included} => Boolean
3305
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
3306
3387
  #
3307
3388
  # @example Request syntax with placeholder values
3308
3389
  #
@@ -3324,7 +3405,7 @@ module Aws::Lambda
3324
3405
  # resp.error.stack_trace #=> Array
3325
3406
  # resp.error.stack_trace[0] #=> String
3326
3407
  # resp.start_timestamp #=> Time
3327
- # 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"
3328
3409
  # resp.end_timestamp #=> Time
3329
3410
  # resp.version #=> String
3330
3411
  # resp.trace_header.x_amzn_trace_id #=> String
@@ -3332,6 +3413,10 @@ module Aws::Lambda
3332
3413
  # resp.durable_config.kms_key_arn #=> String
3333
3414
  # resp.durable_config.retention_period_in_days #=> Integer
3334
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
3335
3420
  #
3336
3421
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecution AWS API Documentation
3337
3422
  #
@@ -3400,7 +3485,7 @@ module Aws::Lambda
3400
3485
  # @example Response structure
3401
3486
  #
3402
3487
  # resp.events #=> Array
3403
- # 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"
3404
3489
  # resp.events[0].sub_type #=> String
3405
3490
  # resp.events[0].event_id #=> Integer
3406
3491
  # resp.events[0].id #=> String
@@ -3511,6 +3596,13 @@ module Aws::Lambda
3511
3596
  # resp.events[0].invocation_completed_details.error.payload.stack_trace #=> Array
3512
3597
  # resp.events[0].invocation_completed_details.error.payload.stack_trace[0] #=> String
3513
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
3514
3606
  # resp.next_marker #=> String
3515
3607
  #
3516
3608
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecutionHistory AWS API Documentation
@@ -3754,6 +3846,7 @@ module Aws::Lambda
3754
3846
  # resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
3755
3847
  # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
3756
3848
  # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
3849
+ # resp.self_managed_kafka_event_source_config.consumption_mode #=> String, one of "Stream", "Queue"
3757
3850
  # resp.document_db_event_source_config.database_name #=> String
3758
3851
  # resp.document_db_event_source_config.collection_name #=> String
3759
3852
  # resp.document_db_event_source_config.full_document #=> String, one of "UpdateLookup", "Default"
@@ -3771,10 +3864,10 @@ module Aws::Lambda
3771
3864
  req.send_request(options)
3772
3865
  end
3773
3866
 
3774
- # Returns information about the function or function version, with a
3775
- # link to download the deployment package that's valid for 10 minutes.
3776
- # If you specify a function version, only details that are specific to
3777
- # that version are returned.
3867
+ # Returns information about a Lambda Event Function or function version,
3868
+ # with a link to download the deployment package that's valid for 10
3869
+ # minutes. If you specify a function version, only details that are
3870
+ # specific to that version are returned.
3778
3871
  #
3779
3872
  # @option params [required, String] :function_name
3780
3873
  # The name or ARN of the Lambda function, version, or alias.
@@ -3868,7 +3961,7 @@ module Aws::Lambda
3868
3961
  #
3869
3962
  # resp.configuration.function_name #=> String
3870
3963
  # resp.configuration.function_arn #=> String
3871
- # resp.configuration.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
3964
+ # resp.configuration.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023", "custom"
3872
3965
  # resp.configuration.role #=> String
3873
3966
  # resp.configuration.handler #=> String
3874
3967
  # resp.configuration.code_size #=> Integer
@@ -3900,10 +3993,10 @@ module Aws::Lambda
3900
3993
  # resp.configuration.layers[0].signing_job_arn #=> String
3901
3994
  # resp.configuration.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
3902
3995
  # resp.configuration.state_reason #=> String
3903
- # resp.configuration.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DrainingDurableExecutions", "DependencyError"
3996
+ # resp.configuration.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DrainingDurableExecutions", "IncompatibleAcceleratorInstanceTypes", "DependencyError"
3904
3997
  # resp.configuration.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
3905
3998
  # resp.configuration.last_update_status_reason #=> String
3906
- # resp.configuration.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DependencyError"
3999
+ # resp.configuration.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "IncompatibleAcceleratorInstanceTypes", "DependencyError"
3907
4000
  # resp.configuration.file_system_configs #=> Array
3908
4001
  # resp.configuration.file_system_configs[0].arn #=> String
3909
4002
  # resp.configuration.file_system_configs[0].local_mount_path #=> String
@@ -3938,6 +4031,9 @@ module Aws::Lambda
3938
4031
  # resp.configuration.durable_config.kms_key_arn #=> String
3939
4032
  # resp.configuration.durable_config.retention_period_in_days #=> Integer
3940
4033
  # resp.configuration.durable_config.execution_timeout #=> Integer
4034
+ # resp.configuration.runtime_config.runtime_arn #=> String
4035
+ # resp.configuration.runtime_config.runtime_alias #=> String
4036
+ # resp.configuration.accelerator_config.accelerator_memory_size #=> Integer
3941
4037
  # resp.code.repository_type #=> String
3942
4038
  # resp.code.location #=> String
3943
4039
  # resp.code.image_uri #=> String
@@ -4139,6 +4235,8 @@ module Aws::Lambda
4139
4235
  # * {Types::FunctionConfiguration#capacity_provider_config #capacity_provider_config} => Types::CapacityProviderConfig
4140
4236
  # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
4141
4237
  # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
4238
+ # * {Types::FunctionConfiguration#runtime_config #runtime_config} => Types::FunctionRuntimeConfig
4239
+ # * {Types::FunctionConfiguration#accelerator_config #accelerator_config} => Types::AcceleratorConfig
4142
4240
  #
4143
4241
  #
4144
4242
  # @example Example: To get a Lambda function's event source mapping
@@ -4194,7 +4292,7 @@ module Aws::Lambda
4194
4292
  #
4195
4293
  # resp.function_name #=> String
4196
4294
  # resp.function_arn #=> String
4197
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
4295
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023", "custom"
4198
4296
  # resp.role #=> String
4199
4297
  # resp.handler #=> String
4200
4298
  # resp.code_size #=> Integer
@@ -4226,10 +4324,10 @@ module Aws::Lambda
4226
4324
  # resp.layers[0].signing_job_arn #=> String
4227
4325
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
4228
4326
  # resp.state_reason #=> String
4229
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DrainingDurableExecutions", "DependencyError"
4327
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DrainingDurableExecutions", "IncompatibleAcceleratorInstanceTypes", "DependencyError"
4230
4328
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
4231
4329
  # resp.last_update_status_reason #=> String
4232
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DependencyError"
4330
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "IncompatibleAcceleratorInstanceTypes", "DependencyError"
4233
4331
  # resp.file_system_configs #=> Array
4234
4332
  # resp.file_system_configs[0].arn #=> String
4235
4333
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -4264,6 +4362,9 @@ module Aws::Lambda
4264
4362
  # resp.durable_config.kms_key_arn #=> String
4265
4363
  # resp.durable_config.retention_period_in_days #=> Integer
4266
4364
  # resp.durable_config.execution_timeout #=> Integer
4365
+ # resp.runtime_config.runtime_arn #=> String
4366
+ # resp.runtime_config.runtime_alias #=> String
4367
+ # resp.accelerator_config.accelerator_memory_size #=> Integer
4267
4368
  #
4268
4369
  #
4269
4370
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -4560,7 +4661,7 @@ module Aws::Lambda
4560
4661
  # @example Request syntax with placeholder values
4561
4662
  #
4562
4663
  # resp = client.get_layer_version({
4563
- # layer_name: "LayerName", # required
4664
+ # layer_name: "LayerNameOrArn", # required
4564
4665
  # version_number: 1, # required
4565
4666
  # })
4566
4667
  #
@@ -4582,7 +4683,7 @@ module Aws::Lambda
4582
4683
  # resp.compatible_architectures #=> Array
4583
4684
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
4584
4685
  # resp.compatible_runtimes #=> Array
4585
- # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
4686
+ # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023", "custom"
4586
4687
  # resp.license_info #=> String
4587
4688
  #
4588
4689
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersion AWS API Documentation
@@ -4666,7 +4767,7 @@ module Aws::Lambda
4666
4767
  # resp.compatible_architectures #=> Array
4667
4768
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
4668
4769
  # resp.compatible_runtimes #=> Array
4669
- # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
4770
+ # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023", "custom"
4670
4771
  # resp.license_info #=> String
4671
4772
  #
4672
4773
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionByArn AWS API Documentation
@@ -4699,7 +4800,7 @@ module Aws::Lambda
4699
4800
  # @example Request syntax with placeholder values
4700
4801
  #
4701
4802
  # resp = client.get_layer_version_policy({
4702
- # layer_name: "LayerName", # required
4803
+ # layer_name: "LayerNameOrArn", # required
4703
4804
  # version_number: 1, # required
4704
4805
  # })
4705
4806
  #
@@ -5019,7 +5120,9 @@ module Aws::Lambda
5019
5120
  # For functions with a long timeout, your client might disconnect during
5020
5121
  # synchronous invocation while it waits for a response. Configure your
5021
5122
  # HTTP client, SDK, firewall, proxy, or operating system to allow for
5022
- # long connections with timeout or keep-alive settings.
5123
+ # long connections with timeout or keep-alive settings. Synchronous
5124
+ # invocations can run for up to 30 minutes. Set the read timeout of your
5125
+ # client higher than the function timeout, and turn on TCP keep-alive.
5023
5126
  #
5024
5127
  # This operation requires permission for the [lambda:InvokeFunction][8]
5025
5128
  # action. For details on how to set up permissions for cross-account
@@ -5079,6 +5182,8 @@ module Aws::Lambda
5079
5182
  # `ClientContext` object to your function for synchronous invocations
5080
5183
  # only.
5081
5184
  #
5185
+ # `ClientContext` is logged to CloudTrail if you turn on data events.
5186
+ #
5082
5187
  # @option params [String] :durable_execution_name
5083
5188
  # A unique name for the durable execution. If you invoke a durable
5084
5189
  # function using a name that already exists with the same payload,
@@ -5298,6 +5403,8 @@ module Aws::Lambda
5298
5403
  # Up to 3,583 bytes of base64-encoded data about the invoking client to
5299
5404
  # pass to the function in the context object.
5300
5405
  #
5406
+ # `ClientContext` is logged to CloudTrail if you turn on data events.
5407
+ #
5301
5408
  # @option params [String] :qualifier
5302
5409
  # The alias name.
5303
5410
  #
@@ -5633,7 +5740,7 @@ module Aws::Lambda
5633
5740
  # resp.capacity_providers[0].capacity_provider_scaling_config.max_v_cpu_count #=> Integer
5634
5741
  # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
5635
5742
  # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_policies #=> Array
5636
- # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization"
5743
+ # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization", "LambdaCapacityProviderAverageGPUUtilization"
5637
5744
  # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
5638
5745
  # resp.capacity_providers[0].kms_key_arn #=> String
5639
5746
  # resp.capacity_providers[0].last_modified #=> Time
@@ -5725,8 +5832,27 @@ module Aws::Lambda
5725
5832
  # this string are returned.
5726
5833
  #
5727
5834
  # @option params [Array<String>] :statuses
5728
- # Filter executions by status. Valid values: RUNNING, SUCCEEDED, FAILED,
5729
- # TIMED\_OUT, STOPPED.
5835
+ # Filters the executions by status. Specify one of the following values:
5836
+ #
5837
+ # * `RUNNING` – The execution is running or waiting for pending
5838
+ # operations to complete.
5839
+ #
5840
+ # * `PAUSING` – The execution is waiting for an in-progress invocation
5841
+ # to reach its next checkpoint before it pauses.
5842
+ #
5843
+ # * `PAUSED` – The execution is paused, and Lambda doesn't invoke your
5844
+ # function.
5845
+ #
5846
+ # * `SUCCEEDED` – The execution completed successfully.
5847
+ #
5848
+ # * `FAILED` – The execution completed with an error.
5849
+ #
5850
+ # * `TIMED_OUT` – The execution exceeded its execution timeout.
5851
+ #
5852
+ # * `STOPPED` – A `StopDurableExecution` request stopped the execution.
5853
+ #
5854
+ # * `DELETING` – A `DeleteDurableExecution` request is deleting the
5855
+ # execution and its data.
5730
5856
  #
5731
5857
  # @option params [Time,DateTime,Date,Integer,String] :started_after
5732
5858
  # Filter executions that started after this timestamp (ISO 8601 format).
@@ -5759,7 +5885,7 @@ module Aws::Lambda
5759
5885
  # function_name: "NamespacedFunctionName", # required
5760
5886
  # qualifier: "NumericLatestPublishedOrAliasQualifier",
5761
5887
  # durable_execution_name: "DurableExecutionName",
5762
- # statuses: ["RUNNING"], # accepts RUNNING, SUCCEEDED, FAILED, TIMED_OUT, STOPPED
5888
+ # statuses: ["RUNNING"], # accepts RUNNING, SUCCEEDED, FAILED, TIMED_OUT, STOPPED, DELETING, PAUSING, PAUSED
5763
5889
  # started_after: Time.now,
5764
5890
  # started_before: Time.now,
5765
5891
  # reverse_order: false,
@@ -5773,7 +5899,7 @@ module Aws::Lambda
5773
5899
  # resp.durable_executions[0].durable_execution_arn #=> String
5774
5900
  # resp.durable_executions[0].durable_execution_name #=> String
5775
5901
  # resp.durable_executions[0].function_arn #=> String
5776
- # resp.durable_executions[0].status #=> String, one of "RUNNING", "SUCCEEDED", "FAILED", "TIMED_OUT", "STOPPED"
5902
+ # resp.durable_executions[0].status #=> String, one of "RUNNING", "SUCCEEDED", "FAILED", "TIMED_OUT", "STOPPED", "DELETING", "PAUSING", "PAUSED"
5777
5903
  # resp.durable_executions[0].start_timestamp #=> Time
5778
5904
  # resp.durable_executions[0].end_timestamp #=> Time
5779
5905
  # resp.durable_executions[0].kms_key_arn #=> String
@@ -5938,6 +6064,7 @@ module Aws::Lambda
5938
6064
  # resp.event_source_mappings[0].self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
5939
6065
  # resp.event_source_mappings[0].self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
5940
6066
  # resp.event_source_mappings[0].self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
6067
+ # resp.event_source_mappings[0].self_managed_kafka_event_source_config.consumption_mode #=> String, one of "Stream", "Queue"
5941
6068
  # resp.event_source_mappings[0].document_db_event_source_config.database_name #=> String
5942
6069
  # resp.event_source_mappings[0].document_db_event_source_config.collection_name #=> String
5943
6070
  # resp.event_source_mappings[0].document_db_event_source_config.full_document #=> String, one of "UpdateLookup", "Default"
@@ -5956,7 +6083,8 @@ module Aws::Lambda
5956
6083
  end
5957
6084
 
5958
6085
  # Retrieves a list of configurations for asynchronous invocation for a
5959
- # function.
6086
+ # Lambda Event Function. To retrieve more configurations, use the
6087
+ # `Marker` parameter.
5960
6088
  #
5961
6089
  # To configure options for asynchronous invocation, use
5962
6090
  # PutFunctionEventInvokeConfig.
@@ -6280,7 +6408,7 @@ module Aws::Lambda
6280
6408
  # resp.functions #=> Array
6281
6409
  # resp.functions[0].function_name #=> String
6282
6410
  # resp.functions[0].function_arn #=> String
6283
- # resp.functions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
6411
+ # resp.functions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023", "custom"
6284
6412
  # resp.functions[0].role #=> String
6285
6413
  # resp.functions[0].handler #=> String
6286
6414
  # resp.functions[0].code_size #=> Integer
@@ -6312,10 +6440,10 @@ module Aws::Lambda
6312
6440
  # resp.functions[0].layers[0].signing_job_arn #=> String
6313
6441
  # resp.functions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
6314
6442
  # resp.functions[0].state_reason #=> String
6315
- # resp.functions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DrainingDurableExecutions", "DependencyError"
6443
+ # resp.functions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DrainingDurableExecutions", "IncompatibleAcceleratorInstanceTypes", "DependencyError"
6316
6444
  # resp.functions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
6317
6445
  # resp.functions[0].last_update_status_reason #=> String
6318
- # resp.functions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DependencyError"
6446
+ # resp.functions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "IncompatibleAcceleratorInstanceTypes", "DependencyError"
6319
6447
  # resp.functions[0].file_system_configs #=> Array
6320
6448
  # resp.functions[0].file_system_configs[0].arn #=> String
6321
6449
  # resp.functions[0].file_system_configs[0].local_mount_path #=> String
@@ -6350,6 +6478,9 @@ module Aws::Lambda
6350
6478
  # resp.functions[0].durable_config.kms_key_arn #=> String
6351
6479
  # resp.functions[0].durable_config.retention_period_in_days #=> Integer
6352
6480
  # resp.functions[0].durable_config.execution_timeout #=> Integer
6481
+ # resp.functions[0].runtime_config.runtime_arn #=> String
6482
+ # resp.functions[0].runtime_config.runtime_alias #=> String
6483
+ # resp.functions[0].accelerator_config.accelerator_memory_size #=> Integer
6353
6484
  #
6354
6485
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
6355
6486
  #
@@ -6489,8 +6620,8 @@ module Aws::Lambda
6489
6620
  #
6490
6621
  # resp = client.list_layer_versions({
6491
6622
  # compatible_architecture: "x86_64", # accepts x86_64, arm64
6492
- # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, nodejs26.x, python3.15, java8.al2023, java11.al2023, java17.al2023
6493
- # layer_name: "LayerName", # required
6623
+ # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, nodejs26.x, python3.15, java8.al2023, java11.al2023, java17.al2023, custom
6624
+ # layer_name: "LayerNameOrArn", # required
6494
6625
  # marker: "String",
6495
6626
  # max_items: 1,
6496
6627
  # })
@@ -6506,7 +6637,7 @@ module Aws::Lambda
6506
6637
  # resp.layer_versions[0].compatible_architectures #=> Array
6507
6638
  # resp.layer_versions[0].compatible_architectures[0] #=> String, one of "x86_64", "arm64"
6508
6639
  # resp.layer_versions[0].compatible_runtimes #=> Array
6509
- # resp.layer_versions[0].compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
6640
+ # resp.layer_versions[0].compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023", "custom"
6510
6641
  # resp.layer_versions[0].license_info #=> String
6511
6642
  #
6512
6643
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersions AWS API Documentation
@@ -6597,7 +6728,7 @@ module Aws::Lambda
6597
6728
  #
6598
6729
  # resp = client.list_layers({
6599
6730
  # compatible_architecture: "x86_64", # accepts x86_64, arm64
6600
- # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, nodejs26.x, python3.15, java8.al2023, java11.al2023, java17.al2023
6731
+ # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, nodejs26.x, python3.15, java8.al2023, java11.al2023, java17.al2023, custom
6601
6732
  # marker: "String",
6602
6733
  # max_items: 1,
6603
6734
  # })
@@ -6615,7 +6746,7 @@ module Aws::Lambda
6615
6746
  # resp.layers[0].latest_matching_version.compatible_architectures #=> Array
6616
6747
  # resp.layers[0].latest_matching_version.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
6617
6748
  # resp.layers[0].latest_matching_version.compatible_runtimes #=> Array
6618
- # resp.layers[0].latest_matching_version.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
6749
+ # resp.layers[0].latest_matching_version.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023", "custom"
6619
6750
  # resp.layers[0].latest_matching_version.license_info #=> String
6620
6751
  #
6621
6752
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayers AWS API Documentation
@@ -6772,8 +6903,9 @@ module Aws::Lambda
6772
6903
  req.send_request(options)
6773
6904
  end
6774
6905
 
6775
- # Returns a list of [versions][1], with the version-specific
6776
- # configuration of each. Lambda returns up to 50 versions per call.
6906
+ # Returns a list of [versions][1] of a Lambda Event Function, with the
6907
+ # version-specific configuration of each. Lambda returns up to 50
6908
+ # versions per call.
6777
6909
  #
6778
6910
  #
6779
6911
  #
@@ -6897,7 +7029,7 @@ module Aws::Lambda
6897
7029
  # resp.versions #=> Array
6898
7030
  # resp.versions[0].function_name #=> String
6899
7031
  # resp.versions[0].function_arn #=> String
6900
- # resp.versions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
7032
+ # resp.versions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023", "custom"
6901
7033
  # resp.versions[0].role #=> String
6902
7034
  # resp.versions[0].handler #=> String
6903
7035
  # resp.versions[0].code_size #=> Integer
@@ -6929,10 +7061,10 @@ module Aws::Lambda
6929
7061
  # resp.versions[0].layers[0].signing_job_arn #=> String
6930
7062
  # resp.versions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
6931
7063
  # resp.versions[0].state_reason #=> String
6932
- # resp.versions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DrainingDurableExecutions", "DependencyError"
7064
+ # resp.versions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DrainingDurableExecutions", "IncompatibleAcceleratorInstanceTypes", "DependencyError"
6933
7065
  # resp.versions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
6934
7066
  # resp.versions[0].last_update_status_reason #=> String
6935
- # resp.versions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DependencyError"
7067
+ # resp.versions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "IncompatibleAcceleratorInstanceTypes", "DependencyError"
6936
7068
  # resp.versions[0].file_system_configs #=> Array
6937
7069
  # resp.versions[0].file_system_configs[0].arn #=> String
6938
7070
  # resp.versions[0].file_system_configs[0].local_mount_path #=> String
@@ -6967,6 +7099,9 @@ module Aws::Lambda
6967
7099
  # resp.versions[0].durable_config.kms_key_arn #=> String
6968
7100
  # resp.versions[0].durable_config.retention_period_in_days #=> Integer
6969
7101
  # resp.versions[0].durable_config.execution_timeout #=> Integer
7102
+ # resp.versions[0].runtime_config.runtime_arn #=> String
7103
+ # resp.versions[0].runtime_config.runtime_alias #=> String
7104
+ # resp.versions[0].accelerator_config.accelerator_memory_size #=> Integer
6970
7105
  #
6971
7106
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
6972
7107
  #
@@ -6977,6 +7112,65 @@ module Aws::Lambda
6977
7112
  req.send_request(options)
6978
7113
  end
6979
7114
 
7115
+ # Pauses a running [durable execution][1]. While an execution is paused,
7116
+ # Lambda doesn't invoke your function, but pending operations such as
7117
+ # waits and callbacks continue to complete.
7118
+ #
7119
+ # If an invocation is in progress, the execution status changes to
7120
+ # `PAUSING` until the invocation reaches its next checkpoint, and then
7121
+ # changes to `PAUSED`. This operation returns a successful response
7122
+ # while the execution status is still `RUNNING`, and the status changes
7123
+ # when Lambda processes the request. For more information about pausing
7124
+ # executions, see [Pausing and resuming durable executions][2].
7125
+ #
7126
+ #
7127
+ #
7128
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
7129
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/durable-pause-resume.html
7130
+ #
7131
+ # @option params [required, String] :durable_execution_arn
7132
+ # The Amazon Resource Name (ARN) of the durable execution.
7133
+ #
7134
+ # @option params [String] :client_token
7135
+ # A unique, case-sensitive identifier that you provide so that the
7136
+ # request completes no more than one time. If you repeat a request with
7137
+ # the same client token and parameters within 15 minutes, Lambda
7138
+ # doesn't pause the execution again and returns a successful response
7139
+ # instead of an error.
7140
+ #
7141
+ # **A suitable default value is auto-generated.** You should normally
7142
+ # not need to pass this option.**
7143
+ #
7144
+ # @option params [String] :reason
7145
+ # A description of why you're pausing the execution. Lambda records the
7146
+ # reason in the execution history.
7147
+ #
7148
+ # @option params [Boolean] :execution_timeout_paused
7149
+ # Specifies whether to pause the execution timeout while the execution
7150
+ # is paused. If `true`, Lambda extends the execution timeout by the time
7151
+ # the execution spends paused. An execution with a paused timeout still
7152
+ # times out 366 days after it started. The default value is `true`.
7153
+ #
7154
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7155
+ #
7156
+ # @example Request syntax with placeholder values
7157
+ #
7158
+ # resp = client.pause_durable_execution({
7159
+ # durable_execution_arn: "DurableExecutionArn", # required
7160
+ # client_token: "ClientToken",
7161
+ # reason: "PauseReason",
7162
+ # execution_timeout_paused: false,
7163
+ # })
7164
+ #
7165
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PauseDurableExecution AWS API Documentation
7166
+ #
7167
+ # @overload pause_durable_execution(params = {})
7168
+ # @param [Hash] params ({})
7169
+ def pause_durable_execution(params = {}, options = {})
7170
+ req = build_request(:pause_durable_execution, params)
7171
+ req.send_request(options)
7172
+ end
7173
+
6980
7174
  # Creates an [Lambda layer][1] from a ZIP archive. Each time you call
6981
7175
  # `PublishLayerVersion` with the same layer name, a new version is
6982
7176
  # created.
@@ -7084,7 +7278,7 @@ module Aws::Lambda
7084
7278
  # @example Request syntax with placeholder values
7085
7279
  #
7086
7280
  # resp = client.publish_layer_version({
7087
- # layer_name: "LayerName", # required
7281
+ # layer_name: "LayerNameOrArn", # required
7088
7282
  # description: "Description",
7089
7283
  # content: { # required
7090
7284
  # s3_bucket: "S3Bucket",
@@ -7094,7 +7288,7 @@ module Aws::Lambda
7094
7288
  # zip_file: "data",
7095
7289
  # },
7096
7290
  # compatible_architectures: ["x86_64"], # accepts x86_64, arm64
7097
- # compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, nodejs26.x, python3.15, java8.al2023, java11.al2023, java17.al2023
7291
+ # compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, nodejs26.x, python3.15, java8.al2023, java11.al2023, java17.al2023, custom
7098
7292
  # license_info: "LicenseInfo",
7099
7293
  # })
7100
7294
  #
@@ -7116,7 +7310,7 @@ module Aws::Lambda
7116
7310
  # resp.compatible_architectures #=> Array
7117
7311
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
7118
7312
  # resp.compatible_runtimes #=> Array
7119
- # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
7313
+ # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023", "custom"
7120
7314
  # resp.license_info #=> String
7121
7315
  #
7122
7316
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersion AWS API Documentation
@@ -7129,8 +7323,8 @@ module Aws::Lambda
7129
7323
  end
7130
7324
 
7131
7325
  # Creates a [version][1] from the current code and configuration of a
7132
- # function. Use versions to create a snapshot of your function code and
7133
- # configuration that doesn't change.
7326
+ # Lambda Event Function. Use versions to create a snapshot of your
7327
+ # function code and configuration that doesn't change.
7134
7328
  #
7135
7329
  # Lambda doesn't publish a version if the function's configuration and
7136
7330
  # code haven't changed since the last version. Use UpdateFunctionCode
@@ -7220,6 +7414,8 @@ module Aws::Lambda
7220
7414
  # * {Types::FunctionConfiguration#capacity_provider_config #capacity_provider_config} => Types::CapacityProviderConfig
7221
7415
  # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
7222
7416
  # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
7417
+ # * {Types::FunctionConfiguration#runtime_config #runtime_config} => Types::FunctionRuntimeConfig
7418
+ # * {Types::FunctionConfiguration#accelerator_config #accelerator_config} => Types::AcceleratorConfig
7223
7419
  #
7224
7420
  #
7225
7421
  # @example Example: To publish a version of a Lambda function
@@ -7275,7 +7471,7 @@ module Aws::Lambda
7275
7471
  #
7276
7472
  # resp.function_name #=> String
7277
7473
  # resp.function_arn #=> String
7278
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
7474
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023", "custom"
7279
7475
  # resp.role #=> String
7280
7476
  # resp.handler #=> String
7281
7477
  # resp.code_size #=> Integer
@@ -7307,10 +7503,10 @@ module Aws::Lambda
7307
7503
  # resp.layers[0].signing_job_arn #=> String
7308
7504
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
7309
7505
  # resp.state_reason #=> String
7310
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DrainingDurableExecutions", "DependencyError"
7506
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DrainingDurableExecutions", "IncompatibleAcceleratorInstanceTypes", "DependencyError"
7311
7507
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
7312
7508
  # resp.last_update_status_reason #=> String
7313
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DependencyError"
7509
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "IncompatibleAcceleratorInstanceTypes", "DependencyError"
7314
7510
  # resp.file_system_configs #=> Array
7315
7511
  # resp.file_system_configs[0].arn #=> String
7316
7512
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -7345,6 +7541,9 @@ module Aws::Lambda
7345
7541
  # resp.durable_config.kms_key_arn #=> String
7346
7542
  # resp.durable_config.retention_period_in_days #=> Integer
7347
7543
  # resp.durable_config.execution_timeout #=> Integer
7544
+ # resp.runtime_config.runtime_arn #=> String
7545
+ # resp.runtime_config.runtime_alias #=> String
7546
+ # resp.accelerator_config.accelerator_memory_size #=> Integer
7348
7547
  #
7349
7548
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
7350
7549
  #
@@ -7403,8 +7602,8 @@ module Aws::Lambda
7403
7602
  req.send_request(options)
7404
7603
  end
7405
7604
 
7406
- # Sets the maximum number of simultaneous executions for a function, and
7407
- # reserves capacity for that concurrency level.
7605
+ # Sets the maximum number of simultaneous executions for a Lambda Event
7606
+ # Function, and reserves capacity for that concurrency level.
7408
7607
  #
7409
7608
  # Concurrency settings apply to the function as a whole, including all
7410
7609
  # published versions and the unpublished version. Reserving concurrency
@@ -7626,7 +7825,8 @@ module Aws::Lambda
7626
7825
  req.send_request(options)
7627
7826
  end
7628
7827
 
7629
- # Sets your function's [recursive loop detection][1] configuration.
7828
+ # Sets the [recursive loop detection][1] configuration for a Lambda
7829
+ # Event Function.
7630
7830
  #
7631
7831
  # When you configure a Lambda function to output to the same service or
7632
7832
  # resource that invokes the function, it's possible to create an
@@ -8033,7 +8233,7 @@ module Aws::Lambda
8033
8233
  # @example Request syntax with placeholder values
8034
8234
  #
8035
8235
  # resp = client.remove_layer_version_permission({
8036
- # layer_name: "LayerName", # required
8236
+ # layer_name: "LayerNameOrArn", # required
8037
8237
  # version_number: 1, # required
8038
8238
  # statement_id: "StatementId", # required
8039
8239
  # revision_id: "String",
@@ -8113,6 +8313,59 @@ module Aws::Lambda
8113
8313
  req.send_request(options)
8114
8314
  end
8115
8315
 
8316
+ # Resumes a paused [durable execution][1]. If the pause interrupted an
8317
+ # invocation, or an operation completed while the execution was paused,
8318
+ # Lambda invokes your function. Otherwise, the execution continues to
8319
+ # wait for its pending operations.
8320
+ #
8321
+ # If the execution status is `PAUSING`, this operation cancels the
8322
+ # pause, and the in-progress invocation continues. This operation
8323
+ # returns a successful response while the execution status is still
8324
+ # `PAUSED` or `PAUSING`, and the status changes to `RUNNING` when Lambda
8325
+ # processes the request. For more information about resuming executions,
8326
+ # see [Pausing and resuming durable executions][2].
8327
+ #
8328
+ #
8329
+ #
8330
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
8331
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/durable-pause-resume.html
8332
+ #
8333
+ # @option params [required, String] :durable_execution_arn
8334
+ # The Amazon Resource Name (ARN) of the durable execution.
8335
+ #
8336
+ # @option params [String] :client_token
8337
+ # A unique, case-sensitive identifier that you provide so that the
8338
+ # request completes no more than one time. If you repeat a request with
8339
+ # the same client token and parameters within 15 minutes, Lambda
8340
+ # doesn't resume the execution again and returns a successful response
8341
+ # instead of an error.
8342
+ #
8343
+ # **A suitable default value is auto-generated.** You should normally
8344
+ # not need to pass this option.**
8345
+ #
8346
+ # @option params [String] :reason
8347
+ # A description of why you're resuming the execution. Lambda records
8348
+ # the reason in the execution history.
8349
+ #
8350
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
8351
+ #
8352
+ # @example Request syntax with placeholder values
8353
+ #
8354
+ # resp = client.resume_durable_execution({
8355
+ # durable_execution_arn: "DurableExecutionArn", # required
8356
+ # client_token: "ClientToken",
8357
+ # reason: "ResumeReason",
8358
+ # })
8359
+ #
8360
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ResumeDurableExecution AWS API Documentation
8361
+ #
8362
+ # @overload resume_durable_execution(params = {})
8363
+ # @param [Hash] params ({})
8364
+ def resume_durable_execution(params = {}, options = {})
8365
+ req = build_request(:resume_durable_execution, params)
8366
+ req.send_request(options)
8367
+ end
8368
+
8116
8369
  # Sends a failure response for a callback operation in a durable
8117
8370
  # execution. Use this API when an external system cannot complete a
8118
8371
  # callback operation successfully.
@@ -8121,7 +8374,8 @@ module Aws::Lambda
8121
8374
  # The unique identifier for the callback operation.
8122
8375
  #
8123
8376
  # @option params [Types::ErrorObject] :error
8124
- # Error details describing why the callback operation failed.
8377
+ # Error details describing why the callback operation failed. The
8378
+ # combined size of all error fields is limited to 1 MB.
8125
8379
  #
8126
8380
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
8127
8381
  #
@@ -8179,7 +8433,7 @@ module Aws::Lambda
8179
8433
  #
8180
8434
  # @option params [String, StringIO, File] :result
8181
8435
  # The result data from the successful callback operation. Maximum size
8182
- # is 256 KB.
8436
+ # is 1 MB.
8183
8437
  #
8184
8438
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
8185
8439
  #
@@ -8199,9 +8453,9 @@ module Aws::Lambda
8199
8453
  req.send_request(options)
8200
8454
  end
8201
8455
 
8202
- # Stops a running [durable execution][1]. The execution transitions to
8203
- # STOPPED status and cannot be resumed. Any in-progress operations are
8204
- # terminated.
8456
+ # Stops a running or paused [durable execution][1]. The execution
8457
+ # transitions to STOPPED status and cannot be resumed. Any in-progress
8458
+ # operations are terminated.
8205
8459
  #
8206
8460
  #
8207
8461
  #
@@ -8212,6 +8466,7 @@ module Aws::Lambda
8212
8466
  #
8213
8467
  # @option params [Types::ErrorObject] :error
8214
8468
  # Optional error details explaining why the execution is being stopped.
8469
+ # The combined size of all error fields is limited to 1 MB.
8215
8470
  #
8216
8471
  # @return [Types::StopDurableExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8217
8472
  #
@@ -8474,7 +8729,7 @@ module Aws::Lambda
8474
8729
  # scaling_mode: "Auto", # accepts Auto, Manual
8475
8730
  # scaling_policies: [
8476
8731
  # {
8477
- # predefined_metric_type: "LambdaCapacityProviderAverageCPUUtilization", # required, accepts LambdaCapacityProviderAverageCPUUtilization
8732
+ # predefined_metric_type: "LambdaCapacityProviderAverageCPUUtilization", # required, accepts LambdaCapacityProviderAverageCPUUtilization, LambdaCapacityProviderAverageGPUUtilization
8478
8733
  # target_value: 1.0, # required
8479
8734
  # },
8480
8735
  # ],
@@ -8511,7 +8766,7 @@ module Aws::Lambda
8511
8766
  # resp.capacity_provider.capacity_provider_scaling_config.max_v_cpu_count #=> Integer
8512
8767
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
8513
8768
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies #=> Array
8514
- # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization"
8769
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization", "LambdaCapacityProviderAverageGPUUtilization"
8515
8770
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
8516
8771
  # resp.capacity_provider.kms_key_arn #=> String
8517
8772
  # resp.capacity_provider.last_modified #=> Time
@@ -8773,6 +9028,9 @@ module Aws::Lambda
8773
9028
  # when you set `BatchSize` to a value greater than 10, you must set
8774
9029
  # `MaximumBatchingWindowInSeconds` to at least 1.
8775
9030
  #
9031
+ # Not supported for Kafka event source mappings when `ConsumptionMode`
9032
+ # is `Queue`.
9033
+ #
8776
9034
  # @option params [Integer] :parallelization_factor
8777
9035
  # (Kinesis and DynamoDB Streams only) The number of batches to process
8778
9036
  # from each shard concurrently.
@@ -8797,6 +9055,12 @@ module Aws::Lambda
8797
9055
  # value is infinite (-1). When set to infinite (-1), failed records are
8798
9056
  # retried until the record expires.
8799
9057
  #
9058
+ # For Kafka event source mappings with `ConsumptionMode` set to `Queue`,
9059
+ # the value -1 (infinite retries) is not supported and the default is 0
9060
+ # (no retries). Lambda releases failed records back to the broker, which
9061
+ # redelivers them up to the share group's
9062
+ # `group.share.delivery.count.limit`.
9063
+ #
8800
9064
  # @option params [Integer] :tumbling_window_in_seconds
8801
9065
  # (Kinesis and DynamoDB Streams only) The duration in seconds of a
8802
9066
  # processing window for DynamoDB and Kinesis Streams event sources. A
@@ -8971,6 +9235,7 @@ module Aws::Lambda
8971
9235
  # },
8972
9236
  # ],
8973
9237
  # },
9238
+ # consumption_mode: "Stream", # accepts Stream, Queue
8974
9239
  # },
8975
9240
  # document_db_event_source_config: {
8976
9241
  # database_name: "DatabaseName",
@@ -9041,6 +9306,7 @@ module Aws::Lambda
9041
9306
  # resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
9042
9307
  # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
9043
9308
  # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
9309
+ # resp.self_managed_kafka_event_source_config.consumption_mode #=> String, one of "Stream", "Queue"
9044
9310
  # resp.document_db_event_source_config.database_name #=> String
9045
9311
  # resp.document_db_event_source_config.collection_name #=> String
9046
9312
  # resp.document_db_event_source_config.full_document #=> String, one of "UpdateLookup", "Default"
@@ -9207,6 +9473,8 @@ module Aws::Lambda
9207
9473
  # * {Types::FunctionConfiguration#capacity_provider_config #capacity_provider_config} => Types::CapacityProviderConfig
9208
9474
  # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
9209
9475
  # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
9476
+ # * {Types::FunctionConfiguration#runtime_config #runtime_config} => Types::FunctionRuntimeConfig
9477
+ # * {Types::FunctionConfiguration#accelerator_config #accelerator_config} => Types::AcceleratorConfig
9210
9478
  #
9211
9479
  #
9212
9480
  # @example Example: To update a Lambda function's code
@@ -9262,7 +9530,7 @@ module Aws::Lambda
9262
9530
  #
9263
9531
  # resp.function_name #=> String
9264
9532
  # resp.function_arn #=> String
9265
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
9533
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023", "custom"
9266
9534
  # resp.role #=> String
9267
9535
  # resp.handler #=> String
9268
9536
  # resp.code_size #=> Integer
@@ -9294,10 +9562,10 @@ module Aws::Lambda
9294
9562
  # resp.layers[0].signing_job_arn #=> String
9295
9563
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
9296
9564
  # resp.state_reason #=> String
9297
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DrainingDurableExecutions", "DependencyError"
9565
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DrainingDurableExecutions", "IncompatibleAcceleratorInstanceTypes", "DependencyError"
9298
9566
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
9299
9567
  # resp.last_update_status_reason #=> String
9300
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DependencyError"
9568
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "IncompatibleAcceleratorInstanceTypes", "DependencyError"
9301
9569
  # resp.file_system_configs #=> Array
9302
9570
  # resp.file_system_configs[0].arn #=> String
9303
9571
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -9332,6 +9600,9 @@ module Aws::Lambda
9332
9600
  # resp.durable_config.kms_key_arn #=> String
9333
9601
  # resp.durable_config.retention_period_in_days #=> Integer
9334
9602
  # resp.durable_config.execution_timeout #=> Integer
9603
+ # resp.runtime_config.runtime_arn #=> String
9604
+ # resp.runtime_config.runtime_alias #=> String
9605
+ # resp.accelerator_config.accelerator_memory_size #=> Integer
9335
9606
  #
9336
9607
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
9337
9608
  #
@@ -9401,7 +9672,7 @@ module Aws::Lambda
9401
9672
  # @option params [Integer] :timeout
9402
9673
  # The amount of time (in seconds) that Lambda allows a function to run
9403
9674
  # before stopping it. The default is 3 seconds, and the maximum allowed
9404
- # value is 900 seconds. For functions using Lambda Managed Instances,
9675
+ # value is 1,800 seconds. For functions using Lambda Managed Instances,
9405
9676
  # asynchronous invocations and event source mapping invocations (except
9406
9677
  # Amazon MQ and Amazon DocumentDB) support a maximum allowed value of
9407
9678
  # 5,400 seconds (90 minutes). For more information, see [Lambda
@@ -9530,6 +9801,7 @@ module Aws::Lambda
9530
9801
  # @option params [Types::EphemeralStorage] :ephemeral_storage
9531
9802
  # The size of the function's `/tmp` directory in MB. The default value
9532
9803
  # is 512, but can be any whole number between 512 and 10,240 MB. For
9804
+ # functions that use `AcceleratorConfig`, the maximum is 32,768 MB. For
9533
9805
  # more information, see [Configuring ephemeral storage (console)][1].
9534
9806
  #
9535
9807
  #
@@ -9561,6 +9833,14 @@ module Aws::Lambda
9561
9833
  #
9562
9834
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
9563
9835
  #
9836
+ # @option params [Types::FunctionRuntimeConfig] :runtime_config
9837
+ # The customer-managed runtime configuration for your function.
9838
+ # Specifies the customer-managed runtime and the runtime alias that your
9839
+ # function uses.
9840
+ #
9841
+ # @option params [Types::AcceleratorConfig] :accelerator_config
9842
+ # The accelerator resource settings for a Lambda execution environment.
9843
+ #
9564
9844
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9565
9845
  #
9566
9846
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -9603,6 +9883,8 @@ module Aws::Lambda
9603
9883
  # * {Types::FunctionConfiguration#capacity_provider_config #capacity_provider_config} => Types::CapacityProviderConfig
9604
9884
  # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
9605
9885
  # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
9886
+ # * {Types::FunctionConfiguration#runtime_config #runtime_config} => Types::FunctionRuntimeConfig
9887
+ # * {Types::FunctionConfiguration#accelerator_config #accelerator_config} => Types::AcceleratorConfig
9606
9888
  #
9607
9889
  #
9608
9890
  # @example Example: To update a Lambda function's configuration
@@ -9662,7 +9944,7 @@ module Aws::Lambda
9662
9944
  # "EnvironmentVariableName" => "EnvironmentVariableValue",
9663
9945
  # },
9664
9946
  # },
9665
- # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, nodejs26.x, python3.15, java8.al2023, java11.al2023, java17.al2023
9947
+ # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, nodejs22.x, nodejs24.x, java8, java8.al2, java11, java17, java21, java25, python2.7, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, dotnet8, dotnet10, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, ruby3.2, ruby3.3, ruby3.4, ruby4.0, provided, provided.al2, provided.al2023, nodejs26.x, python3.15, java8.al2023, java11.al2023, java17.al2023, custom
9666
9948
  # dead_letter_config: {
9667
9949
  # target_arn: "ResourceArn",
9668
9950
  # },
@@ -9710,13 +9992,20 @@ module Aws::Lambda
9710
9992
  # retention_period_in_days: 1,
9711
9993
  # execution_timeout: 1,
9712
9994
  # },
9995
+ # runtime_config: {
9996
+ # runtime_arn: "FunctionRuntimeArn", # required
9997
+ # runtime_alias: "FunctionRuntimeAlias", # required
9998
+ # },
9999
+ # accelerator_config: {
10000
+ # accelerator_memory_size: 1, # required
10001
+ # },
9713
10002
  # })
9714
10003
  #
9715
10004
  # @example Response structure
9716
10005
  #
9717
10006
  # resp.function_name #=> String
9718
10007
  # resp.function_arn #=> String
9719
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023"
10008
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs22.x", "nodejs24.x", "java8", "java8.al2", "java11", "java17", "java21", "java25", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13", "python3.14", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "dotnet8", "dotnet10", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "ruby3.2", "ruby3.3", "ruby3.4", "ruby4.0", "provided", "provided.al2", "provided.al2023", "nodejs26.x", "python3.15", "java8.al2023", "java11.al2023", "java17.al2023", "custom"
9720
10009
  # resp.role #=> String
9721
10010
  # resp.handler #=> String
9722
10011
  # resp.code_size #=> Integer
@@ -9748,10 +10037,10 @@ module Aws::Lambda
9748
10037
  # resp.layers[0].signing_job_arn #=> String
9749
10038
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
9750
10039
  # resp.state_reason #=> String
9751
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DrainingDurableExecutions", "DependencyError"
10040
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DrainingDurableExecutions", "IncompatibleAcceleratorInstanceTypes", "DependencyError"
9752
10041
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
9753
10042
  # resp.last_update_status_reason #=> String
9754
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "DependencyError"
10043
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError", "ServiceQuotaExceededException", "VcpuLimitExceeded", "CapacityProviderScalingLimitExceeded", "InsufficientCapacity", "EC2RequestLimitExceeded", "FunctionError.InitTimeout", "FunctionError.RuntimeInitError", "FunctionError.ExtensionInitError", "FunctionError.InvalidEntryPoint", "FunctionError.InvalidWorkingDirectory", "FunctionError.PermissionDenied", "FunctionError.TooManyExtensions", "FunctionError.InitResourceExhausted", "DisallowedByVpcEncryptionControl", "IncompatibleAcceleratorInstanceTypes", "DependencyError"
9755
10044
  # resp.file_system_configs #=> Array
9756
10045
  # resp.file_system_configs[0].arn #=> String
9757
10046
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -9786,6 +10075,9 @@ module Aws::Lambda
9786
10075
  # resp.durable_config.kms_key_arn #=> String
9787
10076
  # resp.durable_config.retention_period_in_days #=> Integer
9788
10077
  # resp.durable_config.execution_timeout #=> Integer
10078
+ # resp.runtime_config.runtime_arn #=> String
10079
+ # resp.runtime_config.runtime_alias #=> String
10080
+ # resp.accelerator_config.accelerator_memory_size #=> Integer
9789
10081
  #
9790
10082
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
9791
10083
  #
@@ -9924,7 +10216,8 @@ module Aws::Lambda
9924
10216
  req.send_request(options)
9925
10217
  end
9926
10218
 
9927
- # Updates the configuration for a Lambda function URL.
10219
+ # Updates the configuration for a function URL of a Lambda Event
10220
+ # Function.
9928
10221
  #
9929
10222
  # @option params [required, String] :function_name
9930
10223
  # The name or ARN of the Lambda function.
@@ -10049,7 +10342,7 @@ module Aws::Lambda
10049
10342
  tracer: tracer
10050
10343
  )
10051
10344
  context[:gem_name] = 'aws-sdk-lambda'
10052
- context[:gem_version] = '1.202.0'
10345
+ context[:gem_version] = '1.216.0'
10053
10346
  Seahorse::Client::Request.new(handlers, context)
10054
10347
  end
10055
10348