aws-sdk-lambda 1.54.0 → 1.59.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: 11be2bb97d538d01aee1c325e36c6c9376473c0861d7f908ab23acf6b702a4d7
4
+ data.tar.gz: ca7c449c7429a5c58a2e751d250809a33e9bcd44ac77dafaed4bd16f9bf1ccf0
5
5
  SHA512:
6
- metadata.gz: 5ee3af7b52c6c0e7da2d45508ebc4c2f17370b5dfef652a8388acb65dd5750caac181a6a6d7d0d4676c3768f992e41f8de6d21740e8c902b631665b3ab2b7814
7
- data.tar.gz: 687840bfcae16359714078d01806cfaf700d62430371bfa197982e445acf5125ddf05c47e382c50ade988f6669f0cc673b0d0dbd6ba31b47165d73badcea0a97
6
+ metadata.gz: ed9997af1bef3c619c5d701ec5bd6824cd286a6c42b8323cf0a4e106fcf8ec9ffa50b8a7e8868dd2041dc36ffb9ea590a0eea939854084342a8df1b42e1261c0
7
+ data.tar.gz: 4cab6e23501e579dbfacfe98e107a035a2f8bf99a212605d187baaf3fc2fd92b6be462a249df971bf34f2de09add3f261c4f21aeb698e2f5e574128133b9fe41
@@ -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.59.0'
53
53
 
54
54
  end
@@ -733,6 +733,8 @@ module Aws::Lambda
733
733
  #
734
734
  # * [Using AWS Lambda with Amazon MSK][5]
735
735
  #
736
+ # * [Using AWS Lambda with Self-Managed Apache Kafka][6]
737
+ #
736
738
  # The following error handling options are only available for stream
737
739
  # sources (DynamoDB and Kinesis):
738
740
  #
@@ -760,8 +762,9 @@ module Aws::Lambda
760
762
  # [3]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html
761
763
  # [4]: https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html
762
764
  # [5]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html
765
+ # [6]: https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html
763
766
  #
764
- # @option params [required, String] :event_source_arn
767
+ # @option params [String] :event_source_arn
765
768
  # The Amazon Resource Name (ARN) of the event source.
766
769
  #
767
770
  # * **Amazon Kinesis** - The ARN of the data stream or a stream
@@ -803,14 +806,17 @@ module Aws::Lambda
803
806
  #
804
807
  # * **Amazon DynamoDB Streams** - Default 100. Max 1,000.
805
808
  #
806
- # * **Amazon Simple Queue Service** - Default 10. Max 10.
809
+ # * **Amazon Simple Queue Service** - Default 10. For standard queues
810
+ # the max is 10,000. For FIFO queues the max is 10.
807
811
  #
808
812
  # * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
809
813
  # 10,000.
810
814
  #
815
+ # * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
816
+ #
811
817
  # @option params [Integer] :maximum_batching_window_in_seconds
812
- # (Streams) The maximum amount of time to gather records before invoking
813
- # the function, in seconds.
818
+ # (Streams and SQS standard queues) The maximum amount of time to gather
819
+ # records before invoking the function, in seconds.
814
820
  #
815
821
  # @option params [Integer] :parallelization_factor
816
822
  # (Streams) The number of batches to process from each shard
@@ -842,24 +848,26 @@ module Aws::Lambda
842
848
  # default value is infinite (-1). When set to infinite (-1), failed
843
849
  # records will be retried until the record expires.
844
850
  #
851
+ # @option params [Integer] :tumbling_window_in_seconds
852
+ # (Streams) The duration in seconds of a processing window. The range is
853
+ # between 1 second up to 900 seconds.
854
+ #
845
855
  # @option params [Array<String>] :topics
846
- # (MSK) The name of the Kafka topic.
856
+ # The name of the Kafka topic.
847
857
  #
848
858
  # @option params [Array<String>] :queues
849
859
  # (MQ) The name of the Amazon MQ broker destination queue to consume.
850
860
  #
851
861
  # @option params [Array<Types::SourceAccessConfiguration>] :source_access_configurations
852
- # (MQ) The Secrets Manager secret that stores your broker credentials.
853
- # To store your secret, use the following format: ` \{ "username": "your
854
- # username", "password": "your password" \}`
862
+ # An array of the authentication protocol, or the VPC components to
863
+ # secure your event source.
855
864
  #
856
- # To reference the secret, use the following format: `[ \{ "Type":
857
- # "BASIC_AUTH", "URI": "secretARN" \} ]`
865
+ # @option params [Types::SelfManagedEventSource] :self_managed_event_source
866
+ # The Self-Managed Apache Kafka cluster to send records.
858
867
  #
859
- # The value of `Type` is always `BASIC_AUTH`. To encrypt the secret, you
860
- # can use customer or service managed keys. When using a customer
861
- # managed KMS key, the Lambda execution role requires `kms:Decrypt`
862
- # permissions.
868
+ # @option params [Array<String>] :function_response_types
869
+ # (Streams) A list of current response type enums applied to the event
870
+ # source mapping.
863
871
  #
864
872
  # @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
865
873
  #
@@ -879,9 +887,12 @@ module Aws::Lambda
879
887
  # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
880
888
  # * {Types::EventSourceMappingConfiguration#queues #queues} => Array&lt;String&gt;
881
889
  # * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array&lt;Types::SourceAccessConfiguration&gt;
890
+ # * {Types::EventSourceMappingConfiguration#self_managed_event_source #self_managed_event_source} => Types::SelfManagedEventSource
882
891
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
883
892
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
884
893
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
894
+ # * {Types::EventSourceMappingConfiguration#tumbling_window_in_seconds #tumbling_window_in_seconds} => Integer
895
+ # * {Types::EventSourceMappingConfiguration#function_response_types #function_response_types} => Array&lt;String&gt;
885
896
  #
886
897
  #
887
898
  # @example Example: To create a mapping between an event source and an AWS Lambda function
@@ -908,7 +919,7 @@ module Aws::Lambda
908
919
  # @example Request syntax with placeholder values
909
920
  #
910
921
  # resp = client.create_event_source_mapping({
911
- # event_source_arn: "Arn", # required
922
+ # event_source_arn: "Arn",
912
923
  # function_name: "FunctionName", # required
