aws-sdk-lambda 1.54.0 → 1.55.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: 01aadaff7ee188fd2834c001b2c384d6988b54a9645f2b2d3eff845fb07bf39a
4
- data.tar.gz: e1e51237ad366eb2937f0b3ca7153ab9e4572636bc31b1d54c990fa6640db12a
3
+ metadata.gz: d21f398420d94f8641235afd8c3a18fb32d0d9589c852d2fc772a06f5ce36dcc
4
+ data.tar.gz: 070a7c482abc2d5a91551472dba6a7a3a200ab4f909cc7611f81462791d6ac22
5
5
  SHA512:
6
- metadata.gz: 5ee3af7b52c6c0e7da2d45508ebc4c2f17370b5dfef652a8388acb65dd5750caac181a6a6d7d0d4676c3768f992e41f8de6d21740e8c902b631665b3ab2b7814
7
- data.tar.gz: 687840bfcae16359714078d01806cfaf700d62430371bfa197982e445acf5125ddf05c47e382c50ade988f6669f0cc673b0d0dbd6ba31b47165d73badcea0a97
6
+ metadata.gz: ffe2ca8f123abd7dc8e998d1a6551e2b076772e610f8e8d462683209e329d9fe82e4aed9c481f88236c590bbd0b2b2d565e4715d3014ea40d0783beb3a3e74dd
7
+ data.tar.gz: b75b3443ce61ff54777ab240a425456a954f04e2bb0cc1caf22a7437fbf3d1fbe32066fe54dbe36b35c042d857f32f5f2e3f2615b55b6bb4f021fa164fbb5d8d
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-lambda/customizations'
49
49
  # @!group service
50
50
  module Aws::Lambda
51
51
 
52
- GEM_VERSION = '1.54.0'
52
+ GEM_VERSION = '1.55.0'
53
53
 
54
54
  end
@@ -975,9 +975,10 @@ module Aws::Lambda
975
975
 
976
976
  # Creates a Lambda function. To create a function, you need a
977
977
  # [deployment package][1] and an [execution role][2]. The deployment
978
- # package contains your function code. The execution role grants the
979
- # function permission to use AWS services, such as Amazon CloudWatch
980
- # Logs for log streaming and AWS X-Ray for request tracing.
978
+ # package is a ZIP archive or image container that contains your
979
+ # function code. The execution role grants the function permission to
980
+ # use AWS services, such as Amazon CloudWatch Logs for log streaming and
981
+ # AWS X-Ray for request tracing.
981
982
  #
982
983
  # When you create a function, Lambda provisions an instance of the
983
984
  # function and its supporting resources. If your function connects to a
@@ -1002,6 +1003,7 @@ module Aws::Lambda
1002
1003
  # include tags (TagResource) and per-function concurrency limits
1003
1004
  # (PutFunctionConcurrency).
1004
1005
  #
1006
+ # You can use code signing if your deployment package is a ZIP archive.
1005
1007
  # To enable code signing for this function, specify the ARN of a
1006
1008
  # code-signing configuration. When a user attempts to deploy a code
1007
1009
  # package with UpdateFunctionCode, Lambda checks that the code package
@@ -1021,7 +1023,7 @@ module Aws::Lambda
1021
1023
  #
1022
1024
  #
1023
1025
  #
1024
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/deployment-package-v2.html
1026
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html
1025
1027
  # [2]: https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role
1026
1028
  # [3]: https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html
1027
1029
  # [4]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html
@@ -1041,7 +1043,7 @@ module Aws::Lambda
1041
1043
  # The length constraint applies only to the full ARN. If you specify
1042
1044
  # only the function name, it is limited to 64 characters in length.
1043
1045
  #
1044
- # @option params [required, String] :runtime
1046
+ # @option params [String] :runtime
1045
1047
  # The identifier of the function's [runtime][1].
1046
1048
  #
1047
1049
  #
@@ -1051,7 +1053,7 @@ module Aws::Lambda
1051
1053
  # @option params [required, String] :role
1052
1054
  # The Amazon Resource Name (ARN) of the function's execution role.
1053
1055
  #
1054
- # @option params [required, String] :handler
1056
+ # @option params [String] :handler
1055
1057
  # The name of the method within your code that Lambda calls to execute
1056
1058
  # your function. The format includes the file name. It can also include
1057
1059
  # namespaces and other qualifiers, depending on the runtime. For more
@@ -1091,6 +1093,10 @@ module Aws::Lambda
1091
1093
  #
1092
1094
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html
1093
1095
  #
1096
+ # @option params [String] :package_type
1097
+ # The type of deployment package. Set to `Image` for container image and
1098
+ # set `Zip` for ZIP archive.
1099
+ #
1094
1100
  # @option params [Types::DeadLetterConfig] :dead_letter_config
1095
1101
  # A dead letter queue configuration that specifies the queue or topic
1096
1102
  # where Lambda sends asynchronous events when they fail processing. For
@@ -1131,9 +1137,12 @@ module Aws::Lambda
1131
1137
  # @option params [Array<Types::FileSystemConfig>] :file_system_configs
1132
1138
  # Connection settings for an Amazon EFS file system.
1133
1139
  #
1140
+ # @option params [Types::ImageConfig] :image_config
1141
+ # Configuration values that override the container image Dockerfile.
1142
+ #
1134
1143
  # @option params [String] :code_signing_config_arn
1135
1144
  # To enable code signing for this function, specify the ARN of a
1136
- # code-signing configuration. A code-signing configuration includes set
1145
+ # code-signing configuration. A code-signing configuration includes a
1137
1146
  # set of signing profiles, which define the trusted publishers for this
1138
1147
  # function.
1139
1148
  #
@@ -1166,6 +1175,8 @@ module Aws::Lambda
1166
1175
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
1167
1176
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
1168
1177
  # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
