aws-sdk-lambda 1.212.0 → 1.213.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dca93fad9e6b4f2886ae11a43be833866d993f5e9fbcae194cec3357ae5eaae1
4
- data.tar.gz: d9b7cd36f6cd01cf495b0e537fc722cbf02273b8c6aa016713cc4a2fef044f35
3
+ metadata.gz: 62c09f6c9964442b92631f3b37d7b05fd69d884ea3a0b13ec6c822e91c4dc904
4
+ data.tar.gz: 8a20c15faf7bbcd26092f35bccbd36db94f20d368f7efd38d61ccfe8664a4e06
5
5
  SHA512:
6
- metadata.gz: cc3e36b40bfb8a7aeebced329644ab6c9b82d852c8158fd9044a75c4171e534ff0ab29f09320a9538ed87c792352435d95f1222c6c557019a1626ab972b41653
7
- data.tar.gz: 7ff3ad147178cb4036c425219b274262b66a088af65b5ea5b33454c60bdaca4cedbd08714512688f4a6e97793b828e2fb6d6574fe142631e52ecafaaedd8b262
6
+ metadata.gz: a2e8481a017350055e1efb10b2c140e46ec623287543a734a3c24bfd4989994248ee39ad996d7526116b88ce84584e6d48a149bec270d1fc77f52a17543d7519
7
+ data.tar.gz: 1aaacfe829e4accf412e5fd45182e4db1689c5c2f40c7ee980216d92038a44b92736bb6b980d9e61a3d2548063a6ee688de74d1e2b8217beea9a1ae9b09ed80b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.213.0 (2026-11-16)
5
+ ------------------
6
+
7
+ * Feature - Adds support for GPU instances on Lambda Managed Instances in the CreateFunction and UpdateFunctionConfiguration APIs. Lambda Event Functions on Lambda Managed Instances can now set the accelerator memory using the new AcceleratorConfig parameter and run on capacity providers with GPU instances.
8
+
4
9
  1.212.0 (2026-11-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.212.0
1
+ 1.213.0
@@ -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
@@ -3248,7 +3257,7 @@ module Aws::Lambda
3248
3257
  # resp.capacity_provider.capacity_provider_scaling_config.max_v_cpu_count #=> Integer
3249
3258
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
3250
3259
  # 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"
3260
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization", "LambdaCapacityProviderAverageGPUUtilization"
3252
3261
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
3253
3262
  # resp.capacity_provider.kms_key_arn #=> String
3254
3263
  # resp.capacity_provider.last_modified #=> Time
@@ -3932,10 +3941,10 @@ module Aws::Lambda
3932
3941
  # resp.configuration.layers[0].signing_job_arn #=> String
3933
3942
  # resp.configuration.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
3934
3943
  # 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"
3944
+ # 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
3945
  # resp.configuration.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
3937
3946
  # 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"
3947
+ # 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
3948
  # resp.configuration.file_system_configs #=> Array
3940
3949
  # resp.configuration.file_system_configs[0].arn #=> String
3941
3950
  # resp.configuration.file_system_configs[0].local_mount_path #=> String
@@ -3972,6 +3981,7 @@ module Aws::Lambda
3972
3981
  # resp.configuration.durable_config.execution_timeout #=> Integer
3973
3982
  # resp.configuration.runtime_config.runtime_arn #=> String
3974
3983
  # resp.configuration.runtime_config.runtime_alias #=> String
3984
+ # resp.configuration.accelerator_config.accelerator_memory_size #=> Integer
3975
3985
  # resp.code.repository_type #=> String
3976
3986
  # resp.code.location #=> String
3977
3987
  # resp.code.image_uri #=> String
@@ -4174,6 +4184,7 @@ module Aws::Lambda
4174
4184
  # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
4175
4185
  # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
4176
4186
  # * {Types::FunctionConfiguration#runtime_config #runtime_config} => Types::FunctionRuntimeConfig
4187
+ # * {Types::FunctionConfiguration#accelerator_config #accelerator_config} => Types::AcceleratorConfig
4177
4188
  #
4178
4189
  #
4179
4190
  # @example Example: To get a Lambda function's event source mapping
@@ -4261,10 +4272,10 @@ module Aws::Lambda
4261
4272
  # resp.layers[0].signing_job_arn #=> String
4262
4273
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
4263
4274
  # 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"
4275
+ # 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
4276
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
4266
4277
  # 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"
4278
+ # 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
4279
  # resp.file_system_configs #=> Array
4269
4280
  # resp.file_system_configs[0].arn #=> String
4270
4281
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -4301,6 +4312,7 @@ module Aws::Lambda
4301
4312
  # resp.durable_config.execution_timeout #=> Integer
4302
4313
  # resp.runtime_config.runtime_arn #=> String
4303
4314
  # resp.runtime_config.runtime_alias #=> String
4315
+ # resp.accelerator_config.accelerator_memory_size #=> Integer
4304
4316
  #
4305
4317
  #
4306
4318
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -4854,9 +4866,9 @@ module Aws::Lambda
4854
4866
  # * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
4855
4867
  #
4856
4868
  #
4857
- # @example Example: To get a provisioned concurrency configuration
4869
+ # @example Example: To view a provisioned concurrency configuration
4858
4870
  #
4859
- # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
4871
+ # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
4860
4872
  # # function.
4861
4873
  #
4862
4874
  # resp = client.get_provisioned_concurrency_config({
@@ -4873,9 +4885,9 @@ module Aws::Lambda
4873
4885
  # status: "READY",
4874
4886
  # }
4875
4887
  #
4876
- # @example Example: To view a provisioned concurrency configuration
4888
+ # @example Example: To get a provisioned concurrency configuration
4877
4889
  #
4878
- # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
4890
+ # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
4879
4891
  # # function.
4880
4892
  #
4881
4893
  # resp = client.get_provisioned_concurrency_config({
@@ -5670,7 +5682,7 @@ module Aws::Lambda
5670
5682
  # resp.capacity_providers[0].capacity_provider_scaling_config.max_v_cpu_count #=> Integer
5671
5683
  # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
5672
5684
  # 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"
5685
+ # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization", "LambdaCapacityProviderAverageGPUUtilization"
5674
5686
  # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
5675
5687
  # resp.capacity_providers[0].kms_key_arn #=> String
5676
5688
  # resp.capacity_providers[0].last_modified #=> Time
@@ -6351,10 +6363,10 @@ module Aws::Lambda
6351
6363
  # resp.functions[0].layers[0].signing_job_arn #=> String
6352
6364
  # resp.functions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
6353
6365
  # 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"
6366
+ # 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
6367
  # resp.functions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
6356
6368
  # 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"
6369
+ # 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
6370
  # resp.functions[0].file_system_configs #=> Array
6359
6371
  # resp.functions[0].file_system_configs[0].arn #=> String
6360
6372
  # resp.functions[0].file_system_configs[0].local_mount_path #=> String
@@ -6391,6 +6403,7 @@ module Aws::Lambda
6391
6403
  # resp.functions[0].durable_config.execution_timeout #=> Integer
6392
6404
  # resp.functions[0].runtime_config.runtime_arn #=> String
6393
6405
  # resp.functions[0].runtime_config.runtime_alias #=> String
6406
+ # resp.functions[0].accelerator_config.accelerator_memory_size #=> Integer
6394
6407
  #
6395
6408
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
6396
6409
  #
@@ -6971,10 +6984,10 @@ module Aws::Lambda
6971
6984
  # resp.versions[0].layers[0].signing_job_arn #=> String
6972
6985
  # resp.versions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
6973
6986
  # 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"
6987
+ # 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
6988
  # resp.versions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
6976
6989
  # 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"
6990
+ # 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
6991
  # resp.versions[0].file_system_configs #=> Array
6979
6992
  # resp.versions[0].file_system_configs[0].arn #=> String
6980
6993
  # resp.versions[0].file_system_configs[0].local_mount_path #=> String
@@ -7011,6 +7024,7 @@ module Aws::Lambda
7011
7024
  # resp.versions[0].durable_config.execution_timeout #=> Integer
7012
7025
  # resp.versions[0].runtime_config.runtime_arn #=> String
7013
7026
  # resp.versions[0].runtime_config.runtime_alias #=> String
7027
+ # resp.versions[0].accelerator_config.accelerator_memory_size #=> Integer
7014
7028
  #
7015
7029
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
7016
7030
  #
@@ -7265,6 +7279,7 @@ module Aws::Lambda
7265
7279
  # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
7266
7280
  # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
7267
7281
  # * {Types::FunctionConfiguration#runtime_config #runtime_config} => Types::FunctionRuntimeConfig
7282
+ # * {Types::FunctionConfiguration#accelerator_config #accelerator_config} => Types::AcceleratorConfig
7268
7283
  #
7269
7284
  #
7270
7285
  # @example Example: To publish a version of a Lambda function
@@ -7352,10 +7367,10 @@ module Aws::Lambda
7352
7367
  # resp.layers[0].signing_job_arn #=> String
7353
7368
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
7354
7369
  # 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"
7370
+ # 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
7371
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
7357
7372
  # 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"
7373
+ # 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
7374
  # resp.file_system_configs #=> Array
7360
7375
  # resp.file_system_configs[0].arn #=> String
7361
7376
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -7392,6 +7407,7 @@ module Aws::Lambda
7392
7407
  # resp.durable_config.execution_timeout #=> Integer
7393
7408
  # resp.runtime_config.runtime_arn #=> String
7394
7409
  # resp.runtime_config.runtime_alias #=> String
7410
+ # resp.accelerator_config.accelerator_memory_size #=> Integer
7395
7411
  #
7396
7412
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
7397
7413
  #
@@ -8524,7 +8540,7 @@ module Aws::Lambda
8524
8540
  # scaling_mode: "Auto", # accepts Auto, Manual
8525
8541
  # scaling_policies: [
8526
8542
  # {
8527
- # predefined_metric_type: "LambdaCapacityProviderAverageCPUUtilization", # required, accepts LambdaCapacityProviderAverageCPUUtilization
8543
+ # predefined_metric_type: "LambdaCapacityProviderAverageCPUUtilization", # required, accepts LambdaCapacityProviderAverageCPUUtilization, LambdaCapacityProviderAverageGPUUtilization
8528
8544
  # target_value: 1.0, # required
8529
8545
  # },
8530
8546
  # ],
@@ -8561,7 +8577,7 @@ module Aws::Lambda
8561
8577
  # resp.capacity_provider.capacity_provider_scaling_config.max_v_cpu_count #=> Integer
8562
8578
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_mode #=> String, one of "Auto", "Manual"
8563
8579
  # 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"
8580
+ # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].predefined_metric_type #=> String, one of "LambdaCapacityProviderAverageCPUUtilization", "LambdaCapacityProviderAverageGPUUtilization"
8565
8581
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
8566
8582
  # resp.capacity_provider.kms_key_arn #=> String
8567
8583
  # resp.capacity_provider.last_modified #=> Time
@@ -9269,6 +9285,7 @@ module Aws::Lambda
9269
9285
  # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
9270
9286
  # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
9271
9287
  # * {Types::FunctionConfiguration#runtime_config #runtime_config} => Types::FunctionRuntimeConfig
9288
+ # * {Types::FunctionConfiguration#accelerator_config #accelerator_config} => Types::AcceleratorConfig
9272
9289
  #
9273
9290
  #
9274
9291
  # @example Example: To update a Lambda function's code
@@ -9356,10 +9373,10 @@ module Aws::Lambda
9356
9373
  # resp.layers[0].signing_job_arn #=> String
9357
9374
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
9358
9375
  # 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"
9376
+ # 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
9377
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
9361
9378
  # 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"
9379
+ # 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
9380
  # resp.file_system_configs #=> Array
9364
9381
  # resp.file_system_configs[0].arn #=> String
9365
9382
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -9396,6 +9413,7 @@ module Aws::Lambda
9396
9413
  # resp.durable_config.execution_timeout #=> Integer
9397
9414
  # resp.runtime_config.runtime_arn #=> String
9398
9415
  # resp.runtime_config.runtime_alias #=> String
9416
+ # resp.accelerator_config.accelerator_memory_size #=> Integer
9399
9417
  #
9400
9418
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
9401
9419
  #
@@ -9594,6 +9612,7 @@ module Aws::Lambda
9594
9612
  # @option params [Types::EphemeralStorage] :ephemeral_storage
9595
9613
  # The size of the function's `/tmp` directory in MB. The default value
9596
9614
  # is 512, but can be any whole number between 512 and 10,240 MB. For
9615
+ # functions that use `AcceleratorConfig`, the maximum is 32,768 MB. For
9597
9616
  # more information, see [Configuring ephemeral storage (console)][1].
9598
9617
  #
9599
9618
  #
@@ -9630,6 +9649,9 @@ module Aws::Lambda
9630
9649
  # Specifies the customer-managed runtime and the runtime alias that your
9631
9650
  # function uses.
9632
9651
  #
9652
+ # @option params [Types::AcceleratorConfig] :accelerator_config
9653
+ # The accelerator resource settings for a Lambda execution environment.
9654
+ #
9633
9655
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9634
9656
  #
9635
9657
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -9673,6 +9695,7 @@ module Aws::Lambda
9673
9695
  # * {Types::FunctionConfiguration#config_sha_256 #config_sha_256} => String
9674
9696
  # * {Types::FunctionConfiguration#durable_config #durable_config} => Types::DurableConfig
9675
9697
  # * {Types::FunctionConfiguration#runtime_config #runtime_config} => Types::FunctionRuntimeConfig
9698
+ # * {Types::FunctionConfiguration#accelerator_config #accelerator_config} => Types::AcceleratorConfig
9676
9699
  #
9677
9700
  #
9678
9701
  # @example Example: To update a Lambda function's configuration
@@ -9784,6 +9807,9 @@ module Aws::Lambda
9784
9807
  # runtime_arn: "FunctionRuntimeArn", # required
9785
9808
  # runtime_alias: "FunctionRuntimeAlias", # required
9786
9809
  # },
9810
+ # accelerator_config: {
9811
+ # accelerator_memory_size: 1, # required
9812
+ # },
9787
9813
  # })
9788
9814
  #
9789
9815
  # @example Response structure
@@ -9822,10 +9848,10 @@ module Aws::Lambda
9822
9848
  # resp.layers[0].signing_job_arn #=> String
9823
9849
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed", "Deactivating", "Deactivated", "ActiveNonInvocable", "Deleting"
9824
9850
  # 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"
9851
+ # 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
9852
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
9827
9853
  # 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"
9854
+ # 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
9855
  # resp.file_system_configs #=> Array
9830
9856
  # resp.file_system_configs[0].arn #=> String
9831
9857
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -9862,6 +9888,7 @@ module Aws::Lambda
9862
9888
  # resp.durable_config.execution_timeout #=> Integer
9863
9889
  # resp.runtime_config.runtime_arn #=> String
9864
9890
  # resp.runtime_config.runtime_alias #=> String
9891
+ # resp.accelerator_config.accelerator_memory_size #=> Integer
9865
9892
  #
9866
9893
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
9867
9894
  #
@@ -10126,7 +10153,7 @@ module Aws::Lambda
10126
10153
  tracer: tracer
10127
10154
  )