913
924
  # enabled: false,
914
925
  # batch_size: 1,
@@ -927,14 +938,21 @@ module Aws::Lambda
927
938
  # maximum_record_age_in_seconds: 1,
928
939
  # bisect_batch_on_function_error: false,
929
940
  # maximum_retry_attempts: 1,
941
+ # tumbling_window_in_seconds: 1,
930
942
  # topics: ["Topic"],
931
943
  # queues: ["Queue"],
932
944
  # source_access_configurations: [
933
945
  # {
934
- # type: "BASIC_AUTH", # accepts BASIC_AUTH
935
- # uri: "Arn",
946
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
947
+ # uri: "URI",
936
948
  # },
937
949
  # ],
950
+ # self_managed_event_source: {
951
+ # endpoints: {
952
+ # "KAFKA_BOOTSTRAP_SERVERS" => ["Endpoint"],
953
+ # },
954
+ # },
955
+ # function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
938
956
  # })
939
957
  #
940
958
  # @example Response structure
@@ -958,11 +976,17 @@ module Aws::Lambda
958
976
  # resp.queues #=> Array
959
977
  # resp.queues[0] #=> String
960
978
  # resp.source_access_configurations #=> Array
961
- # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
979
+ # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH"
962
980
  # resp.source_access_configurations[0].uri #=> String
981
+ # resp.self_managed_event_source.endpoints #=> Hash
982
+ # resp.self_managed_event_source.endpoints["EndPointType"] #=> Array
983
+ # resp.self_managed_event_source.endpoints["EndPointType"][0] #=> String
963
984
  # resp.maximum_record_age_in_seconds #=> Integer
964
985
  # resp.bisect_batch_on_function_error #=> Boolean
965
986
  # resp.maximum_retry_attempts #=> Integer
987
+ # resp.tumbling_window_in_seconds #=> Integer
988
+ # resp.function_response_types #=> Array
989
+ # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
966
990
  #
967
991
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping AWS API Documentation
968
992
  #
@@ -975,9 +999,10 @@ module Aws::Lambda
975
999
 
976
1000
  # Creates a Lambda function. To create a function, you need a
977
1001
  # [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.
1002
+ # package is a .zip file archive or container image that contains your
1003
+ # function code. The execution role grants the function permission to
1004
+ # use AWS services, such as Amazon CloudWatch Logs for log streaming and
1005
+ # AWS X-Ray for request tracing.
981
1006
  #
982
1007
  # When you create a function, Lambda provisions an instance of the
983
1008
  # function and its supporting resources. If your function connects to a
@@ -1002,8 +1027,9 @@ module Aws::Lambda
1002
1027
  # include tags (TagResource) and per-function concurrency limits
1003
1028
  # (PutFunctionConcurrency).
1004
1029
  #
1005
- # To enable code signing for this function, specify the ARN of a
1006
- # code-signing configuration. When a user attempts to deploy a code
1030
+ # You can use code signing if your deployment package is a .zip file
1031
+ # archive. To enable code signing for this function, specify the ARN of
1032
+ # a code-signing configuration. When a user attempts to deploy a code
1007
1033
  # package with UpdateFunctionCode, Lambda checks that the code package
1008
1034
  # has a valid signature from a trusted publisher. The code-signing
1009
1035
  # configuration includes set set of signing profiles, which define the
@@ -1021,7 +1047,7 @@ module Aws::Lambda
1021
1047
  #
1022
1048
  #
1023
1049
  #
1024
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/deployment-package-v2.html
1050
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html
1025
1051
  # [2]: https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role
1026
1052
  # [3]: https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html
1027
1053
  # [4]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html
@@ -1041,7 +1067,7 @@ module Aws::Lambda
1041
1067
  # The length constraint applies only to the full ARN. If you specify
1042
1068
  # only the function name, it is limited to 64 characters in length.
1043
1069
  #
1044
- # @option params [required, String] :runtime
1070
+ # @option params [String] :runtime
1045
1071
  # The identifier of the function's [runtime][1].
1046
1072
  #
1047
1073
  #
@@ -1051,7 +1077,7 @@ module Aws::Lambda
1051
1077
  # @option params [required, String] :role
1052
1078
  # The Amazon Resource Name (ARN) of the function's execution role.
1053
1079
  #
1054
- # @option params [required, String] :handler
1080
+ # @option params [String] :handler
1055
1081
  # The name of the method within your code that Lambda calls to execute
1056
1082
  # your function. The format includes the file name. It can also include
1057
1083
  # namespaces and other qualifiers, depending on the runtime. For more
@@ -1073,9 +1099,9 @@ module Aws::Lambda
1073
1099
  # 900 seconds.
1074
1100
  #
1075
1101
  # @option params [Integer] :memory_size
1076
- # The amount of memory that your function has access to. Increasing the
1077
- # function's memory also increases its CPU allocation. The default
1078
- # value is 128 MB. The value must be a multiple of 64 MB.
1102
+ # The amount of memory available to the function at runtime. Increasing
1103
+ # the function's memory also increases its CPU allocation. The default
1104
+ # value is 128 MB. The value can be any multiple of 1 MB.
1079
1105
  #
1080
1106
  # @option params [Boolean] :publish
1081
1107
  # Set to true to publish the first version of the function during
@@ -1091,6 +1117,10 @@ module Aws::Lambda
1091
1117
  #
1092
1118
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html
1093
1119
  #
1120
+ # @option params [String] :package_type
1121
+ # The type of deployment package. Set to `Image` for container image and
1122
+ # set `Zip` for ZIP archive.
1123
+ #
1094
1124
  # @option params [Types::DeadLetterConfig] :dead_letter_config
1095
1125
  # A dead letter queue configuration that specifies the queue or topic
1096
1126
  # where Lambda sends asynchronous events when they fail processing. For
@@ -1131,9 +1161,17 @@ module Aws::Lambda
1131
1161
  # @option params [Array<Types::FileSystemConfig>] :file_system_configs
1132
1162
  # Connection settings for an Amazon EFS file system.
1133
1163
  #
1164
+ # @option params [Types::ImageConfig] :image_config
1165
+ # [Container image configuration values][1] that override the values in
1166
+ # the container image Dockerfile.
1167
+ #
1168
+ #
1169
+ #
1170
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
1171
+ #
1134
1172
  # @option params [String] :code_signing_config_arn