1178
+ # * {Types::FunctionConfiguration#package_type #package_type} => String
1179
+ # * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
1169
1180
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
1170
1181
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
1171
1182
  #
@@ -1236,14 +1247,15 @@ module Aws::Lambda
1236
1247
  #
1237
1248
  # resp = client.create_function({
1238
1249
  # function_name: "FunctionName", # required
1239
- # runtime: "nodejs", # required, accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
1250
+ # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
1240
1251
  # role: "RoleArn", # required
1241
- # handler: "Handler", # required
1252
+ # handler: "Handler",
1242
1253
  # code: { # required
1243
1254
  # zip_file: "data",
1244
1255
  # s3_bucket: "S3Bucket",
1245
1256
  # s3_key: "S3Key",
1246
1257
  # s3_object_version: "S3ObjectVersion",
1258
+ # image_uri: "String",
1247
1259
  # },
1248
1260
  # description: "Description",
1249
1261
  # timeout: 1,
@@ -1253,6 +1265,7 @@ module Aws::Lambda
1253
1265
  # subnet_ids: ["SubnetId"],
1254
1266
  # security_group_ids: ["SecurityGroupId"],
1255
1267
  # },
1268
+ # package_type: "Zip", # accepts Zip, Image
1256
1269
  # dead_letter_config: {
1257
1270
  # target_arn: "ResourceArn",
1258
1271
  # },
@@ -1275,6 +1288,11 @@ module Aws::Lambda
1275
1288
  # local_mount_path: "LocalMountPath", # required
1276
1289
  # },
1277
1290
  # ],
1291
+ # image_config: {
1292
+ # entry_point: ["String"],
1293
+ # command: ["String"],
1294
+ # working_directory: "WorkingDirectory",
1295
+ # },
1278
1296
  # code_signing_config_arn: "CodeSigningConfigArn",
1279
1297
  # })
1280
1298
  #
@@ -1313,13 +1331,21 @@ module Aws::Lambda
1313
1331
  # resp.layers[0].signing_job_arn #=> String
1314
1332
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
1315
1333
  # resp.state_reason #=> String
1316
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
1334
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
1317
1335
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
1318
1336
  # resp.last_update_status_reason #=> String
1319
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
1337
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
1320
1338
  # resp.file_system_configs #=> Array
1321
1339
  # resp.file_system_configs[0].arn #=> String
1322
1340
  # resp.file_system_configs[0].local_mount_path #=> String
1341
+ # resp.package_type #=> String, one of "Zip", "Image"
1342
+ # resp.image_config_response.image_config.entry_point #=> Array
1343
+ # resp.image_config_response.image_config.entry_point[0] #=> String
1344
+ # resp.image_config_response.image_config.command #=> Array
1345
+ # resp.image_config_response.image_config.command[0] #=> String
1346
+ # resp.image_config_response.image_config.working_directory #=> String
1347
+ # resp.image_config_response.error.error_code #=> String
1348
+ # resp.image_config_response.error.message #=> String
1323
1349
  # resp.signing_profile_version_arn #=> String
1324
1350
  # resp.signing_job_arn #=> String
1325
1351
  #
@@ -2171,17 +2197,27 @@ module Aws::Lambda
2171
2197
  # resp.configuration.layers[0].signing_job_arn #=> String
2172
2198
  # resp.configuration.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
2173
2199
  # resp.configuration.state_reason #=> String
2174
- # resp.configuration.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
2200
+ # resp.configuration.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
2175
2201
  # resp.configuration.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
2176
2202
  # resp.configuration.last_update_status_reason #=> String
2177
- # resp.configuration.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
2203
+ # resp.configuration.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
2178
2204
  # resp.configuration.file_system_configs #=> Array
2179
2205
  # resp.configuration.file_system_configs[0].arn #=> String
2180
2206
  # resp.configuration.file_system_configs[0].local_mount_path #=> String
2207
+ # resp.configuration.package_type #=> String, one of "Zip", "Image"
2208
+ # resp.configuration.image_config_response.image_config.entry_point #=> Array
2209
+ # resp.configuration.image_config_response.image_config.entry_point[0] #=> String
2210
+ # resp.configuration.image_config_response.image_config.command #=> Array
2211
+ # resp.configuration.image_config_response.image_config.command[0] #=> String
2212
+ # resp.configuration.image_config_response.image_config.working_directory #=> String
2213
+ # resp.configuration.image_config_response.error.error_code #=> String
2214
+ # resp.configuration.image_config_response.error.message #=> String
2181
2215
  # resp.configuration.signing_profile_version_arn #=> String
2182
2216
  # resp.configuration.signing_job_arn #=> String
2183
2217
  # resp.code.repository_type #=> String
2184
2218
  # resp.code.location #=> String
2219
+ # resp.code.image_uri #=> String
2220
+ # resp.code.resolved_image_uri #=> String
2185
2221
  # resp.tags #=> Hash
2186
2222
  # resp.tags["TagKey"] #=> String
2187
2223
  # resp.concurrency.reserved_concurrent_executions #=> Integer
@@ -2355,6 +2391,8 @@ module Aws::Lambda
2355
2391
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
2356
2392
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
2357
2393
  # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
2394
+ # * {Types::FunctionConfiguration#package_type #package_type} => String
2395
+ # * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
2358
2396
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
2359
2397
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
2360
2398
  #
@@ -2439,13 +2477,21 @@ module Aws::Lambda
2439
2477
  # resp.layers[0].signing_job_arn #=> String
2440
2478
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
2441
2479
  # resp.state_reason #=> String
2442
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
2480
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
2443
2481
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
2444
2482
  # resp.last_update_status_reason #=> String
2445
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
2483
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
2446
2484
  # resp.file_system_configs #=> Array
