aws-sdk-lambda 1.55.0 → 1.60.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.60.0
@@ -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.55.0'
52
+ GEM_VERSION = '1.60.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,7 +999,7 @@ 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 is a ZIP archive or image container that contains your
1002
+ # package is a .zip file archive or container image that contains your
979
1003
  # function code. The execution role grants the function permission to
980
1004
  # use AWS services, such as Amazon CloudWatch Logs for log streaming and
981
1005
  # AWS X-Ray for request tracing.
@@ -1003,9 +1027,9 @@ module Aws::Lambda
1003
1027
  # include tags (TagResource) and per-function concurrency limits
1004
1028
  # (PutFunctionConcurrency).
1005
1029
  #
1006
- # You can use code signing if your deployment package is a ZIP archive.
1007
- # To enable code signing for this function, specify the ARN of a
1008
- # 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
1009
1033
  # package with UpdateFunctionCode, Lambda checks that the code package
1010
1034
  # has a valid signature from a trusted publisher. The code-signing
1011
1035
  # configuration includes set set of signing profiles, which define the
@@ -1075,9 +1099,9 @@ module Aws::Lambda
1075
1099
  # 900 seconds.
1076
1100
  #
1077
1101
  # @option params [Integer] :memory_size
1078
- # The amount of memory that your function has access to. Increasing the
1079
- # function's memory also increases its CPU allocation. The default
1080
- # 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.
1081
1105
  #
1082
1106
  # @option params [Boolean] :publish
1083
1107
  # Set to true to publish the first version of the function during
@@ -1138,7 +1162,12 @@ module Aws::Lambda
1138
1162
  # Connection settings for an Amazon EFS file system.
1139
1163
  #
1140
1164
  # @option params [Types::ImageConfig] :image_config
1141
- # Configuration values that override the container image Dockerfile.
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
1142
1171
  #
1143
1172
  # @option params [String] :code_signing_config_arn
1144
1173
  # To enable code signing for this function, specify the ARN of a
@@ -1247,7 +1276,7 @@ module Aws::Lambda
1247
1276
  #
1248
1277
  # resp = client.create_function({
1249
1278
  # function_name: "FunctionName", # required
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
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
1251
1280
  # role: "RoleArn", # required
1252
1281
  # handler: "Handler",
1253
1282
  # code: { # required
@@ -1300,7 +1329,7 @@ module Aws::Lambda
1300
1329
  #
1301
1330
  # resp.function_name #=> String
1302
1331
  # resp.function_arn #=> String
1303
- # 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"
1304
1333
  # resp.role #=> String
1305
1334
  # resp.handler #=> String
1306
1335
  # resp.code_size #=> Integer
@@ -1331,10 +1360,10 @@ module Aws::Lambda
1331
1360
  # resp.layers[0].signing_job_arn #=> String
1332
1361
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
1333
1362
  # resp.state_reason #=> String
1334
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
1363
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
1335
1364
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
1336
1365
  # resp.last_update_status_reason #=> String
1337
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
1366
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
1338
1367
  # resp.file_system_configs #=> Array
1339
1368
  # resp.file_system_configs[0].arn #=> String
1340
1369
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -1464,9 +1493,12 @@ module Aws::Lambda
1464
1493
  # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
1465
1494
  # * {Types::EventSourceMappingConfiguration#queues #queues} => Array&lt;String&gt;
1466
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
1467
1497
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
1468
1498
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
1469
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;
1470
1502
  #
1471
1503
  #
1472
1504
  # @example Example: To delete a Lambda function event source mapping
@@ -1515,11 +1547,17 @@ module Aws::Lambda
1515
1547
  # resp.queues #=> Array
1516
1548
  # resp.queues[0] #=> String
1517
1549
  # resp.source_access_configurations #=> Array
1518
- # 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"
1519
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
1520
1555
  # resp.maximum_record_age_in_seconds #=> Integer
1521
1556
  # resp.bisect_batch_on_function_error #=> Boolean
1522
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"
1523
1561
  #
1524
1562
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping AWS API Documentation
1525
1563
  #
@@ -2001,9 +2039,12 @@ module Aws::Lambda
2001
2039
  # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
2002
2040
  # * {Types::EventSourceMappingConfiguration#queues #queues} => Array&lt;String&gt;
2003
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
2004
2043
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
2005
2044
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
2006
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;
2007
2048
  #