1135
1173
  # To enable code signing for this function, specify the ARN of a
1136
- # code-signing configuration. A code-signing configuration includes set
1174
+ # code-signing configuration. A code-signing configuration includes a
1137
1175
  # set of signing profiles, which define the trusted publishers for this
1138
1176
  # function.
1139
1177
  #
@@ -1166,6 +1204,8 @@ module Aws::Lambda
1166
1204
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
1167
1205
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
1168
1206
  # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
1207
+ # * {Types::FunctionConfiguration#package_type #package_type} => String
1208
+ # * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
1169
1209
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
1170
1210
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
1171
1211
  #
@@ -1236,14 +1276,15 @@ module Aws::Lambda
1236
1276
  #
1237
1277
  # resp = client.create_function({
1238
1278
  # 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
1279
+ # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.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
1280
  # role: "RoleArn", # required
1241
- # handler: "Handler", # required
1281
+ # handler: "Handler",
1242
1282
  # code: { # required
1243
1283
  # zip_file: "data",
1244
1284
  # s3_bucket: "S3Bucket",
1245
1285
  # s3_key: "S3Key",
1246
1286
  # s3_object_version: "S3ObjectVersion",
1287
+ # image_uri: "String",
1247
1288
  # },
1248
1289
  # description: "Description",
1249
1290
  # timeout: 1,
@@ -1253,6 +1294,7 @@ module Aws::Lambda
1253
1294
  # subnet_ids: ["SubnetId"],
1254
1295
  # security_group_ids: ["SecurityGroupId"],
1255
1296
  # },
1297
+ # package_type: "Zip", # accepts Zip, Image
1256
1298
  # dead_letter_config: {
1257
1299
  # target_arn: "ResourceArn",
1258
1300
  # },
@@ -1275,6 +1317,11 @@ module Aws::Lambda
1275
1317
  # local_mount_path: "LocalMountPath", # required
1276
1318
  # },
1277
1319
  # ],
1320
+ # image_config: {
1321
+ # entry_point: ["String"],
1322
+ # command: ["String"],
1323
+ # working_directory: "WorkingDirectory",
1324
+ # },
1278
1325
  # code_signing_config_arn: "CodeSigningConfigArn",
1279
1326
  # })
1280
1327
  #
@@ -1282,7 +1329,7 @@ module Aws::Lambda
1282
1329
  #
1283
1330
  # resp.function_name #=> String
1284
1331
  # resp.function_arn #=> String
1285
- # resp.runtime #=> String, one of "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"
1332
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.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"
1286
1333
  # resp.role #=> String
1287
1334
  # resp.handler #=> String
1288
1335
  # resp.code_size #=> Integer
@@ -1313,13 +1360,21 @@ module Aws::Lambda
1313
1360
  # resp.layers[0].signing_job_arn #=> String
1314
1361
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
1315
1362
  # resp.state_reason #=> String
1316
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
1363
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
1317
1364
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
1318
1365
  # resp.last_update_status_reason #=> String
1319
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
1366
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
1320
1367
  # resp.file_system_configs #=> Array
1321
1368
  # resp.file_system_configs[0].arn #=> String
1322
1369
  # resp.file_system_configs[0].local_mount_path #=> String
1370
+ # resp.package_type #=> String, one of "Zip", "Image"
1371
+ # resp.image_config_response.image_config.entry_point #=> Array
1372
+ # resp.image_config_response.image_config.entry_point[0] #=> String
1373
+ # resp.image_config_response.image_config.command #=> Array
1374
+ # resp.image_config_response.image_config.command[0] #=> String
1375
+ # resp.image_config_response.image_config.working_directory #=> String
1376
+ # resp.image_config_response.error.error_code #=> String
1377
+ # resp.image_config_response.error.message #=> String
1323
1378
  # resp.signing_profile_version_arn #=> String
1324
1379
  # resp.signing_job_arn #=> String
1325
1380
  #
@@ -1438,9 +1493,12 @@ module Aws::Lambda
1438
1493
  # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
1439
1494
  # * {Types::EventSourceMappingConfiguration#queues #queues} => Array&lt;String&gt;
1440
1495
  # * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array&lt;Types::SourceAccessConfiguration&gt;
1496
+ # * {Types::EventSourceMappingConfiguration#self_managed_event_source #self_managed_event_source} => Types::SelfManagedEventSource
1441
1497
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
1442
1498
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
1443
1499
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
1500
+ # * {Types::EventSourceMappingConfiguration#tumbling_window_in_seconds #tumbling_window_in_seconds} => Integer
1501
+ # * {Types::EventSourceMappingConfiguration#function_response_types #function_response_types} => Array&lt;String&gt;
1444
1502
  #
1445
1503
  #
1446
1504
  # @example Example: To delete a Lambda function event source mapping
@@ -1489,11 +1547,17 @@ module Aws::Lambda
1489
1547
  # resp.queues #=> Array
1490
1548
  # resp.queues[0] #=> String
1491
1549
  # resp.source_access_configurations #=> Array
1492
- # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
1550
+ # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH"
1493
1551
  # resp.source_access_configurations[0].uri #=> String
1552
+ # resp.self_managed_event_source.endpoints #=> Hash
1553
+ # resp.self_managed_event_source.endpoints["EndPointType"] #=> Array
1554
+ # resp.self_managed_event_source.endpoints["EndPointType"][0] #=> String
1494
1555
  # resp.maximum_record_age_in_seconds #=> Integer
1495
1556
  # resp.bisect_batch_on_function_error #=> Boolean
1496
1557
  # resp.maximum_retry_attempts #=> Integer
1558
+ # resp.tumbling_window_in_seconds #=> Integer
1559
+ # resp.function_response_types #=> Array
1560
+ # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
1497
1561
  #
1498
1562
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping AWS API Documentation
1499
1563
  #
@@ -1975,9 +2039,12 @@ module Aws::Lambda
1975
2039
  # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
1976
2040
  # * {Types::EventSourceMappingConfiguration#queues #queues} => Array&lt;String&gt;
1977
2041
  # * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array&lt;Types::SourceAccessConfiguration&gt;