2447
2485
  # resp.file_system_configs[0].arn #=> String
2448
2486
  # resp.file_system_configs[0].local_mount_path #=> String
2487
+ # resp.package_type #=> String, one of "Zip", "Image"
2488
+ # resp.image_config_response.image_config.entry_point #=> Array
2489
+ # resp.image_config_response.image_config.entry_point[0] #=> String
2490
+ # resp.image_config_response.image_config.command #=> Array
2491
+ # resp.image_config_response.image_config.command[0] #=> String
2492
+ # resp.image_config_response.image_config.working_directory #=> String
2493
+ # resp.image_config_response.error.error_code #=> String
2494
+ # resp.image_config_response.error.message #=> String
2449
2495
  # resp.signing_profile_version_arn #=> String
2450
2496
  # resp.signing_job_arn #=> String
2451
2497
  #
@@ -3244,10 +3290,9 @@ module Aws::Lambda
3244
3290
  req.send_request(options)
3245
3291
  end
3246
3292
 
3247
- # Returns a list of [code signing configurations][1] for the specified
3248
- # function. A request returns up to 10,000 configurations per call. You
3249
- # can use the `MaxItems` parameter to return fewer configurations per
3250
- # call.
3293
+ # Returns a list of [code signing configurations][1]. A request returns
3294
+ # up to 10,000 configurations per call. You can use the `MaxItems`
3295
+ # parameter to return fewer configurations per call.
3251
3296
  #
3252
3297
  #
3253
3298
  #
@@ -3638,13 +3683,21 @@ module Aws::Lambda
3638
3683
  # resp.functions[0].layers[0].signing_job_arn #=> String
3639
3684
  # resp.functions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed"
3640
3685
  # resp.functions[0].state_reason #=> String
3641
- # resp.functions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
3686
+ # resp.functions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
3642
3687
  # resp.functions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
3643
3688
  # resp.functions[0].last_update_status_reason #=> String
3644
- # resp.functions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
3689
+ # resp.functions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
3645
3690
  # resp.functions[0].file_system_configs #=> Array
3646
3691
  # resp.functions[0].file_system_configs[0].arn #=> String
3647
3692
  # resp.functions[0].file_system_configs[0].local_mount_path #=> String
3693
+ # resp.functions[0].package_type #=> String, one of "Zip", "Image"
3694
+ # resp.functions[0].image_config_response.image_config.entry_point #=> Array
3695
+ # resp.functions[0].image_config_response.image_config.entry_point[0] #=> String
3696
+ # resp.functions[0].image_config_response.image_config.command #=> Array
3697
+ # resp.functions[0].image_config_response.image_config.command[0] #=> String
3698
+ # resp.functions[0].image_config_response.image_config.working_directory #=> String
3699
+ # resp.functions[0].image_config_response.error.error_code #=> String
3700
+ # resp.functions[0].image_config_response.error.message #=> String
3648
3701
  # resp.functions[0].signing_profile_version_arn #=> String
3649
3702
  # resp.functions[0].signing_job_arn #=> String
3650
3703
  #
@@ -4167,13 +4220,21 @@ module Aws::Lambda
4167
4220
  # resp.versions[0].layers[0].signing_job_arn #=> String
4168
4221
  # resp.versions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed"
4169
4222
  # resp.versions[0].state_reason #=> String
4170
- # resp.versions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
4223
+ # resp.versions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
4171
4224
  # resp.versions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
4172
4225
  # resp.versions[0].last_update_status_reason #=> String
4173
- # resp.versions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
4226
+ # resp.versions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
4174
4227
  # resp.versions[0].file_system_configs #=> Array
4175
4228
  # resp.versions[0].file_system_configs[0].arn #=> String
4176
4229
  # resp.versions[0].file_system_configs[0].local_mount_path #=> String
4230
+ # resp.versions[0].package_type #=> String, one of "Zip", "Image"
4231
+ # resp.versions[0].image_config_response.image_config.entry_point #=> Array
4232
+ # resp.versions[0].image_config_response.image_config.entry_point[0] #=> String
4233
+ # resp.versions[0].image_config_response.image_config.command #=> Array
4234
+ # resp.versions[0].image_config_response.image_config.command[0] #=> String
4235
+ # resp.versions[0].image_config_response.image_config.working_directory #=> String
4236
+ # resp.versions[0].image_config_response.error.error_code #=> String
4237
+ # resp.versions[0].image_config_response.error.message #=> String
4177
4238
  # resp.versions[0].signing_profile_version_arn #=> String
4178
4239
  # resp.versions[0].signing_job_arn #=> String
4179
4240
  #
@@ -4394,6 +4455,8 @@ module Aws::Lambda
4394
4455
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
4395
4456
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
4396
4457
  # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
4458
+ # * {Types::FunctionConfiguration#package_type #package_type} => String
4459
+ # * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
4397
4460
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
4398
4461
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
4399
4462
  #
@@ -4481,13 +4544,21 @@ module Aws::Lambda
4481
4544
  # resp.layers[0].signing_job_arn #=> String
4482
4545
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
4483
4546
  # resp.state_reason #=> String
4484
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
4547
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
4485
4548
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
4486
4549
  # resp.last_update_status_reason #=> String
4487
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
4550
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
4488
4551
  # resp.file_system_configs #=> Array
4489
4552
  # resp.file_system_configs[0].arn #=> String
4490
4553
  # resp.file_system_configs[0].local_mount_path #=> String
4554
+ # resp.package_type #=> String, one of "Zip", "Image"
4555
+ # resp.image_config_response.image_config.entry_point #=> Array
4556
+ # resp.image_config_response.image_config.entry_point[0] #=> String
4557
+ # resp.image_config_response.image_config.command #=> Array
4558
+ # resp.image_config_response.image_config.command[0] #=> String
4559
+ # resp.image_config_response.image_config.working_directory #=> String
4560
+ # resp.image_config_response.error.error_code #=> String
4561
+ # resp.image_config_response.error.message #=> String
4491
4562
  # resp.signing_profile_version_arn #=> String