2008
2049
  #
2009
2050
  # @example Example: To get a Lambda function's event source mapping
@@ -2059,11 +2100,17 @@ module Aws::Lambda
2059
2100
  # resp.queues #=> Array
2060
2101
  # resp.queues[0] #=> String
2061
2102
  # resp.source_access_configurations #=> Array
2062
- # 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"
2063
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
2064
2108
  # resp.maximum_record_age_in_seconds #=> Integer
2065
2109
  # resp.bisect_batch_on_function_error #=> Boolean
2066
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"
2067
2114
  #
2068
2115
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping AWS API Documentation
2069
2116
  #
@@ -2166,7 +2213,7 @@ module Aws::Lambda
2166
2213
  #
2167
2214
  # resp.configuration.function_name #=> String
2168
2215
  # resp.configuration.function_arn #=> String
2169
- # 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"
2170
2217
  # resp.configuration.role #=> String
2171
2218
  # resp.configuration.handler #=> String
2172
2219
  # resp.configuration.code_size #=> Integer
@@ -2197,10 +2244,10 @@ module Aws::Lambda
2197
2244
  # resp.configuration.layers[0].signing_job_arn #=> String
2198
2245
  # resp.configuration.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
2199
2246
  # resp.configuration.state_reason #=> String
2200
- # resp.configuration.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
2247
+ # resp.configuration.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
2201
2248
  # resp.configuration.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
2202
2249
  # resp.configuration.last_update_status_reason #=> String
2203
- # resp.configuration.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
2250
+ # resp.configuration.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
2204
2251
  # resp.configuration.file_system_configs #=> Array
2205
2252
  # resp.configuration.file_system_configs[0].arn #=> String
2206
2253
  # resp.configuration.file_system_configs[0].local_mount_path #=> String
@@ -2446,7 +2493,7 @@ module Aws::Lambda
2446
2493
  #
2447
2494
  # resp.function_name #=> String
2448
2495
  # resp.function_arn #=> String
2449
- # 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"
2450
2497
  # resp.role #=> String
2451
2498
  # resp.handler #=> String
2452
2499
  # resp.code_size #=> Integer
@@ -2477,10 +2524,10 @@ module Aws::Lambda
2477
2524
  # resp.layers[0].signing_job_arn #=> String
2478
2525
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
2479
2526
  # resp.state_reason #=> String
2480
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
2527
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
2481
2528
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
2482
2529
  # resp.last_update_status_reason #=> String
2483
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
2530
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
2484
2531
  # resp.file_system_configs #=> Array
2485
2532
  # resp.file_system_configs[0].arn #=> String
2486
2533
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -2668,7 +2715,7 @@ module Aws::Lambda
2668
2715
  # resp.created_date #=> Time
2669
2716
  # resp.version #=> Integer
2670
2717
  # resp.compatible_runtimes #=> Array
2671
- # 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"
2672
2719
  # resp.license_info #=> String
2673
2720
  #
2674
2721
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersion AWS API Documentation
@@ -2746,7 +2793,7 @@ module Aws::Lambda
2746
2793
  # resp.created_date #=> Time
2747
2794
  # resp.version #=> Integer
2748
2795
  # resp.compatible_runtimes #=> Array
2749
- # 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"
2750
2797
  # resp.license_info #=> String
2751
2798
  #
2752
2799
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionByArn AWS API Documentation
@@ -2897,9 +2944,9 @@ module Aws::Lambda
2897
2944
  # * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
2898
2945
  #
2899
2946
  #
2900
- # @example Example: To view a provisioned concurrency configuration
2947
+ # @example Example: To get a provisioned concurrency configuration
2901
2948
  #
2902
- # # 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
2903
2950
  # # function.
2904
2951
  #
2905
2952
  # resp = client.get_provisioned_concurrency_config({
@@ -2916,9 +2963,9 @@ module Aws::Lambda
2916
2963
  # status: "READY",
2917
2964
  # }
2918
2965
  #
2919
- # @example Example: To get a provisioned concurrency configuration
2966
+ # @example Example: To view a provisioned concurrency configuration
2920
2967
  #
2921
- # # 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
2922
2969
  # # function.
2923
2970
  #
2924
2971
  # resp = client.get_provisioned_concurrency_config({