2042
+ # * {Types::EventSourceMappingConfiguration#self_managed_event_source #self_managed_event_source} => Types::SelfManagedEventSource
1978
2043
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
1979
2044
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
1980
2045
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
2046
+ # * {Types::EventSourceMappingConfiguration#tumbling_window_in_seconds #tumbling_window_in_seconds} => Integer
2047
+ # * {Types::EventSourceMappingConfiguration#function_response_types #function_response_types} => Array&lt;String&gt;
1981
2048
  #
1982
2049
  #
1983
2050
  # @example Example: To get a Lambda function's event source mapping
@@ -2033,11 +2100,17 @@ module Aws::Lambda
2033
2100
  # resp.queues #=> Array
2034
2101
  # resp.queues[0] #=> String
2035
2102
  # resp.source_access_configurations #=> Array
2036
- # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
2103
+ # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH"
2037
2104
  # resp.source_access_configurations[0].uri #=> String
2105
+ # resp.self_managed_event_source.endpoints #=> Hash
2106
+ # resp.self_managed_event_source.endpoints["EndPointType"] #=> Array
2107
+ # resp.self_managed_event_source.endpoints["EndPointType"][0] #=> String
2038
2108
  # resp.maximum_record_age_in_seconds #=> Integer
2039
2109
  # resp.bisect_batch_on_function_error #=> Boolean
2040
2110
  # resp.maximum_retry_attempts #=> Integer
2111
+ # resp.tumbling_window_in_seconds #=> Integer
2112
+ # resp.function_response_types #=> Array
2113
+ # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
2041
2114
  #
2042
2115
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping AWS API Documentation
2043
2116
  #
@@ -2140,7 +2213,7 @@ module Aws::Lambda
2140
2213
  #
2141
2214
  # resp.configuration.function_name #=> String
2142
2215
  # resp.configuration.function_arn #=> String
2143
- # resp.configuration.runtime #=> String, one of "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"
2216
+ # resp.configuration.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.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"
2144
2217
  # resp.configuration.role #=> String
2145
2218
  # resp.configuration.handler #=> String
2146
2219
  # resp.configuration.code_size #=> Integer
@@ -2171,17 +2244,27 @@ module Aws::Lambda
2171
2244
  # resp.configuration.layers[0].signing_job_arn #=> String
2172
2245
  # resp.configuration.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
2173
2246
  # resp.configuration.state_reason #=> String
2174
- # resp.configuration.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
2247
+ # resp.configuration.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
2175
2248
  # resp.configuration.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
2176
2249
  # 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"
2250
+ # resp.configuration.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
2178
2251
  # resp.configuration.file_system_configs #=> Array
2179
2252
  # resp.configuration.file_system_configs[0].arn #=> String
2180
2253
  # resp.configuration.file_system_configs[0].local_mount_path #=> String
2254
+ # resp.configuration.package_type #=> String, one of "Zip", "Image"
2255
+ # resp.configuration.image_config_response.image_config.entry_point #=> Array
2256
+ # resp.configuration.image_config_response.image_config.entry_point[0] #=> String
2257
+ # resp.configuration.image_config_response.image_config.command #=> Array
2258
+ # resp.configuration.image_config_response.image_config.command[0] #=> String
2259
+ # resp.configuration.image_config_response.image_config.working_directory #=> String
2260
+ # resp.configuration.image_config_response.error.error_code #=> String
2261
+ # resp.configuration.image_config_response.error.message #=> String
2181
2262
  # resp.configuration.signing_profile_version_arn #=> String
2182
2263
  # resp.configuration.signing_job_arn #=> String
2183
2264
  # resp.code.repository_type #=> String
2184
2265
  # resp.code.location #=> String
2266
+ # resp.code.image_uri #=> String
2267
+ # resp.code.resolved_image_uri #=> String
2185
2268
  # resp.tags #=> Hash
2186
2269
  # resp.tags["TagKey"] #=> String
2187
2270
  # resp.concurrency.reserved_concurrent_executions #=> Integer
@@ -2355,6 +2438,8 @@ module Aws::Lambda
2355
2438
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
2356
2439
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
2357
2440
  # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
2441
+ # * {Types::FunctionConfiguration#package_type #package_type} => String
2442
+ # * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
2358
2443
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
2359
2444
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
2360
2445
  #
@@ -2408,7 +2493,7 @@ module Aws::Lambda
2408
2493
  #
2409
2494
  # resp.function_name #=> String
2410
2495
  # resp.function_arn #=> String
2411
- # resp.runtime #=> String, one of "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"
2496
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.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"
2412
2497
  # resp.role #=> String
2413
2498
  # resp.handler #=> String
2414
2499
  # resp.code_size #=> Integer
@@ -2439,13 +2524,21 @@ module Aws::Lambda
2439
2524
  # resp.layers[0].signing_job_arn #=> String
2440
2525
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
2441
2526
  # resp.state_reason #=> String
2442
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
2527
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
2443
2528
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
2444
2529
  # resp.last_update_status_reason #=> String
2445
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
2530
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
2446
2531
  # resp.file_system_configs #=> Array
2447
2532
  # resp.file_system_configs[0].arn #=> String
2448
2533
  # resp.file_system_configs[0].local_mount_path #=> String
2534
+ # resp.package_type #=> String, one of "Zip", "Image"
2535
+ # resp.image_config_response.image_config.entry_point #=> Array
2536
+ # resp.image_config_response.image_config.entry_point[0] #=> String
2537
+ # resp.image_config_response.image_config.command #=> Array
2538
+ # resp.image_config_response.image_config.command[0] #=> String
2539
+ # resp.image_config_response.image_config.working_directory #=> String
2540
+ # resp.image_config_response.error.error_code #=> String
2541
+ # resp.image_config_response.error.message #=> String
2449
2542
  # resp.signing_profile_version_arn #=> String
2450
2543
  # resp.signing_job_arn #=> String
2451
2544
  #
@@ -2622,7 +2715,7 @@ module Aws::Lambda
2622
2715
  # resp.created_date #=> Time
2623
2716
  # resp.version #=> Integer
2624
2717
  # resp.compatible_runtimes #=> Array
2625
- # resp.compatible_runtimes[0] #=> String, one of "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"
2718
+ # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.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"
2626
2719
  # resp.license_info #=> String