10128
10155
  context[:gem_name] = 'aws-sdk-lambda'
10129
- context[:gem_version] = '1.212.0'
10156
+ context[:gem_version] = '1.213.0'
10130
10157
  Seahorse::Client::Request.new(handlers, context)
10131
10158
  end
10132
10159
 
@@ -14,6 +14,8 @@ module Aws::Lambda
14
14
 
15
15
  include Seahorse::Model
16
16
 
17
+ AcceleratorConfig = Shapes::StructureShape.new(name: 'AcceleratorConfig')
18
+ AcceleratorMemoryGB = Shapes::IntegerShape.new(name: 'AcceleratorMemoryGB')
17
19
  AccountLimit = Shapes::StructureShape.new(name: 'AccountLimit')
18
20
  AccountUsage = Shapes::StructureShape.new(name: 'AccountUsage')
19
21
  Action = Shapes::StringShape.new(name: 'Action')
@@ -611,6 +613,9 @@ module Aws::Lambda
611
613
  WorkingDirectory = Shapes::StringShape.new(name: 'WorkingDirectory')
612
614
  XAmznTraceId = Shapes::StringShape.new(name: 'XAmznTraceId')
613
615
 
616
+ AcceleratorConfig.add_member(:accelerator_memory_size, Shapes::ShapeRef.new(shape: AcceleratorMemoryGB, required: true, location_name: "AcceleratorMemorySize"))
617
+ AcceleratorConfig.struct_class = Types::AcceleratorConfig
618
+
614
619
  AccountLimit.add_member(:total_code_size, Shapes::ShapeRef.new(shape: Long, location_name: "TotalCodeSize"))