4492
4563
  # resp.signing_job_arn #=> String
4493
4564
  #
@@ -5460,6 +5531,9 @@ module Aws::Lambda
5460
5531
  # For versioned objects, the version of the deployment package object to
5461
5532
  # use.
5462
5533
  #
5534
+ # @option params [String] :image_uri
5535
+ # URI of a container image in the Amazon ECR registry.
5536
+ #
5463
5537
  # @option params [Boolean] :publish
5464
5538
  # Set to true to publish a new version of the function after updating
5465
5539
  # the code. This has the same effect as calling PublishVersion
@@ -5503,6 +5577,8 @@ module Aws::Lambda
5503
5577
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
5504
5578
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
5505
5579
  # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
5580
+ # * {Types::FunctionConfiguration#package_type #package_type} => String
5581
+ # * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
5506
5582
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
5507
5583
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
5508
5584
  #
@@ -5546,6 +5622,7 @@ module Aws::Lambda
5546
5622
  # s3_bucket: "S3Bucket",
5547
5623
  # s3_key: "S3Key",
5548
5624
  # s3_object_version: "S3ObjectVersion",
5625
+ # image_uri: "String",
5549
5626
  # publish: false,
5550
5627
  # dry_run: false,
5551
5628
  # revision_id: "String",
@@ -5586,13 +5663,21 @@ module Aws::Lambda
5586
5663
  # resp.layers[0].signing_job_arn #=> String
5587
5664
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
5588
5665
  # resp.state_reason #=> String
5589
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
5666
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
5590
5667
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
5591
5668
  # resp.last_update_status_reason #=> String
5592
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
5669
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
5593
5670
  # resp.file_system_configs #=> Array
5594
5671
  # resp.file_system_configs[0].arn #=> String
5595
5672
  # resp.file_system_configs[0].local_mount_path #=> String
5673
+ # resp.package_type #=> String, one of "Zip", "Image"
5674
+ # resp.image_config_response.image_config.entry_point #=> Array
5675
+ # resp.image_config_response.image_config.entry_point[0] #=> String
5676
+ # resp.image_config_response.image_config.command #=> Array
5677
+ # resp.image_config_response.image_config.command[0] #=> String
5678
+ # resp.image_config_response.image_config.working_directory #=> String
5679
+ # resp.image_config_response.error.error_code #=> String
5680
+ # resp.image_config_response.error.message #=> String
5596
5681
  # resp.signing_profile_version_arn #=> String
5597
5682
  # resp.signing_job_arn #=> String
5598
5683
  #
@@ -5725,6 +5810,9 @@ module Aws::Lambda
5725
5810
  # @option params [Array<Types::FileSystemConfig>] :file_system_configs
5726
5811
  # Connection settings for an Amazon EFS file system.
5727
5812
  #
5813
+ # @option params [Types::ImageConfig] :image_config
5814
+ # Configuration values that override the container image Dockerfile.
5815
+ #
5728
5816
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5729
5817
  #
5730
5818
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -5754,6 +5842,8 @@ module Aws::Lambda
5754
5842
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
5755
5843
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
5756
5844
  # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
5845
+ # * {Types::FunctionConfiguration#package_type #package_type} => String
5846
+ # * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
5757
5847
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
5758
5848
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
5759
5849
  #
@@ -5822,6 +5912,11 @@ module Aws::Lambda
5822
5912
  # local_mount_path: "LocalMountPath", # required
5823
5913
  # },
5824
5914
  # ],
5915
+ # image_config: {
5916
+ # entry_point: ["String"],
5917
+ # command: ["String"],
5918
+ # working_directory: "WorkingDirectory",
5919
+ # },
5825
5920
  # })
5826
5921
  #
5827
5922
  # @example Response structure
@@ -5859,13 +5954,21 @@ module Aws::Lambda
5859
5954
  # resp.layers[0].signing_job_arn #=> String
5860
5955
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
5861
5956
  # resp.state_reason #=> String
5862
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
5957
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
5863
5958
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
5864
5959
  # resp.last_update_status_reason #=> String
5865
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
5960
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
5866
5961
  # resp.file_system_configs #=> Array
5867
5962
  # resp.file_system_configs[0].arn #=> String
5868
5963
  # resp.file_system_configs[0].local_mount_path #=> String
5964
+ # resp.package_type #=> String, one of "Zip", "Image"
5965
+ # resp.image_config_response.image_config.entry_point #=> Array
5966
+ # resp.image_config_response.image_config.entry_point[0] #=> String
5967
+ # resp.image_config_response.image_config.command #=> Array
5968
+ # resp.image_config_response.image_config.command[0] #=> String
5969
+ # resp.image_config_response.image_config.working_directory #=> String
5970
+ # resp.image_config_response.error.error_code #=> String
5971
+ # resp.image_config_response.error.message #=> String
5869
5972
  # resp.signing_profile_version_arn #=> String
5870
5973
  # resp.signing_job_arn #=> String
5871
5974
  #
@@ -6012,7 +6115,7 @@ module Aws::Lambda
6012
6115
  params: params,
6013
6116
  config: config)
6014
6117
  context[:gem_name] = 'aws-sdk-lambda'
6015
- context[:gem_version] = '1.54.0'
6118
+ context[:gem_version] = '1.55.0'
6016
6119
  Seahorse::Client::Request.new(handlers, context)
6017
6120
  end
6018
6121
 
@@ -121,6 +121,9 @@ module Aws::Lambda
121
121
  GetProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigResponse')