2627
2720
  #
2628
2721
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersion AWS API Documentation
@@ -2700,7 +2793,7 @@ module Aws::Lambda
2700
2793
  # resp.created_date #=> Time
2701
2794
  # resp.version #=> Integer
2702
2795
  # resp.compatible_runtimes #=> Array
2703
- # resp.compatible_runtimes[0] #=> String, one of "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"
2796
+ # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.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"
2704
2797
  # resp.license_info #=> String
2705
2798
  #
2706
2799
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionByArn AWS API Documentation
@@ -2851,9 +2944,9 @@ module Aws::Lambda
2851
2944
  # * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
2852
2945
  #
2853
2946
  #
2854
- # @example Example: To view a provisioned concurrency configuration
2947
+ # @example Example: To get a provisioned concurrency configuration
2855
2948
  #
2856
- # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
2949
+ # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
2857
2950
  # # function.
2858
2951
  #
2859
2952
  # resp = client.get_provisioned_concurrency_config({
@@ -2870,9 +2963,9 @@ module Aws::Lambda
2870
2963
  # status: "READY",
2871
2964
  # }
2872
2965
  #
2873
- # @example Example: To get a provisioned concurrency configuration
2966
+ # @example Example: To view a provisioned concurrency configuration
2874
2967
  #
2875
- # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
2968
+ # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
2876
2969
  # # function.
2877
2970
  #
2878
2971
  # resp = client.get_provisioned_concurrency_config({
@@ -3244,10 +3337,9 @@ module Aws::Lambda
3244
3337
  req.send_request(options)
3245
3338
  end
3246
3339
 
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.
3340
+ # Returns a list of [code signing configurations][1]. A request returns
3341
+ # up to 10,000 configurations per call. You can use the `MaxItems`
3342
+ # parameter to return fewer configurations per call.
3251
3343
  #
3252
3344
  #
3253
3345
  #
@@ -3398,11 +3490,17 @@ module Aws::Lambda
3398
3490
  # resp.event_source_mappings[0].queues #=> Array
3399
3491
  # resp.event_source_mappings[0].queues[0] #=> String
3400
3492
  # resp.event_source_mappings[0].source_access_configurations #=> Array
3401
- # resp.event_source_mappings[0].source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
3493
+ # resp.event_source_mappings[0].source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH"
3402
3494
  # resp.event_source_mappings[0].source_access_configurations[0].uri #=> String
3495
+ # resp.event_source_mappings[0].self_managed_event_source.endpoints #=> Hash
3496
+ # resp.event_source_mappings[0].self_managed_event_source.endpoints["EndPointType"] #=> Array
3497
+ # resp.event_source_mappings[0].self_managed_event_source.endpoints["EndPointType"][0] #=> String
3403
3498
  # resp.event_source_mappings[0].maximum_record_age_in_seconds #=> Integer
3404
3499
  # resp.event_source_mappings[0].bisect_batch_on_function_error #=> Boolean
3405
3500
  # resp.event_source_mappings[0].maximum_retry_attempts #=> Integer
3501
+ # resp.event_source_mappings[0].tumbling_window_in_seconds #=> Integer
3502
+ # resp.event_source_mappings[0].function_response_types #=> Array
3503
+ # resp.event_source_mappings[0].function_response_types[0] #=> String, one of "ReportBatchItemFailures"
3406
3504
  #
3407
3505
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings AWS API Documentation
3408
3506
  #
@@ -3607,7 +3705,7 @@ module Aws::Lambda
3607
3705
  # resp.functions #=> Array
3608
3706
  # resp.functions[0].function_name #=> String
3609
3707
  # resp.functions[0].function_arn #=> String
3610
- # resp.functions[0].runtime #=> String, one of "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"
3708
+ # resp.functions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.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"
3611
3709
  # resp.functions[0].role #=> String
3612
3710
  # resp.functions[0].handler #=> String
3613
3711
  # resp.functions[0].code_size #=> Integer
@@ -3638,13 +3736,21 @@ module Aws::Lambda
3638
3736
  # resp.functions[0].layers[0].signing_job_arn #=> String
3639
3737
  # resp.functions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed"
3640
3738
  # 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"
3739
+ # resp.functions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
3642
3740
  # resp.functions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
3643
3741
  # 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"
3742
+ # resp.functions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
3645
3743
  # resp.functions[0].file_system_configs #=> Array
3646
3744
  # resp.functions[0].file_system_configs[0].arn #=> String
3647
3745
  # resp.functions[0].file_system_configs[0].local_mount_path #=> String
3746
+ # resp.functions[0].package_type #=> String, one of "Zip", "Image"
3747
+ # resp.functions[0].image_config_response.image_config.entry_point #=> Array
3748
+ # resp.functions[0].image_config_response.image_config.entry_point[0] #=> String
3749
+ # resp.functions[0].image_config_response.image_config.command #=> Array
3750
+ # resp.functions[0].image_config_response.image_config.command[0] #=> String
3751
+ # resp.functions[0].image_config_response.image_config.working_directory #=> String
3752
+ # resp.functions[0].image_config_response.error.error_code #=> String
3753
+ # resp.functions[0].image_config_response.error.message #=> String
3648
3754
  # resp.functions[0].signing_profile_version_arn #=> String
3649
3755
  # resp.functions[0].signing_job_arn #=> String
3650
3756
  #
@@ -3766,7 +3872,7 @@ module Aws::Lambda
3766
3872
  # @example Request syntax with placeholder values
3767
3873
  #
3768
3874
  # resp = client.list_layer_versions({
3769
- # compatible_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
3875
+ # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.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
3770
3876
  # layer_name: "LayerName", # required
3771
3877
  # marker: "String",
3772
3878
  # max_items: 1,
@@ -3781,7 +3887,7 @@ module Aws::Lambda
3781
3887
  # resp.layer_versions[0].description #=> String
3782
3888
  # resp.layer_versions[0].created_date #=> Time
3783
3889
  # resp.layer_versions[0].compatible_runtimes #=> Array
3784
- # resp.layer_versions[0].compatible_runtimes[0] #=> String, one of "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"
3890
+ # resp.layer_versions[0].compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.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"
3785
3891
  # resp.layer_versions[0].license_info #=> String
