aws-sdk-lambda 1.2.0 → 1.3.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 +30 -16
- data/lib/aws-sdk-lambda/types.rb +18 -12
- 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: 34c7c9024f3273f2fbfcacc349de02dd5342c3a1
|
4
|
+
data.tar.gz: be313383a0e7c92b071383f57744ba050d44daff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bfe0668731c6368c36477a1c52712ef7f3a8095cef20ac58a8b9593266eb5d41318f59ecf73dbf16c5f19bd1199a675e68f59c089979b8977d42d20634dd767
|
7
|
+
data.tar.gz: f57c631211aff0c3762bda4acc18f4c0ea22eb6bae2e1ad43a021bc240a5fe6d54dffe091c459a22da92cacfb4a5743efdf51da996a99adf57cc4e129c583e04
|
data/lib/aws-sdk-lambda.rb
CHANGED
@@ -674,7 +674,7 @@ module Aws::Lambda
|
|
674
674
|
#
|
675
675
|
# resp = client.create_function({
|
676
676
|
# function_name: "FunctionName", # required
|
677
|
-
# runtime: "nodejs", # required, accepts nodejs, nodejs4.3, nodejs6.10, java8, python2.7, python3.6, dotnetcore1.0, nodejs4.3-edge
|
677
|
+
# runtime: "nodejs", # required, accepts nodejs, nodejs4.3, nodejs6.10, java8, python2.7, python3.6, dotnetcore1.0, dotnetcore2.0, nodejs4.3-edge, go1.x
|
678
678
|
# role: "RoleArn", # required
|
679
679
|
# handler: "Handler", # required
|
680
680
|
# code: { # required
|
@@ -712,7 +712,7 @@ module Aws::Lambda
|
|
712
712
|
#
|
713
713
|
# resp.function_name #=> String
|
714
714
|
# resp.function_arn #=> String
|
715
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "nodejs4.3-edge"
|
715
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
716
716
|
# resp.role #=> String
|
717
717
|
# resp.handler #=> String
|
718
718
|
# resp.code_size #=> Integer
|
@@ -936,11 +936,12 @@ module Aws::Lambda
|
|
936
936
|
req.send_request(options)
|
937
937
|
end
|
938
938
|
|
939
|
-
# Removes concurrent execution limits from this function.
|
939
|
+
# Removes concurrent execution limits from this function. For more
|
940
|
+
# information, see concurrent-executions.
|
940
941
|
#
|
941
942
|
# @option params [required, String] :function_name
|
942
943
|
# The name of the function you are removing concurrent execution limits
|
943
|
-
# from.
|
944
|
+
# from. For more information, see concurrent-executions.
|
944
945
|
#
|
945
946
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
946
947
|
#
|
@@ -1250,7 +1251,7 @@ module Aws::Lambda
|
|
1250
1251
|
#
|
1251
1252
|
# resp.configuration.function_name #=> String
|
1252
1253
|
# resp.configuration.function_arn #=> String
|
1253
|
-
# resp.configuration.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "nodejs4.3-edge"
|
1254
|
+
# resp.configuration.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
1254
1255
|
# resp.configuration.role #=> String
|
1255
1256
|
# resp.configuration.handler #=> String
|
1256
1257
|
# resp.configuration.code_size #=> Integer
|
@@ -1396,7 +1397,7 @@ module Aws::Lambda
|
|
1396
1397
|
#
|
1397
1398
|
# resp.function_name #=> String
|
1398
1399
|
# resp.function_arn #=> String
|
1399
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "nodejs4.3-edge"
|
1400
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
1400
1401
|
# resp.role #=> String
|
1401
1402
|
# resp.handler #=> String
|
1402
1403
|
# resp.code_size #=> Integer
|
@@ -1518,6 +1519,17 @@ module Aws::Lambda
|
|
1518
1519
|
# This operation requires permission for the `lambda:InvokeFunction`
|
1519
1520
|
# action.
|
1520
1521
|
#
|
1522
|
+
# <note markdown="1"> The `TooManyRequestsException` noted below will return the following:
|
1523
|
+
# `ConcurrentInvocationLimitExceeded` will be returned if you have no
|
1524
|
+
# functions with reserved concurrency and have exceeded your account
|
1525
|
+
# concurrent limit or if a function without reserved concurrency exceeds
|
1526
|
+
# the account's unreserved concurrency limit.
|
1527
|
+
# `ReservedFunctionConcurrentInvocationLimitExceeded` will be returned
|
1528
|
+
# when a function with reserved concurrency exceeds its configured
|
1529
|
+
# concurrency limit.
|
1530
|
+
#
|
1531
|
+
# </note>
|
1532
|
+
#
|
1521
1533
|
#
|
1522
1534
|
#
|
1523
1535
|
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/with-dynamodb-create-function.html#with-dbb-invoke-manually
|
@@ -1944,7 +1956,7 @@ module Aws::Lambda
|
|
1944
1956
|
# resp.functions #=> Array
|
1945
1957
|
# resp.functions[0].function_name #=> String
|
1946
1958
|
# resp.functions[0].function_arn #=> String
|
1947
|
-
# resp.functions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "nodejs4.3-edge"
|
1959
|
+
# resp.functions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
1948
1960
|
# resp.functions[0].role #=> String
|
1949
1961
|
# resp.functions[0].handler #=> String
|
1950
1962
|
# resp.functions[0].code_size #=> Integer
|
@@ -2071,7 +2083,7 @@ module Aws::Lambda
|
|
2071
2083
|
# resp.versions #=> Array
|
2072
2084
|
# resp.versions[0].function_name #=> String
|
2073
2085
|
# resp.versions[0].function_arn #=> String
|
2074
|
-
# resp.versions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "nodejs4.3-edge"
|
2086
|
+
# resp.versions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
2075
2087
|
# resp.versions[0].role #=> String
|
2076
2088
|
# resp.versions[0].handler #=> String
|
2077
2089
|
# resp.versions[0].code_size #=> Integer
|
@@ -2199,7 +2211,7 @@ module Aws::Lambda
|
|
2199
2211
|
#
|
2200
2212
|
# resp.function_name #=> String
|
2201
2213
|
# resp.function_arn #=> String
|
2202
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "nodejs4.3-edge"
|
2214
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
2203
2215
|
# resp.role #=> String
|
2204
2216
|
# resp.handler #=> String
|
2205
2217
|
# resp.code_size #=> Integer
|
@@ -2237,14 +2249,16 @@ module Aws::Lambda
|
|
2237
2249
|
# limit per region. Note that Lambda automatically reserves a buffer of
|
2238
2250
|
# 100 concurrent executions for functions without any reserved
|
2239
2251
|
# concurrency limit. This means if your account limit is 1000, you have
|
2240
|
-
# a total of 900 available to allocate to individual functions.
|
2252
|
+
# a total of 900 available to allocate to individual functions. For more
|
2253
|
+
# information, see concurrent-executions.
|
2241
2254
|
#
|
2242
2255
|
# @option params [required, String] :function_name
|
2243
2256
|
# The name of the function you are setting concurrent execution limits
|
2244
|
-
# on.
|
2257
|
+
# on. For more information, see concurrent-executions.
|
2245
2258
|
#
|
2246
2259
|
# @option params [required, Integer] :reserved_concurrent_executions
|
2247
|
-
# The concurrent execution limit reserved for this function.
|
2260
|
+
# The concurrent execution limit reserved for this function. For more
|
2261
|
+
# information, see concurrent-executions.
|
2248
2262
|
#
|
2249
2263
|
# @return [Types::Concurrency] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2250
2264
|
#
|
@@ -2745,7 +2759,7 @@ module Aws::Lambda
|
|
2745
2759
|
#
|
2746
2760
|
# resp.function_name #=> String
|
2747
2761
|
# resp.function_arn #=> String
|
2748
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "nodejs4.3-edge"
|
2762
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
2749
2763
|
# resp.role #=> String
|
2750
2764
|
# resp.handler #=> String
|
2751
2765
|
# resp.code_size #=> Integer
|
@@ -2948,7 +2962,7 @@ module Aws::Lambda
|
|
2948
2962
|
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
2949
2963
|
# },
|
2950
2964
|
# },
|
2951
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, java8, python2.7, python3.6, dotnetcore1.0, nodejs4.3-edge
|
2965
|
+
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, java8, python2.7, python3.6, dotnetcore1.0, dotnetcore2.0, nodejs4.3-edge, go1.x
|
2952
2966
|
# dead_letter_config: {
|
2953
2967
|
# target_arn: "ResourceArn",
|
2954
2968
|
# },
|
@@ -2962,7 +2976,7 @@ module Aws::Lambda
|
|
2962
2976
|
#
|
2963
2977
|
# resp.function_name #=> String
|
2964
2978
|
# resp.function_arn #=> String
|
2965
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "nodejs4.3-edge"
|
2979
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
2966
2980
|
# resp.role #=> String
|
2967
2981
|
# resp.handler #=> String
|
2968
2982
|
# resp.code_size #=> Integer
|
@@ -3008,7 +3022,7 @@ module Aws::Lambda
|
|
3008
3022
|
params: params,
|
3009
3023
|
config: config)
|
3010
3024
|
context[:gem_name] = 'aws-sdk-lambda'
|
3011
|
-
context[:gem_version] = '1.
|
3025
|
+
context[:gem_version] = '1.3.0'
|
3012
3026
|
Seahorse::Client::Request.new(handlers, context)
|
3013
3027
|
end
|
3014
3028
|
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -41,7 +41,8 @@ module Aws::Lambda
|
|
41
41
|
#
|
42
42
|
# @!attribute [rw] unreserved_concurrent_executions
|
43
43
|
# The number of concurrent executions available to functions that do
|
44
|
-
# not have concurrency limits set.
|
44
|
+
# not have concurrency limits set. For more information, see
|
45
|
+
# concurrent-executions.
|
45
46
|
# @return [Integer]
|
46
47
|
#
|
47
48
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AccountLimit AWS API Documentation
|
@@ -254,9 +255,10 @@ module Aws::Lambda
|
|
254
255
|
# }
|
255
256
|
#
|
256
257
|
# @!attribute [rw] additional_version_weights
|
257
|
-
# Set this
|
258
|
-
#
|
259
|
-
#
|
258
|
+
# Set this value to dictate what percentage of traffic will invoke the
|
259
|
+
# updated function version. If set to an empty string, 100 percent of
|
260
|
+
# traffic will invoke `function-version`. For more information, see
|
261
|
+
# lambda-traffic-shifting-using-aliases.
|
260
262
|
# @return [Hash<String,Float>]
|
261
263
|
#
|
262
264
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AliasRoutingConfiguration AWS API Documentation
|
@@ -267,7 +269,8 @@ module Aws::Lambda
|
|
267
269
|
end
|
268
270
|
|
269
271
|
# @!attribute [rw] reserved_concurrent_executions
|
270
|
-
# The number of concurrent executions reserved for this function.
|
272
|
+
# The number of concurrent executions reserved for this function. For
|
273
|
+
# more information, see concurrent-executions.
|
271
274
|
# @return [Integer]
|
272
275
|
#
|
273
276
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Concurrency AWS API Documentation
|
@@ -425,7 +428,7 @@ module Aws::Lambda
|
|
425
428
|
#
|
426
429
|
# {
|
427
430
|
# function_name: "FunctionName", # required
|
428
|
-
# runtime: "nodejs", # required, accepts nodejs, nodejs4.3, nodejs6.10, java8, python2.7, python3.6, dotnetcore1.0, nodejs4.3-edge
|
431
|
+
# runtime: "nodejs", # required, accepts nodejs, nodejs4.3, nodejs6.10, java8, python2.7, python3.6, dotnetcore1.0, dotnetcore2.0, nodejs4.3-edge, go1.x
|
429
432
|
# role: "RoleArn", # required
|
430
433
|
# handler: "Handler", # required
|
431
434
|
# code: { # required
|
@@ -668,7 +671,7 @@ module Aws::Lambda
|
|
668
671
|
#
|
669
672
|
# @!attribute [rw] function_name
|
670
673
|
# The name of the function you are removing concurrent execution
|
671
|
-
# limits from.
|
674
|
+
# limits from. For more information, see concurrent-executions.
|
672
675
|
# @return [String]
|
673
676
|
#
|
674
677
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrencyRequest AWS API Documentation
|
@@ -1204,7 +1207,8 @@ module Aws::Lambda
|
|
1204
1207
|
# @return [Hash<String,String>]
|
1205
1208
|
#
|
1206
1209
|
# @!attribute [rw] concurrency
|
1207
|
-
# The concurrent execution limit set for this function.
|
1210
|
+
# The concurrent execution limit set for this function. For more
|
1211
|
+
# information, see concurrent-executions.
|
1208
1212
|
# @return [Types::Concurrency]
|
1209
1213
|
#
|
1210
1214
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionResponse AWS API Documentation
|
@@ -1400,7 +1404,8 @@ module Aws::Lambda
|
|
1400
1404
|
#
|
1401
1405
|
# @!attribute [rw] executed_version
|
1402
1406
|
# The function version that has been executed. This value is returned
|
1403
|
-
# only if the invocation type is `RequestResponse`.
|
1407
|
+
# only if the invocation type is `RequestResponse`. For more
|
1408
|
+
# information, see lambda-traffic-shifting-using-aliases.
|
1404
1409
|
# @return [String]
|
1405
1410
|
#
|
1406
1411
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvocationResponse AWS API Documentation
|
@@ -1797,11 +1802,12 @@ module Aws::Lambda
|
|
1797
1802
|
#
|
1798
1803
|
# @!attribute [rw] function_name
|
1799
1804
|
# The name of the function you are setting concurrent execution limits
|
1800
|
-
# on.
|
1805
|
+
# on. For more information, see concurrent-executions.
|
1801
1806
|
# @return [String]
|
1802
1807
|
#
|
1803
1808
|
# @!attribute [rw] reserved_concurrent_executions
|
1804
|
-
# The concurrent execution limit reserved for this function.
|
1809
|
+
# The concurrent execution limit reserved for this function. For more
|
1810
|
+
# information, see concurrent-executions.
|
1805
1811
|
# @return [Integer]
|
1806
1812
|
#
|
1807
1813
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionConcurrencyRequest AWS API Documentation
|
@@ -2155,7 +2161,7 @@ module Aws::Lambda
|
|
2155
2161
|
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
2156
2162
|
# },
|
2157
2163
|
# },
|
2158
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, java8, python2.7, python3.6, dotnetcore1.0, nodejs4.3-edge
|
2164
|
+
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, java8, python2.7, python3.6, dotnetcore1.0, dotnetcore2.0, nodejs4.3-edge, go1.x
|
2159
2165
|
# dead_letter_config: {
|
2160
2166
|
# target_arn: "ResourceArn",
|
2161
2167
|
# },
|
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.3.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:
|
11
|
+
date: 2018-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|