122
122
  Handler = Shapes::StringShape.new(name: 'Handler')
123
123
  HttpStatus = Shapes::IntegerShape.new(name: 'HttpStatus')
124
+ ImageConfig = Shapes::StructureShape.new(name: 'ImageConfig')
125
+ ImageConfigError = Shapes::StructureShape.new(name: 'ImageConfigError')
126
+ ImageConfigResponse = Shapes::StructureShape.new(name: 'ImageConfigResponse')
124
127
  Integer = Shapes::IntegerShape.new(name: 'Integer')
125
128
  InvalidCodeSignatureException = Shapes::StructureShape.new(name: 'InvalidCodeSignatureException')
126
129
  InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
@@ -201,6 +204,7 @@ module Aws::Lambda
201
204
  OnFailure = Shapes::StructureShape.new(name: 'OnFailure')
202
205
  OnSuccess = Shapes::StructureShape.new(name: 'OnSuccess')
203
206
  OrganizationId = Shapes::StringShape.new(name: 'OrganizationId')
207
+ PackageType = Shapes::StringShape.new(name: 'PackageType')
204
208
  ParallelizationFactor = Shapes::IntegerShape.new(name: 'ParallelizationFactor')
205
209
  PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
206
210
  PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
@@ -250,6 +254,7 @@ module Aws::Lambda
250
254
  StateReasonCode = Shapes::StringShape.new(name: 'StateReasonCode')
251
255
  StatementId = Shapes::StringShape.new(name: 'StatementId')
252
256
  String = Shapes::StringShape.new(name: 'String')
257
+ StringList = Shapes::ListShape.new(name: 'StringList')
253
258
  SubnetIPAddressLimitReachedException = Shapes::StructureShape.new(name: 'SubnetIPAddressLimitReachedException')
254
259
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
255
260
  SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
@@ -282,6 +287,7 @@ module Aws::Lambda
282
287
  VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
283
288
  VpcId = Shapes::StringShape.new(name: 'VpcId')
284
289
  Weight = Shapes::FloatShape.new(name: 'Weight')
290
+ WorkingDirectory = Shapes::StringShape.new(name: 'WorkingDirectory')
285
291
 
286
292
  AccountLimit.add_member(:total_code_size, Shapes::ShapeRef.new(shape: Long, location_name: "TotalCodeSize"))
287
293
  AccountLimit.add_member(:code_size_unzipped, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSizeUnzipped"))
@@ -403,15 +409,16 @@ module Aws::Lambda
403
409
  CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
404
410
 
405
411
  CreateFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
406
- CreateFunctionRequest.add_member(:runtime, Shapes::ShapeRef.new(shape: Runtime, required: true, location_name: "Runtime"))
412
+ CreateFunctionRequest.add_member(:runtime, Shapes::ShapeRef.new(shape: Runtime, location_name: "Runtime"))
407
413
  CreateFunctionRequest.add_member(:role, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "Role"))
408
- CreateFunctionRequest.add_member(:handler, Shapes::ShapeRef.new(shape: Handler, required: true, location_name: "Handler"))
414
+ CreateFunctionRequest.add_member(:handler, Shapes::ShapeRef.new(shape: Handler, location_name: "Handler"))
409
415
  CreateFunctionRequest.add_member(:code, Shapes::ShapeRef.new(shape: FunctionCode, required: true, location_name: "Code"))
410
416
  CreateFunctionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
411
417
  CreateFunctionRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
412
418
  CreateFunctionRequest.add_member(:memory_size, Shapes::ShapeRef.new(shape: MemorySize, location_name: "MemorySize"))
413
419
  CreateFunctionRequest.add_member(:publish, Shapes::ShapeRef.new(shape: Boolean, location_name: "Publish"))
414
420
  CreateFunctionRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
421
+ CreateFunctionRequest.add_member(:package_type, Shapes::ShapeRef.new(shape: PackageType, location_name: "PackageType"))
415
422
  CreateFunctionRequest.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
416
423
  CreateFunctionRequest.add_member(:environment, Shapes::ShapeRef.new(shape: Environment, location_name: "Environment"))
417
424
  CreateFunctionRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
@@ -419,6 +426,7 @@ module Aws::Lambda
419
426
  CreateFunctionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
420
427
  CreateFunctionRequest.add_member(:layers, Shapes::ShapeRef.new(shape: LayerList, location_name: "Layers"))
421
428
  CreateFunctionRequest.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
429
+ CreateFunctionRequest.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
422
430
  CreateFunctionRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, location_name: "CodeSigningConfigArn"))
423
431
  CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
424
432
 
@@ -545,10 +553,13 @@ module Aws::Lambda
545
553
  FunctionCode.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
546
554
  FunctionCode.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
547
555
  FunctionCode.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
556
+ FunctionCode.add_member(:image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ImageUri"))
548
557
  FunctionCode.struct_class = Types::FunctionCode
549
558
 
550
559
  FunctionCodeLocation.add_member(:repository_type, Shapes::ShapeRef.new(shape: String, location_name: "RepositoryType"))
551
560
  FunctionCodeLocation.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "Location"))
561
+ FunctionCodeLocation.add_member(:image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ImageUri"))
562
+ FunctionCodeLocation.add_member(:resolved_image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ResolvedImageUri"))
552
563
  FunctionCodeLocation.struct_class = Types::FunctionCodeLocation
553
564
 
554
565
  FunctionConfiguration.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, location_name: "FunctionName"))
@@ -578,6 +589,8 @@ module Aws::Lambda
578
589
  FunctionConfiguration.add_member(:last_update_status_reason, Shapes::ShapeRef.new(shape: LastUpdateStatusReason, location_name: "LastUpdateStatusReason"))
579
590
  FunctionConfiguration.add_member(:last_update_status_reason_code, Shapes::ShapeRef.new(shape: LastUpdateStatusReasonCode, location_name: "LastUpdateStatusReasonCode"))