3786
3892
  #
3787
3893
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersions AWS API Documentation
@@ -3850,7 +3956,7 @@ module Aws::Lambda
3850
3956
  # @example Request syntax with placeholder values
3851
3957
  #
3852
3958
  # resp = client.list_layers({
3853
- # compatible_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
3959
+ # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.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
3854
3960
  # marker: "String",
3855
3961
  # max_items: 1,
3856
3962
  # })
@@ -3866,7 +3972,7 @@ module Aws::Lambda
3866
3972
  # resp.layers[0].latest_matching_version.description #=> String
3867
3973
  # resp.layers[0].latest_matching_version.created_date #=> Time
3868
3974
  # resp.layers[0].latest_matching_version.compatible_runtimes #=> Array
3869
- # resp.layers[0].latest_matching_version.compatible_runtimes[0] #=> String, one of "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"
3975
+ # resp.layers[0].latest_matching_version.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "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"
3870
3976
  # resp.layers[0].latest_matching_version.license_info #=> String
3871
3977
  #
3872
3978
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayers AWS API Documentation
@@ -4136,7 +4242,7 @@ module Aws::Lambda
4136
4242
  # resp.versions #=> Array
4137
4243
  # resp.versions[0].function_name #=> String
4138
4244
  # resp.versions[0].function_arn #=> String
4139
- # resp.versions[0].runtime #=> String, one of "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"
4245
+ # resp.versions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.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"
4140
4246
  # resp.versions[0].role #=> String
4141
4247
  # resp.versions[0].handler #=> String
4142
4248
  # resp.versions[0].code_size #=> Integer
@@ -4167,13 +4273,21 @@ module Aws::Lambda
4167
4273
  # resp.versions[0].layers[0].signing_job_arn #=> String
4168
4274
  # resp.versions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed"
4169
4275
  # 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"
4276
+ # resp.versions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
4171
4277
  # resp.versions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
4172
4278
  # 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"
4279
+ # resp.versions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
4174
4280
  # resp.versions[0].file_system_configs #=> Array
4175
4281
  # resp.versions[0].file_system_configs[0].arn #=> String
4176
4282
  # resp.versions[0].file_system_configs[0].local_mount_path #=> String
4283
+ # resp.versions[0].package_type #=> String, one of "Zip", "Image"
4284
+ # resp.versions[0].image_config_response.image_config.entry_point #=> Array
4285
+ # resp.versions[0].image_config_response.image_config.entry_point[0] #=> String
4286
+ # resp.versions[0].image_config_response.image_config.command #=> Array
4287
+ # resp.versions[0].image_config_response.image_config.command[0] #=> String
4288
+ # resp.versions[0].image_config_response.image_config.working_directory #=> String
4289
+ # resp.versions[0].image_config_response.error.error_code #=> String
4290
+ # resp.versions[0].image_config_response.error.message #=> String
4177
4291
  # resp.versions[0].signing_profile_version_arn #=> String
4178
4292
  # resp.versions[0].signing_job_arn #=> String
4179
4293
  #
@@ -4289,7 +4403,7 @@ module Aws::Lambda
4289
4403
  # s3_object_version: "S3ObjectVersion",
4290
4404
  # zip_file: "data",
4291
4405
  # },
4292
- # compatible_runtimes: ["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
4406
+ # compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.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
4293
4407
  # license_info: "LicenseInfo",
4294
4408
  # })
4295
4409
  #
@@ -4306,7 +4420,7 @@ module Aws::Lambda
4306
4420
  # resp.created_date #=> Time
4307
4421
  # resp.version #=> Integer
4308
4422
  # resp.compatible_runtimes #=> Array
4309
- # resp.compatible_runtimes[0] #=> String, one of "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"
4423
+ # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.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"
4310
4424
  # resp.license_info #=> String
4311
4425
  #
4312
4426
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersion AWS API Documentation
@@ -4394,6 +4508,8 @@ module Aws::Lambda
4394
4508
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
4395
4509
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
4396
4510
  # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
4511
+ # * {Types::FunctionConfiguration#package_type #package_type} => String
4512
+ # * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
4397
4513
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
4398
4514
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
4399
4515
  #
@@ -4450,7 +4566,7 @@ module Aws::Lambda
4450
4566
  #
4451
4567
  # resp.function_name #=> String
4452
4568
  # resp.function_arn #=> String
4453
- # resp.runtime #=> String, one of "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"
4569
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.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"
4454
4570
  # resp.role #=> String
4455
4571
  # resp.handler #=> String
4456
4572
  # resp.code_size #=> Integer
@@ -4481,13 +4597,21 @@ module Aws::Lambda
4481
4597
  # resp.layers[0].signing_job_arn #=> String
4482
4598
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
4483
4599
  # resp.state_reason #=> String
4484
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
4600
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
4485
4601
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
4486
4602
  # resp.last_update_status_reason #=> String
4487
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
4603
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
4488
4604
  # resp.file_system_configs #=> Array
4489
4605
  # resp.file_system_configs[0].arn #=> String
4490
4606
  # resp.file_system_configs[0].local_mount_path #=> String
4607
+ # resp.package_type #=> String, one of "Zip", "Image"
4608
+ # resp.image_config_response.image_config.entry_point #=> Array
4609
+ # resp.image_config_response.image_config.entry_point[0] #=> String
4610
+ # resp.image_config_response.image_config.command #=> Array
4611
+ # resp.image_config_response.image_config.command[0] #=> String
4612
+ # resp.image_config_response.image_config.working_directory #=> String
4613
+ # resp.image_config_response.error.error_code #=> String
4614
+ # resp.image_config_response.error.message #=> String
4491
4615
  # resp.signing_profile_version_arn #=> String
4492
4616
  # resp.signing_job_arn #=> String
4493
4617
  #
@@ -5266,14 +5390,17 @@ module Aws::Lambda
5266
5390
  #
5267
5391
  # * **Amazon DynamoDB Streams** - Default 100. Max 1,000.
5268
5392
  #
5269
- # * **Amazon Simple Queue Service** - Default 10. Max 10.
5393
+ # * **Amazon Simple Queue Service** - Default 10. For standard queues
5394
+ # the max is 10,000. For FIFO queues the max is 10.
5270
5395
  #