615
620
  AccountLimit.add_member(:code_size_unzipped, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSizeUnzipped"))
616
621
  AccountLimit.add_member(:code_size_zipped, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSizeZipped"))
@@ -957,6 +962,7 @@ module Aws::Lambda
957
962
  CreateFunctionRequest.add_member(:capacity_provider_config, Shapes::ShapeRef.new(shape: CapacityProviderConfig, location_name: "CapacityProviderConfig"))
958
963
  CreateFunctionRequest.add_member(:durable_config, Shapes::ShapeRef.new(shape: DurableConfig, location_name: "DurableConfig"))
959
964
  CreateFunctionRequest.add_member(:runtime_config, Shapes::ShapeRef.new(shape: FunctionRuntimeConfig, location_name: "RuntimeConfig"))
965
+ CreateFunctionRequest.add_member(:accelerator_config, Shapes::ShapeRef.new(shape: AcceleratorConfig, location_name: "AcceleratorConfig"))
960
966
  CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
961
967
 
962
968
  CreateFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionUrlFunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -1319,6 +1325,7 @@ module Aws::Lambda
1319
1325
  FunctionConfiguration.add_member(:config_sha_256, Shapes::ShapeRef.new(shape: String, location_name: "ConfigSha256"))
1320
1326
  FunctionConfiguration.add_member(:durable_config, Shapes::ShapeRef.new(shape: DurableConfig, location_name: "DurableConfig"))
1321
1327
  FunctionConfiguration.add_member(:runtime_config, Shapes::ShapeRef.new(shape: FunctionRuntimeConfig, location_name: "RuntimeConfig"))
1328
+ FunctionConfiguration.add_member(:accelerator_config, Shapes::ShapeRef.new(shape: AcceleratorConfig, location_name: "AcceleratorConfig"))
1322
1329
  FunctionConfiguration.struct_class = Types::FunctionConfiguration
1323
1330
 
1324
1331
  FunctionEventInvokeConfig.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
@@ -2405,6 +2412,7 @@ module Aws::Lambda
2405
2412
  UpdateFunctionConfigurationRequest.add_member(:capacity_provider_config, Shapes::ShapeRef.new(shape: CapacityProviderConfig, location_name: "CapacityProviderConfig"))
2406
2413
  UpdateFunctionConfigurationRequest.add_member(:durable_config, Shapes::ShapeRef.new(shape: DurableConfig, location_name: "DurableConfig"))
2407
2414
  UpdateFunctionConfigurationRequest.add_member(:runtime_config, Shapes::ShapeRef.new(shape: FunctionRuntimeConfig, location_name: "RuntimeConfig"))
2415
+ UpdateFunctionConfigurationRequest.add_member(:accelerator_config, Shapes::ShapeRef.new(shape: AcceleratorConfig, location_name: "AcceleratorConfig"))
2408
2416
  UpdateFunctionConfigurationRequest.struct_class = Types::UpdateFunctionConfigurationRequest
2409
2417
 
2410
2418
  UpdateFunctionEventInvokeConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -10,6 +10,23 @@
10
10
  module Aws::Lambda
11
11
  module Types
12
12
 
13
+ # The accelerator resource settings for a Lambda execution environment,
14
+ # including the amount of accelerator memory to allocate.
15
+ #
16
+ # @!attribute [rw] accelerator_memory_size
17
+ # The minimum amount of memory (in GB) of each accelerator device
18
+ # exposed to the execution environment. Lambda might allocate more,
19
+ # depending on the accelerator instance types available.
20
+ # @return [Integer]
21
+ #
22
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AcceleratorConfig AWS API Documentation
23
+ #
24
+ class AcceleratorConfig < Struct.new(
25
+ :accelerator_memory_size)
26
+ SENSITIVE = []
27
+ include Aws::Structure
28
+ end
29
+
13
30
  # Limits that are related to concurrency and storage. All file and
14
31
  # storage sizes are in bytes.
15
32
  #
@@ -1991,7 +2008,8 @@ module Aws::Lambda
1991
2008
  # @!attribute [rw] ephemeral_storage
1992
2009
  # The size of the function's `/tmp` directory in MB. The default
1993
2010
  # value is 512, but can be any whole number between 512 and 10,240 MB.
1994
- # For more information, see [Configuring ephemeral storage
2011
+ # For functions that use `AcceleratorConfig`, the maximum is 32,768
2012
+ # MB. For more information, see [Configuring ephemeral storage
1995
2013
  # (console)][1].
1996
2014
  #
1997
2015
  #
@@ -2034,6 +2052,11 @@ module Aws::Lambda
2034
2052
  # your function uses.
2035
2053
  # @return [Types::FunctionRuntimeConfig]
2036
2054
  #
2055
+ # @!attribute [rw] accelerator_config
2056
+ # The accelerator resource settings for a Lambda execution
2057
+ # environment.
2058
+ # @return [Types::AcceleratorConfig]
2059
+ #
2037
2060
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
2038
2061
  #
2039
2062
  class CreateFunctionRequest < Struct.new(
@@ -2065,7 +2088,8 @@ module Aws::Lambda
2065
2088
  :tenancy_config,
2066
2089
  :capacity_provider_config,
2067
2090
  :durable_config,
2068
- :runtime_config)
2091
+ :runtime_config,
2092
+ :accelerator_config)
2069
2093
  SENSITIVE = []
2070
2094
  include Aws::Structure
2071
2095
  end
@@ -2883,6 +2907,7 @@ module Aws::Lambda
2883
2907
 
2884
2908
  # The size of the function's `/tmp` directory in MB. The default value
2885
2909
  # is 512, but can be any whole number between 512 and 10,240 MB. For
2910
+ # functions that use `AcceleratorConfig`, the maximum is 32,768 MB. For
2886
2911
  # more information, see [Configuring ephemeral storage (console)][1].
2887
2912
  #
2888
2913
  #
@@ -4108,7 +4133,8 @@ module Aws::Lambda
4108
4133
  # @!attribute [rw] ephemeral_storage
4109
4134
  # The size of the function's `/tmp` directory in MB. The default
4110
4135
  # value is 512, but can be any whole number between 512 and 10,240 MB.
4111
- # For more information, see [Configuring ephemeral storage
4136
+ # For functions that use `AcceleratorConfig`, the maximum is 32,768
4137
+ # MB. For more information, see [Configuring ephemeral storage
4112
4138
  # (console)][1].
4113
4139
  #
4114
4140
  #
@@ -4161,6 +4187,11 @@ module Aws::Lambda
4161
4187
  # your function uses.
4162
4188
  # @return [Types::FunctionRuntimeConfig]
4163
4189
  #
4190
+ # @!attribute [rw] accelerator_config
4191
+ # The accelerator resource settings for a Lambda execution
4192
+ # environment.
4193
+ # @return [Types::AcceleratorConfig]
4194
+ #
4164
4195
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
4165
4196
  #
4166
4197
  class FunctionConfiguration < Struct.new(
@@ -4204,7 +4235,8 @@ module Aws::Lambda
4204
4235
  :capacity_provider_config,
4205
4236
  :config_sha_256,
4206
4237
  :durable_config,
4207
- :runtime_config)
4238
+ :runtime_config,
4239
+ :accelerator_config)
4208
4240
  SENSITIVE = []