580
591
  FunctionConfiguration.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
592
+ FunctionConfiguration.add_member(:package_type, Shapes::ShapeRef.new(shape: PackageType, location_name: "PackageType"))
593
+ FunctionConfiguration.add_member(:image_config_response, Shapes::ShapeRef.new(shape: ImageConfigResponse, location_name: "ImageConfigResponse"))
581
594
  FunctionConfiguration.add_member(:signing_profile_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningProfileVersionArn"))
582
595
  FunctionConfiguration.add_member(:signing_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningJobArn"))
583
596
  FunctionConfiguration.struct_class = Types::FunctionConfiguration
@@ -688,6 +701,19 @@ module Aws::Lambda
688
701
  GetProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
689
702
  GetProvisionedConcurrencyConfigResponse.struct_class = Types::GetProvisionedConcurrencyConfigResponse
690
703
 
704
+ ImageConfig.add_member(:entry_point, Shapes::ShapeRef.new(shape: StringList, location_name: "EntryPoint"))
705
+ ImageConfig.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "Command"))
706
+ ImageConfig.add_member(:working_directory, Shapes::ShapeRef.new(shape: WorkingDirectory, location_name: "WorkingDirectory"))
707
+ ImageConfig.struct_class = Types::ImageConfig
708
+
709
+ ImageConfigError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode"))
710
+ ImageConfigError.add_member(:message, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Message"))
711
+ ImageConfigError.struct_class = Types::ImageConfigError
712
+
713
+ ImageConfigResponse.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
714
+ ImageConfigResponse.add_member(:error, Shapes::ShapeRef.new(shape: ImageConfigError, location_name: "Error"))
715
+ ImageConfigResponse.struct_class = Types::ImageConfigResponse
716
+
691
717
  InvalidCodeSignatureException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
692
718
  InvalidCodeSignatureException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
693
719
  InvalidCodeSignatureException.struct_class = Types::InvalidCodeSignatureException
@@ -1031,6 +1057,8 @@ module Aws::Lambda
1031
1057
 
1032
1058
  SourceAccessConfigurations.member = Shapes::ShapeRef.new(shape: SourceAccessConfiguration)
1033
1059
 
1060
+ StringList.member = Shapes::ShapeRef.new(shape: String)
1061
+
1034
1062
  SubnetIPAddressLimitReachedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
1035
1063
  SubnetIPAddressLimitReachedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1036
1064
  SubnetIPAddressLimitReachedException.struct_class = Types::SubnetIPAddressLimitReachedException
@@ -1103,6 +1131,7 @@ module Aws::Lambda
1103
1131
  UpdateFunctionCodeRequest.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
1104
1132
  UpdateFunctionCodeRequest.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
1105
1133
  UpdateFunctionCodeRequest.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
1134
+ UpdateFunctionCodeRequest.add_member(:image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ImageUri"))
1106
1135
  UpdateFunctionCodeRequest.add_member(:publish, Shapes::ShapeRef.new(shape: Boolean, location_name: "Publish"))
1107
1136
  UpdateFunctionCodeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
1108
1137
  UpdateFunctionCodeRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
@@ -1123,6 +1152,7 @@ module Aws::Lambda
1123
1152
  UpdateFunctionConfigurationRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
1124
1153
  UpdateFunctionConfigurationRequest.add_member(:layers, Shapes::ShapeRef.new(shape: LayerList, location_name: "Layers"))
1125
1154
  UpdateFunctionConfigurationRequest.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
1155
+ UpdateFunctionConfigurationRequest.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
1126
1156
  UpdateFunctionConfigurationRequest.struct_class = Types::UpdateFunctionConfigurationRequest
1127
1157
 
1128
1158
  UpdateFunctionEventInvokeConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -420,9 +420,9 @@ module Aws::Lambda
420
420
  # @!attribute [rw] untrusted_artifact_on_deployment
421
421
  # Code signing configuration policy for deployment validation failure.
422
422
  # If you set the policy to `Enforce`, Lambda blocks the deployment
423
- # request if code-signing validation checks fail. If you set the
424
- # policy to `Warn`, Lambda allows the deployment and creates a
425
- # CloudWatch log.
423
+ # request if signature validation checks fail. If you set the policy
424
+ # to `Warn`, Lambda allows the deployment and creates a CloudWatch
425
+ # log.
426
426
  #
427
427
  # Default value: `Warn`
428
428
  # @return [String]
@@ -780,14 +780,15 @@ module Aws::Lambda
780
780
  #
781
781
  # {
782
782
  # function_name: "FunctionName", # required
783
- # runtime: "nodejs", # required, accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
783
+ # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
784
784
  # role: "RoleArn", # required
785
- # handler: "Handler", # required
785
+ # handler: "Handler",
786
786
  # code: { # required
787
787
  # zip_file: "data",
788
788
  # s3_bucket: "S3Bucket",
789
789
  # s3_key: "S3Key",
790
790
  # s3_object_version: "S3ObjectVersion",
791
+ # image_uri: "String",
791
792
  # },
792
793
  # description: "Description",
793
794
  # timeout: 1,
@@ -797,6 +798,7 @@ module Aws::Lambda
797
798
  # subnet_ids: ["SubnetId"],
798
799
  # security_group_ids: ["SecurityGroupId"],
799
800
  # },
801
+ # package_type: "Zip", # accepts Zip, Image
800
802
  # dead_letter_config: {
801
803
  # target_arn: "ResourceArn",
802
804
  # },
@@ -819,6 +821,11 @@ module Aws::Lambda
819
821
  # local_mount_path: "LocalMountPath", # required
820
822
  # },
821
823
  # ],
824
+ # image_config: {
825
+ # entry_point: ["String"],
826
+ # command: ["String"],
827
+ # working_directory: "WorkingDirectory",
828
+ # },
822
829
  # code_signing_config_arn: "CodeSigningConfigArn",
823
830
  # }
824
831
  #
@@ -897,6 +904,11 @@ module Aws::Lambda
897
904
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html
898
905
  # @return [Types::VpcConfig]
899
906
  #
907
+ # @!attribute [rw] package_type
908
+ # The type of deployment package. Set to `Image` for container image
909
+ # and set `Zip` for ZIP archive.
910
+ # @return [String]
911
+ #
900
912
  # @!attribute [rw] dead_letter_config
901
913
  # A dead letter queue configuration that specifies the queue or topic
902
914
  # where Lambda sends asynchronous events when they fail processing.
@@ -944,10 +956,14 @@ module Aws::Lambda
944
956
  # Connection settings for an Amazon EFS file system.
945
957
  # @return [Array<Types::FileSystemConfig>]
946
958
  #
959
+ # @!attribute [rw] image_config
960
+ # Configuration values that override the container image Dockerfile.
961
+ # @return [Types::ImageConfig]
962
+ #
947
963
  # @!attribute [rw] code_signing_config_arn
948
964
  # To enable code signing for this function, specify the ARN of a
949
- # code-signing configuration. A code-signing configuration includes
950
- # set set of signing profiles, which define the trusted publishers for
965
+ # code-signing configuration. A code-signing configuration includes a
966
+ # set of signing profiles, which define the trusted publishers for
951
967
  # this function.
952
968
  # @return [String]
953
969
  #
@@ -964,6 +980,7 @@ module Aws::Lambda
964
980
  :memory_size,
965
981
  :publish,
966
982
  :vpc_config,
983
+ :package_type,
967
984
  :dead_letter_config,
968
985
  :environment,
969
986
  :kms_key_arn,
@@ -971,6 +988,7 @@ module Aws::Lambda
971
988
  :tags,
972
989
  :layers,
973
990
  :file_system_configs,
991
+ :image_config,
974
992
  :code_signing_config_arn)
975
993
  SENSITIVE = []
976
994
  include Aws::Structure
@@ -1692,7 +1710,8 @@ module Aws::Lambda
1692
1710
  end
1693
1711
 
1694
1712
  # The code for the Lambda function. You can specify either an object in
1695
- # Amazon S3, or upload a deployment package directly.
1713
+ # Amazon S3, upload a ZIP archive deployment package directly, or
1714
+ # specify the URI of a container image.
1696
1715
  #
1697
1716
  # @note When making an API call, you may pass FunctionCode
1698
1717
  # data as a hash:
@@ -1702,6 +1721,7 @@ module Aws::Lambda
1702
1721
  # s3_bucket: "S3Bucket",
1703
1722
  # s3_key: "S3Key",
1704
1723
  # s3_object_version: "S3ObjectVersion",
1724
+ # image_uri: "String",
1705
1725
  # }
1706
1726
  #
1707
1727
  # @!attribute [rw] zip_file
@@ -1723,13 +1743,18 @@ module Aws::Lambda
1723
1743
  # to use.
1724
1744
  # @return [String]
1725
1745
  #
1746
+ # @!attribute [rw] image_uri
1747
+ # URI of a container image in the Amazon ECR registry.
1748
+ # @return [String]
1749
+ #
1726
1750
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCode AWS API Documentation
1727
1751
  #
1728
1752
  class FunctionCode < Struct.new(
1729
1753
  :zip_file,
1730
1754
  :s3_bucket,
1731
1755
  :s3_key,
1732
- :s3_object_version)
1756
+ :s3_object_version,
1757
+ :image_uri)
1733
1758
  SENSITIVE = [:zip_file]
1734
1759
  include Aws::Structure
1735
1760
  end
@@ -1744,11 +1769,21 @@ module Aws::Lambda
1744
1769
  # A presigned URL that you can use to download the deployment package.
1745
1770
  # @return [String]
1746
1771
  #
1772
+ # @!attribute [rw] image_uri
1773
+ # URI of a container image in the Amazon ECR registry.
1774
+ # @return [String]
1775
+ #
1776
+ # @!attribute [rw] resolved_image_uri
1777
+ # The resolved URI for the image.
1778
+ # @return [String]
1779
+ #
1747
1780
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCodeLocation AWS API Documentation
1748
1781
  #
1749
1782
  class FunctionCodeLocation < Struct.new(
1750
1783
  :repository_type,
1751
- :location)
1784
+ :location,
1785
+ :image_uri,
1786
+ :resolved_image_uri)
1752
1787
  SENSITIVE = []
1753
1788
  include Aws::Structure
1754
1789
  end
@@ -1879,6 +1914,15 @@ module Aws::Lambda
1879
1914
  # Connection settings for an Amazon EFS file system.
1880
1915
  # @return [Array<Types::FileSystemConfig>]
1881
1916
  #
1917
+ # @!attribute [rw] package_type
1918
+ # The type of deployment package. Set to `Image` for container image
1919
+ # and set `Zip` for ZIP archive.
1920
+ # @return [String]
1921
+ #
1922
+ # @!attribute [rw] image_config_response
1923
+ # The function's image configuration values.
1924
+ # @return [Types::ImageConfigResponse]
1925
+ #
1882
1926
  # @!attribute [rw] signing_profile_version_arn
1883
1927
  # The ARN of the signing profile version.
1884
1928
  # @return [String]
@@ -1917,6 +1961,8 @@ module Aws::Lambda
1917
1961
  :last_update_status_reason,
1918
1962
  :last_update_status_reason_code,
1919
1963
  :file_system_configs,
1964
+ :package_type,
1965
+ :image_config_response,
1920
1966
  :signing_profile_version_arn,