5271
5396
  # * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
5272
5397
  # 10,000.
5273
5398
  #
5399
+ # * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
5400
+ #
5274
5401
  # @option params [Integer] :maximum_batching_window_in_seconds
5275
- # (Streams) The maximum amount of time to gather records before invoking
5276
- # the function, in seconds.
5402
+ # (Streams and SQS standard queues) The maximum amount of time to gather
5403
+ # records before invoking the function, in seconds.
5277
5404
  #
5278
5405
  # @option params [Types::DestinationConfig] :destination_config
5279
5406
  # (Streams) An Amazon SQS queue or Amazon SNS topic destination for
@@ -5297,17 +5424,16 @@ module Aws::Lambda
5297
5424
  # concurrently.
5298
5425
  #
5299
5426
  # @option params [Array<Types::SourceAccessConfiguration>] :source_access_configurations
5300
- # (MQ) The Secrets Manager secret that stores your broker credentials.
5301
- # To store your secret, use the following format: ` \{ "username": "your
5302
- # username", "password": "your password" \}`
5427
+ # An array of the authentication protocol, or the VPC components to
5428
+ # secure your event source.
5303
5429
  #
5304
- # To reference the secret, use the following format: `[ \{ "Type":
5305
- # "BASIC_AUTH", "URI": "secretARN" \} ]`
5430
+ # @option params [Integer] :tumbling_window_in_seconds
5431
+ # (Streams) The duration in seconds of a processing window. The range is
5432
+ # between 1 second up to 900 seconds.
5306
5433
  #
5307
- # The value of `Type` is always `BASIC_AUTH`. To encrypt the secret, you
5308
- # can use customer or service managed keys. When using a customer
5309
- # managed KMS key, the Lambda execution role requires `kms:Decrypt`
5310
- # permissions.
5434
+ # @option params [Array<String>] :function_response_types
5435
+ # (Streams) A list of current response type enums applied to the event
5436
+ # source mapping.
5311
5437
  #
5312
5438
  # @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5313
5439
  #
@@ -5327,9 +5453,12 @@ module Aws::Lambda
5327
5453
  # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
5328
5454
  # * {Types::EventSourceMappingConfiguration#queues #queues} => Array&lt;String&gt;
5329
5455
  # * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array&lt;Types::SourceAccessConfiguration&gt;
5456
+ # * {Types::EventSourceMappingConfiguration#self_managed_event_source #self_managed_event_source} => Types::SelfManagedEventSource
5330
5457
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
5331
5458
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
5332
5459
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
5460
+ # * {Types::EventSourceMappingConfiguration#tumbling_window_in_seconds #tumbling_window_in_seconds} => Integer
5461
+ # * {Types::EventSourceMappingConfiguration#function_response_types #function_response_types} => Array&lt;String&gt;
5333
5462
  #
5334
5463
  #
5335
5464
  # @example Example: To update a Lambda function event source mapping
@@ -5377,10 +5506,12 @@ module Aws::Lambda
5377
5506
  # parallelization_factor: 1,
5378
5507
  # source_access_configurations: [
5379
5508
  # {
5380
- # type: "BASIC_AUTH", # accepts BASIC_AUTH
5381
- # uri: "Arn",
5509
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
5510
+ # uri: "URI",
5382
5511
  # },
5383
5512
  # ],
5513
+ # tumbling_window_in_seconds: 1,
5514
+ # function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
5384
5515
  # })
5385
5516
  #
5386
5517
  # @example Response structure
@@ -5404,11 +5535,17 @@ module Aws::Lambda
5404
5535
  # resp.queues #=> Array
5405
5536
  # resp.queues[0] #=> String
5406
5537
  # resp.source_access_configurations #=> Array
5407
- # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
5538
+ # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH"
5408
5539
  # resp.source_access_configurations[0].uri #=> String
5540
+ # resp.self_managed_event_source.endpoints #=> Hash
5541
+ # resp.self_managed_event_source.endpoints["EndPointType"] #=> Array
5542
+ # resp.self_managed_event_source.endpoints["EndPointType"][0] #=> String
5409
5543
  # resp.maximum_record_age_in_seconds #=> Integer
5410
5544
  # resp.bisect_batch_on_function_error #=> Boolean
5411
5545
  # resp.maximum_retry_attempts #=> Integer
5546
+ # resp.tumbling_window_in_seconds #=> Integer
5547
+ # resp.function_response_types #=> Array
5548
+ # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
5412
5549
  #
5413
5550
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping AWS API Documentation
5414
5551
  #
@@ -5426,6 +5563,12 @@ module Aws::Lambda
5426
5563
  # The function's code is locked when you publish a version. You can't
5427
5564
  # modify the code of a published version, only the unpublished version.
5428
5565
  #
5566
+ # <note markdown="1"> For a function defined as a container image, Lambda resolves the image
5567
+ # tag to an image digest. In Amazon ECR, if you update the image tag to
5568
+ # a new image, Lambda does not automatically update the function.
5569
+ #
5570
+ # </note>
5571
+ #
5429
5572
  #
5430
5573
  #
5431
5574
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-trustedcode.html
@@ -5460,6 +5603,9 @@ module Aws::Lambda
5460
5603
  # For versioned objects, the version of the deployment package object to
5461
5604
  # use.
5462
5605
  #
5606
+ # @option params [String] :image_uri
5607
+ # URI of a container image in the Amazon ECR registry.
5608
+ #
5463
5609
  # @option params [Boolean] :publish
5464
5610
  # Set to true to publish a new version of the function after updating
5465
5611
  # the code. This has the same effect as calling PublishVersion
@@ -5503,6 +5649,8 @@ module Aws::Lambda
5503
5649
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
5504
5650
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
5505
5651
  # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
5652
+ # * {Types::FunctionConfiguration#package_type #package_type} => String
5653
+ # * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
5506
5654
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
5507
5655
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
5508
5656
  #
@@ -5546,6 +5694,7 @@ module Aws::Lambda
5546
5694
  # s3_bucket: "S3Bucket",
5547
5695
  # s3_key: "S3Key",
5548
5696
  # s3_object_version: "S3ObjectVersion",
5697
+ # image_uri: "String",
5549
5698
  # publish: false,
5550
5699
  # dry_run: false,
5551
5700
  # revision_id: "String",
@@ -5555,7 +5704,7 @@ module Aws::Lambda
5555
5704
  #
5556
5705
  # resp.function_name #=> String
5557
5706
  # resp.function_arn #=> String
5558
- # resp.runtime #=> String, one of "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"
5707
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.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"
5559
5708
  # resp.role #=> String
5560
5709
  # resp.handler #=> String
5561
5710
  # resp.code_size #=> Integer
@@ -5586,13 +5735,21 @@ module Aws::Lambda
5586
5735
  # resp.layers[0].signing_job_arn #=> String
5587
5736
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
5588
5737
  # resp.state_reason #=> String
5589
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
5738
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
5590
5739
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
5591
5740
  # resp.last_update_status_reason #=> String
5592
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
5741
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
5593
5742
  # resp.file_system_configs #=> Array
5594
5743
  # resp.file_system_configs[0].arn #=> String
5595
5744
  # resp.file_system_configs[0].local_mount_path #=> String
5745
+ # resp.package_type #=> String, one of "Zip", "Image"
5746
+ # resp.image_config_response.image_config.entry_point #=> Array
5747
+ # resp.image_config_response.image_config.entry_point[0] #=> String
5748
+ # resp.image_config_response.image_config.command #=> Array
5749
+ # resp.image_config_response.image_config.command[0] #=> String
5750
+ # resp.image_config_response.image_config.working_directory #=> String
5751
+ # resp.image_config_response.error.error_code #=> String
5752
+ # resp.image_config_response.error.message #=> String
5596
5753
  # resp.signing_profile_version_arn #=> String
5597
5754
  # resp.signing_job_arn #=> String
5598
5755
  #
@@ -5666,9 +5823,9 @@ module Aws::Lambda
5666
5823
  # 900 seconds.
5667
5824
  #
5668
5825
  # @option params [Integer] :memory_size
5669
- # The amount of memory that your function has access to. Increasing the
5670
- # function's memory also increases its CPU allocation. The default
5671
- # value is 128 MB. The value must be a multiple of 64 MB.
5826
+ # The amount of memory available to the function at runtime. Increasing
5827
+ # the function's memory also increases its CPU allocation. The default
5828
+ # value is 128 MB. The value can be any multiple of 1 MB.
5672
5829
  #
5673
5830
  # @option params [Types::VpcConfig] :vpc_config
5674
5831
  # For network connectivity to AWS resources in a VPC, specify a list of
@@ -5725,6 +5882,14 @@ module Aws::Lambda
5725
5882
  # @option params [Array<Types::FileSystemConfig>] :file_system_configs
5726
5883
  # Connection settings for an Amazon EFS file system.
5727
5884
  #
5885
+ # @option params [Types::ImageConfig] :image_config
5886
+ # [Container image configuration values][1] that override the values in
5887
+ # the container image Dockerfile.
5888
+ #
5889
+ #
5890
+ #
5891
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
5892
+ #
5728
5893
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5729
5894
  #
5730
5895
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -5754,6 +5919,8 @@ module Aws::Lambda
5754
5919
  # * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
5755
5920
  # * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
5756
5921
  # * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array&lt;Types::FileSystemConfig&gt;
5922
+ # * {Types::FunctionConfiguration#package_type #package_type} => String
5923
+ # * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
5757
5924
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
5758
5925
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
5759
5926
  #
@@ -5806,7 +5973,7 @@ module Aws::Lambda
5806
5973
  # "EnvironmentVariableName" => "EnvironmentVariableValue",
5807
5974
  # },
5808
5975
  # },
5809
- # 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
5976
+ # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.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
5810
5977
  # dead_letter_config: {
5811
5978
  # target_arn: "ResourceArn",
5812
5979
  # },
@@ -5822,13 +5989,18 @@ module Aws::Lambda
5822
5989
  # local_mount_path: "LocalMountPath", # required
5823
5990
  # },
5824
5991
  # ],
5992
+ # image_config: {
5993
+ # entry_point: ["String"],
5994
+ # command: ["String"],
5995
+ # working_directory: "WorkingDirectory",
5996
+ # },
5825
5997
  # })
5826
5998
  #
5827
5999
  # @example Response structure
5828
6000
  #
5829
6001
  # resp.function_name #=> String
5830
6002
  # resp.function_arn #=> String
5831
- # resp.runtime #=> String, one of "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"
6003
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.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"
5832
6004
  # resp.role #=> String
5833
6005
  # resp.handler #=> String
5834
6006
  # resp.code_size #=> Integer
@@ -5859,13 +6031,21 @@ module Aws::Lambda
5859
6031
  # resp.layers[0].signing_job_arn #=> String
5860
6032
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
5861
6033
  # resp.state_reason #=> String
5862
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
6034
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
5863
6035
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
5864
6036
  # resp.last_update_status_reason #=> String
5865
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
6037
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
5866
6038
  # resp.file_system_configs #=> Array
5867
6039
  # resp.file_system_configs[0].arn #=> String
5868
6040
  # resp.file_system_configs[0].local_mount_path #=> String
6041
+ # resp.package_type #=> String, one of "Zip", "Image"
6042
+ # resp.image_config_response.image_config.entry_point #=> Array
6043
+ # resp.image_config_response.image_config.entry_point[0] #=> String
6044
+ # resp.image_config_response.image_config.command #=> Array
6045
+ # resp.image_config_response.image_config.command[0] #=> String
6046
+ # resp.image_config_response.image_config.working_directory #=> String
6047
+ # resp.image_config_response.error.error_code #=> String
6048
+ # resp.image_config_response.error.message #=> String
5869
6049
  # resp.signing_profile_version_arn #=> String
5870
6050
  # resp.signing_job_arn #=> String
5871
6051
  #
@@ -6012,7 +6192,7 @@ module Aws::Lambda
6012
6192
  params: params,
6013
6193
  config: config)
6014
6194
  context[:gem_name] = 'aws-sdk-lambda'
6015
- context[:gem_version] = '1.54.0'
6195
+ context[:gem_version] = '1.59.0'
6016
6196
  Seahorse::Client::Request.new(handlers, context)
6017
6197
  end
6018
6198