4209
4241
  include Aws::Structure
4210
4242
  end
@@ -10440,7 +10472,8 @@ module Aws::Lambda
10440
10472
  # @!attribute [rw] ephemeral_storage
10441
10473
  # The size of the function's `/tmp` directory in MB. The default
10442
10474
  # value is 512, but can be any whole number between 512 and 10,240 MB.
10443
- # For more information, see [Configuring ephemeral storage
10475
+ # For functions that use `AcceleratorConfig`, the maximum is 32,768
10476
+ # MB. For more information, see [Configuring ephemeral storage
10444
10477
  # (console)][1].
10445
10478
  #
10446
10479
  #
@@ -10483,6 +10516,11 @@ module Aws::Lambda
10483
10516
  # your function uses.
10484
10517
  # @return [Types::FunctionRuntimeConfig]
10485
10518
  #
10519
+ # @!attribute [rw] accelerator_config
10520
+ # The accelerator resource settings for a Lambda execution
10521
+ # environment.
10522
+ # @return [Types::AcceleratorConfig]
10523
+ #
10486
10524
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
10487
10525
  #
10488
10526
  class UpdateFunctionConfigurationRequest < Struct.new(
@@ -10507,7 +10545,8 @@ module Aws::Lambda
10507
10545
  :logging_config,
10508
10546
  :capacity_provider_config,
10509
10547
  :durable_config,
10510
- :runtime_config)
10548
+ :runtime_config,
10549
+ :accelerator_config)
10511
10550
  SENSITIVE = []
