aws-sdk-lambda 1.35.0 → 1.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-lambda.rb +1 -1
- data/lib/aws-sdk-lambda/client.rb +42 -32
- data/lib/aws-sdk-lambda/types.rb +7 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 346a13eb658da3b79cf33a8e13c7afa7980fafcc
|
4
|
+
data.tar.gz: a36a78bd6a5b2e6ec24799a80ec6f9b4a104c6d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd4bd85a5ef51af91a5459af5ba64846a9aa171892bb26187e84a468a55cfea74848b30e342560fa4ebe044774492962a7ec6d1e8682910aa2cce76f0b59c521
|
7
|
+
data.tar.gz: 21222d6774efa6437f5a6f21df5479dcf1c444d95e3edec10ff9df93ce3505b967a0144cc255e6a8b8b5adbb9a4cb58c28ebf13f8c835c9ee244c3b1fefbb01f
|
data/lib/aws-sdk-lambda.rb
CHANGED
@@ -903,7 +903,7 @@ module Aws::Lambda
|
|
903
903
|
# memory_size: 128,
|
904
904
|
# publish: true,
|
905
905
|
# role: "arn:aws:iam::123456789012:role/service-role/role-name", # replace with the actual arn of the execution role you created
|
906
|
-
# runtime: "
|
906
|
+
# runtime: "nodejs12.x",
|
907
907
|
# timeout: 15,
|
908
908
|
# vpc_config: {
|
909
909
|
# },
|
@@ -920,7 +920,7 @@ module Aws::Lambda
|
|
920
920
|
# last_modified: Time.parse("2016-11-21T19:49:20.006+0000"),
|
921
921
|
# memory_size: 128,
|
922
922
|
# role: "arn:aws:iam::123456789012:role/service-role/role-name",
|
923
|
-
# runtime: "
|
923
|
+
# runtime: "nodejs12.x",
|
924
924
|
# timeout: 123,
|
925
925
|
# version: "1",
|
926
926
|
# vpc_config: {
|
@@ -931,7 +931,7 @@ module Aws::Lambda
|
|
931
931
|
#
|
932
932
|
# resp = client.create_function({
|
933
933
|
# function_name: "FunctionName", # required
|
934
|
-
# runtime: "nodejs", # required, accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, provided
|
934
|
+
# runtime: "nodejs", # required, accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided
|
935
935
|
# role: "RoleArn", # required
|
936
936
|
# handler: "Handler", # required
|
937
937
|
# code: { # required
|
@@ -970,7 +970,7 @@ module Aws::Lambda
|
|
970
970
|
#
|
971
971
|
# resp.function_name #=> String
|
972
972
|
# resp.function_arn #=> String
|
973
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "provided"
|
973
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided"
|
974
974
|
# resp.role #=> String
|
975
975
|
# resp.handler #=> String
|
976
976
|
# resp.code_size #=> Integer
|
@@ -1620,7 +1620,7 @@ module Aws::Lambda
|
|
1620
1620
|
# last_modified: Time.parse("2016-11-21T19:49:20.006+0000"),
|
1621
1621
|
# memory_size: 128,
|
1622
1622
|
# role: "arn:aws:iam::123456789012:role/lambda_basic_execution",
|
1623
|
-
# runtime: "
|
1623
|
+
# runtime: "nodejs12.x",
|
1624
1624
|
# timeout: 3,
|
1625
1625
|
# version: "$LATEST",
|
1626
1626
|
# vpc_config: {
|
@@ -1643,7 +1643,7 @@ module Aws::Lambda
|
|
1643
1643
|
#
|
1644
1644
|
# resp.configuration.function_name #=> String
|
1645
1645
|
# resp.configuration.function_arn #=> String
|
1646
|
-
# resp.configuration.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "provided"
|
1646
|
+
# resp.configuration.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided"
|
1647
1647
|
# resp.configuration.role #=> String
|
1648
1648
|
# resp.configuration.handler #=> String
|
1649
1649
|
# resp.configuration.code_size #=> Integer
|
@@ -1691,8 +1691,9 @@ module Aws::Lambda
|
|
1691
1691
|
req.send_request(options)
|
1692
1692
|
end
|
1693
1693
|
|
1694
|
-
# Returns details about the concurrency configuration for a
|
1695
|
-
# set a concurrency limit for a function, use
|
1694
|
+
# Returns details about the reserved concurrency configuration for a
|
1695
|
+
# function. To set a concurrency limit for a function, use
|
1696
|
+
# PutFunctionConcurrency.
|
1696
1697
|
#
|
1697
1698
|
# @option params [required, String] :function_name
|
1698
1699
|
# The name of the Lambda function.
|
@@ -1833,7 +1834,7 @@ module Aws::Lambda
|
|
1833
1834
|
#
|
1834
1835
|
# resp.function_name #=> String
|
1835
1836
|
# resp.function_arn #=> String
|
1836
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "provided"
|
1837
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided"
|
1837
1838
|
# resp.role #=> String
|
1838
1839
|
# resp.handler #=> String
|
1839
1840
|
# resp.code_size #=> Integer
|
@@ -1977,7 +1978,7 @@ module Aws::Lambda
|
|
1977
1978
|
# resp.created_date #=> Time
|
1978
1979
|
# resp.version #=> Integer
|
1979
1980
|
# resp.compatible_runtimes #=> Array
|
1980
|
-
# resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "provided"
|
1981
|
+
# resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided"
|
1981
1982
|
# resp.license_info #=> String
|
1982
1983
|
#
|
1983
1984
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersion AWS API Documentation
|
@@ -2027,7 +2028,7 @@ module Aws::Lambda
|
|
2027
2028
|
# resp.created_date #=> Time
|
2028
2029
|
# resp.version #=> Integer
|
2029
2030
|
# resp.compatible_runtimes #=> Array
|
2030
|
-
# resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "provided"
|
2031
|
+
# resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided"
|
2031
2032
|
# resp.license_info #=> String
|
2032
2033
|
#
|
2033
2034
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionByArn AWS API Documentation
|
@@ -2643,7 +2644,7 @@ module Aws::Lambda
|
|
2643
2644
|
end
|
2644
2645
|
|
2645
2646
|
# Returns a list of Lambda functions, with the version-specific
|
2646
|
-
# configuration of each.
|
2647
|
+
# configuration of each. Lambda returns up to 50 functions per call.
|
2647
2648
|
#
|
2648
2649
|
# Set `FunctionVersion` to `ALL` to include all published versions of
|
2649
2650
|
# each function in addition to the unpublished version. To get more
|
@@ -2664,8 +2665,7 @@ module Aws::Lambda
|
|
2664
2665
|
# retrieve the next page of results.
|
2665
2666
|
#
|
2666
2667
|
# @option params [Integer] :max_items
|
2667
|
-
#
|
2668
|
-
# the response.
|
2668
|
+
# The maximum number of functions to return.
|
2669
2669
|
#
|
2670
2670
|
# @return [Types::ListFunctionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2671
2671
|
#
|
@@ -2679,7 +2679,7 @@ module Aws::Lambda
|
|
2679
2679
|
#
|
2680
2680
|
# resp = client.list_functions({
|
2681
2681
|
# marker: "",
|
2682
|
-
# max_items:
|
2682
|
+
# max_items: 25,
|
2683
2683
|
# })
|
2684
2684
|
#
|
2685
2685
|
# resp.to_h outputs the following:
|
@@ -2704,7 +2704,7 @@ module Aws::Lambda
|
|
2704
2704
|
# resp.functions #=> Array
|
2705
2705
|
# resp.functions[0].function_name #=> String
|
2706
2706
|
# resp.functions[0].function_arn #=> String
|
2707
|
-
# resp.functions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "provided"
|
2707
|
+
# resp.functions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided"
|
2708
2708
|
# resp.functions[0].role #=> String
|
2709
2709
|
# resp.functions[0].handler #=> String
|
2710
2710
|
# resp.functions[0].code_size #=> Integer
|
@@ -2777,7 +2777,7 @@ module Aws::Lambda
|
|
2777
2777
|
# @example Request syntax with placeholder values
|
2778
2778
|
#
|
2779
2779
|
# resp = client.list_layer_versions({
|
2780
|
-
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, provided
|
2780
|
+
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided
|
2781
2781
|
# layer_name: "LayerName", # required
|
2782
2782
|
# marker: "String",
|
2783
2783
|
# max_items: 1,
|
@@ -2792,7 +2792,7 @@ module Aws::Lambda
|
|
2792
2792
|
# resp.layer_versions[0].description #=> String
|
2793
2793
|
# resp.layer_versions[0].created_date #=> Time
|
2794
2794
|
# resp.layer_versions[0].compatible_runtimes #=> Array
|
2795
|
-
# resp.layer_versions[0].compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "provided"
|
2795
|
+
# resp.layer_versions[0].compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided"
|
2796
2796
|
# resp.layer_versions[0].license_info #=> String
|
2797
2797
|
#
|
2798
2798
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersions AWS API Documentation
|
@@ -2830,7 +2830,7 @@ module Aws::Lambda
|
|
2830
2830
|
# @example Request syntax with placeholder values
|
2831
2831
|
#
|
2832
2832
|
# resp = client.list_layers({
|
2833
|
-
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, provided
|
2833
|
+
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided
|
2834
2834
|
# marker: "String",
|
2835
2835
|
# max_items: 1,
|
2836
2836
|
# })
|
@@ -2846,7 +2846,7 @@ module Aws::Lambda
|
|
2846
2846
|
# resp.layers[0].latest_matching_version.description #=> String
|
2847
2847
|
# resp.layers[0].latest_matching_version.created_date #=> Time
|
2848
2848
|
# resp.layers[0].latest_matching_version.compatible_runtimes #=> Array
|
2849
|
-
# resp.layers[0].latest_matching_version.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "provided"
|
2849
|
+
# resp.layers[0].latest_matching_version.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided"
|
2850
2850
|
# resp.layers[0].latest_matching_version.license_info #=> String
|
2851
2851
|
#
|
2852
2852
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayers AWS API Documentation
|
@@ -2952,7 +2952,7 @@ module Aws::Lambda
|
|
2952
2952
|
end
|
2953
2953
|
|
2954
2954
|
# Returns a list of [versions][1], with the version-specific
|
2955
|
-
# configuration of each.
|
2955
|
+
# configuration of each. Lambda returns up to 50 versions per call.
|
2956
2956
|
#
|
2957
2957
|
#
|
2958
2958
|
#
|
@@ -2978,7 +2978,7 @@ module Aws::Lambda
|
|
2978
2978
|
# retrieve the next page of results.
|
2979
2979
|
#
|
2980
2980
|
# @option params [Integer] :max_items
|
2981
|
-
#
|
2981
|
+
# The maximum number of versions to return.
|
2982
2982
|
#
|
2983
2983
|
# @return [Types::ListVersionsByFunctionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2984
2984
|
#
|
@@ -2993,7 +2993,7 @@ module Aws::Lambda
|
|
2993
2993
|
# resp = client.list_versions_by_function({
|
2994
2994
|
# function_name: "myFunction",
|
2995
2995
|
# marker: "",
|
2996
|
-
# max_items:
|
2996
|
+
# max_items: 25,
|
2997
2997
|
# })
|
2998
2998
|
#
|
2999
2999
|
# resp.to_h outputs the following:
|
@@ -3017,7 +3017,7 @@ module Aws::Lambda
|
|
3017
3017
|
# resp.versions #=> Array
|
3018
3018
|
# resp.versions[0].function_name #=> String
|
3019
3019
|
# resp.versions[0].function_arn #=> String
|
3020
|
-
# resp.versions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "provided"
|
3020
|
+
# resp.versions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided"
|
3021
3021
|
# resp.versions[0].role #=> String
|
3022
3022
|
# resp.versions[0].handler #=> String
|
3023
3023
|
# resp.versions[0].code_size #=> Integer
|
@@ -3124,7 +3124,7 @@ module Aws::Lambda
|
|
3124
3124
|
# s3_object_version: "S3ObjectVersion",
|
3125
3125
|
# zip_file: "data",
|
3126
3126
|
# },
|
3127
|
-
# compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, provided
|
3127
|
+
# compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided
|
3128
3128
|
# license_info: "LicenseInfo",
|
3129
3129
|
# })
|
3130
3130
|
#
|
@@ -3139,7 +3139,7 @@ module Aws::Lambda
|
|
3139
3139
|
# resp.created_date #=> Time
|
3140
3140
|
# resp.version #=> Integer
|
3141
3141
|
# resp.compatible_runtimes #=> Array
|
3142
|
-
# resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "provided"
|
3142
|
+
# resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided"
|
3143
3143
|
# resp.license_info #=> String
|
3144
3144
|
#
|
3145
3145
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersion AWS API Documentation
|
@@ -3269,7 +3269,7 @@ module Aws::Lambda
|
|
3269
3269
|
#
|
3270
3270
|
# resp.function_name #=> String
|
3271
3271
|
# resp.function_arn #=> String
|
3272
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "provided"
|
3272
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided"
|
3273
3273
|
# resp.role #=> String
|
3274
3274
|
# resp.handler #=> String
|
3275
3275
|
# resp.code_size #=> Integer
|
@@ -3374,7 +3374,10 @@ module Aws::Lambda
|
|
3374
3374
|
end
|
3375
3375
|
|
3376
3376
|
# Configures options for [asynchronous invocation][1] on a function,
|
3377
|
-
# version, or alias.
|
3377
|
+
# version, or alias. If a configuration already exists for a function,
|
3378
|
+
# version, or alias, this operation overwrites it. If you exclude any
|
3379
|
+
# settings, they are removed. To set one option without affecting
|
3380
|
+
# existing settings for other options, use PutFunctionEventInvokeConfig.
|
3378
3381
|
#
|
3379
3382
|
# By default, Lambda retries an asynchronous invocation twice if the
|
3380
3383
|
# function returns an error. It retains events in a queue for up to six
|
@@ -3383,9 +3386,16 @@ module Aws::Lambda
|
|
3383
3386
|
# retain discarded events, configure a dead-letter queue with
|
3384
3387
|
# UpdateFunctionConfiguration.
|
3385
3388
|
#
|
3389
|
+
# To send an invocation record to a queue, topic, function, or event
|
3390
|
+
# bus, specify a [destination][2]. You can configure separate
|
3391
|
+
# destinations for successful invocations (on-success) and events that
|
3392
|
+
# fail all processing attempts (on-failure). You can configure
|
3393
|
+
# destinations in addition to or instead of a dead-letter queue.
|
3394
|
+
#
|
3386
3395
|
#
|
3387
3396
|
#
|
3388
3397
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html
|
3398
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations
|
3389
3399
|
#
|
3390
3400
|
# @option params [required, String] :function_name
|
3391
3401
|
# The name of the Lambda function, version, or alias.
|
@@ -4101,7 +4111,7 @@ module Aws::Lambda
|
|
4101
4111
|
#
|
4102
4112
|
# resp.function_name #=> String
|
4103
4113
|
# resp.function_arn #=> String
|
4104
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "provided"
|
4114
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided"
|
4105
4115
|
# resp.role #=> String
|
4106
4116
|
# resp.handler #=> String
|
4107
4117
|
# resp.code_size #=> Integer
|
@@ -4343,7 +4353,7 @@ module Aws::Lambda
|
|
4343
4353
|
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
4344
4354
|
# },
|
4345
4355
|
# },
|
4346
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, provided
|
4356
|
+
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided
|
4347
4357
|
# dead_letter_config: {
|
4348
4358
|
# target_arn: "ResourceArn",
|
4349
4359
|
# },
|
@@ -4359,7 +4369,7 @@ module Aws::Lambda
|
|
4359
4369
|
#
|
4360
4370
|
# resp.function_name #=> String
|
4361
4371
|
# resp.function_arn #=> String
|
4362
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "provided"
|
4372
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "java8", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided"
|
4363
4373
|
# resp.role #=> String
|
4364
4374
|
# resp.handler #=> String
|
4365
4375
|
# resp.code_size #=> Integer
|
@@ -4506,7 +4516,7 @@ module Aws::Lambda
|
|
4506
4516
|
params: params,
|
4507
4517
|
config: config)
|
4508
4518
|
context[:gem_name] = 'aws-sdk-lambda'
|
4509
|
-
context[:gem_version] = '1.
|
4519
|
+
context[:gem_version] = '1.36.0'
|
4510
4520
|
Seahorse::Client::Request.new(handlers, context)
|
4511
4521
|
end
|
4512
4522
|
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -553,7 +553,7 @@ module Aws::Lambda
|
|
553
553
|
#
|
554
554
|
# {
|
555
555
|
# function_name: "FunctionName", # required
|
556
|
-
# runtime: "nodejs", # required, accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, provided
|
556
|
+
# runtime: "nodejs", # required, accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided
|
557
557
|
# role: "RoleArn", # required
|
558
558
|
# handler: "Handler", # required
|
559
559
|
# code: { # required
|
@@ -2751,8 +2751,7 @@ module Aws::Lambda
|
|
2751
2751
|
# @return [String]
|
2752
2752
|
#
|
2753
2753
|
# @!attribute [rw] max_items
|
2754
|
-
#
|
2755
|
-
# the response.
|
2754
|
+
# The maximum number of functions to return.
|
2756
2755
|
# @return [Integer]
|
2757
2756
|
#
|
2758
2757
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsRequest AWS API Documentation
|
@@ -2787,7 +2786,7 @@ module Aws::Lambda
|
|
2787
2786
|
# data as a hash:
|
2788
2787
|
#
|
2789
2788
|
# {
|
2790
|
-
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, provided
|
2789
|
+
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided
|
2791
2790
|
# layer_name: "LayerName", # required
|
2792
2791
|
# marker: "String",
|
2793
2792
|
# max_items: 1,
|
@@ -2840,7 +2839,7 @@ module Aws::Lambda
|
|
2840
2839
|
# data as a hash:
|
2841
2840
|
#
|
2842
2841
|
# {
|
2843
|
-
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, provided
|
2842
|
+
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided
|
2844
2843
|
# marker: "String",
|
2845
2844
|
# max_items: 1,
|
2846
2845
|
# }
|
@@ -3002,7 +3001,7 @@ module Aws::Lambda
|
|
3002
3001
|
# @return [String]
|
3003
3002
|
#
|
3004
3003
|
# @!attribute [rw] max_items
|
3005
|
-
#
|
3004
|
+
# The maximum number of versions to return.
|
3006
3005
|
# @return [Integer]
|
3007
3006
|
#
|
3008
3007
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunctionRequest AWS API Documentation
|
@@ -3188,7 +3187,7 @@ module Aws::Lambda
|
|
3188
3187
|
# s3_object_version: "S3ObjectVersion",
|
3189
3188
|
# zip_file: "data",
|
3190
3189
|
# },
|
3191
|
-
# compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, provided
|
3190
|
+
# compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided
|
3192
3191
|
# license_info: "LicenseInfo",
|
3193
3192
|
# }
|
3194
3193
|
#
|
@@ -4160,7 +4159,7 @@ module Aws::Lambda
|
|
4160
4159
|
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
4161
4160
|
# },
|
4162
4161
|
# },
|
4163
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, provided
|
4162
|
+
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided
|
4164
4163
|
# dead_letter_config: {
|
4165
4164
|
# target_arn: "ResourceArn",
|
4166
4165
|
# },
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lambda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.36.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|