aws-sdk-lambda 1.4.0 → 1.5.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 +95 -41
- data/lib/aws-sdk-lambda/types.rb +83 -24
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7127864b0764839c85fbca7bbcec6544fad2b433
|
4
|
+
data.tar.gz: 2a572aa88ff9ddafd93fb9e800f37c635544dd19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e035f8579511ce07372e65b12616b82a2922fe3701d3b7d66fcdfeec0797004ca0dbdbf305dc20151ac03b193122f5580df38349bc333ec7ce9c250f0f00c41
|
7
|
+
data.tar.gz: 888244fd6f07ab8931101e127917e52c9b52531b2b481056f78625992e50289c1d9a353362c9fbbd6a6362826a06f4fb0d45dfa29694ba092db7b5328d05944c
|
data/lib/aws-sdk-lambda.rb
CHANGED
@@ -152,8 +152,7 @@ module Aws::Lambda
|
|
152
152
|
# function. Each permission you add to the resource policy allows an
|
153
153
|
# event source, permission to invoke the Lambda function.
|
154
154
|
#
|
155
|
-
# For information about the push model, see [
|
156
|
-
# Works][1].
|
155
|
+
# For information about the push model, see [Lambda Functions][1].
|
157
156
|
#
|
158
157
|
# If you are using versioning, the permissions you add are specific to
|
159
158
|
# the Lambda function version or alias you specify in the
|
@@ -379,29 +378,24 @@ module Aws::Lambda
|
|
379
378
|
# This association between a stream source and a Lambda function is
|
380
379
|
# called the event source mapping.
|
381
380
|
#
|
382
|
-
# This event source mapping is relevant only in the AWS Lambda pull
|
383
|
-
# model, where AWS Lambda invokes the function. For more information,
|
384
|
-
# see [AWS Lambda: How it Works][1] in the *AWS Lambda Developer Guide*.
|
385
|
-
#
|
386
381
|
# You provide mapping information (for example, which stream to read
|
387
382
|
# from and which Lambda function to invoke) in the request body.
|
388
383
|
#
|
389
384
|
# Each event source, such as an Amazon Kinesis or a DynamoDB stream, can
|
390
|
-
# be associated with multiple AWS Lambda
|
385
|
+
# be associated with multiple AWS Lambda functions. A given Lambda
|
391
386
|
# function can be associated with multiple AWS event sources.
|
392
387
|
#
|
393
388
|
# If you are using versioning, you can specify a specific function
|
394
389
|
# version or an alias via the function name parameter. For more
|
395
390
|
# information about versioning, see [AWS Lambda Function Versioning and
|
396
|
-
# Aliases][
|
391
|
+
# Aliases][1].
|
397
392
|
#
|
398
393
|
# This operation requires permission for the
|
399
394
|
# `lambda:CreateEventSourceMapping` action.
|
400
395
|
#
|
401
396
|
#
|
402
397
|
#
|
403
|
-
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/
|
404
|
-
# [2]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
398
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html
|
405
399
|
#
|
406
400
|
# @option params [required, String] :event_source_arn
|
407
401
|
# The Amazon Resource Name (ARN) of the Amazon Kinesis or the Amazon
|
@@ -445,13 +439,17 @@ module Aws::Lambda
|
|
445
439
|
# records.
|
446
440
|
#
|
447
441
|
# @option params [required, String] :starting_position
|
448
|
-
# The position in the stream where AWS Lambda should
|
449
|
-
#
|
450
|
-
# [
|
442
|
+
# The position in the DynamoDB or Kinesis stream where AWS Lambda should
|
443
|
+
# start reading. For more information, see [GetShardIterator][1] in the
|
444
|
+
# *Amazon Kinesis API Reference Guide* or [GetShardIterator][2] in the
|
445
|
+
# *Amazon DynamoDB API Reference Guide*. The `AT_TIMESTAMP` value is
|
446
|
+
# supported only for [Kinesis streams][3].
|
451
447
|
#
|
452
448
|
#
|
453
449
|
#
|
454
450
|
# [1]: http://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType
|
451
|
+
# [2]: http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_GetShardIterator.html
|
452
|
+
# [3]: http://docs.aws.amazon.com/streams/latest/dev/amazon-kinesis-streams.html
|
455
453
|
#
|
456
454
|
# @option params [Time,DateTime,Date,Integer,String] :starting_position_timestamp
|
457
455
|
# The timestamp of the data record from which to start reading. Used
|
@@ -459,11 +457,12 @@ module Aws::Lambda
|
|
459
457
|
# exact timestamp does not exist, the iterator returned is for the next
|
460
458
|
# (later) record. If the timestamp is older than the current trim
|
461
459
|
# horizon, the iterator returned is for the oldest untrimmed data record
|
462
|
-
# (TRIM\_HORIZON). Valid only for Kinesis streams.
|
460
|
+
# (TRIM\_HORIZON). Valid only for [Kinesis streams][2].
|
463
461
|
#
|
464
462
|
#
|
465
463
|
#
|
466
464
|
# [1]: http://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType
|
465
|
+
# [2]: http://docs.aws.amazon.com/streams/latest/dev/amazon-kinesis-streams.html
|
467
466
|
#
|
468
467
|
# @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
469
468
|
#
|
@@ -539,7 +538,9 @@ module Aws::Lambda
|
|
539
538
|
# To use the Python runtime v3.6, set the value to "python3.6". To use
|
540
539
|
# the Python runtime v2.7, set the value to "python2.7". To use the
|
541
540
|
# Node.js runtime v6.10, set the value to "nodejs6.10". To use the
|
542
|
-
# Node.js runtime v4.3, set the value to "nodejs4.3".
|
541
|
+
# Node.js runtime v4.3, set the value to "nodejs4.3". To use the .NET
|
542
|
+
# Core runtime v1.0, set the value to "dotnetcore1.0". To use the .NET
|
543
|
+
# Core runtime v2.0, set the value to "dotnetcore2.0".
|
543
544
|
#
|
544
545
|
# <note markdown="1"> Node v0.10.42 is currently marked as deprecated. You must migrate
|
545
546
|
# existing functions to the newer Node.js runtime versions available on
|
@@ -604,7 +605,8 @@ module Aws::Lambda
|
|
604
605
|
#
|
605
606
|
# @option params [Types::DeadLetterConfig] :dead_letter_config
|
606
607
|
# The parent object that contains the target ARN (Amazon Resource Name)
|
607
|
-
# of an Amazon SQS queue or Amazon SNS topic.
|
608
|
+
# of an Amazon SQS queue or Amazon SNS topic. For more information, see
|
609
|
+
# dlq.
|
608
610
|
#
|
609
611
|
# @option params [Types::Environment] :environment
|
610
612
|
# The parent object that contains your environment's configuration
|
@@ -619,7 +621,13 @@ module Aws::Lambda
|
|
619
621
|
# The parent object that contains your function's tracing settings.
|
620
622
|
#
|
621
623
|
# @option params [Hash<String,String>] :tags
|
622
|
-
# The list of tags (key-value pairs) assigned to the new function.
|
624
|
+
# The list of tags (key-value pairs) assigned to the new function. For
|
625
|
+
# more information, see [Tagging Lambda Functions][1] in the **AWS
|
626
|
+
# Lambda Developer Guide**.
|
627
|
+
#
|
628
|
+
#
|
629
|
+
#
|
630
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
623
631
|
#
|
624
632
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
625
633
|
#
|
@@ -685,7 +693,7 @@ module Aws::Lambda
|
|
685
693
|
#
|
686
694
|
# resp = client.create_function({
|
687
695
|
# function_name: "FunctionName", # required
|
688
|
-
# runtime: "nodejs", # required, accepts nodejs, nodejs4.3, nodejs6.10, java8, python2.7, python3.6, dotnetcore1.0, dotnetcore2.0, nodejs4.3-edge, go1.x
|
696
|
+
# runtime: "nodejs", # required, accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, java8, python2.7, python3.6, dotnetcore1.0, dotnetcore2.0, nodejs4.3-edge, go1.x
|
689
697
|
# role: "RoleArn", # required
|
690
698
|
# handler: "Handler", # required
|
691
699
|
# code: { # required
|
@@ -723,7 +731,7 @@ module Aws::Lambda
|
|
723
731
|
#
|
724
732
|
# resp.function_name #=> String
|
725
733
|
# resp.function_arn #=> String
|
726
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
734
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
727
735
|
# resp.role #=> String
|
728
736
|
# resp.handler #=> String
|
729
737
|
# resp.code_size #=> Integer
|
@@ -1265,7 +1273,7 @@ module Aws::Lambda
|
|
1265
1273
|
#
|
1266
1274
|
# resp.configuration.function_name #=> String
|
1267
1275
|
# resp.configuration.function_arn #=> String
|
1268
|
-
# 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"
|
1276
|
+
# resp.configuration.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
1269
1277
|
# resp.configuration.role #=> String
|
1270
1278
|
# resp.configuration.handler #=> String
|
1271
1279
|
# resp.configuration.code_size #=> Integer
|
@@ -1413,7 +1421,7 @@ module Aws::Lambda
|
|
1413
1421
|
#
|
1414
1422
|
# resp.function_name #=> String
|
1415
1423
|
# resp.function_arn #=> String
|
1416
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
1424
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
1417
1425
|
# resp.role #=> String
|
1418
1426
|
# resp.handler #=> String
|
1419
1427
|
# resp.code_size #=> Integer
|
@@ -1976,7 +1984,7 @@ module Aws::Lambda
|
|
1976
1984
|
# resp.functions #=> Array
|
1977
1985
|
# resp.functions[0].function_name #=> String
|
1978
1986
|
# resp.functions[0].function_arn #=> String
|
1979
|
-
# 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"
|
1987
|
+
# resp.functions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
1980
1988
|
# resp.functions[0].role #=> String
|
1981
1989
|
# resp.functions[0].handler #=> String
|
1982
1990
|
# resp.functions[0].code_size #=> Integer
|
@@ -2011,10 +2019,22 @@ module Aws::Lambda
|
|
2011
2019
|
end
|
2012
2020
|
|
2013
2021
|
# Returns a list of tags assigned to a function when supplied the
|
2014
|
-
# function ARN (Amazon Resource Name).
|
2022
|
+
# function ARN (Amazon Resource Name). For more information on Tagging,
|
2023
|
+
# see [Tagging Lambda Functions][1] in the **AWS Lambda Developer
|
2024
|
+
# Guide**.
|
2025
|
+
#
|
2026
|
+
#
|
2027
|
+
#
|
2028
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
2015
2029
|
#
|
2016
2030
|
# @option params [required, String] :resource
|
2017
|
-
# The ARN (Amazon Resource Name) of the function.
|
2031
|
+
# The ARN (Amazon Resource Name) of the function. For more information,
|
2032
|
+
# see [Tagging Lambda Functions][1] in the **AWS Lambda Developer
|
2033
|
+
# Guide**.
|
2034
|
+
#
|
2035
|
+
#
|
2036
|
+
#
|
2037
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
2018
2038
|
#
|
2019
2039
|
# @return [Types::ListTagsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2020
2040
|
#
|
@@ -2104,7 +2124,7 @@ module Aws::Lambda
|
|
2104
2124
|
# resp.versions #=> Array
|
2105
2125
|
# resp.versions[0].function_name #=> String
|
2106
2126
|
# resp.versions[0].function_arn #=> String
|
2107
|
-
# 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"
|
2127
|
+
# resp.versions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
2108
2128
|
# resp.versions[0].role #=> String
|
2109
2129
|
# resp.versions[0].handler #=> String
|
2110
2130
|
# resp.versions[0].code_size #=> Integer
|
@@ -2242,7 +2262,7 @@ module Aws::Lambda
|
|
2242
2262
|
#
|
2243
2263
|
# resp.function_name #=> String
|
2244
2264
|
# resp.function_arn #=> String
|
2245
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
2265
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
2246
2266
|
# resp.role #=> String
|
2247
2267
|
# resp.handler #=> String
|
2248
2268
|
# resp.code_size #=> Integer
|
@@ -2397,14 +2417,30 @@ module Aws::Lambda
|
|
2397
2417
|
# Creates a list of tags (key-value pairs) on the Lambda function.
|
2398
2418
|
# Requires the Lambda function ARN (Amazon Resource Name). If a key is
|
2399
2419
|
# specified without a value, Lambda creates a tag with the specified key
|
2400
|
-
# and a value of null.
|
2420
|
+
# and a value of null. For more information, see [Tagging Lambda
|
2421
|
+
# Functions][1] in the **AWS Lambda Developer Guide**.
|
2422
|
+
#
|
2423
|
+
#
|
2424
|
+
#
|
2425
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
2401
2426
|
#
|
2402
2427
|
# @option params [required, String] :resource
|
2403
|
-
# The ARN (Amazon Resource Name) of the Lambda function.
|
2428
|
+
# The ARN (Amazon Resource Name) of the Lambda function. For more
|
2429
|
+
# information, see [Tagging Lambda Functions][1] in the **AWS Lambda
|
2430
|
+
# Developer Guide**.
|
2431
|
+
#
|
2432
|
+
#
|
2433
|
+
#
|
2434
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
2404
2435
|
#
|
2405
2436
|
# @option params [required, Hash<String,String>] :tags
|
2406
2437
|
# The list of tags (key-value pairs) you are assigning to the Lambda
|
2407
|
-
# function.
|
2438
|
+
# function. For more information, see [Tagging Lambda Functions][1] in
|
2439
|
+
# the **AWS Lambda Developer Guide**.
|
2440
|
+
#
|
2441
|
+
#
|
2442
|
+
#
|
2443
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
2408
2444
|
#
|
2409
2445
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2410
2446
|
#
|
@@ -2427,13 +2463,30 @@ module Aws::Lambda
|
|
2427
2463
|
end
|
2428
2464
|
|
2429
2465
|
# Removes tags from a Lambda function. Requires the function ARN (Amazon
|
2430
|
-
# Resource Name).
|
2466
|
+
# Resource Name). For more information, see [Tagging Lambda
|
2467
|
+
# Functions][1] in the **AWS Lambda Developer Guide**.
|
2468
|
+
#
|
2469
|
+
#
|
2470
|
+
#
|
2471
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
2431
2472
|
#
|
2432
2473
|
# @option params [required, String] :resource
|
2433
|
-
# The ARN (Amazon Resource Name) of the function.
|
2474
|
+
# The ARN (Amazon Resource Name) of the function. For more information,
|
2475
|
+
# see [Tagging Lambda Functions][1] in the **AWS Lambda Developer
|
2476
|
+
# Guide**.
|
2477
|
+
#
|
2478
|
+
#
|
2479
|
+
#
|
2480
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
2434
2481
|
#
|
2435
2482
|
# @option params [required, Array<String>] :tag_keys
|
2436
|
-
# The list of tag keys to be deleted from the function.
|
2483
|
+
# The list of tag keys to be deleted from the function. For more
|
2484
|
+
# information, see [Tagging Lambda Functions][1] in the **AWS Lambda
|
2485
|
+
# Developer Guide**.
|
2486
|
+
#
|
2487
|
+
#
|
2488
|
+
#
|
2489
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
2437
2490
|
#
|
2438
2491
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2439
2492
|
#
|
@@ -2708,8 +2761,7 @@ module Aws::Lambda
|
|
2708
2761
|
# you are using the web API directly, the contents of the zip file must
|
2709
2762
|
# be base64-encoded. If you are using the AWS SDKs or the AWS CLI, the
|
2710
2763
|
# SDKs or CLI will do the encoding for you. For more information about
|
2711
|
-
# creating a .zip file, see [Execution Permissions][1]
|
2712
|
-
# Lambda Developer Guide*.
|
2764
|
+
# creating a .zip file, see [Execution Permissions][1].
|
2713
2765
|
#
|
2714
2766
|
#
|
2715
2767
|
#
|
@@ -2818,7 +2870,7 @@ module Aws::Lambda
|
|
2818
2870
|
#
|
2819
2871
|
# resp.function_name #=> String
|
2820
2872
|
# resp.function_arn #=> String
|
2821
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
2873
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
2822
2874
|
# resp.role #=> String
|
2823
2875
|
# resp.handler #=> String
|
2824
2876
|
# resp.code_size #=> Integer
|
@@ -2923,8 +2975,9 @@ module Aws::Lambda
|
|
2923
2975
|
# To use the Python runtime v3.6, set the value to "python3.6". To use
|
2924
2976
|
# the Python runtime v2.7, set the value to "python2.7". To use the
|
2925
2977
|
# Node.js runtime v6.10, set the value to "nodejs6.10". To use the
|
2926
|
-
# Node.js runtime v4.3, set the value to "nodejs4.3". To use the
|
2927
|
-
#
|
2978
|
+
# Node.js runtime v4.3, set the value to "nodejs4.3". To use the .NET
|
2979
|
+
# Core runtime v1.0, set the value to "dotnetcore1.0". To use the .NET
|
2980
|
+
# Core runtime v2.0, set the value to "dotnetcore2.0".
|
2928
2981
|
#
|
2929
2982
|
# <note markdown="1"> Node v0.10.42 is currently marked as deprecated. You must migrate
|
2930
2983
|
# existing functions to the newer Node.js runtime versions available on
|
@@ -2937,7 +2990,8 @@ module Aws::Lambda
|
|
2937
2990
|
#
|
2938
2991
|
# @option params [Types::DeadLetterConfig] :dead_letter_config
|
2939
2992
|
# The parent object that contains the target ARN (Amazon Resource Name)
|
2940
|
-
# of an Amazon SQS queue or Amazon SNS topic.
|
2993
|
+
# of an Amazon SQS queue or Amazon SNS topic. For more information, see
|
2994
|
+
# dlq.
|
2941
2995
|
#
|
2942
2996
|
# @option params [String] :kms_key_arn
|
2943
2997
|
# The Amazon Resource Name (ARN) of the KMS key used to encrypt your
|
@@ -3030,7 +3084,7 @@ module Aws::Lambda
|
|
3030
3084
|
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
3031
3085
|
# },
|
3032
3086
|
# },
|
3033
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, java8, python2.7, python3.6, dotnetcore1.0, dotnetcore2.0, nodejs4.3-edge, go1.x
|
3087
|
+
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, java8, python2.7, python3.6, dotnetcore1.0, dotnetcore2.0, nodejs4.3-edge, go1.x
|
3034
3088
|
# dead_letter_config: {
|
3035
3089
|
# target_arn: "ResourceArn",
|
3036
3090
|
# },
|
@@ -3045,7 +3099,7 @@ module Aws::Lambda
|
|
3045
3099
|
#
|
3046
3100
|
# resp.function_name #=> String
|
3047
3101
|
# resp.function_arn #=> String
|
3048
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
3102
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "java8", "python2.7", "python3.6", "dotnetcore1.0", "dotnetcore2.0", "nodejs4.3-edge", "go1.x"
|
3049
3103
|
# resp.role #=> String
|
3050
3104
|
# resp.handler #=> String
|
3051
3105
|
# resp.code_size #=> Integer
|
@@ -3092,7 +3146,7 @@ module Aws::Lambda
|
|
3092
3146
|
params: params,
|
3093
3147
|
config: config)
|
3094
3148
|
context[:gem_name] = 'aws-sdk-lambda'
|
3095
|
-
context[:gem_version] = '1.
|
3149
|
+
context[:gem_version] = '1.5.0'
|
3096
3150
|
Seahorse::Client::Request.new(handlers, context)
|
3097
3151
|
end
|
3098
3152
|
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -404,13 +404,17 @@ module Aws::Lambda
|
|
404
404
|
# @return [Integer]
|
405
405
|
#
|
406
406
|
# @!attribute [rw] starting_position
|
407
|
-
# The position in the stream where AWS Lambda
|
408
|
-
#
|
409
|
-
# [
|
407
|
+
# The position in the DynamoDB or Kinesis stream where AWS Lambda
|
408
|
+
# should start reading. For more information, see
|
409
|
+
# [GetShardIterator][1] in the *Amazon Kinesis API Reference Guide* or
|
410
|
+
# [GetShardIterator][2] in the *Amazon DynamoDB API Reference Guide*.
|
411
|
+
# The `AT_TIMESTAMP` value is supported only for [Kinesis streams][3].
|
410
412
|
#
|
411
413
|
#
|
412
414
|
#
|
413
415
|
# [1]: http://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType
|
416
|
+
# [2]: http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_GetShardIterator.html
|
417
|
+
# [3]: http://docs.aws.amazon.com/streams/latest/dev/amazon-kinesis-streams.html
|
414
418
|
# @return [String]
|
415
419
|
#
|
416
420
|
# @!attribute [rw] starting_position_timestamp
|
@@ -419,11 +423,12 @@ module Aws::Lambda
|
|
419
423
|
# exact timestamp does not exist, the iterator returned is for the
|
420
424
|
# next (later) record. If the timestamp is older than the current trim
|
421
425
|
# horizon, the iterator returned is for the oldest untrimmed data
|
422
|
-
# record (TRIM\_HORIZON). Valid only for Kinesis streams.
|
426
|
+
# record (TRIM\_HORIZON). Valid only for [Kinesis streams][2].
|
423
427
|
#
|
424
428
|
#
|
425
429
|
#
|
426
430
|
# [1]: http://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType
|
431
|
+
# [2]: http://docs.aws.amazon.com/streams/latest/dev/amazon-kinesis-streams.html
|
427
432
|
# @return [Time]
|
428
433
|
#
|
429
434
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
|
@@ -443,7 +448,7 @@ module Aws::Lambda
|
|
443
448
|
#
|
444
449
|
# {
|
445
450
|
# function_name: "FunctionName", # required
|
446
|
-
# runtime: "nodejs", # required, accepts nodejs, nodejs4.3, nodejs6.10, java8, python2.7, python3.6, dotnetcore1.0, dotnetcore2.0, nodejs4.3-edge, go1.x
|
451
|
+
# runtime: "nodejs", # required, accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, java8, python2.7, python3.6, dotnetcore1.0, dotnetcore2.0, nodejs4.3-edge, go1.x
|
447
452
|
# role: "RoleArn", # required
|
448
453
|
# handler: "Handler", # required
|
449
454
|
# code: { # required
|
@@ -492,7 +497,9 @@ module Aws::Lambda
|
|
492
497
|
# To use the Python runtime v3.6, set the value to "python3.6". To
|
493
498
|
# use the Python runtime v2.7, set the value to "python2.7". To use
|
494
499
|
# the Node.js runtime v6.10, set the value to "nodejs6.10". To use
|
495
|
-
# the Node.js runtime v4.3, set the value to "nodejs4.3".
|
500
|
+
# the Node.js runtime v4.3, set the value to "nodejs4.3". To use the
|
501
|
+
# .NET Core runtime v1.0, set the value to "dotnetcore1.0". To use
|
502
|
+
# the .NET Core runtime v2.0, set the value to "dotnetcore2.0".
|
496
503
|
#
|
497
504
|
# <note markdown="1"> Node v0.10.42 is currently marked as deprecated. You must migrate
|
498
505
|
# existing functions to the newer Node.js runtime versions available
|
@@ -566,7 +573,8 @@ module Aws::Lambda
|
|
566
573
|
#
|
567
574
|
# @!attribute [rw] dead_letter_config
|
568
575
|
# The parent object that contains the target ARN (Amazon Resource
|
569
|
-
# Name) of an Amazon SQS queue or Amazon SNS topic.
|
576
|
+
# Name) of an Amazon SQS queue or Amazon SNS topic. For more
|
577
|
+
# information, see dlq.
|
570
578
|
# @return [Types::DeadLetterConfig]
|
571
579
|
#
|
572
580
|
# @!attribute [rw] environment
|
@@ -585,7 +593,13 @@ module Aws::Lambda
|
|
585
593
|
# @return [Types::TracingConfig]
|
586
594
|
#
|
587
595
|
# @!attribute [rw] tags
|
588
|
-
# The list of tags (key-value pairs) assigned to the new function.
|
596
|
+
# The list of tags (key-value pairs) assigned to the new function. For
|
597
|
+
# more information, see [Tagging Lambda Functions][1] in the **AWS
|
598
|
+
# Lambda Developer Guide**.
|
599
|
+
#
|
600
|
+
#
|
601
|
+
#
|
602
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
589
603
|
# @return [Hash<String,String>]
|
590
604
|
#
|
591
605
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
|
@@ -609,8 +623,9 @@ module Aws::Lambda
|
|
609
623
|
include Aws::Structure
|
610
624
|
end
|
611
625
|
|
612
|
-
# The
|
613
|
-
#
|
626
|
+
# The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS
|
627
|
+
# topic you specify as your Dead Letter Queue (DLQ). For more
|
628
|
+
# information, see dlq.
|
614
629
|
#
|
615
630
|
# @note When making an API call, you may pass DeadLetterConfig
|
616
631
|
# data as a hash:
|
@@ -621,7 +636,8 @@ module Aws::Lambda
|
|
621
636
|
#
|
622
637
|
# @!attribute [rw] target_arn
|
623
638
|
# The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS
|
624
|
-
# topic you specify as your Dead Letter Queue (DLQ).
|
639
|
+
# topic you specify as your Dead Letter Queue (DLQ). dlq. For more
|
640
|
+
# information, see dlq.
|
625
641
|
# @return [String]
|
626
642
|
#
|
627
643
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeadLetterConfig AWS API Documentation
|
@@ -886,7 +902,7 @@ module Aws::Lambda
|
|
886
902
|
# must be base64-encoded. If you are using the AWS SDKs or the AWS
|
887
903
|
# CLI, the SDKs or CLI will do the encoding for you. For more
|
888
904
|
# information about creating a .zip file, see [Execution
|
889
|
-
# Permissions][1] in the
|
905
|
+
# Permissions][1] in the **AWS Lambda Developer Guide**.
|
890
906
|
#
|
891
907
|
#
|
892
908
|
#
|
@@ -1009,7 +1025,8 @@ module Aws::Lambda
|
|
1009
1025
|
#
|
1010
1026
|
# @!attribute [rw] dead_letter_config
|
1011
1027
|
# The parent object that contains the target ARN (Amazon Resource
|
1012
|
-
# Name) of an Amazon SQS queue or Amazon SNS topic.
|
1028
|
+
# Name) of an Amazon SQS queue or Amazon SNS topic. For more
|
1029
|
+
# information, see dlq.
|
1013
1030
|
# @return [Types::DeadLetterConfig]
|
1014
1031
|
#
|
1015
1032
|
# @!attribute [rw] environment
|
@@ -1223,7 +1240,13 @@ module Aws::Lambda
|
|
1223
1240
|
# @return [Types::FunctionCodeLocation]
|
1224
1241
|
#
|
1225
1242
|
# @!attribute [rw] tags
|
1226
|
-
# Returns the list of tags associated with the function.
|
1243
|
+
# Returns the list of tags associated with the function. For more
|
1244
|
+
# information, see [Tagging Lambda Functions][1] in the **AWS Lambda
|
1245
|
+
# Developer Guide**.
|
1246
|
+
#
|
1247
|
+
#
|
1248
|
+
#
|
1249
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
1227
1250
|
# @return [Hash<String,String>]
|
1228
1251
|
#
|
1229
1252
|
# @!attribute [rw] concurrency
|
@@ -1696,7 +1719,13 @@ module Aws::Lambda
|
|
1696
1719
|
# }
|
1697
1720
|
#
|
1698
1721
|
# @!attribute [rw] resource
|
1699
|
-
# The ARN (Amazon Resource Name) of the function.
|
1722
|
+
# The ARN (Amazon Resource Name) of the function. For more
|
1723
|
+
# information, see [Tagging Lambda Functions][1] in the **AWS Lambda
|
1724
|
+
# Developer Guide**.
|
1725
|
+
#
|
1726
|
+
#
|
1727
|
+
#
|
1728
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
1700
1729
|
# @return [String]
|
1701
1730
|
#
|
1702
1731
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTagsRequest AWS API Documentation
|
@@ -1707,7 +1736,12 @@ module Aws::Lambda
|
|
1707
1736
|
end
|
1708
1737
|
|
1709
1738
|
# @!attribute [rw] tags
|
1710
|
-
# The list of tags assigned to the function.
|
1739
|
+
# The list of tags assigned to the function. For more information, see
|
1740
|
+
# [Tagging Lambda Functions][1] in the **AWS Lambda Developer Guide**.
|
1741
|
+
#
|
1742
|
+
#
|
1743
|
+
#
|
1744
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
1711
1745
|
# @return [Hash<String,String>]
|
1712
1746
|
#
|
1713
1747
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTagsResponse AWS API Documentation
|
@@ -1916,12 +1950,23 @@ module Aws::Lambda
|
|
1916
1950
|
# }
|
1917
1951
|
#
|
1918
1952
|
# @!attribute [rw] resource
|
1919
|
-
# The ARN (Amazon Resource Name) of the Lambda function.
|
1953
|
+
# The ARN (Amazon Resource Name) of the Lambda function. For more
|
1954
|
+
# information, see [Tagging Lambda Functions][1] in the **AWS Lambda
|
1955
|
+
# Developer Guide**.
|
1956
|
+
#
|
1957
|
+
#
|
1958
|
+
#
|
1959
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
1920
1960
|
# @return [String]
|
1921
1961
|
#
|
1922
1962
|
# @!attribute [rw] tags
|
1923
1963
|
# The list of tags (key-value pairs) you are assigning to the Lambda
|
1924
|
-
# function.
|
1964
|
+
# function. For more information, see [Tagging Lambda Functions][1] in
|
1965
|
+
# the **AWS Lambda Developer Guide**.
|
1966
|
+
#
|
1967
|
+
#
|
1968
|
+
#
|
1969
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
1925
1970
|
# @return [Hash<String,String>]
|
1926
1971
|
#
|
1927
1972
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResourceRequest AWS API Documentation
|
@@ -1980,11 +2025,23 @@ module Aws::Lambda
|
|
1980
2025
|
# }
|
1981
2026
|
#
|
1982
2027
|
# @!attribute [rw] resource
|
1983
|
-
# The ARN (Amazon Resource Name) of the function.
|
2028
|
+
# The ARN (Amazon Resource Name) of the function. For more
|
2029
|
+
# information, see [Tagging Lambda Functions][1] in the **AWS Lambda
|
2030
|
+
# Developer Guide**.
|
2031
|
+
#
|
2032
|
+
#
|
2033
|
+
#
|
2034
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
1984
2035
|
# @return [String]
|
1985
2036
|
#
|
1986
2037
|
# @!attribute [rw] tag_keys
|
1987
|
-
# The list of tag keys to be deleted from the function.
|
2038
|
+
# The list of tag keys to be deleted from the function. For more
|
2039
|
+
# information, see [Tagging Lambda Functions][1] in the **AWS Lambda
|
2040
|
+
# Developer Guide**.
|
2041
|
+
#
|
2042
|
+
#
|
2043
|
+
#
|
2044
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
1988
2045
|
# @return [Array<String>]
|
1989
2046
|
#
|
1990
2047
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResourceRequest AWS API Documentation
|
@@ -2147,7 +2204,7 @@ module Aws::Lambda
|
|
2147
2204
|
# must be base64-encoded. If you are using the AWS SDKs or the AWS
|
2148
2205
|
# CLI, the SDKs or CLI will do the encoding for you. For more
|
2149
2206
|
# information about creating a .zip file, see [Execution
|
2150
|
-
# Permissions][1]
|
2207
|
+
# Permissions][1].
|
2151
2208
|
#
|
2152
2209
|
#
|
2153
2210
|
#
|
@@ -2226,7 +2283,7 @@ module Aws::Lambda
|
|
2226
2283
|
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
2227
2284
|
# },
|
2228
2285
|
# },
|
2229
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, java8, python2.7, python3.6, dotnetcore1.0, dotnetcore2.0, nodejs4.3-edge, go1.x
|
2286
|
+
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, java8, python2.7, python3.6, dotnetcore1.0, dotnetcore2.0, nodejs4.3-edge, go1.x
|
2230
2287
|
# dead_letter_config: {
|
2231
2288
|
# target_arn: "ResourceArn",
|
2232
2289
|
# },
|
@@ -2299,7 +2356,8 @@ module Aws::Lambda
|
|
2299
2356
|
# use the Python runtime v2.7, set the value to "python2.7". To use
|
2300
2357
|
# the Node.js runtime v6.10, set the value to "nodejs6.10". To use
|
2301
2358
|
# the Node.js runtime v4.3, set the value to "nodejs4.3". To use the
|
2302
|
-
#
|
2359
|
+
# .NET Core runtime v1.0, set the value to "dotnetcore1.0". To use
|
2360
|
+
# the .NET Core runtime v2.0, set the value to "dotnetcore2.0".
|
2303
2361
|
#
|
2304
2362
|
# <note markdown="1"> Node v0.10.42 is currently marked as deprecated. You must migrate
|
2305
2363
|
# existing functions to the newer Node.js runtime versions available
|
@@ -2313,7 +2371,8 @@ module Aws::Lambda
|
|
2313
2371
|
#
|
2314
2372
|
# @!attribute [rw] dead_letter_config
|
2315
2373
|
# The parent object that contains the target ARN (Amazon Resource
|
2316
|
-
# Name) of an Amazon SQS queue or Amazon SNS topic.
|
2374
|
+
# Name) of an Amazon SQS queue or Amazon SNS topic. For more
|
2375
|
+
# information, see dlq.
|
2317
2376
|
# @return [Types::DeadLetterConfig]
|
2318
2377
|
#
|
2319
2378
|
# @!attribute [rw] kms_key_arn
|
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.5.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: 2018-
|
11
|
+
date: 2018-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.5.
|
78
|
+
rubygems_version: 2.5.2.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: AWS SDK for Ruby - AWS Lambda
|