10512
10551
  include Aws::Structure
10513
10552
  end
@@ -56,7 +56,7 @@ module Aws::Lambda
56
56
  autoload :Endpoints, 'aws-sdk-lambda/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-lambda/event_streams'
58
58
 
59
- GEM_VERSION = '1.212.0'
59
+ GEM_VERSION = '1.213.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -361,10 +361,10 @@ module Aws
361
361
  def layers: () -> ::Array[Types::Layer]
362
362
  def state: () -> ("Pending" | "Active" | "Inactive" | "Failed" | "Deactivating" | "Deactivated" | "ActiveNonInvocable" | "Deleting")
363
363
  def state_reason: () -> ::String
364
- def state_reason_code: () -> ("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")
364
+ def state_reason_code: () -> ("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")
365
365
  def last_update_status: () -> ("Successful" | "Failed" | "InProgress")
366
366
  def last_update_status_reason: () -> ::String
367
- def last_update_status_reason_code: () -> ("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")
367
+ def last_update_status_reason_code: () -> ("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")
368
368
  def file_system_configs: () -> ::Array[Types::FileSystemConfig]
369
369
  def signing_profile_version_arn: () -> ::String
370
370
  def signing_job_arn: () -> ::String
@@ -380,6 +380,7 @@ module Aws
380
380
  def config_sha_256: () -> ::String
