aws-sdk-lambda 1.212.0 → 1.214.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1069,7 +1069,7 @@ module Aws::Lambda
1069
1069
  # scaling_mode: "Auto", # accepts Auto, Manual
1070
1070
  # scaling_policies: [
1071
1071
  # {
1072
- # predefined_metric_type: "LambdaCapacityProviderAverageCPUUtilization", # required, accepts LambdaCapacityProviderAverageCPUUtilization
1072
+ # predefined_metric_type: "LambdaCapacityProviderAverageCPUUtilization", # required, accepts LambdaCapacityProviderAverageCPUUtilization, LambdaCapacityProviderAverageGPUUtilization
1073
1073
  # target_value: 1.0, # required
1074
1074
  # },
1075
1075
  # ],
@@ -1110,7 +1110,7 @@ module Aws::Lambda
1110
1110
  # resp.capacity_provider.capacity_provider_scaling_config.max_v_cpu_count #=> Integer
1111
1111
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
1112
1112
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies #=> Array
1113
- # 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"
1114
1114
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
1115
1115
  # resp.capacity_provider.kms_key_arn #=> String
1116
1116
  # resp.capacity_provider.last_modified #=> Time
@@ -2000,6 +2000,7 @@ module Aws::Lambda
2000
2000
  # @option params [Types::EphemeralStorage] :ephemeral_storage
2001
2001
  # The size of the function's `/tmp` directory in MB. The default value
2002
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
2003
2004
  # more information, see [Configuring ephemeral storage (console)][1].
2004
2005
  #
2005
2006
  #
@@ -2035,6 +2036,9 @@ module Aws::Lambda
2035
2036
  # Specifies the customer-managed runtime and the runtime alias that your
2036
2037
  # function uses.
2037
2038
  #
2039
+ # @option params [Types::AcceleratorConfig] :accelerator_config
2040
+ # The accelerator resource settings for a Lambda execution environment.
2041
+ #
2038
2042
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2039
2043
  #
2040
2044
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -2078,6 +2082,7 @@ module Aws::Lambda
2078
2082
  # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
2079
2083
  # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
2080
2084
  # * {Types::FunctionConfiguration#runtime_config #runtime_config} => Types::FunctionRuntimeConfig
2085
+ # * {Types::FunctionConfiguration#accelerator_config #accelerator_config} => Types::AcceleratorConfig
2081
2086
  #
2082
2087
  #
2083
2088
  # @example Example: To create a function
@@ -2240,6 +2245,9 @@ module Aws::Lambda
2240
2245
  # runtime_arn: "FunctionRuntimeArn", # required
2241
2246
  # runtime_alias: "FunctionRuntimeAlias", # required
2242
2247
  # },
2248
+ # accelerator_config: {
2249
+ # accelerator_memory_size: 1, # required
2250
+ # },
2243
2251
  # })
2244
2252
  #
2245
2253
  # @example Response structure
@@ -2278,10 +2286,10 @@ module Aws::Lambda
2278
2286
  # resp.layers[0].signing_job_arn #=> String
2279
2287
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
2280
2288
  # resp.state_reason #=> String
2281
- # 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"
2282
2290
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
2283
2291
  # resp.last_update_status_reason #=> String
2284
- # 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"
2285
2293
  # resp.file_system_configs #=> Array
2286
2294
  # resp.file_system_configs[0].arn #=> String
2287
2295
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -2318,6 +2326,7 @@ module Aws::Lambda
2318
2326
  # resp.durable_config.execution_timeout #=> Integer
2319
2327
  # resp.runtime_config.runtime_arn #=> String
2320
2328
  # resp.runtime_config.runtime_alias #=> String
2329
+ # resp.accelerator_config.accelerator_memory_size #=> Integer
2321
2330
  #
2322
2331
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
2323
2332
  #
@@ -2521,7 +2530,7 @@ module Aws::Lambda
2521
2530
  # resp.capacity_provider.capacity_provider_scaling_config.max_v_cpu_count #=> Integer
2522
2531
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
2523
2532
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies #=> Array
2524
- # 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"
2525
2534
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
2526
2535
  # resp.capacity_provider.kms_key_arn #=> String
2527
2536
  # resp.capacity_provider.last_modified #=> Time
@@ -2563,6 +2572,45 @@ module Aws::Lambda
2563
2572
  req.send_request(options)
