aws-sdk-lambda 1.0.0.rc12 → 1.0.0.rc13
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 +51 -15
- data/lib/aws-sdk-lambda/client_api.rb +18 -9
- data/lib/aws-sdk-lambda/types.rb +45 -13
- 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: c9e469d1bb32a8436a8b7a336619dbedc44a45c4
|
4
|
+
data.tar.gz: d256996a3f230d60a3fbe7bf5760cec18c83fd99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc55e16acb6e9cb9c46bf0ae2a0bf5f21482e2ac23a9c682dbde90cde5bdccc983248ecdf8afbd8bba5aa47cc53aebeb7ff17fd53f948dc6bc99b106d46089ae
|
7
|
+
data.tar.gz: a3747e94838249e79e6b151d8226b60e2fe6e61a20ab02ab3173738e801ac3239222fe46589399e7569fd9ab88486a0fe0fad5ca471bfd6ec447373a51f436ff
|
data/lib/aws-sdk-lambda.rb
CHANGED
@@ -619,6 +619,7 @@ module Aws::Lambda
|
|
619
619
|
# * {Types::FunctionConfiguration#environment #environment} => Types::EnvironmentResponse
|
620
620
|
# * {Types::FunctionConfiguration#kms_key_arn #kms_key_arn} => String
|
621
621
|
# * {Types::FunctionConfiguration#tracing_config #tracing_config} => Types::TracingConfigResponse
|
622
|
+
# * {Types::FunctionConfiguration#master_arn #master_arn} => String
|
622
623
|
#
|
623
624
|
#
|
624
625
|
# @example Example: create-function
|
@@ -722,6 +723,7 @@ module Aws::Lambda
|
|
722
723
|
# resp.environment.error.message #=> String
|
723
724
|
# resp.kms_key_arn #=> String
|
724
725
|
# resp.tracing_config.mode #=> String, one of "Active", "PassThrough"
|
726
|
+
# resp.master_arn #=> String
|
725
727
|
#
|
726
728
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
|
727
729
|
#
|
@@ -1201,7 +1203,7 @@ module Aws::Lambda
|
|
1201
1203
|
# @example Request syntax with placeholder values
|
1202
1204
|
#
|
1203
1205
|
# resp = client.get_function({
|
1204
|
-
# function_name: "
|
1206
|
+
# function_name: "NamespacedFunctionName", # required
|
1205
1207
|
# qualifier: "Qualifier",
|
1206
1208
|
# })
|
1207
1209
|
#
|
@@ -1231,6 +1233,7 @@ module Aws::Lambda
|
|
1231
1233
|
# resp.configuration.environment.error.message #=> String
|
1232
1234
|
# resp.configuration.kms_key_arn #=> String
|
1233
1235
|
# resp.configuration.tracing_config.mode #=> String, one of "Active", "PassThrough"
|
1236
|
+
# resp.configuration.master_arn #=> String
|
1234
1237
|
# resp.code.repository_type #=> String
|
1235
1238
|
# resp.code.location #=> String
|
1236
1239
|
# resp.tags #=> Hash
|
@@ -1307,6 +1310,7 @@ module Aws::Lambda
|
|
1307
1310
|
# * {Types::FunctionConfiguration#environment #environment} => Types::EnvironmentResponse
|
1308
1311
|
# * {Types::FunctionConfiguration#kms_key_arn #kms_key_arn} => String
|
1309
1312
|
# * {Types::FunctionConfiguration#tracing_config #tracing_config} => Types::TracingConfigResponse
|
1313
|
+
# * {Types::FunctionConfiguration#master_arn #master_arn} => String
|
1310
1314
|
#
|
1311
1315
|
#
|
1312
1316
|
# @example Example: To retrieve a Lambda function's event source mapping
|
@@ -1344,7 +1348,7 @@ module Aws::Lambda
|
|
1344
1348
|
# @example Request syntax with placeholder values
|
1345
1349
|
#
|
1346
1350
|
# resp = client.get_function_configuration({
|
1347
|
-
# function_name: "
|
1351
|
+
# function_name: "NamespacedFunctionName", # required
|
1348
1352
|
# qualifier: "Qualifier",
|
1349
1353
|
# })
|
1350
1354
|
#
|
@@ -1374,6 +1378,7 @@ module Aws::Lambda
|
|
1374
1378
|
# resp.environment.error.message #=> String
|
1375
1379
|
# resp.kms_key_arn #=> String
|
1376
1380
|
# resp.tracing_config.mode #=> String, one of "Active", "PassThrough"
|
1381
|
+
# resp.master_arn #=> String
|
1377
1382
|
#
|
1378
1383
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConfiguration AWS API Documentation
|
1379
1384
|
#
|
@@ -1441,7 +1446,7 @@ module Aws::Lambda
|
|
1441
1446
|
# @example Request syntax with placeholder values
|
1442
1447
|
#
|
1443
1448
|
# resp = client.get_policy({
|
1444
|
-
# function_name: "
|
1449
|
+
# function_name: "NamespacedFunctionName", # required
|
1445
1450
|
# qualifier: "Qualifier",
|
1446
1451
|
# })
|
1447
1452
|
#
|
@@ -1565,7 +1570,7 @@ module Aws::Lambda
|
|
1565
1570
|
# @example Request syntax with placeholder values
|
1566
1571
|
#
|
1567
1572
|
# resp = client.invoke({
|
1568
|
-
# function_name: "
|
1573
|
+
# function_name: "NamespacedFunctionName", # required
|
1569
1574
|
# invocation_type: "Event", # accepts Event, RequestResponse, DryRun
|
1570
1575
|
# log_type: "None", # accepts None, Tail
|
1571
1576
|
# client_context: "String",
|
@@ -1630,7 +1635,7 @@ module Aws::Lambda
|
|
1630
1635
|
# @example Request syntax with placeholder values
|
1631
1636
|
#
|
1632
1637
|
# resp = client.invoke_async({
|
1633
|
-
# function_name: "
|
1638
|
+
# function_name: "NamespacedFunctionName", # required
|
1634
1639
|
# invoke_args: "data", # required
|
1635
1640
|
# })
|
1636
1641
|
#
|
@@ -1817,8 +1822,8 @@ module Aws::Lambda
|
|
1817
1822
|
# This operation requires permission for the `lambda:ListFunctions`
|
1818
1823
|
# action.
|
1819
1824
|
#
|
1820
|
-
# If you are using versioning feature,
|
1821
|
-
#
|
1825
|
+
# If you are using the versioning feature, you can list all of your
|
1826
|
+
# functions or only `$LATEST` versions. For information about the
|
1822
1827
|
# versioning feature, see [AWS Lambda Function Versioning and
|
1823
1828
|
# Aliases][1].
|
1824
1829
|
#
|
@@ -1826,6 +1831,28 @@ module Aws::Lambda
|
|
1826
1831
|
#
|
1827
1832
|
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
1828
1833
|
#
|
1834
|
+
# @option params [String] :master_region
|
1835
|
+
# Optional string. If not specified, will return only regular function
|
1836
|
+
# versions (i.e., non-replicated versions).
|
1837
|
+
#
|
1838
|
+
# Valid values are:
|
1839
|
+
#
|
1840
|
+
# The region from which the functions are replicated. For example, if
|
1841
|
+
# you specify `us-east-1`, only functions replicated from that region
|
1842
|
+
# will be returned.
|
1843
|
+
#
|
1844
|
+
# `ALL` \_ Will return all functions from any region. If specified, you
|
1845
|
+
# also must specify a valid FunctionVersion parameter.
|
1846
|
+
#
|
1847
|
+
# @option params [String] :function_version
|
1848
|
+
# Optional string. If not specified, only the unqualified functions ARNs
|
1849
|
+
# (Amazon Resource Names) will be returned.
|
1850
|
+
#
|
1851
|
+
# Valid value:
|
1852
|
+
#
|
1853
|
+
# `ALL` \_ Will return all versions, including `$LATEST` which will have
|
1854
|
+
# fully qualified ARNs (Amazon Resource Names).
|
1855
|
+
#
|
1829
1856
|
# @option params [String] :marker
|
1830
1857
|
# Optional string. An opaque pagination token returned from a previous
|
1831
1858
|
# `ListFunctions` operation. If present, indicates where to continue the
|
@@ -1860,6 +1887,8 @@ module Aws::Lambda
|
|
1860
1887
|
# @example Request syntax with placeholder values
|
1861
1888
|
#
|
1862
1889
|
# resp = client.list_functions({
|
1890
|
+
# master_region: "MasterRegion",
|
1891
|
+
# function_version: "ALL", # accepts ALL
|
1863
1892
|
# marker: "String",
|
1864
1893
|
# max_items: 1,
|
1865
1894
|
# })
|
@@ -1892,6 +1921,7 @@ module Aws::Lambda
|
|
1892
1921
|
# resp.functions[0].environment.error.message #=> String
|
1893
1922
|
# resp.functions[0].kms_key_arn #=> String
|
1894
1923
|
# resp.functions[0].tracing_config.mode #=> String, one of "Active", "PassThrough"
|
1924
|
+
# resp.functions[0].master_arn #=> String
|
1895
1925
|
#
|
1896
1926
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
|
1897
1927
|
#
|
@@ -1985,7 +2015,7 @@ module Aws::Lambda
|
|
1985
2015
|
# @example Request syntax with placeholder values
|
1986
2016
|
#
|
1987
2017
|
# resp = client.list_versions_by_function({
|
1988
|
-
# function_name: "
|
2018
|
+
# function_name: "NamespacedFunctionName", # required
|
1989
2019
|
# marker: "String",
|
1990
2020
|
# max_items: 1,
|
1991
2021
|
# })
|
@@ -2018,6 +2048,7 @@ module Aws::Lambda
|
|
2018
2048
|
# resp.versions[0].environment.error.message #=> String
|
2019
2049
|
# resp.versions[0].kms_key_arn #=> String
|
2020
2050
|
# resp.versions[0].tracing_config.mode #=> String, one of "Active", "PassThrough"
|
2051
|
+
# resp.versions[0].master_arn #=> String
|
2021
2052
|
#
|
2022
2053
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
|
2023
2054
|
#
|
@@ -2078,6 +2109,7 @@ module Aws::Lambda
|
|
2078
2109
|
# * {Types::FunctionConfiguration#environment #environment} => Types::EnvironmentResponse
|
2079
2110
|
# * {Types::FunctionConfiguration#kms_key_arn #kms_key_arn} => String
|
2080
2111
|
# * {Types::FunctionConfiguration#tracing_config #tracing_config} => Types::TracingConfigResponse
|
2112
|
+
# * {Types::FunctionConfiguration#master_arn #master_arn} => String
|
2081
2113
|
#
|
2082
2114
|
#
|
2083
2115
|
# @example Example: To publish a version of a Lambda function
|
@@ -2142,6 +2174,7 @@ module Aws::Lambda
|
|
2142
2174
|
# resp.environment.error.message #=> String
|
2143
2175
|
# resp.kms_key_arn #=> String
|
2144
2176
|
# resp.tracing_config.mode #=> String, one of "Active", "PassThrough"
|
2177
|
+
# resp.master_arn #=> String
|
2145
2178
|
#
|
2146
2179
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
|
2147
2180
|
#
|
@@ -2209,7 +2242,7 @@ module Aws::Lambda
|
|
2209
2242
|
#
|
2210
2243
|
# resp = client.remove_permission({
|
2211
2244
|
# function_name: "FunctionName", # required
|
2212
|
-
# statement_id: "
|
2245
|
+
# statement_id: "NamespacedStatementId", # required
|
2213
2246
|
# qualifier: "Qualifier",
|
2214
2247
|
# })
|
2215
2248
|
#
|
@@ -2564,6 +2597,7 @@ module Aws::Lambda
|
|
2564
2597
|
# * {Types::FunctionConfiguration#environment #environment} => Types::EnvironmentResponse
|
2565
2598
|
# * {Types::FunctionConfiguration#kms_key_arn #kms_key_arn} => String
|
2566
2599
|
# * {Types::FunctionConfiguration#tracing_config #tracing_config} => Types::TracingConfigResponse
|
2600
|
+
# * {Types::FunctionConfiguration#master_arn #master_arn} => String
|
2567
2601
|
#
|
2568
2602
|
#
|
2569
2603
|
# @example Example: To update a Lambda function's code
|
@@ -2635,6 +2669,7 @@ module Aws::Lambda
|
|
2635
2669
|
# resp.environment.error.message #=> String
|
2636
2670
|
# resp.kms_key_arn #=> String
|
2637
2671
|
# resp.tracing_config.mode #=> String, one of "Active", "PassThrough"
|
2672
|
+
# resp.master_arn #=> String
|
2638
2673
|
#
|
2639
2674
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
|
2640
2675
|
#
|
@@ -2717,17 +2752,16 @@ module Aws::Lambda
|
|
2717
2752
|
# the Python runtime v2.7, set the value to "python2.7". To use the
|
2718
2753
|
# Node.js runtime v6.10, set the value to "nodejs6.10". To use the
|
2719
2754
|
# Node.js runtime v4.3, set the value to "nodejs4.3". To use the
|
2720
|
-
# Python runtime v3.6, set the value to "python3.6".
|
2721
|
-
# runtime v2.7, set the value to "python2.7".
|
2755
|
+
# Python runtime v3.6, set the value to "python3.6".
|
2722
2756
|
#
|
2723
2757
|
# <note markdown="1"> Node v0.10.42 is currently marked as deprecated. You must migrate
|
2724
2758
|
# existing functions to the newer Node.js runtime versions available on
|
2725
2759
|
# AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can
|
2726
2760
|
# request a one-time extension until June 30, 2017 by going to the
|
2727
2761
|
# Lambda console and following the instructions provided. Failure to do
|
2728
|
-
# so will result in an invalid parameter
|
2729
|
-
#
|
2730
|
-
#
|
2762
|
+
# so will result in an invalid parameter error being returned. Note that
|
2763
|
+
# you will have to follow this procedure for each region that contains
|
2764
|
+
# functions written in the Node v0.10.42 runtime.
|
2731
2765
|
#
|
2732
2766
|
# </note>
|
2733
2767
|
#
|
@@ -2763,6 +2797,7 @@ module Aws::Lambda
|
|
2763
2797
|
# * {Types::FunctionConfiguration#environment #environment} => Types::EnvironmentResponse
|
2764
2798
|
# * {Types::FunctionConfiguration#kms_key_arn #kms_key_arn} => String
|
2765
2799
|
# * {Types::FunctionConfiguration#tracing_config #tracing_config} => Types::TracingConfigResponse
|
2800
|
+
# * {Types::FunctionConfiguration#master_arn #master_arn} => String
|
2766
2801
|
#
|
2767
2802
|
#
|
2768
2803
|
# @example Example: To update a Lambda function's configuration
|
@@ -2853,6 +2888,7 @@ module Aws::Lambda
|
|
2853
2888
|
# resp.environment.error.message #=> String
|
2854
2889
|
# resp.kms_key_arn #=> String
|
2855
2890
|
# resp.tracing_config.mode #=> String, one of "Active", "PassThrough"
|
2891
|
+
# resp.master_arn #=> String
|
2856
2892
|
#
|
2857
2893
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
|
2858
2894
|
#
|
@@ -2876,7 +2912,7 @@ module Aws::Lambda
|
|
2876
2912
|
params: params,
|
2877
2913
|
config: config)
|
2878
2914
|
context[:gem_name] = 'aws-sdk-lambda'
|
2879
|
-
context[:gem_version] = '1.0.0.
|
2915
|
+
context[:gem_version] = '1.0.0.rc13'
|
2880
2916
|
Seahorse::Client::Request.new(handlers, context)
|
2881
2917
|
end
|
2882
2918
|
|
@@ -55,6 +55,7 @@ module Aws::Lambda
|
|
55
55
|
FunctionConfiguration = Shapes::StructureShape.new(name: 'FunctionConfiguration')
|
56
56
|
FunctionList = Shapes::ListShape.new(name: 'FunctionList')
|
57
57
|
FunctionName = Shapes::StringShape.new(name: 'FunctionName')
|
58
|
+
FunctionVersion = Shapes::StringShape.new(name: 'FunctionVersion')
|
58
59
|
GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
|
59
60
|
GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
|
60
61
|
GetAliasRequest = Shapes::StructureShape.new(name: 'GetAliasRequest')
|
@@ -95,8 +96,12 @@ module Aws::Lambda
|
|
95
96
|
ListVersionsByFunctionResponse = Shapes::StructureShape.new(name: 'ListVersionsByFunctionResponse')
|
96
97
|
LogType = Shapes::StringShape.new(name: 'LogType')
|
97
98
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
99
|
+
MasterRegion = Shapes::StringShape.new(name: 'MasterRegion')
|
98
100
|
MaxListItems = Shapes::IntegerShape.new(name: 'MaxListItems')
|
99
101
|
MemorySize = Shapes::IntegerShape.new(name: 'MemorySize')
|
102
|
+
NameSpacedFunctionArn = Shapes::StringShape.new(name: 'NameSpacedFunctionArn')
|
103
|
+
NamespacedFunctionName = Shapes::StringShape.new(name: 'NamespacedFunctionName')
|
104
|
+
NamespacedStatementId = Shapes::StringShape.new(name: 'NamespacedStatementId')
|
100
105
|
PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
|
101
106
|
Principal = Shapes::StringShape.new(name: 'Principal')
|
102
107
|
PublishVersionRequest = Shapes::StructureShape.new(name: 'PublishVersionRequest')
|
@@ -256,8 +261,8 @@ module Aws::Lambda
|
|
256
261
|
FunctionCodeLocation.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "Location"))
|
257
262
|
FunctionCodeLocation.struct_class = Types::FunctionCodeLocation
|
258
263
|
|
259
|
-
FunctionConfiguration.add_member(:function_name, Shapes::ShapeRef.new(shape:
|
260
|
-
FunctionConfiguration.add_member(:function_arn, Shapes::ShapeRef.new(shape:
|
264
|
+
FunctionConfiguration.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, location_name: "FunctionName"))
|
265
|
+
FunctionConfiguration.add_member(:function_arn, Shapes::ShapeRef.new(shape: NameSpacedFunctionArn, location_name: "FunctionArn"))
|
261
266
|
FunctionConfiguration.add_member(:runtime, Shapes::ShapeRef.new(shape: Runtime, location_name: "Runtime"))
|
262
267
|
FunctionConfiguration.add_member(:role, Shapes::ShapeRef.new(shape: RoleArn, location_name: "Role"))
|
263
268
|
FunctionConfiguration.add_member(:handler, Shapes::ShapeRef.new(shape: Handler, location_name: "Handler"))
|
@@ -273,6 +278,7 @@ module Aws::Lambda
|
|
273
278
|
FunctionConfiguration.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentResponse, location_name: "Environment"))
|
274
279
|
FunctionConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
|
275
280
|
FunctionConfiguration.add_member(:tracing_config, Shapes::ShapeRef.new(shape: TracingConfigResponse, location_name: "TracingConfig"))
|
281
|
+
FunctionConfiguration.add_member(:master_arn, Shapes::ShapeRef.new(shape: FunctionArn, location_name: "MasterArn"))
|
276
282
|
FunctionConfiguration.struct_class = Types::FunctionConfiguration
|
277
283
|
|
278
284
|
FunctionList.member = Shapes::ShapeRef.new(shape: FunctionConfiguration)
|
@@ -290,11 +296,11 @@ module Aws::Lambda
|
|
290
296
|
GetEventSourceMappingRequest.add_member(:uuid, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "UUID"))
|
291
297
|
GetEventSourceMappingRequest.struct_class = Types::GetEventSourceMappingRequest
|
292
298
|
|
293
|
-
GetFunctionConfigurationRequest.add_member(:function_name, Shapes::ShapeRef.new(shape:
|
299
|
+
GetFunctionConfigurationRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
294
300
|
GetFunctionConfigurationRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
|
295
301
|
GetFunctionConfigurationRequest.struct_class = Types::GetFunctionConfigurationRequest
|
296
302
|
|
297
|
-
GetFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape:
|
303
|
+
GetFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
298
304
|
GetFunctionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
|
299
305
|
GetFunctionRequest.struct_class = Types::GetFunctionRequest
|
300
306
|
|
@@ -303,14 +309,14 @@ module Aws::Lambda
|
|
303
309
|
GetFunctionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
304
310
|
GetFunctionResponse.struct_class = Types::GetFunctionResponse
|
305
311
|
|
306
|
-
GetPolicyRequest.add_member(:function_name, Shapes::ShapeRef.new(shape:
|
312
|
+
GetPolicyRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
307
313
|
GetPolicyRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
|
308
314
|
GetPolicyRequest.struct_class = Types::GetPolicyRequest
|
309
315
|
|
310
316
|
GetPolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
|
311
317
|
GetPolicyResponse.struct_class = Types::GetPolicyResponse
|
312
318
|
|
313
|
-
InvocationRequest.add_member(:function_name, Shapes::ShapeRef.new(shape:
|
319
|
+
InvocationRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
314
320
|
InvocationRequest.add_member(:invocation_type, Shapes::ShapeRef.new(shape: InvocationType, location: "header", location_name: "X-Amz-Invocation-Type"))
|
315
321
|
InvocationRequest.add_member(:log_type, Shapes::ShapeRef.new(shape: LogType, location: "header", location_name: "X-Amz-Log-Type"))
|
316
322
|
InvocationRequest.add_member(:client_context, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "X-Amz-Client-Context"))
|
@@ -328,7 +334,7 @@ module Aws::Lambda
|
|
328
334
|
InvocationResponse[:payload] = :payload
|
329
335
|
InvocationResponse[:payload_member] = InvocationResponse.member(:payload)
|
330
336
|
|
331
|
-
InvokeAsyncRequest.add_member(:function_name, Shapes::ShapeRef.new(shape:
|
337
|
+
InvokeAsyncRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
332
338
|
InvokeAsyncRequest.add_member(:invoke_args, Shapes::ShapeRef.new(shape: BlobStream, required: true, location_name: "InvokeArgs"))
|
333
339
|
InvokeAsyncRequest.struct_class = Types::InvokeAsyncRequest
|
334
340
|
InvokeAsyncRequest[:payload] = :invoke_args
|
@@ -357,6 +363,8 @@ module Aws::Lambda
|
|
357
363
|
ListEventSourceMappingsResponse.add_member(:event_source_mappings, Shapes::ShapeRef.new(shape: EventSourceMappingsList, location_name: "EventSourceMappings"))
|
358
364
|
ListEventSourceMappingsResponse.struct_class = Types::ListEventSourceMappingsResponse
|
359
365
|
|
366
|
+
ListFunctionsRequest.add_member(:master_region, Shapes::ShapeRef.new(shape: MasterRegion, location: "querystring", location_name: "MasterRegion"))
|
367
|
+
ListFunctionsRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: FunctionVersion, location: "querystring", location_name: "FunctionVersion"))
|
360
368
|
ListFunctionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
|
361
369
|
ListFunctionsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
|
362
370
|
ListFunctionsRequest.struct_class = Types::ListFunctionsRequest
|
@@ -371,7 +379,7 @@ module Aws::Lambda
|
|
371
379
|
ListTagsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
372
380
|
ListTagsResponse.struct_class = Types::ListTagsResponse
|
373
381
|
|
374
|
-
ListVersionsByFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape:
|
382
|
+
ListVersionsByFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
375
383
|
ListVersionsByFunctionRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
|
376
384
|
ListVersionsByFunctionRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
|
377
385
|
ListVersionsByFunctionRequest.struct_class = Types::ListVersionsByFunctionRequest
|
@@ -386,7 +394,7 @@ module Aws::Lambda
|
|
386
394
|
PublishVersionRequest.struct_class = Types::PublishVersionRequest
|
387
395
|
|
388
396
|
RemovePermissionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
389
|
-
RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape:
|
397
|
+
RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: NamespacedStatementId, required: true, location: "uri", location_name: "StatementId"))
|
390
398
|
RemovePermissionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
|
391
399
|
RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
|
392
400
|
|
@@ -709,6 +717,7 @@ module Aws::Lambda
|
|
709
717
|
o.output = Shapes::ShapeRef.new(shape: ListFunctionsResponse)
|
710
718
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
711
719
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
720
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
712
721
|
o[:pager] = Aws::Pager.new(
|
713
722
|
limit_key: "max_items",
|
714
723
|
tokens: {
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -929,6 +929,10 @@ module Aws::Lambda
|
|
929
929
|
# The parent object that contains your function's tracing settings.
|
930
930
|
# @return [Types::TracingConfigResponse]
|
931
931
|
#
|
932
|
+
# @!attribute [rw] master_arn
|
933
|
+
# Returns the ARN (Amazon Resource Name) of the master function.
|
934
|
+
# @return [String]
|
935
|
+
#
|
932
936
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
|
933
937
|
#
|
934
938
|
class FunctionConfiguration < Struct.new(
|
@@ -948,7 +952,8 @@ module Aws::Lambda
|
|
948
952
|
:dead_letter_config,
|
949
953
|
:environment,
|
950
954
|
:kms_key_arn,
|
951
|
-
:tracing_config
|
955
|
+
:tracing_config,
|
956
|
+
:master_arn)
|
952
957
|
include Aws::Structure
|
953
958
|
end
|
954
959
|
|
@@ -1026,7 +1031,7 @@ module Aws::Lambda
|
|
1026
1031
|
# data as a hash:
|
1027
1032
|
#
|
1028
1033
|
# {
|
1029
|
-
# function_name: "
|
1034
|
+
# function_name: "NamespacedFunctionName", # required
|
1030
1035
|
# qualifier: "Qualifier",
|
1031
1036
|
# }
|
1032
1037
|
#
|
@@ -1068,7 +1073,7 @@ module Aws::Lambda
|
|
1068
1073
|
# data as a hash:
|
1069
1074
|
#
|
1070
1075
|
# {
|
1071
|
-
# function_name: "
|
1076
|
+
# function_name: "NamespacedFunctionName", # required
|
1072
1077
|
# qualifier: "Qualifier",
|
1073
1078
|
# }
|
1074
1079
|
#
|
@@ -1131,7 +1136,7 @@ module Aws::Lambda
|
|
1131
1136
|
# data as a hash:
|
1132
1137
|
#
|
1133
1138
|
# {
|
1134
|
-
# function_name: "
|
1139
|
+
# function_name: "NamespacedFunctionName", # required
|
1135
1140
|
# qualifier: "Qualifier",
|
1136
1141
|
# }
|
1137
1142
|
#
|
@@ -1183,7 +1188,7 @@ module Aws::Lambda
|
|
1183
1188
|
# data as a hash:
|
1184
1189
|
#
|
1185
1190
|
# {
|
1186
|
-
# function_name: "
|
1191
|
+
# function_name: "NamespacedFunctionName", # required
|
1187
1192
|
# invocation_type: "Event", # accepts Event, RequestResponse, DryRun
|
1188
1193
|
# log_type: "None", # accepts None, Tail
|
1189
1194
|
# client_context: "String",
|
@@ -1321,7 +1326,7 @@ module Aws::Lambda
|
|
1321
1326
|
# data as a hash:
|
1322
1327
|
#
|
1323
1328
|
# {
|
1324
|
-
# function_name: "
|
1329
|
+
# function_name: "NamespacedFunctionName", # required
|
1325
1330
|
# invoke_args: "data", # required
|
1326
1331
|
# }
|
1327
1332
|
#
|
@@ -1490,10 +1495,36 @@ module Aws::Lambda
|
|
1490
1495
|
# data as a hash:
|
1491
1496
|
#
|
1492
1497
|
# {
|
1498
|
+
# master_region: "MasterRegion",
|
1499
|
+
# function_version: "ALL", # accepts ALL
|
1493
1500
|
# marker: "String",
|
1494
1501
|
# max_items: 1,
|
1495
1502
|
# }
|
1496
1503
|
#
|
1504
|
+
# @!attribute [rw] master_region
|
1505
|
+
# Optional string. If not specified, will return only regular function
|
1506
|
+
# versions (i.e., non-replicated versions).
|
1507
|
+
#
|
1508
|
+
# Valid values are:
|
1509
|
+
#
|
1510
|
+
# The region from which the functions are replicated. For example, if
|
1511
|
+
# you specify `us-east-1`, only functions replicated from that region
|
1512
|
+
# will be returned.
|
1513
|
+
#
|
1514
|
+
# `ALL` \_ Will return all functions from any region. If specified,
|
1515
|
+
# you also must specify a valid FunctionVersion parameter.
|
1516
|
+
# @return [String]
|
1517
|
+
#
|
1518
|
+
# @!attribute [rw] function_version
|
1519
|
+
# Optional string. If not specified, only the unqualified functions
|
1520
|
+
# ARNs (Amazon Resource Names) will be returned.
|
1521
|
+
#
|
1522
|
+
# Valid value:
|
1523
|
+
#
|
1524
|
+
# `ALL` \_ Will return all versions, including `$LATEST` which will
|
1525
|
+
# have fully qualified ARNs (Amazon Resource Names).
|
1526
|
+
# @return [String]
|
1527
|
+
#
|
1497
1528
|
# @!attribute [rw] marker
|
1498
1529
|
# Optional string. An opaque pagination token returned from a previous
|
1499
1530
|
# `ListFunctions` operation. If present, indicates where to continue
|
@@ -1509,6 +1540,8 @@ module Aws::Lambda
|
|
1509
1540
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsRequest AWS API Documentation
|
1510
1541
|
#
|
1511
1542
|
class ListFunctionsRequest < Struct.new(
|
1543
|
+
:master_region,
|
1544
|
+
:function_version,
|
1512
1545
|
:marker,
|
1513
1546
|
:max_items)
|
1514
1547
|
include Aws::Structure
|
@@ -1566,7 +1599,7 @@ module Aws::Lambda
|
|
1566
1599
|
# data as a hash:
|
1567
1600
|
#
|
1568
1601
|
# {
|
1569
|
-
# function_name: "
|
1602
|
+
# function_name: "NamespacedFunctionName", # required
|
1570
1603
|
# marker: "String",
|
1571
1604
|
# max_items: 1,
|
1572
1605
|
# }
|
@@ -1665,7 +1698,7 @@ module Aws::Lambda
|
|
1665
1698
|
#
|
1666
1699
|
# {
|
1667
1700
|
# function_name: "FunctionName", # required
|
1668
|
-
# statement_id: "
|
1701
|
+
# statement_id: "NamespacedStatementId", # required
|
1669
1702
|
# qualifier: "Qualifier",
|
1670
1703
|
# }
|
1671
1704
|
#
|
@@ -2063,17 +2096,16 @@ module Aws::Lambda
|
|
2063
2096
|
# use the Python runtime v2.7, set the value to "python2.7". To use
|
2064
2097
|
# the Node.js runtime v6.10, set the value to "nodejs6.10". To use
|
2065
2098
|
# the Node.js runtime v4.3, set the value to "nodejs4.3". To use the
|
2066
|
-
# Python runtime v3.6, set the value to "python3.6".
|
2067
|
-
# Python runtime v2.7, set the value to "python2.7".
|
2099
|
+
# Python runtime v3.6, set the value to "python3.6".
|
2068
2100
|
#
|
2069
2101
|
# <note markdown="1"> Node v0.10.42 is currently marked as deprecated. You must migrate
|
2070
2102
|
# existing functions to the newer Node.js runtime versions available
|
2071
2103
|
# on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can
|
2072
2104
|
# request a one-time extension until June 30, 2017 by going to the
|
2073
2105
|
# Lambda console and following the instructions provided. Failure to
|
2074
|
-
# do so will result in an invalid parameter
|
2075
|
-
#
|
2076
|
-
#
|
2106
|
+
# do so will result in an invalid parameter error being returned. Note
|
2107
|
+
# that you will have to follow this procedure for each region that
|
2108
|
+
# contains functions written in the Node v0.10.42 runtime.
|
2077
2109
|
#
|
2078
2110
|
# </note>
|
2079
2111
|
# @return [String]
|
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.0.0.
|
4
|
+
version: 1.0.0.rc13
|
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: 2017-07-
|
11
|
+
date: 2017-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|