aws-sdk-lambda 1.56.0 → 1.61.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 +4 -4
- data/CHANGELOG.md +398 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-lambda.rb +2 -2
- data/lib/aws-sdk-lambda/client.rb +141 -61
- data/lib/aws-sdk-lambda/client_api.rb +30 -3
- data/lib/aws-sdk-lambda/errors.rb +1 -1
- data/lib/aws-sdk-lambda/resource.rb +1 -1
- data/lib/aws-sdk-lambda/types.rb +159 -79
- data/lib/aws-sdk-lambda/waiters.rb +1 -1
- metadata +8 -5
data/VERSION
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.61.0
|
data/lib/aws-sdk-lambda.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -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.
|
|
52
|
+
GEM_VERSION = '1.61.0'
|
|
53
53
|
|
|
54
54
|
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -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 [
|
|
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.
|
|
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
|
|
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
|
-
#
|
|
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
|
-
#
|
|
853
|
-
#
|
|
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
|
-
#
|
|
857
|
-
#
|
|
865
|
+
# @option params [Types::SelfManagedEventSource] :self_managed_event_source
|
|
866
|
+
# The Self-Managed Apache Kafka cluster to send records.
|
|
858
867
|
#
|
|
859
|
-
#
|
|
860
|
-
#
|
|
861
|
-
#
|
|
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<String>
|
|
880
888
|
# * {Types::EventSourceMappingConfiguration#queues #queues} => Array<String>
|
|
881
889
|
# * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array<Types::SourceAccessConfiguration>
|
|
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<String>
|
|
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",
|
|
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: "
|
|
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
|
#
|
|
@@ -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
|
-
#
|
|
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
|
|
@@ -1464,9 +1493,12 @@ module Aws::Lambda
|
|
|
1464
1493
|
# * {Types::EventSourceMappingConfiguration#topics #topics} => Array<String>
|
|
1465
1494
|
# * {Types::EventSourceMappingConfiguration#queues #queues} => Array<String>
|
|
1466
1495
|
# * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array<Types::SourceAccessConfiguration>
|
|
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<String>
|
|
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<String>
|
|
2002
2040
|
# * {Types::EventSourceMappingConfiguration#queues #queues} => Array<String>
|
|
2003
2041
|
# * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array<Types::SourceAccessConfiguration>
|
|
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<String>
|
|
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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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.
|
|
3556
|
-
#
|
|
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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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.
|
|
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
|
|
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
|
-
#
|
|
5372
|
-
#
|
|
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
|
-
#
|
|
5376
|
-
#
|
|
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
|
-
#
|
|
5379
|
-
#
|
|
5380
|
-
#
|
|
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<String>
|
|
5399
5463
|
# * {Types::EventSourceMappingConfiguration#queues #queues} => Array<String>
|
|
5400
5464
|
# * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array<Types::SourceAccessConfiguration>
|
|
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<String>
|
|
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: "
|
|
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
|
#
|
|
@@ -5638,7 +5713,7 @@ module Aws::Lambda
|
|
|
5638
5713
|
#
|
|
5639
5714
|
# resp.function_name #=> String
|
|
5640
5715
|
# resp.function_arn #=> String
|
|
5641
|
-
# 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"
|
|
5642
5717
|
# resp.role #=> String
|
|
5643
5718
|
# resp.handler #=> String
|
|
5644
5719
|
# resp.code_size #=> Integer
|
|
@@ -5817,7 +5892,12 @@ module Aws::Lambda
|
|
|
5817
5892
|
# Connection settings for an Amazon EFS file system.
|
|
5818
5893
|
#
|
|
5819
5894
|
# @option params [Types::ImageConfig] :image_config
|
|
5820
|
-
#
|
|
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
|
|
5821
5901
|
#
|
|
5822
5902
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5823
5903
|
#
|
|
@@ -5902,7 +5982,7 @@ module Aws::Lambda
|
|
|
5902
5982
|
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
|
5903
5983
|
# },
|
|
5904
5984
|
# },
|
|
5905
|
-
# 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
|
|
5906
5986
|
# dead_letter_config: {
|
|
5907
5987
|
# target_arn: "ResourceArn",
|
|
5908
5988
|
# },
|
|
@@ -5929,7 +6009,7 @@ module Aws::Lambda
|
|
|
5929
6009
|
#
|
|
5930
6010
|
# resp.function_name #=> String
|
|
5931
6011
|
# resp.function_arn #=> String
|
|
5932
|
-
# 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"
|
|
5933
6013
|
# resp.role #=> String
|
|
5934
6014
|
# resp.handler #=> String
|
|
5935
6015
|
# resp.code_size #=> Integer
|
|
@@ -6121,7 +6201,7 @@ module Aws::Lambda
|
|
|
6121
6201
|
params: params,
|
|
6122
6202
|
config: config)
|
|
6123
6203
|
context[:gem_name] = 'aws-sdk-lambda'
|
|
6124
|
-
context[:gem_version] = '1.
|
|
6204
|
+
context[:gem_version] = '1.61.0'
|
|
6125
6205
|
Seahorse::Client::Request.new(handlers, context)
|
|
6126
6206
|
end
|
|
6127
6207
|
|