381
381
  def durable_config: () -> Types::DurableConfig
382
382
  def runtime_config: () -> Types::FunctionRuntimeConfig
383
+ def accelerator_config: () -> Types::AcceleratorConfig
383
384
  end
384
385
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#create_function-instance_method
385
386
  def create_function: (
@@ -465,6 +466,9 @@ module Aws
465
466
  ?runtime_config: {
466
467
  runtime_arn: ::String,
467
468
  runtime_alias: ::String
469
+ },
470
+ ?accelerator_config: {
471
+ accelerator_memory_size: ::Integer
468
472
  }
469
473
  ) -> _CreateFunctionResponseSuccess
470
474
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFunctionResponseSuccess
@@ -813,10 +817,10 @@ module Aws
813
817
  def layers: () -> ::Array[Types::Layer]
814
818
  def state: () -> ("Pending" | "Active" | "Inactive" | "Failed" | "Deactivating" | "Deactivated" | "ActiveNonInvocable" | "Deleting")
815
819
  def state_reason: () -> ::String
816
- def state_reason_code: () -> ("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")
820
+ def state_reason_code: () -> ("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")
817
821
  def last_update_status: () -> ("Successful" | "Failed" | "InProgress")
818
822
  def last_update_status_reason: () -> ::String
819
- def last_update_status_reason_code: () -> ("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")
823
+ def last_update_status_reason_code: () -> ("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")
820
824
  def file_system_configs: () -> ::Array[Types::FileSystemConfig]