1921
1967
  :signing_job_arn)
1922
1968
  SENSITIVE = []
@@ -2613,6 +2659,83 @@ module Aws::Lambda
2613
2659
  include Aws::Structure
2614
2660
  end
2615
2661
 
2662
+ # Configuration values that override the container image Dockerfile. See
2663
+ # [Override Container settings][1].
2664
+ #
2665
+ #
2666
+ #
2667
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-images-settings.html
2668
+ #
2669
+ # @note When making an API call, you may pass ImageConfig
2670
+ # data as a hash:
2671
+ #
2672
+ # {
2673
+ # entry_point: ["String"],
2674
+ # command: ["String"],
2675
+ # working_directory: "WorkingDirectory",
2676
+ # }
2677
+ #
2678
+ # @!attribute [rw] entry_point
2679
+ # Specifies the entry point to their application, which is typically
2680
+ # the location of the runtime executable.
2681
+ # @return [Array<String>]
2682
+ #
2683
+ # @!attribute [rw] command
2684
+ # Specifies parameters that you want to pass in with ENTRYPOINT.
2685
+ # @return [Array<String>]
2686
+ #
2687
+ # @!attribute [rw] working_directory
2688
+ # Specifies the working directory.
2689
+ # @return [String]
2690
+ #
2691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ImageConfig AWS API Documentation
2692
+ #
2693
+ class ImageConfig < Struct.new(
2694
+ :entry_point,
2695
+ :command,
2696
+ :working_directory)
2697
+ SENSITIVE = []
2698
+ include Aws::Structure
2699
+ end
2700
+
2701
+ # Error response to GetFunctionConfiguration.
2702
+ #
2703
+ # @!attribute [rw] error_code
2704
+ # Error code.
2705
+ # @return [String]
2706
+ #
2707
+ # @!attribute [rw] message
2708
+ # Error message.
2709
+ # @return [String]
2710
+ #
2711
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ImageConfigError AWS API Documentation
2712
+ #
2713
+ class ImageConfigError < Struct.new(
2714
+ :error_code,
2715
+ :message)
2716
+ SENSITIVE = [:message]
2717
+ include Aws::Structure
2718
+ end
2719
+
2720
+ # Response to GetFunctionConfiguration request.
2721
+ #
2722
+ # @!attribute [rw] image_config
2723
+ # Configuration values that override the container image Dockerfile.
2724
+ # @return [Types::ImageConfig]
2725
+ #
2726
+ # @!attribute [rw] error
2727
+ # Error response to GetFunctionConfiguration.
2728
+ # @return [Types::ImageConfigError]
2729
+ #
2730
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ImageConfigResponse AWS API Documentation
2731
+ #
2732
+ class ImageConfigResponse < Struct.new(
2733
+ :image_config,
2734
+ :error)
2735
+ SENSITIVE = []
2736
+ include Aws::Structure
2737
+ end
2738
+
2616
2739
  # The code signature failed the integrity check. Lambda always blocks
2617
2740
  # deployment if the integrity check fails, even if code signing policy
2618
2741
  # is set to WARN.
@@ -5052,6 +5175,7 @@ module Aws::Lambda
5052
5175
  # s3_bucket: "S3Bucket",
5053
5176
  # s3_key: "S3Key",
5054
5177
  # s3_object_version: "S3ObjectVersion",
5178
+ # image_uri: "String",
5055
5179
  # publish: false,
5056
5180
  # dry_run: false,
5057
5181
  # revision_id: "String",
@@ -5092,6 +5216,10 @@ module Aws::Lambda
5092
5216
  # to use.
5093
5217
  # @return [String]
5094
5218
  #
5219
+ # @!attribute [rw] image_uri
5220
+ # URI of a container image in the Amazon ECR registry.
5221
+ # @return [String]
5222
+ #
5095
5223
  # @!attribute [rw] publish
5096
5224
  # Set to true to publish a new version of the function after updating
5097
5225
  # the code. This has the same effect as calling PublishVersion
@@ -5117,6 +5245,7 @@ module Aws::Lambda
5117
5245
  :s3_bucket,
5118
5246
  :s3_key,
5119
5247
  :s3_object_version,
5248
+ :image_uri,
5120
5249
  :publish,
5121
5250
  :dry_run,
5122
5251
  :revision_id)
@@ -5159,6 +5288,11 @@ module Aws::Lambda
5159
5288
  # local_mount_path: "LocalMountPath", # required
5160
5289
  # },
5161
5290
  # ],
5291
+ # image_config: {
5292
+ # entry_point: ["String"],
5293
+ # command: ["String"],
5294
+ # working_directory: "WorkingDirectory",
5295
+ # },
5162
5296
  # }
5163
5297
  #
5164
5298
  # @!attribute [rw] function_name
@@ -5272,6 +5406,10 @@ module Aws::Lambda
5272
5406
  # Connection settings for an Amazon EFS file system.
5273
5407
  # @return [Array<Types::FileSystemConfig>]
5274
5408
  #
5409
+ # @!attribute [rw] image_config
5410
+ # Configuration values that override the container image Dockerfile.
5411
+ # @return [Types::ImageConfig]
5412
+ #
5275
5413
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
5276
5414
  #
5277
5415
  class UpdateFunctionConfigurationRequest < Struct.new(
@@ -5289,7 +5427,8 @@ module Aws::Lambda
5289
5427
  :tracing_config,
5290
5428
  :revision_id,
5291
5429
  :layers,
5292
- :file_system_configs)
5430
+ :file_system_configs,
5431
+ :image_config)
5293
5432
  SENSITIVE = []
5294
5433
  include Aws::Structure
5295
5434
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lambda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.54.0
4
+ version: 1.55.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-23 00:00:00.000000000 Z
11
+ date: 2020-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core