@@ -3443,11 +3490,17 @@ module Aws::Lambda
3443
3490
  # resp.event_source_mappings[0].queues #=> Array
3444
3491
  # resp.event_source_mappings[0].queues[0] #=> String
3445
3492
  # resp.event_source_mappings[0].source_access_configurations #=> Array
3446
- # 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"
3447
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
3448
3498
  # resp.event_source_mappings[0].maximum_record_age_in_seconds #=> Integer
3449
3499
  # resp.event_source_mappings[0].bisect_batch_on_function_error #=> Boolean
3450
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"
3451
3504
  #
3452
3505
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings AWS API Documentation
3453
3506
  #
@@ -3552,8 +3605,15 @@ module Aws::Lambda
3552
3605
  # configuration of each. Lambda returns up to 50 functions per call.
3553
3606
  #
3554
3607
  # Set `FunctionVersion` to `ALL` to include all published versions of
3555
- # each function in addition to the unpublished version. To get more
3556
- # information about a function or version, use GetFunction.
3608
+ # each function in addition to the unpublished version.
3609
+ #
3610
+ # <note markdown="1"> The `ListFunctions` action returns a subset of the
3611
+ # FunctionConfiguration fields. To get the additional fields (State,
3612
+ # StateReasonCode, StateReason, LastUpdateStatus,
3613
+ # LastUpdateStatusReason, LastUpdateStatusReasonCode) for a function or
3614
+ # version, use GetFunction.
3615
+ #
3616
+ # </note>
3557
3617
  #
3558
3618
  # @option params [String] :master_region
3559
3619
  # For Lambda@Edge functions, the AWS Region of the master function. For
@@ -3570,7 +3630,9 @@ module Aws::Lambda
3570
3630
  # retrieve the next page of results.
3571
3631
  #
3572
3632
  # @option params [Integer] :max_items
3573
- # The maximum number of functions to return.
3633
+ # The maximum number of functions to return in the response. Note that
3634
+ # `ListFunctions` returns a maximum of 50 items in each response, even
3635
+ # if you set the number higher.
3574
3636
  #
3575
3637
  # @return [Types::ListFunctionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3576
3638
  #
@@ -3652,7 +3714,7 @@ module Aws::Lambda
3652
3714
  # resp.functions #=> Array
3653
3715
  # resp.functions[0].function_name #=> String
3654
3716
  # resp.functions[0].function_arn #=> String
3655
- # 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"
3717
+ # 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"
3656
3718
  # resp.functions[0].role #=> String
3657
3719
  # resp.functions[0].handler #=> String
3658
3720
  # resp.functions[0].code_size #=> Integer
@@ -3683,10 +3745,10 @@ module Aws::Lambda
3683
3745
  # resp.functions[0].layers[0].signing_job_arn #=> String
3684
3746
  # resp.functions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed"
3685
3747
  # resp.functions[0].state_reason #=> String
3686
- # resp.functions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
3748
+ # resp.functions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
3687
3749
  # resp.functions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
3688
3750
  # resp.functions[0].last_update_status_reason #=> String
3689
- # resp.functions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
3751
+ # resp.functions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
3690
3752
  # resp.functions[0].file_system_configs #=> Array
3691
3753
  # resp.functions[0].file_system_configs[0].arn #=> String
3692
3754
  # resp.functions[0].file_system_configs[0].local_mount_path #=> String
@@ -3819,7 +3881,7 @@ module Aws::Lambda
3819
3881
  # @example Request syntax with placeholder values
3820
3882
  #
3821
3883
  # resp = client.list_layer_versions({
3822
- # 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
3884
+ # 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
3823
3885
  # layer_name: "LayerName", # required
3824
3886
  # marker: "String",
3825
3887
  # max_items: 1,
@@ -3834,7 +3896,7 @@ module Aws::Lambda
3834
3896
  # resp.layer_versions[0].description #=> String
3835
3897
  # resp.layer_versions[0].created_date #=> Time
3836
3898
  # resp.layer_versions[0].compatible_runtimes #=> Array
3837
- # 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"
3899
+ # 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"
3838
3900
  # resp.layer_versions[0].license_info #=> String
3839
3901
  #
3840
3902
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersions AWS API Documentation
@@ -3903,7 +3965,7 @@ module Aws::Lambda
3903
3965
  # @example Request syntax with placeholder values
3904
3966
  #
3905
3967
  # resp = client.list_layers({
3906
- # 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
3968
+ # 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
3907
3969
  # marker: "String",
3908
3970
  # max_items: 1,
3909
3971
  # })
@@ -3919,7 +3981,7 @@ module Aws::Lambda
3919
3981
  # resp.layers[0].latest_matching_version.description #=> String
3920
3982
  # resp.layers[0].latest_matching_version.created_date #=> Time
3921
3983
  # resp.layers[0].latest_matching_version.compatible_runtimes #=> Array
3922
- # 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"
3984
+ # 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"
3923
3985
  # resp.layers[0].latest_matching_version.license_info #=> String
3924
3986
  #
3925
3987
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayers AWS API Documentation
@@ -4189,7 +4251,7 @@ module Aws::Lambda
4189
4251
  # resp.versions #=> Array
4190
4252
  # resp.versions[0].function_name #=> String
4191
4253
  # resp.versions[0].function_arn #=> String
4192
- # 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"
4254
+ # 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"
4193
4255
  # resp.versions[0].role #=> String
4194
4256
  # resp.versions[0].handler #=> String
4195
4257
  # resp.versions[0].code_size #=> Integer
@@ -4220,10 +4282,10 @@ module Aws::Lambda
4220
4282
  # resp.versions[0].layers[0].signing_job_arn #=> String
4221
4283
  # resp.versions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed"
4222
4284
  # resp.versions[0].state_reason #=> String
4223
- # resp.versions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
4285
+ # resp.versions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
4224
4286
  # resp.versions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
4225
4287
  # resp.versions[0].last_update_status_reason #=> String
4226
- # resp.versions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
4288
+ # resp.versions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
4227
4289
  # resp.versions[0].file_system_configs #=> Array
4228
4290
  # resp.versions[0].file_system_configs[0].arn #=> String
4229
4291
  # resp.versions[0].file_system_configs[0].local_mount_path #=> String
@@ -4350,7 +4412,7 @@ module Aws::Lambda
4350
4412
  # s3_object_version: "S3ObjectVersion",
4351
4413
  # zip_file: "data",
4352
4414
  # },
4353
- # 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
4415
+ # 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
4354
4416
  # license_info: "LicenseInfo",
4355
4417
  # })
4356
4418
  #
@@ -4367,7 +4429,7 @@ module Aws::Lambda
4367
4429
  # resp.created_date #=> Time
4368
4430
  # resp.version #=> Integer
4369
4431
  # resp.compatible_runtimes #=> Array
4370
- # 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"
4432
+ # 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"
4371
4433
  # resp.license_info #=> String
4372
4434
  #
4373
4435
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersion AWS API Documentation
@@ -4513,7 +4575,7 @@ module Aws::Lambda
4513
4575
  #
4514
4576
  # resp.function_name #=> String
4515
4577
  # resp.function_arn #=> String
4516
- # 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"
4578
+ # 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"
4517
4579
  # resp.role #=> String
4518
4580
  # resp.handler #=> String
4519
4581
  # resp.code_size #=> Integer
@@ -4544,10 +4606,10 @@ module Aws::Lambda
4544
4606
  # resp.layers[0].signing_job_arn #=> String
4545
4607
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
4546
4608
  # resp.state_reason #=> String
4547
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
4609
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
4548
4610
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
4549
4611
  # resp.last_update_status_reason #=> String
4550
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
4612
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
4551
4613
  # resp.file_system_configs #=> Array
4552
4614
  # resp.file_system_configs[0].arn #=> String
4553
4615
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -5337,14 +5399,17 @@ module Aws::Lambda
5337
5399
  #
5338
5400
  # * **Amazon DynamoDB Streams** - Default 100. Max 1,000.
5339
5401
  #
5340
- # * **Amazon Simple Queue Service** - Default 10. Max 10.
5402
+ # * **Amazon Simple Queue Service** - Default 10. For standard queues
5403
+ # the max is 10,000. For FIFO queues the max is 10.
5341
5404
  #
5342
5405
  # * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
5343
5406
  # 10,000.
5344
5407
  #
5408
+ # * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
5409
+ #
5345
5410
  # @option params [Integer] :maximum_batching_window_in_seconds
5346
- # (Streams) The maximum amount of time to gather records before invoking
5347
- # the function, in seconds.
5411
+ # (Streams and SQS standard queues) The maximum amount of time to gather
5412
+ # records before invoking the function, in seconds.
5348
5413
  #
5349
5414
  # @option params [Types::DestinationConfig] :destination_config
5350
5415
  # (Streams) An Amazon SQS queue or Amazon SNS topic destination for
@@ -5368,17 +5433,16 @@ module Aws::Lambda
5368
5433
  # concurrently.
5369
5434
  #
5370
5435
  # @option params [Array<Types::SourceAccessConfiguration>] :source_access_configurations
5371
- # (MQ) The Secrets Manager secret that stores your broker credentials.
5372
- # To store your secret, use the following format: ` \{ "username": "your
5373
- # username", "password": "your password" \}`
5436
+ # An array of the authentication protocol, or the VPC components to
5437
+ # secure your event source.
5374
5438
  #
5375
- # To reference the secret, use the following format: `[ \{ "Type":
5376
- # "BASIC_AUTH", "URI": "secretARN" \} ]`
5439
+ # @option params [Integer] :tumbling_window_in_seconds
5440
+ # (Streams) The duration in seconds of a processing window. The range is
5441
+ # between 1 second up to 900 seconds.
5377
5442
  #
5378
- # The value of `Type` is always `BASIC_AUTH`. To encrypt the secret, you
5379
- # can use customer or service managed keys. When using a customer
5380
- # managed KMS key, the Lambda execution role requires `kms:Decrypt`
5381
- # permissions.
5443
+ # @option params [Array<String>] :function_response_types
5444
+ # (Streams) A list of current response type enums applied to the event
5445
+ # source mapping.
5382
5446
  #
5383
5447
  # @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5384
5448
  #
@@ -5398,9 +5462,12 @@ module Aws::Lambda
5398
5462
  # * {Types::EventSourceMappingConfiguration#topics #topics} => Array&lt;String&gt;
5399
5463
  # * {Types::EventSourceMappingConfiguration#queues #queues} => Array&lt;String&gt;
5400
5464
  # * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array&lt;Types::SourceAccessConfiguration&gt;
5465
+ # * {Types::EventSourceMappingConfiguration#self_managed_event_source #self_managed_event_source} => Types::SelfManagedEventSource
5401
5466
  # * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
5402
5467
  # * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
5403
5468
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
5469
+ # * {Types::EventSourceMappingConfiguration#tumbling_window_in_seconds #tumbling_window_in_seconds} => Integer
5470
+ # * {Types::EventSourceMappingConfiguration#function_response_types #function_response_types} => Array&lt;String&gt;
5404
5471
  #
5405
5472
  #
5406
5473
  # @example Example: To update a Lambda function event source mapping
@@ -5448,10 +5515,12 @@ module Aws::Lambda
5448
5515
  # parallelization_factor: 1,
5449
5516
  # source_access_configurations: [
5450
5517
  # {
5451
- # type: "BASIC_AUTH", # accepts BASIC_AUTH
5452
- # uri: "Arn",
5518
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
5519
+ # uri: "URI",
5453
5520
  # },
5454
5521
  # ],
5522
+ # tumbling_window_in_seconds: 1,
5523
+ # function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
5455
5524
  # })
5456
5525
  #
5457
5526
  # @example Response structure
@@ -5475,11 +5544,17 @@ module Aws::Lambda
5475
5544
  # resp.queues #=> Array
5476
5545
  # resp.queues[0] #=> String
5477
5546
  # resp.source_access_configurations #=> Array
5478
- # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
5547
+ # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH"
5479
5548
  # resp.source_access_configurations[0].uri #=> String
5549
+ # resp.self_managed_event_source.endpoints #=> Hash
5550
+ # resp.self_managed_event_source.endpoints["EndPointType"] #=> Array
5551
+ # resp.self_managed_event_source.endpoints["EndPointType"][0] #=> String
5480
5552
  # resp.maximum_record_age_in_seconds #=> Integer
5481
5553
  # resp.bisect_batch_on_function_error #=> Boolean
5482
5554
  # resp.maximum_retry_attempts #=> Integer
5555
+ # resp.tumbling_window_in_seconds #=> Integer
5556
+ # resp.function_response_types #=> Array
5557
+ # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
5483
5558
  #
5484
5559
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping AWS API Documentation
5485
5560
  #
@@ -5497,6 +5572,12 @@ module Aws::Lambda
5497
5572
  # The function's code is locked when you publish a version. You can't
5498
5573
  # modify the code of a published version, only the unpublished version.
5499
5574
  #
5575
+ # <note markdown="1"> For a function defined as a container image, Lambda resolves the image
5576
+ # tag to an image digest. In Amazon ECR, if you update the image tag to
5577
+ # a new image, Lambda does not automatically update the function.
5578
+ #
5579
+ # </note>
5580
+ #
5500
5581
  #
5501
5582
  #
5502
5583
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-trustedcode.html
@@ -5632,7 +5713,7 @@ module Aws::Lambda
5632
5713
  #
5633
5714
  # resp.function_name #=> String
5634
5715
  # resp.function_arn #=> String
5635
- # 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"
5716
+ # 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"
5636
5717
  # resp.role #=> String
5637
5718
  # resp.handler #=> String
5638
5719
  # resp.code_size #=> Integer
@@ -5663,10 +5744,10 @@ module Aws::Lambda
5663
5744
  # resp.layers[0].signing_job_arn #=> String
5664
5745
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
5665
5746
  # resp.state_reason #=> String
5666
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
5747
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
5667
5748
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
5668
5749
  # resp.last_update_status_reason #=> String
5669
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
5750
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
5670
5751
  # resp.file_system_configs #=> Array
5671
5752
  # resp.file_system_configs[0].arn #=> String
5672
5753
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -5751,9 +5832,9 @@ module Aws::Lambda
5751
5832
  # 900 seconds.
5752
5833
  #
5753
5834
  # @option params [Integer] :memory_size
5754
- # The amount of memory that your function has access to. Increasing the
5755
- # function's memory also increases its CPU allocation. The default
5756
- # value is 128 MB. The value must be a multiple of 64 MB.
5835
+ # The amount of memory available to the function at runtime. Increasing
5836
+ # the function's memory also increases its CPU allocation. The default
5837
+ # value is 128 MB. The value can be any multiple of 1 MB.
5757
5838
  #
5758
5839
  # @option params [Types::VpcConfig] :vpc_config
5759
5840
  # For network connectivity to AWS resources in a VPC, specify a list of
@@ -5811,7 +5892,12 @@ module Aws::Lambda
5811
5892
  # Connection settings for an Amazon EFS file system.
5812
5893
  #
5813
5894
  # @option params [Types::ImageConfig] :image_config
5814
- # Configuration values that override the container image Dockerfile.
5895
+ # [Container image configuration values][1] that override the values in
5896
+ # the container image Dockerfile.
5897
+ #
5898
+ #
5899
+ #
5900
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
5815
5901
  #
5816
5902
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5817
5903
  #
@@ -5896,7 +5982,7 @@ module Aws::Lambda
5896
5982
  # "EnvironmentVariableName" => "EnvironmentVariableValue",
5897
5983
  # },
5898
5984
  # },
5899
- # 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
5985
+ # 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
5900
5986
  # dead_letter_config: {
5901
5987
  # target_arn: "ResourceArn",
5902
5988
  # },
@@ -5923,7 +6009,7 @@ module Aws::Lambda
5923
6009
  #
5924
6010
  # resp.function_name #=> String
5925
6011
  # resp.function_arn #=> String
5926
- # 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"
6012
+ # 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"
5927
6013
  # resp.role #=> String
5928
6014
  # resp.handler #=> String
5929
6015
  # resp.code_size #=> Integer
@@ -5954,10 +6040,10 @@ module Aws::Lambda
5954
6040
  # resp.layers[0].signing_job_arn #=> String
5955
6041
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
5956
6042
  # resp.state_reason #=> String
5957
- # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
6043
+ # resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
5958
6044
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
5959
6045
  # resp.last_update_status_reason #=> String
5960
- # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied"
6046
+ # resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
5961
6047
  # resp.file_system_configs #=> Array
5962
6048
  # resp.file_system_configs[0].arn #=> String
5963
6049
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -6115,7 +6201,7 @@ module Aws::Lambda
6115
6201
  params: params,
6116
6202
  config: config)
6117
6203
  context[:gem_name] = 'aws-sdk-lambda'
6118
- context[:gem_version] = '1.55.0'
6204
+ context[:gem_version] = '1.60.0'
6119
6205
  Seahorse::Client::Request.new(handlers, context)
6120
6206
  end
6121
6207