2564
2573
  end
2565
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
+
2566
2614
  # Deletes an [event source mapping][1]. You can get the identifier of a
2567
2615
  # mapping from the output of ListEventSourceMappings.
2568
2616
  #
@@ -3248,7 +3296,7 @@ module Aws::Lambda
3248
3296
  # resp.capacity_provider.capacity_provider_scaling_config.max_v_cpu_count #=> Integer
3249
3297
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
3250
3298
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies #=> Array
3251
- # 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"
3252
3300
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
3253
3301
  # resp.capacity_provider.kms_key_arn #=> String
3254
3302
  # resp.capacity_provider.last_modified #=> Time
@@ -3334,6 +3382,8 @@ module Aws::Lambda
3334
3382
  # * {Types::GetDurableExecutionResponse#trace_header #trace_header} => Types::TraceHeader
3335
3383
  # * {Types::GetDurableExecutionResponse#execution_data_included #execution_data_included} => Boolean
3336
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
3337
3387
  #
3338
3388
  # @example Request syntax with placeholder values
3339
3389
  #
@@ -3355,7 +3405,7 @@ module Aws::Lambda
3355
3405
  # resp.error.stack_trace #=> Array
3356
3406
  # resp.error.stack_trace[0] #=> String
3357
3407
  # resp.start_timestamp #=> Time
3358
- # 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"
3359
3409
  # resp.end_timestamp #=> Time
3360
3410
  # resp.version #=> String
3361
3411
  # resp.trace_header.x_amzn_trace_id #=> String
@@ -3363,6 +3413,10 @@ module Aws::Lambda
3363
3413
  # resp.durable_config.kms_key_arn #=> String
3364
3414
  # resp.durable_config.retention_period_in_days #=> Integer
3365
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
3366
3420
  #
3367
3421
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecution AWS API Documentation
3368
3422
  #
@@ -3431,7 +3485,7 @@ module Aws::Lambda
3431
3485
  # @example Response structure
3432
3486
  #
3433
3487
  # resp.events #=> Array
3434
- # 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"
3435
3489
  # resp.events[0].sub_type #=> String
3436
3490
  # resp.events[0].event_id #=> Integer
3437
3491
  # resp.events[0].id #=> String
@@ -3542,6 +3596,13 @@ module Aws::Lambda
3542
3596
  # resp.events[0].invocation_completed_details.error.payload.stack_trace #=> Array
3543
3597
  # resp.events[0].invocation_completed_details.error.payload.stack_trace[0] #=> String
3544
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
3545
3606
  # resp.next_marker #=> String
3546
3607
  #
3547
3608
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetDurableExecutionHistory AWS API Documentation
@@ -3932,10 +3993,10 @@ module Aws::Lambda
3932
3993
  # resp.configuration.layers[0].signing_job_arn #=> String
3933
3994
  # resp.configuration.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
3934
3995
  # resp.configuration.state_reason #=> String
3935
- # 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"
3936
3997
  # resp.configuration.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
3937
3998
  # resp.configuration.last_update_status_reason #=> String
3938
- # 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"
3939
4000
  # resp.configuration.file_system_configs #=> Array
3940
4001
  # resp.configuration.file_system_configs[0].arn #=> String
3941
4002
  # resp.configuration.file_system_configs[0].local_mount_path #=> String
@@ -3972,6 +4033,7 @@ module Aws::Lambda
3972
4033
  # resp.configuration.durable_config.execution_timeout #=> Integer
3973
4034
  # resp.configuration.runtime_config.runtime_arn #=> String
3974
4035
  # resp.configuration.runtime_config.runtime_alias #=> String
4036
+ # resp.configuration.accelerator_config.accelerator_memory_size #=> Integer
3975
4037
  # resp.code.repository_type #=> String
3976
4038
  # resp.code.location #=> String
3977
4039
  # resp.code.image_uri #=> String
@@ -4174,6 +4236,7 @@ module Aws::Lambda
4174
4236
  # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
4175
4237
  # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
4176
4238
  # * {Types::FunctionConfiguration#runtime_config #runtime_config} => Types::FunctionRuntimeConfig
4239
+ # * {Types::FunctionConfiguration#accelerator_config #accelerator_config} => Types::AcceleratorConfig
4177
4240
  #
4178
4241
  #
4179
4242
  # @example Example: To get a Lambda function's event source mapping
@@ -4261,10 +4324,10 @@ module Aws::Lambda
4261
4324
  # resp.layers[0].signing_job_arn #=> String
4262
4325
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
4263
4326
  # resp.state_reason #=> String
4264
- # 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"
4265
4328
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
4266
4329
  # resp.last_update_status_reason #=> String
4267
- # 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"
4268
4331
  # resp.file_system_configs #=> Array
4269
4332
  # resp.file_system_configs[0].arn #=> String
4270
4333
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -4301,6 +4364,7 @@ module Aws::Lambda
4301
4364
  # resp.durable_config.execution_timeout #=> Integer
4302
4365
  # resp.runtime_config.runtime_arn #=> String
4303
4366
  # resp.runtime_config.runtime_alias #=> String
4367
+ # resp.accelerator_config.accelerator_memory_size #=> Integer
4304
4368
  #
4305
4369
  #
4306
4370
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -4854,9 +4918,9 @@ module Aws::Lambda
4854
4918
  # * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
4855
4919
  #
4856
4920
  #
4857
- # @example Example: To get a provisioned concurrency configuration
4921
+ # @example Example: To view a provisioned concurrency configuration
4858
4922
  #
4859
- # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
4923
+ # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
4860
4924
  # # function.
4861
4925
  #
4862
4926
  # resp = client.get_provisioned_concurrency_config({
@@ -4873,9 +4937,9 @@ module Aws::Lambda
4873
4937
  # status: "READY",
4874
4938
  # }
4875
4939
  #
4876
- # @example Example: To view a provisioned concurrency configuration
4940
+ # @example Example: To get a provisioned concurrency configuration
4877
4941
  #
4878
- # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
4942
+ # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
4879
4943
  # # function.
4880
4944
  #
4881
4945
  # resp = client.get_provisioned_concurrency_config({
@@ -5670,7 +5734,7 @@ module Aws::Lambda
5670
5734
  # resp.capacity_providers[0].capacity_provider_scaling_config.max_v_cpu_count #=> Integer
5671
5735
  # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
5672
5736
  # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_policies #=> Array
5673
- # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization"
5737
+ # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization", "LambdaCapacityProviderAverageGPUUtilization"
5674
5738
  # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
5675
5739
  # resp.capacity_providers[0].kms_key_arn #=> String
5676
5740
  # resp.capacity_providers[0].last_modified #=> Time
@@ -5762,8 +5826,27 @@ module Aws::Lambda
5762
5826
  # this string are returned.
5763
5827
  #
5764
5828
  # @option params [Array<String>] :statuses
5765
- # Filter executions by status. Valid values: RUNNING, SUCCEEDED, FAILED,
5766
- # TIMED\_OUT, STOPPED.
5829
+ # Filters the executions by status. Specify one of the following values:
5830
+ #
5831
+ # * `RUNNING` – The execution is running or waiting for pending
5832
+ # operations to complete.
5833
+ #
5834
+ # * `PAUSING` – The execution is waiting for an in-progress invocation
5835
+ # to reach its next checkpoint before it pauses.
5836
+ #
5837
+ # * `PAUSED` – The execution is paused, and Lambda doesn't invoke your
5838
+ # function.
5839
+ #
5840
+ # * `SUCCEEDED` – The execution completed successfully.
5841
+ #
5842
+ # * `FAILED` – The execution completed with an error.
5843
+ #
5844
+ # * `TIMED_OUT` – The execution exceeded its execution timeout.
5845
+ #
5846
+ # * `STOPPED` – A `StopDurableExecution` request stopped the execution.
5847
+ #
5848
+ # * `DELETING` – A `DeleteDurableExecution` request is deleting the
5849
+ # execution and its data.
5767
5850
  #
5768
5851
  # @option params [Time,DateTime,Date,Integer,String] :started_after
5769
5852
  # Filter executions that started after this timestamp (ISO 8601 format).
@@ -5796,7 +5879,7 @@ module Aws::Lambda
5796
5879
  # function_name: "NamespacedFunctionName", # required
5797
5880
  # qualifier: "NumericLatestPublishedOrAliasQualifier",
5798
5881
  # durable_execution_name: "DurableExecutionName",
5799
- # statuses: ["RUNNING"], # accepts RUNNING, SUCCEEDED, FAILED, TIMED_OUT, STOPPED
5882
+ # statuses: ["RUNNING"], # accepts RUNNING, SUCCEEDED, FAILED, TIMED_OUT, STOPPED, DELETING, PAUSING, PAUSED
5800
5883
  # started_after: Time.now,
5801
5884
  # started_before: Time.now,
5802
5885
  # reverse_order: false,
@@ -5810,7 +5893,7 @@ module Aws::Lambda
5810
5893
  # resp.durable_executions[0].durable_execution_arn #=> String
5811
5894
  # resp.durable_executions[0].durable_execution_name #=> String
5812
5895
  # resp.durable_executions[0].function_arn #=> String
5813
- # resp.durable_executions[0].status #=> String, one of "RUNNING", "SUCCEEDED", "FAILED", "TIMED_OUT", "STOPPED"
5896
+ # resp.durable_executions[0].status #=> String, one of "RUNNING", "SUCCEEDED", "FAILED", "TIMED_OUT", "STOPPED", "DELETING", "PAUSING", "PAUSED"
5814
5897
  # resp.durable_executions[0].start_timestamp #=> Time
5815
5898
  # resp.durable_executions[0].end_timestamp #=> Time
5816
5899
  # resp.durable_executions[0].kms_key_arn #=> String
@@ -6351,10 +6434,10 @@ module Aws::Lambda
6351
6434
  # resp.functions[0].layers[0].signing_job_arn #=> String
6352
6435
  # resp.functions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
6353
6436
  # resp.functions[0].state_reason #=> String
6354
- # 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"
6437
+ # 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"
6355
6438
  # resp.functions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
6356
6439
  # resp.functions[0].last_update_status_reason #=> String
6357
- # 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"
6440
+ # 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"
6358
6441
  # resp.functions[0].file_system_configs #=> Array
6359
6442
  # resp.functions[0].file_system_configs[0].arn #=> String
6360
6443
  # resp.functions[0].file_system_configs[0].local_mount_path #=> String
@@ -6391,6 +6474,7 @@ module Aws::Lambda
6391
6474
  # resp.functions[0].durable_config.execution_timeout #=> Integer
6392
6475
  # resp.functions[0].runtime_config.runtime_arn #=> String
6393
6476
  # resp.functions[0].runtime_config.runtime_alias #=> String
6477
+ # resp.functions[0].accelerator_config.accelerator_memory_size #=> Integer
6394
6478
  #
6395
6479
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
6396
6480
  #
@@ -6971,10 +7055,10 @@ module Aws::Lambda
6971
7055
  # resp.versions[0].layers[0].signing_job_arn #=> String
6972
7056
  # resp.versions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
6973
7057
  # resp.versions[0].state_reason #=> String
6974
- # 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"
7058
+ # 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"
6975
7059
  # resp.versions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
6976
7060
  # resp.versions[0].last_update_status_reason #=> String
6977
- # 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"
7061
+ # 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"
6978
7062
  # resp.versions[0].file_system_configs #=> Array
6979
7063
  # resp.versions[0].file_system_configs[0].arn #=> String
6980
7064
  # resp.versions[0].file_system_configs[0].local_mount_path #=> String
@@ -7011,6 +7095,7 @@ module Aws::Lambda
7011
7095
  # resp.versions[0].durable_config.execution_timeout #=> Integer
7012
7096
  # resp.versions[0].runtime_config.runtime_arn #=> String
7013
7097
  # resp.versions[0].runtime_config.runtime_alias #=> String
7098
+ # resp.versions[0].accelerator_config.accelerator_memory_size #=> Integer
7014
7099
  #
7015
7100
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
7016
7101
  #
@@ -7021,6 +7106,65 @@ module Aws::Lambda
7021
7106
  req.send_request(options)
7022
7107
  end
7023
7108
 
7109
+ # Pauses a running [durable execution][1]. While an execution is paused,
7110
+ # Lambda doesn't invoke your function, but pending operations such as
7111
+ # waits and callbacks continue to complete.
7112
+ #
7113
+ # If an invocation is in progress, the execution status changes to
7114
+ # `PAUSING` until the invocation reaches its next checkpoint, and then
7115
+ # changes to `PAUSED`. This operation returns a successful response
7116
+ # while the execution status is still `RUNNING`, and the status changes
7117
+ # when Lambda processes the request. For more information about pausing
7118
+ # executions, see [Pausing and resuming durable executions][2].
7119
+ #
7120
+ #
7121
+ #
7122
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
7123
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/durable-pause-resume.html
7124
+ #
7125
+ # @option params [required, String] :durable_execution_arn
7126
+ # The Amazon Resource Name (ARN) of the durable execution.
7127
+ #
7128
+ # @option params [String] :client_token
7129
+ # A unique, case-sensitive identifier that you provide so that the
7130
+ # request completes no more than one time. If you repeat a request with
7131
+ # the same client token and parameters within 15 minutes, Lambda
7132
+ # doesn't pause the execution again and returns a successful response
7133
+ # instead of an error.
7134
+ #
7135
+ # **A suitable default value is auto-generated.** You should normally
7136
+ # not need to pass this option.**
7137
+ #
7138
+ # @option params [String] :reason
7139
+ # A description of why you're pausing the execution. Lambda records the
7140
+ # reason in the execution history.
7141
+ #
7142
+ # @option params [Boolean] :execution_timeout_paused
7143
+ # Specifies whether to pause the execution timeout while the execution
7144
+ # is paused. If `true`, Lambda extends the execution timeout by the time
7145
+ # the execution spends paused. An execution with a paused timeout still
7146
+ # times out 366 days after it started. The default value is `true`.
7147
+ #
7148
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7149
+ #
7150
+ # @example Request syntax with placeholder values
7151
+ #
7152
+ # resp = client.pause_durable_execution({
7153
+ # durable_execution_arn: "DurableExecutionArn", # required
7154
+ # client_token: "ClientToken",
7155
+ # reason: "PauseReason",
7156
+ # execution_timeout_paused: false,
7157
+ # })
7158
+ #
7159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PauseDurableExecution AWS API Documentation
7160
+ #
7161
+ # @overload pause_durable_execution(params = {})
7162
+ # @param [Hash] params ({})
7163
+ def pause_durable_execution(params = {}, options = {})
7164
+ req = build_request(:pause_durable_execution, params)
7165
+ req.send_request(options)
7166
+ end
7167
+
7024
7168
  # Creates an [Lambda layer][1] from a ZIP archive. Each time you call
7025
7169
  # `PublishLayerVersion` with the same layer name, a new version is
7026
7170
  # created.
@@ -7265,6 +7409,7 @@ module Aws::Lambda
7265
7409
  # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
7266
7410
  # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
7267
7411
  # * {Types::FunctionConfiguration#runtime_config #runtime_config} => Types::FunctionRuntimeConfig
7412
+ # * {Types::FunctionConfiguration#accelerator_config #accelerator_config} => Types::AcceleratorConfig
7268
7413
  #
7269
7414
  #
7270
7415
  # @example Example: To publish a version of a Lambda function
@@ -7352,10 +7497,10 @@ module Aws::Lambda
7352
7497
  # resp.layers[0].signing_job_arn #=> String
7353
7498
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
7354
7499
  # resp.state_reason #=> String
7355
- # 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"
7500
+ # 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"
7356
7501
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
7357
7502
  # resp.last_update_status_reason #=> String
7358
- # 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"
7503
+ # 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"
7359
7504
  # resp.file_system_configs #=> Array
7360
7505
  # resp.file_system_configs[0].arn #=> String
7361
7506
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -7392,6 +7537,7 @@ module Aws::Lambda
7392
7537
  # resp.durable_config.execution_timeout #=> Integer
7393
7538
  # resp.runtime_config.runtime_arn #=> String
7394
7539
  # resp.runtime_config.runtime_alias #=> String
7540
+ # resp.accelerator_config.accelerator_memory_size #=> Integer
7395
7541
  #
7396
7542
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
7397
7543
  #
@@ -8161,6 +8307,59 @@ module Aws::Lambda
8161
8307
  req.send_request(options)
8162
8308
  end
8163
8309
 
8310
+ # Resumes a paused [durable execution][1]. If the pause interrupted an
8311
+ # invocation, or an operation completed while the execution was paused,
8312
+ # Lambda invokes your function. Otherwise, the execution continues to
8313
+ # wait for its pending operations.
8314
+ #
8315
+ # If the execution status is `PAUSING`, this operation cancels the
8316
+ # pause, and the in-progress invocation continues. This operation
8317
+ # returns a successful response while the execution status is still
8318
+ # `PAUSED` or `PAUSING`, and the status changes to `RUNNING` when Lambda
8319
+ # processes the request. For more information about resuming executions,
8320
+ # see [Pausing and resuming durable executions][2].
8321
+ #
8322
+ #
8323
+ #
8324
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html
8325
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/durable-pause-resume.html
8326
+ #
8327
+ # @option params [required, String] :durable_execution_arn
8328
+ # The Amazon Resource Name (ARN) of the durable execution.
8329
+ #
8330
+ # @option params [String] :client_token
8331
+ # A unique, case-sensitive identifier that you provide so that the
8332
+ # request completes no more than one time. If you repeat a request with
8333
+ # the same client token and parameters within 15 minutes, Lambda
8334
+ # doesn't resume the execution again and returns a successful response
8335
+ # instead of an error.
8336
+ #
8337
+ # **A suitable default value is auto-generated.** You should normally
8338
+ # not need to pass this option.**
8339
+ #
8340
+ # @option params [String] :reason
8341
+ # A description of why you're resuming the execution. Lambda records
8342
+ # the reason in the execution history.
8343
+ #
8344
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
8345
+ #
8346
+ # @example Request syntax with placeholder values
8347
+ #
8348
+ # resp = client.resume_durable_execution({
8349
+ # durable_execution_arn: "DurableExecutionArn", # required
8350
+ # client_token: "ClientToken",
8351
+ # reason: "ResumeReason",
8352
+ # })
8353
+ #
8354
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ResumeDurableExecution AWS API Documentation
8355
+ #
8356
+ # @overload resume_durable_execution(params = {})
8357
+ # @param [Hash] params ({})
8358
+ def resume_durable_execution(params = {}, options = {})
8359
+ req = build_request(:resume_durable_execution, params)
8360
+ req.send_request(options)
8361
+ end
8362
+
8164
8363
  # Sends a failure response for a callback operation in a durable
8165
8364
  # execution. Use this API when an external system cannot complete a
8166
8365
  # callback operation successfully.
@@ -8248,9 +8447,9 @@ module Aws::Lambda
8248
8447
  req.send_request(options)
8249
8448
  end
8250
8449
 
8251
- # Stops a running [durable execution][1]. The execution transitions to
8252
- # STOPPED status and cannot be resumed. Any in-progress operations are
8253
- # terminated.
8450
+ # Stops a running or paused [durable execution][1]. The execution
8451
+ # transitions to STOPPED status and cannot be resumed. Any in-progress
8452
+ # operations are terminated.
8254
8453
  #
8255
8454
  #
8256
8455
  #
@@ -8524,7 +8723,7 @@ module Aws::Lambda
8524
8723
  # scaling_mode: "Auto", # accepts Auto, Manual
8525
8724
  # scaling_policies: [
8526
8725
  # {
8527
- # predefined_metric_type: "LambdaCapacityProviderAverageCPUUtilization", # required, accepts LambdaCapacityProviderAverageCPUUtilization
8726
+ # predefined_metric_type: "LambdaCapacityProviderAverageCPUUtilization", # required, accepts LambdaCapacityProviderAverageCPUUtilization, LambdaCapacityProviderAverageGPUUtilization
8528
8727
  # target_value: 1.0, # required
8529
8728
  # },
8530
8729
  # ],
@@ -8561,7 +8760,7 @@ module Aws::Lambda
8561
8760
  # resp.capacity_provider.capacity_provider_scaling_config.max_v_cpu_count #=> Integer
8562
8761
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
8563
8762
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies #=> Array
8564
- # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization"
8763
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization", "LambdaCapacityProviderAverageGPUUtilization"
8565
8764
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
8566
8765
  # resp.capacity_provider.kms_key_arn #=> String
8567
8766
  # resp.capacity_provider.last_modified #=> Time
@@ -9269,6 +9468,7 @@ module Aws::Lambda
9269
9468
  # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
9270
9469
  # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
9271
9470
  # * {Types::FunctionConfiguration#runtime_config #runtime_config} => Types::FunctionRuntimeConfig
9471
+ # * {Types::FunctionConfiguration#accelerator_config #accelerator_config} => Types::AcceleratorConfig
9272
9472
  #
9273
9473
  #
9274
9474
  # @example Example: To update a Lambda function's code
@@ -9356,10 +9556,10 @@ module Aws::Lambda
9356
9556
  # resp.layers[0].signing_job_arn #=> String
9357
9557
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
9358
9558
  # resp.state_reason #=> String
9359
- # 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"
9559
+ # 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"
9360
9560
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
9361
9561
  # resp.last_update_status_reason #=> String
9362
- # 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"
9562
+ # 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"
9363
9563
  # resp.file_system_configs #=> Array
9364
9564
  # resp.file_system_configs[0].arn #=> String
9365
9565
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -9396,6 +9596,7 @@ module Aws::Lambda
9396
9596
  # resp.durable_config.execution_timeout #=> Integer
9397
9597
  # resp.runtime_config.runtime_arn #=> String
9398
9598
  # resp.runtime_config.runtime_alias #=> String
9599
+ # resp.accelerator_config.accelerator_memory_size #=> Integer
9399
9600
  #
9400
9601
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
9401
9602
  #
@@ -9594,6 +9795,7 @@ module Aws::Lambda
9594
9795
  # @option params [Types::EphemeralStorage] :ephemeral_storage
9595
9796
  # The size of the function's `/tmp` directory in MB. The default value
9596
9797
  # is 512, but can be any whole number between 512 and 10,240 MB. For
9798
+ # functions that use `AcceleratorConfig`, the maximum is 32,768 MB. For
9597
9799
  # more information, see [Configuring ephemeral storage (console)][1].
9598
9800
  #
9599
9801
  #
@@ -9630,6 +9832,9 @@ module Aws::Lambda
9630
9832
  # Specifies the customer-managed runtime and the runtime alias that your
9631
9833
  # function uses.
9632
9834
  #
9835
+ # @option params [Types::AcceleratorConfig] :accelerator_config
9836
+ # The accelerator resource settings for a Lambda execution environment.
9837
+ #
9633
9838
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9634
9839
  #
9635
9840
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -9673,6 +9878,7 @@ module Aws::Lambda
9673
9878
  # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
9674
9879
  # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
9675
9880
  # * {Types::FunctionConfiguration#runtime_config #runtime_config} => Types::FunctionRuntimeConfig
9881
+ # * {Types::FunctionConfiguration#accelerator_config #accelerator_config} => Types::AcceleratorConfig
9676
9882
  #
9677
9883
  #
9678
9884
  # @example Example: To update a Lambda function's configuration
@@ -9784,6 +9990,9 @@ module Aws::Lambda
9784
9990
  # runtime_arn: "FunctionRuntimeArn", # required
9785
9991
  # runtime_alias: "FunctionRuntimeAlias", # required
9786
9992
  # },
9993
+ # accelerator_config: {
9994
+ # accelerator_memory_size: 1, # required
9995
+ # },
9787
9996
  # })
9788
9997
  #
9789
9998
  # @example Response structure
@@ -9822,10 +10031,10 @@ module Aws::Lambda
9822
10031
  # resp.layers[0].signing_job_arn #=> String
9823
10032
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
9824
10033
  # resp.state_reason #=> String
9825
- # 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"
10034
+ # 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"
9826
10035
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
9827
10036
  # resp.last_update_status_reason #=> String
9828
- # 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"
10037
+ # 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"
9829
10038
  # resp.file_system_configs #=> Array
9830
10039
  # resp.file_system_configs[0].arn #=> String
9831
10040
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -9862,6 +10071,7 @@ module Aws::Lambda
9862
10071
  # resp.durable_config.execution_timeout #=> Integer
9863
10072
  # resp.runtime_config.runtime_arn #=> String
9864
10073
  # resp.runtime_config.runtime_alias #=> String
10074
+ # resp.accelerator_config.accelerator_memory_size #=> Integer
9865
10075
  #
9866
10076
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
9867
10077
  #
@@ -10126,7 +10336,7 @@ module Aws::Lambda
10126
10336
  tracer: tracer
10127
10337
  )
10128
10338
  context[:gem_name] = 'aws-sdk-lambda'
10129
- context[:gem_version] = '1.212.0'
10339
+ context[:gem_version] = '1.214.0'
10130
10340
  Seahorse::Client::Request.new(handlers, context)
10131
10341
  end
10132
10342