821
825
  def signing_profile_version_arn: () -> ::String
822
826
  def signing_job_arn: () -> ::String
@@ -832,6 +836,7 @@ module Aws
832
836
  def config_sha_256: () -> ::String
833
837
  def durable_config: () -> Types::DurableConfig
834
838
  def runtime_config: () -> Types::FunctionRuntimeConfig
839
+ def accelerator_config: () -> Types::AcceleratorConfig
835
840
  end
836
841
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_function_configuration-instance_method
837
842
  def get_function_configuration: (
@@ -1305,10 +1310,10 @@ module Aws
1305
1310
  def layers: () -> ::Array[Types::Layer]
1306
1311
  def state: () -> ("Pending" | "Active" | "Inactive" | "Failed" | "Deactivating" | "Deactivated" | "ActiveNonInvocable" | "Deleting")
1307
1312
  def state_reason: () -> ::String
1308
- def state_reason_code: () -> ("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")
1313
+ def state_reason_code: () -> ("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")
1309
1314
  def last_update_status: () -> ("Successful" | "Failed" | "InProgress")
1310
1315
  def last_update_status_reason: () -> ::String
1311
- def last_update_status_reason_code: () -> ("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")
1316
+ def last_update_status_reason_code: () -> ("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")
1312
1317
  def file_system_configs: () -> ::Array[Types::FileSystemConfig]
1313
1318
  def signing_profile_version_arn: () -> ::String
1314
1319
  def signing_job_arn: () -> ::String
@@ -1324,6 +1329,7 @@ module Aws
1324
1329
  def config_sha_256: () -> ::String
1325
1330
  def durable_config: () -> Types::DurableConfig
1326
1331
  def runtime_config: () -> Types::FunctionRuntimeConfig
1332
+ def accelerator_config: () -> Types::AcceleratorConfig
1327
1333
  end
1328
1334
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#publish_version-instance_method
1329
1335
  def publish_version: (
@@ -1701,10 +1707,10 @@ module Aws
1701
1707
  def layers: () -> ::Array[Types::Layer]
1702
1708
  def state: () -> ("Pending" | "Active" | "Inactive" | "Failed" | "Deactivating" | "Deactivated" | "ActiveNonInvocable" | "Deleting")
1703
1709
  def state_reason: () -> ::String
1704
- def state_reason_code: () -> ("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")
1710
+ def state_reason_code: () -> ("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")
1705
1711
  def last_update_status: () -> ("Successful" | "Failed" | "InProgress")
1706
1712
  def last_update_status_reason: () -> ::String
1707
- def last_update_status_reason_code: () -> ("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")
1713
+ def last_update_status_reason_code: () -> ("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")
1708
1714
  def file_system_configs: () -> ::Array[Types::FileSystemConfig]
1709
1715
  def signing_profile_version_arn: () -> ::String
1710
1716
  def signing_job_arn: () -> ::String
@@ -1720,6 +1726,7 @@ module Aws
1720
1726
  def config_sha_256: () -> ::String
1721
1727
  def durable_config: () -> Types::DurableConfig
1722
1728
  def runtime_config: () -> Types::FunctionRuntimeConfig
1729
+ def accelerator_config: () -> Types::AcceleratorConfig
1723
1730
  end
1724
1731
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#update_function_code-instance_method
1725
1732
  def update_function_code: (
@@ -1763,10 +1770,10 @@ module Aws
1763
1770
  def layers: () -> ::Array[Types::Layer]
1764
1771
  def state: () -> ("Pending" | "Active" | "Inactive" | "Failed" | "Deactivating" | "Deactivated" | "ActiveNonInvocable" | "Deleting")
1765
1772
  def state_reason: () -> ::String
1766
- def state_reason_code: () -> ("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")
1773
+ def state_reason_code: () -> ("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")
1767
1774
  def last_update_status: () -> ("Successful" | "Failed" | "InProgress")
1768
1775
  def last_update_status_reason: () -> ::String
1769
- def last_update_status_reason_code: () -> ("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")
1776
+ def last_update_status_reason_code: () -> ("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")
1770
1777
  def file_system_configs: () -> ::Array[Types::FileSystemConfig]
1771
1778
  def signing_profile_version_arn: () -> ::String
1772
1779
  def signing_job_arn: () -> ::String
@@ -1782,6 +1789,7 @@ module Aws
1782
1789
  def config_sha_256: () -> ::String
1783
1790
  def durable_config: () -> Types::DurableConfig
1784
1791
  def runtime_config: () -> Types::FunctionRuntimeConfig
1792
+ def accelerator_config: () -> Types::AcceleratorConfig
1785
1793
  end
1786
1794
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#update_function_configuration-instance_method
1787
1795
  def update_function_configuration: (
@@ -1850,6 +1858,9 @@ module Aws
1850
1858
  ?runtime_config: {
1851
1859
  runtime_arn: ::String,
1852
1860
  runtime_alias: ::String
1861
+ },
1862
+ ?accelerator_config: {
1863
+ accelerator_memory_size: ::Integer
1853
1864
  }
1854
1865
  ) -> _UpdateFunctionConfigurationResponseSuccess
1855
1866
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFunctionConfigurationResponseSuccess
data/sig/params.rbs CHANGED
@@ -13,7 +13,7 @@ module Aws
13
13
  scaling_mode: ("Auto" | "Manual")?,
14
14
  scaling_policies: Array[
15
15
  {
16
- predefined_metric_type: ("LambdaCapacityProviderAverageCPUUtilization"),
16
+ predefined_metric_type: ("LambdaCapacityProviderAverageCPUUtilization" | "LambdaCapacityProviderAverageGPUUtilization"),
17
17
  target_value: ::Float
18
18
  }
19
19
  ]?
data/sig/types.rbs CHANGED
@@ -8,6 +8,11 @@
8
8
  module Aws::Lambda
9
9
  module Types
10
10
 
11
+ class AcceleratorConfig
12
+ attr_accessor accelerator_memory_size: ::Integer
13
+ SENSITIVE: []
14
+ end
15
+
11
16
  class AccountLimit
12
17
  attr_accessor total_code_size: ::Integer
13
18
  attr_accessor code_size_unzipped: ::Integer
@@ -443,6 +448,7 @@ module Aws::Lambda
443
448
  attr_accessor capacity_provider_config: Types::CapacityProviderConfig
444
449
  attr_accessor durable_config: Types::DurableConfig
445
450
  attr_accessor runtime_config: Types::FunctionRuntimeConfig
451
+ attr_accessor accelerator_config: Types::AcceleratorConfig
446
452
  SENSITIVE: []
447
453
  end
448
454
 
@@ -877,10 +883,10 @@ module Aws::Lambda
877
883
  attr_accessor layers: ::Array[Types::Layer]
878
884
  attr_accessor state: ("Pending" | "Active" | "Inactive" | "Failed" | "Deactivating" | "Deactivated" | "ActiveNonInvocable" | "Deleting")
879
885
  attr_accessor state_reason: ::String
880
- attr_accessor state_reason_code: ("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")
886
+ attr_accessor state_reason_code: ("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")
881
887
  attr_accessor last_update_status: ("Successful" | "Failed" | "InProgress")
882
888
  attr_accessor last_update_status_reason: ::String
883
- attr_accessor last_update_status_reason_code: ("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")
889
+ attr_accessor last_update_status_reason_code: ("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")
884
890
  attr_accessor file_system_configs: ::Array[Types::FileSystemConfig]
885
891
  attr_accessor signing_profile_version_arn: ::String
886
892
  attr_accessor signing_job_arn: ::String
@@ -896,6 +902,7 @@ module Aws::Lambda
896
902
  attr_accessor config_sha_256: ::String
897
903
  attr_accessor durable_config: Types::DurableConfig
898
904
  attr_accessor runtime_config: Types::FunctionRuntimeConfig
905
+ attr_accessor accelerator_config: Types::AcceleratorConfig
899
906
  SENSITIVE: []
900
907
  end
901
908
 
@@ -2164,7 +2171,7 @@ module Aws::Lambda
2164
2171
  end
2165
2172
 
2166
2173
  class TargetTrackingScalingPolicy
2167
- attr_accessor predefined_metric_type: ("LambdaCapacityProviderAverageCPUUtilization")
2174
+ attr_accessor predefined_metric_type: ("LambdaCapacityProviderAverageCPUUtilization" | "LambdaCapacityProviderAverageGPUUtilization")
2168
2175
  attr_accessor target_value: ::Float
2169
2176
  SENSITIVE: []
2170
2177
  end
@@ -2311,6 +2318,7 @@ module Aws::Lambda
2311
2318
  attr_accessor capacity_provider_config: Types::CapacityProviderConfig
2312
2319
  attr_accessor durable_config: Types::DurableConfig
2313
2320
  attr_accessor runtime_config: Types::FunctionRuntimeConfig
2321
+ attr_accessor accelerator_config: Types::AcceleratorConfig
2314
2322
  SENSITIVE: []
2315
2323
  end
2316
2324
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lambda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.212.0
4
+ version: 1.213.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.268.0
21
+ version: 3.269.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.268.0
31
+ version: 3.269.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement