aws-sdk-lambda 1.0.0.rc1 → 1.0.0.rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-lambda.rb +1 -1
- data/lib/aws-sdk-lambda/client.rb +101 -20
- data/lib/aws-sdk-lambda/client_api.rb +42 -2
- data/lib/aws-sdk-lambda/types.rb +154 -15
- 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: 31d5898152bd1b98cc3651c56228b7a997b02e7e
|
4
|
+
data.tar.gz: a2b747aab815e023bbc24f52176182f469927661
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80bd5a0e0945a4e66b3829373e5c481c6d92627c27e872b59eea83df564dd38d73880a30eab64d972f0bca4bcd468a56c914f8b36b47a3bf472a1534a4ad9486
|
7
|
+
data.tar.gz: b915ee4a8ecf6c6deb48f8812842726229ffba041ba06b030916148e19f0cc23453f1b74008638b8cd3122ae897e8a0656d014304975ed0b02d1bc200c8050b7
|
data/lib/aws-sdk-lambda.rb
CHANGED
@@ -358,9 +358,20 @@ module Aws
|
|
358
358
|
# receives an event with all the retrieved records. The default is 100
|
359
359
|
# records.
|
360
360
|
# @option params [required, String] :starting_position
|
361
|
-
# The position in the stream where AWS Lambda should start reading.
|
362
|
-
# more information, go to
|
363
|
-
# API Reference*.
|
361
|
+
# The position in the stream where AWS Lambda should start reading.
|
362
|
+
# Valid only for Kinesis streams. For more information, go to
|
363
|
+
# [ShardIteratorType][1] in the *Amazon Kinesis API Reference*.
|
364
|
+
#
|
365
|
+
#
|
366
|
+
#
|
367
|
+
# [1]: http://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType
|
368
|
+
# @option params [Time,DateTime,Date,Integer,String] :starting_position_timestamp
|
369
|
+
# The timestamp of the data record from which to start reading. Used
|
370
|
+
# with [shard iterator type][1] AT\_TIMESTAMP. If a record with this
|
371
|
+
# exact timestamp does not exist, the iterator returned is for the next
|
372
|
+
# (later) record. If the timestamp is older than the current trim
|
373
|
+
# horizon, the iterator returned is for the oldest untrimmed data record
|
374
|
+
# (TRIM\_HORIZON). Valid only for Kinesis streams.
|
364
375
|
#
|
365
376
|
#
|
366
377
|
#
|
@@ -382,7 +393,8 @@ module Aws
|
|
382
393
|
# function_name: "FunctionName", # required
|
383
394
|
# enabled: false,
|
384
395
|
# batch_size: 1,
|
385
|
-
# starting_position: "TRIM_HORIZON", # required, accepts TRIM_HORIZON, LATEST
|
396
|
+
# starting_position: "TRIM_HORIZON", # required, accepts TRIM_HORIZON, LATEST, AT_TIMESTAMP
|
397
|
+
# starting_position_timestamp: Time.now,
|
386
398
|
# })
|
387
399
|
#
|
388
400
|
# @example Response structure
|
@@ -428,6 +440,13 @@ module Aws
|
|
428
440
|
#
|
429
441
|
# To use the Node.js runtime v4.3, set the value to "nodejs4.3". To
|
430
442
|
# use earlier runtime (v0.10.42), set the value to "nodejs".
|
443
|
+
#
|
444
|
+
# <note markdown="1"> You can no longer create functions using the v0.10.42 runtime version
|
445
|
+
# as of November, 2016. Existing functions will be supported until early
|
446
|
+
# 2017 but we recommend you migrate them to nodejs4.3 runtime version as
|
447
|
+
# soon as possible.
|
448
|
+
#
|
449
|
+
# </note>
|
431
450
|
# @option params [required, String] :role
|
432
451
|
# The Amazon Resource Name (ARN) of the IAM role that Lambda assumes
|
433
452
|
# when it executes your function to access any other Amazon Web Services
|
@@ -472,6 +491,9 @@ module Aws
|
|
472
491
|
# parameter identifying the list of security group IDs and subnet IDs.
|
473
492
|
# These must belong to the same VPC. You must provide at least one
|
474
493
|
# security group and one subnet ID.
|
494
|
+
# @option params [Types::DeadLetterConfig] :dead_letter_config
|
495
|
+
# The parent object that contains the target ARN (Amazon Resource Name)
|
496
|
+
# of an Amazon SQS queue or Amazon SNS topic.
|
475
497
|
# @option params [Types::Environment] :environment
|
476
498
|
# The parent object that contains your environment's configuration
|
477
499
|
# settings.
|
@@ -494,13 +516,14 @@ module Aws
|
|
494
516
|
# * {Types::FunctionConfiguration#code_sha_256 #CodeSha256} => String
|
495
517
|
# * {Types::FunctionConfiguration#version #Version} => String
|
496
518
|
# * {Types::FunctionConfiguration#vpc_config #VpcConfig} => Types::VpcConfigResponse
|
519
|
+
# * {Types::FunctionConfiguration#dead_letter_config #DeadLetterConfig} => Types::DeadLetterConfig
|
497
520
|
# * {Types::FunctionConfiguration#environment #Environment} => Types::EnvironmentResponse
|
498
521
|
# * {Types::FunctionConfiguration#kms_key_arn #KMSKeyArn} => String
|
499
522
|
#
|
500
523
|
# @example Request syntax with placeholder values
|
501
524
|
# resp = client.create_function({
|
502
525
|
# function_name: "FunctionName", # required
|
503
|
-
# runtime: "nodejs", # required, accepts nodejs, nodejs4.3, java8, python2.7
|
526
|
+
# runtime: "nodejs", # required, accepts nodejs, nodejs4.3, java8, python2.7, dotnetcore1.0, nodejs4.3-edge
|
504
527
|
# role: "RoleArn", # required
|
505
528
|
# handler: "Handler", # required
|
506
529
|
# code: { # required
|
@@ -517,6 +540,9 @@ module Aws
|
|
517
540
|
# subnet_ids: ["SubnetId"],
|
518
541
|
# security_group_ids: ["SecurityGroupId"],
|
519
542
|
# },
|
543
|
+
# dead_letter_config: {
|
544
|
+
# target_arn: "ResourceArn",
|
545
|
+
# },
|
520
546
|
# environment: {
|
521
547
|
# variables: {
|
522
548
|
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
@@ -528,7 +554,7 @@ module Aws
|
|
528
554
|
# @example Response structure
|
529
555
|
# resp.function_name #=> String
|
530
556
|
# resp.function_arn #=> String
|
531
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "java8", "python2.7"
|
557
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "java8", "python2.7", "dotnetcore1.0", "nodejs4.3-edge"
|
532
558
|
# resp.role #=> String
|
533
559
|
# resp.handler #=> String
|
534
560
|
# resp.code_size #=> Integer
|
@@ -543,6 +569,7 @@ module Aws
|
|
543
569
|
# resp.vpc_config.security_group_ids #=> Array
|
544
570
|
# resp.vpc_config.security_group_ids[0] #=> String
|
545
571
|
# resp.vpc_config.vpc_id #=> String
|
572
|
+
# resp.dead_letter_config.target_arn #=> String
|
546
573
|
# resp.environment.variables #=> Hash
|
547
574
|
# resp.environment.variables["EnvironmentVariableName"] #=> String
|
548
575
|
# resp.environment.error.error_code #=> String
|
@@ -681,6 +708,38 @@ module Aws
|
|
681
708
|
req.send_request(options)
|
682
709
|
end
|
683
710
|
|
711
|
+
# Returns a customer's account settings.
|
712
|
+
#
|
713
|
+
# You can use this operation to retrieve Lambda limit information such
|
714
|
+
# as code size and concurrency limits. For more information on limits,
|
715
|
+
# see [AWS Lambda Limits][1]. You can also retrieve resource usage
|
716
|
+
# statistics such as code storage usage and function count.
|
717
|
+
#
|
718
|
+
#
|
719
|
+
#
|
720
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/limits.html
|
721
|
+
# @return [Types::GetAccountSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
722
|
+
#
|
723
|
+
# * {Types::GetAccountSettingsResponse#account_limit #AccountLimit} => Types::AccountLimit
|
724
|
+
# * {Types::GetAccountSettingsResponse#account_usage #AccountUsage} => Types::AccountUsage
|
725
|
+
#
|
726
|
+
# @example Request syntax with placeholder values
|
727
|
+
# resp = client.get_account_settings()
|
728
|
+
#
|
729
|
+
# @example Response structure
|
730
|
+
# resp.account_limit.total_code_size #=> Integer
|
731
|
+
# resp.account_limit.code_size_unzipped #=> Integer
|
732
|
+
# resp.account_limit.code_size_zipped #=> Integer
|
733
|
+
# resp.account_limit.concurrent_executions #=> Integer
|
734
|
+
# resp.account_usage.total_code_size #=> Integer
|
735
|
+
# resp.account_usage.function_count #=> Integer
|
736
|
+
# @overload get_account_settings(params = {})
|
737
|
+
# @param [Hash] params ({})
|
738
|
+
def get_account_settings(params = {}, options = {})
|
739
|
+
req = build_request(:get_account_settings, params)
|
740
|
+
req.send_request(options)
|
741
|
+
end
|
742
|
+
|
684
743
|
# Returns the specified alias information such as the alias ARN,
|
685
744
|
# description, and function version it is pointing to. For more
|
686
745
|
# information, see [Introduction to AWS Lambda Aliases][1].
|
@@ -812,7 +871,7 @@ module Aws
|
|
812
871
|
# @example Response structure
|
813
872
|
# resp.configuration.function_name #=> String
|
814
873
|
# resp.configuration.function_arn #=> String
|
815
|
-
# resp.configuration.runtime #=> String, one of "nodejs", "nodejs4.3", "java8", "python2.7"
|
874
|
+
# resp.configuration.runtime #=> String, one of "nodejs", "nodejs4.3", "java8", "python2.7", "dotnetcore1.0", "nodejs4.3-edge"
|
816
875
|
# resp.configuration.role #=> String
|
817
876
|
# resp.configuration.handler #=> String
|
818
877
|
# resp.configuration.code_size #=> Integer
|
@@ -827,6 +886,7 @@ module Aws
|
|
827
886
|
# resp.configuration.vpc_config.security_group_ids #=> Array
|
828
887
|
# resp.configuration.vpc_config.security_group_ids[0] #=> String
|
829
888
|
# resp.configuration.vpc_config.vpc_id #=> String
|
889
|
+
# resp.configuration.dead_letter_config.target_arn #=> String
|
830
890
|
# resp.configuration.environment.variables #=> Hash
|
831
891
|
# resp.configuration.environment.variables["EnvironmentVariableName"] #=> String
|
832
892
|
# resp.configuration.environment.error.error_code #=> String
|
@@ -896,6 +956,7 @@ module Aws
|
|
896
956
|
# * {Types::FunctionConfiguration#code_sha_256 #CodeSha256} => String
|
897
957
|
# * {Types::FunctionConfiguration#version #Version} => String
|
898
958
|
# * {Types::FunctionConfiguration#vpc_config #VpcConfig} => Types::VpcConfigResponse
|
959
|
+
# * {Types::FunctionConfiguration#dead_letter_config #DeadLetterConfig} => Types::DeadLetterConfig
|
899
960
|
# * {Types::FunctionConfiguration#environment #Environment} => Types::EnvironmentResponse
|
900
961
|
# * {Types::FunctionConfiguration#kms_key_arn #KMSKeyArn} => String
|
901
962
|
#
|
@@ -908,7 +969,7 @@ module Aws
|
|
908
969
|
# @example Response structure
|
909
970
|
# resp.function_name #=> String
|
910
971
|
# resp.function_arn #=> String
|
911
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "java8", "python2.7"
|
972
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "java8", "python2.7", "dotnetcore1.0", "nodejs4.3-edge"
|
912
973
|
# resp.role #=> String
|
913
974
|
# resp.handler #=> String
|
914
975
|
# resp.code_size #=> Integer
|
@@ -923,6 +984,7 @@ module Aws
|
|
923
984
|
# resp.vpc_config.security_group_ids #=> Array
|
924
985
|
# resp.vpc_config.security_group_ids[0] #=> String
|
925
986
|
# resp.vpc_config.vpc_id #=> String
|
987
|
+
# resp.dead_letter_config.target_arn #=> String
|
926
988
|
# resp.environment.variables #=> Hash
|
927
989
|
# resp.environment.variables["EnvironmentVariableName"] #=> String
|
928
990
|
# resp.environment.error.error_code #=> String
|
@@ -1278,7 +1340,7 @@ module Aws
|
|
1278
1340
|
# resp.functions #=> Array
|
1279
1341
|
# resp.functions[0].function_name #=> String
|
1280
1342
|
# resp.functions[0].function_arn #=> String
|
1281
|
-
# resp.functions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "java8", "python2.7"
|
1343
|
+
# resp.functions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "java8", "python2.7", "dotnetcore1.0", "nodejs4.3-edge"
|
1282
1344
|
# resp.functions[0].role #=> String
|
1283
1345
|
# resp.functions[0].handler #=> String
|
1284
1346
|
# resp.functions[0].code_size #=> Integer
|
@@ -1293,6 +1355,7 @@ module Aws
|
|
1293
1355
|
# resp.functions[0].vpc_config.security_group_ids #=> Array
|
1294
1356
|
# resp.functions[0].vpc_config.security_group_ids[0] #=> String
|
1295
1357
|
# resp.functions[0].vpc_config.vpc_id #=> String
|
1358
|
+
# resp.functions[0].dead_letter_config.target_arn #=> String
|
1296
1359
|
# resp.functions[0].environment.variables #=> Hash
|
1297
1360
|
# resp.functions[0].environment.variables["EnvironmentVariableName"] #=> String
|
1298
1361
|
# resp.functions[0].environment.error.error_code #=> String
|
@@ -1345,7 +1408,7 @@ module Aws
|
|
1345
1408
|
# resp.versions #=> Array
|
1346
1409
|
# resp.versions[0].function_name #=> String
|
1347
1410
|
# resp.versions[0].function_arn #=> String
|
1348
|
-
# resp.versions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "java8", "python2.7"
|
1411
|
+
# resp.versions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "java8", "python2.7", "dotnetcore1.0", "nodejs4.3-edge"
|
1349
1412
|
# resp.versions[0].role #=> String
|
1350
1413
|
# resp.versions[0].handler #=> String
|
1351
1414
|
# resp.versions[0].code_size #=> Integer
|
@@ -1360,6 +1423,7 @@ module Aws
|
|
1360
1423
|
# resp.versions[0].vpc_config.security_group_ids #=> Array
|
1361
1424
|
# resp.versions[0].vpc_config.security_group_ids[0] #=> String
|
1362
1425
|
# resp.versions[0].vpc_config.vpc_id #=> String
|
1426
|
+
# resp.versions[0].dead_letter_config.target_arn #=> String
|
1363
1427
|
# resp.versions[0].environment.variables #=> Hash
|
1364
1428
|
# resp.versions[0].environment.variables["EnvironmentVariableName"] #=> String
|
1365
1429
|
# resp.versions[0].environment.error.error_code #=> String
|
@@ -1414,6 +1478,7 @@ module Aws
|
|
1414
1478
|
# * {Types::FunctionConfiguration#code_sha_256 #CodeSha256} => String
|
1415
1479
|
# * {Types::FunctionConfiguration#version #Version} => String
|
1416
1480
|
# * {Types::FunctionConfiguration#vpc_config #VpcConfig} => Types::VpcConfigResponse
|
1481
|
+
# * {Types::FunctionConfiguration#dead_letter_config #DeadLetterConfig} => Types::DeadLetterConfig
|
1417
1482
|
# * {Types::FunctionConfiguration#environment #Environment} => Types::EnvironmentResponse
|
1418
1483
|
# * {Types::FunctionConfiguration#kms_key_arn #KMSKeyArn} => String
|
1419
1484
|
#
|
@@ -1427,7 +1492,7 @@ module Aws
|
|
1427
1492
|
# @example Response structure
|
1428
1493
|
# resp.function_name #=> String
|
1429
1494
|
# resp.function_arn #=> String
|
1430
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "java8", "python2.7"
|
1495
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "java8", "python2.7", "dotnetcore1.0", "nodejs4.3-edge"
|
1431
1496
|
# resp.role #=> String
|
1432
1497
|
# resp.handler #=> String
|
1433
1498
|
# resp.code_size #=> Integer
|
@@ -1442,6 +1507,7 @@ module Aws
|
|
1442
1507
|
# resp.vpc_config.security_group_ids #=> Array
|
1443
1508
|
# resp.vpc_config.security_group_ids[0] #=> String
|
1444
1509
|
# resp.vpc_config.vpc_id #=> String
|
1510
|
+
# resp.dead_letter_config.target_arn #=> String
|
1445
1511
|
# resp.environment.variables #=> Hash
|
1446
1512
|
# resp.environment.variables["EnvironmentVariableName"] #=> String
|
1447
1513
|
# resp.environment.error.error_code #=> String
|
@@ -1701,6 +1767,7 @@ module Aws
|
|
1701
1767
|
# * {Types::FunctionConfiguration#code_sha_256 #CodeSha256} => String
|
1702
1768
|
# * {Types::FunctionConfiguration#version #Version} => String
|
1703
1769
|
# * {Types::FunctionConfiguration#vpc_config #VpcConfig} => Types::VpcConfigResponse
|
1770
|
+
# * {Types::FunctionConfiguration#dead_letter_config #DeadLetterConfig} => Types::DeadLetterConfig
|
1704
1771
|
# * {Types::FunctionConfiguration#environment #Environment} => Types::EnvironmentResponse
|
1705
1772
|
# * {Types::FunctionConfiguration#kms_key_arn #KMSKeyArn} => String
|
1706
1773
|
#
|
@@ -1717,7 +1784,7 @@ module Aws
|
|
1717
1784
|
# @example Response structure
|
1718
1785
|
# resp.function_name #=> String
|
1719
1786
|
# resp.function_arn #=> String
|
1720
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "java8", "python2.7"
|
1787
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "java8", "python2.7", "dotnetcore1.0", "nodejs4.3-edge"
|
1721
1788
|
# resp.role #=> String
|
1722
1789
|
# resp.handler #=> String
|
1723
1790
|
# resp.code_size #=> Integer
|
@@ -1732,6 +1799,7 @@ module Aws
|
|
1732
1799
|
# resp.vpc_config.security_group_ids #=> Array
|
1733
1800
|
# resp.vpc_config.security_group_ids[0] #=> String
|
1734
1801
|
# resp.vpc_config.vpc_id #=> String
|
1802
|
+
# resp.dead_letter_config.target_arn #=> String
|
1735
1803
|
# resp.environment.variables #=> Hash
|
1736
1804
|
# resp.environment.variables["EnvironmentVariableName"] #=> String
|
1737
1805
|
# resp.environment.error.error_code #=> String
|
@@ -1800,16 +1868,24 @@ module Aws
|
|
1800
1868
|
# @option params [Types::Environment] :environment
|
1801
1869
|
# The parent object that contains your environment's configuration
|
1802
1870
|
# settings.
|
1803
|
-
# @option params [String] :kms_key_arn
|
1804
|
-
# The Amazon Resource Name (ARN) of the KMS key used to encrypt your
|
1805
|
-
# function's environment variables. If you elect to use the AWS Lambda
|
1806
|
-
# default service key, pass in an empty string ("") for this
|
1807
|
-
# parameter.
|
1808
1871
|
# @option params [String] :runtime
|
1809
1872
|
# The runtime environment for the Lambda function.
|
1810
1873
|
#
|
1811
1874
|
# To use the Node.js runtime v4.3, set the value to "nodejs4.3". To
|
1812
1875
|
# use earlier runtime (v0.10.42), set the value to "nodejs".
|
1876
|
+
#
|
1877
|
+
# <note markdown="1"> You can no longer downgrade to the v0.10.42 runtime version. This
|
1878
|
+
# version will no longer be supported as of early 2017.
|
1879
|
+
#
|
1880
|
+
# </note>
|
1881
|
+
# @option params [Types::DeadLetterConfig] :dead_letter_config
|
1882
|
+
# The parent object that contains the target ARN (Amazon Resource Name)
|
1883
|
+
# of an Amazon SQS queue or Amazon SNS topic.
|
1884
|
+
# @option params [String] :kms_key_arn
|
1885
|
+
# The Amazon Resource Name (ARN) of the KMS key used to encrypt your
|
1886
|
+
# function's environment variables. If you elect to use the AWS Lambda
|
1887
|
+
# default service key, pass in an empty string ("") for this
|
1888
|
+
# parameter.
|
1813
1889
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1814
1890
|
#
|
1815
1891
|
# * {Types::FunctionConfiguration#function_name #FunctionName} => String
|
@@ -1825,6 +1901,7 @@ module Aws
|
|
1825
1901
|
# * {Types::FunctionConfiguration#code_sha_256 #CodeSha256} => String
|
1826
1902
|
# * {Types::FunctionConfiguration#version #Version} => String
|
1827
1903
|
# * {Types::FunctionConfiguration#vpc_config #VpcConfig} => Types::VpcConfigResponse
|
1904
|
+
# * {Types::FunctionConfiguration#dead_letter_config #DeadLetterConfig} => Types::DeadLetterConfig
|
1828
1905
|
# * {Types::FunctionConfiguration#environment #Environment} => Types::EnvironmentResponse
|
1829
1906
|
# * {Types::FunctionConfiguration#kms_key_arn #KMSKeyArn} => String
|
1830
1907
|
#
|
@@ -1845,14 +1922,17 @@ module Aws
|
|
1845
1922
|
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
1846
1923
|
# },
|
1847
1924
|
# },
|
1925
|
+
# runtime: "nodejs", # accepts nodejs, nodejs4.3, java8, python2.7, dotnetcore1.0, nodejs4.3-edge
|
1926
|
+
# dead_letter_config: {
|
1927
|
+
# target_arn: "ResourceArn",
|
1928
|
+
# },
|
1848
1929
|
# kms_key_arn: "KMSKeyArn",
|
1849
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, java8, python2.7
|
1850
1930
|
# })
|
1851
1931
|
#
|
1852
1932
|
# @example Response structure
|
1853
1933
|
# resp.function_name #=> String
|
1854
1934
|
# resp.function_arn #=> String
|
1855
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "java8", "python2.7"
|
1935
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "java8", "python2.7", "dotnetcore1.0", "nodejs4.3-edge"
|
1856
1936
|
# resp.role #=> String
|
1857
1937
|
# resp.handler #=> String
|
1858
1938
|
# resp.code_size #=> Integer
|
@@ -1867,6 +1947,7 @@ module Aws
|
|
1867
1947
|
# resp.vpc_config.security_group_ids #=> Array
|
1868
1948
|
# resp.vpc_config.security_group_ids[0] #=> String
|
1869
1949
|
# resp.vpc_config.vpc_id #=> String
|
1950
|
+
# resp.dead_letter_config.target_arn #=> String
|
1870
1951
|
# resp.environment.variables #=> Hash
|
1871
1952
|
# resp.environment.variables["EnvironmentVariableName"] #=> String
|
1872
1953
|
# resp.environment.error.error_code #=> String
|
@@ -1892,7 +1973,7 @@ module Aws
|
|
1892
1973
|
params: params,
|
1893
1974
|
config: config)
|
1894
1975
|
context[:gem_name] = 'aws-sdk-lambda'
|
1895
|
-
context[:gem_version] = '1.0.0.
|
1976
|
+
context[:gem_version] = '1.0.0.rc2'
|
1896
1977
|
Seahorse::Client::Request.new(handlers, context)
|
1897
1978
|
end
|
1898
1979
|
|
@@ -12,6 +12,8 @@ module Aws
|
|
12
12
|
|
13
13
|
include Seahorse::Model
|
14
14
|
|
15
|
+
AccountLimit = Shapes::StructureShape.new(name: 'AccountLimit')
|
16
|
+
AccountUsage = Shapes::StructureShape.new(name: 'AccountUsage')
|
15
17
|
Action = Shapes::StringShape.new(name: 'Action')
|
16
18
|
AddPermissionRequest = Shapes::StructureShape.new(name: 'AddPermissionRequest')
|
17
19
|
AddPermissionResponse = Shapes::StructureShape.new(name: 'AddPermissionResponse')
|
@@ -28,6 +30,7 @@ module Aws
|
|
28
30
|
CreateEventSourceMappingRequest = Shapes::StructureShape.new(name: 'CreateEventSourceMappingRequest')
|
29
31
|
CreateFunctionRequest = Shapes::StructureShape.new(name: 'CreateFunctionRequest')
|
30
32
|
Date = Shapes::TimestampShape.new(name: 'Date')
|
33
|
+
DeadLetterConfig = Shapes::StructureShape.new(name: 'DeadLetterConfig')
|
31
34
|
DeleteAliasRequest = Shapes::StructureShape.new(name: 'DeleteAliasRequest')
|
32
35
|
DeleteEventSourceMappingRequest = Shapes::StructureShape.new(name: 'DeleteEventSourceMappingRequest')
|
33
36
|
DeleteFunctionRequest = Shapes::StructureShape.new(name: 'DeleteFunctionRequest')
|
@@ -53,6 +56,8 @@ module Aws
|
|
53
56
|
FunctionConfiguration = Shapes::StructureShape.new(name: 'FunctionConfiguration')
|
54
57
|
FunctionList = Shapes::ListShape.new(name: 'FunctionList')
|
55
58
|
FunctionName = Shapes::StringShape.new(name: 'FunctionName')
|
59
|
+
GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
|
60
|
+
GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
|
56
61
|
GetAliasRequest = Shapes::StructureShape.new(name: 'GetAliasRequest')
|
57
62
|
GetEventSourceMappingRequest = Shapes::StructureShape.new(name: 'GetEventSourceMappingRequest')
|
58
63
|
GetFunctionConfigurationRequest = Shapes::StructureShape.new(name: 'GetFunctionConfigurationRequest')
|
@@ -96,6 +101,7 @@ module Aws
|
|
96
101
|
Qualifier = Shapes::StringShape.new(name: 'Qualifier')
|
97
102
|
RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
|
98
103
|
RequestTooLargeException = Shapes::StructureShape.new(name: 'RequestTooLargeException')
|
104
|
+
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
99
105
|
ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
|
100
106
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
101
107
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
@@ -105,6 +111,7 @@ module Aws
|
|
105
111
|
S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
|
106
112
|
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
107
113
|
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
114
|
+
SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
|
108
115
|
ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
|
109
116
|
SourceOwner = Shapes::StringShape.new(name: 'SourceOwner')
|
110
117
|
StatementId = Shapes::StringShape.new(name: 'StatementId')
|
@@ -126,6 +133,16 @@ module Aws
|
|
126
133
|
VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
|
127
134
|
VpcId = Shapes::StringShape.new(name: 'VpcId')
|
128
135
|
|
136
|
+
AccountLimit.add_member(:total_code_size, Shapes::ShapeRef.new(shape: Long, location_name: "TotalCodeSize"))
|
137
|
+
AccountLimit.add_member(:code_size_unzipped, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSizeUnzipped"))
|
138
|
+
AccountLimit.add_member(:code_size_zipped, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSizeZipped"))
|
139
|
+
AccountLimit.add_member(:concurrent_executions, Shapes::ShapeRef.new(shape: Integer, location_name: "ConcurrentExecutions"))
|
140
|
+
AccountLimit.struct_class = Types::AccountLimit
|
141
|
+
|
142
|
+
AccountUsage.add_member(:total_code_size, Shapes::ShapeRef.new(shape: Long, location_name: "TotalCodeSize"))
|
143
|
+
AccountUsage.add_member(:function_count, Shapes::ShapeRef.new(shape: Long, location_name: "FunctionCount"))
|
144
|
+
AccountUsage.struct_class = Types::AccountUsage
|
145
|
+
|
129
146
|
AddPermissionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
130
147
|
AddPermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
|
131
148
|
AddPermissionRequest.add_member(:action, Shapes::ShapeRef.new(shape: Action, required: true, location_name: "Action"))
|
@@ -158,6 +175,7 @@ module Aws
|
|
158
175
|
CreateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
|
159
176
|
CreateEventSourceMappingRequest.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
|
160
177
|
CreateEventSourceMappingRequest.add_member(:starting_position, Shapes::ShapeRef.new(shape: EventSourcePosition, required: true, location_name: "StartingPosition"))
|
178
|
+
CreateEventSourceMappingRequest.add_member(:starting_position_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "StartingPositionTimestamp"))
|
161
179
|
CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
|
162
180
|
|
163
181
|
CreateFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
|
@@ -170,10 +188,14 @@ module Aws
|
|
170
188
|
CreateFunctionRequest.add_member(:memory_size, Shapes::ShapeRef.new(shape: MemorySize, location_name: "MemorySize"))
|
171
189
|
CreateFunctionRequest.add_member(:publish, Shapes::ShapeRef.new(shape: Boolean, location_name: "Publish"))
|
172
190
|
CreateFunctionRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
191
|
+
CreateFunctionRequest.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
|
173
192
|
CreateFunctionRequest.add_member(:environment, Shapes::ShapeRef.new(shape: Environment, location_name: "Environment"))
|
174
193
|
CreateFunctionRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
|
175
194
|
CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
|
176
195
|
|
196
|
+
DeadLetterConfig.add_member(:target_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "TargetArn"))
|
197
|
+
DeadLetterConfig.struct_class = Types::DeadLetterConfig
|
198
|
+
|
177
199
|
DeleteAliasRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
178
200
|
DeleteAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location: "uri", location_name: "Name"))
|
179
201
|
DeleteAliasRequest.struct_class = Types::DeleteAliasRequest
|
@@ -189,7 +211,7 @@ module Aws
|
|
189
211
|
Environment.struct_class = Types::Environment
|
190
212
|
|
191
213
|
EnvironmentError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode"))
|
192
|
-
EnvironmentError.add_member(:message, Shapes::ShapeRef.new(shape:
|
214
|
+
EnvironmentError.add_member(:message, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Message"))
|
193
215
|
EnvironmentError.struct_class = Types::EnvironmentError
|
194
216
|
|
195
217
|
EnvironmentResponse.add_member(:variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "Variables"))
|
@@ -234,12 +256,19 @@ module Aws
|
|
234
256
|
FunctionConfiguration.add_member(:code_sha_256, Shapes::ShapeRef.new(shape: String, location_name: "CodeSha256"))
|
235
257
|
FunctionConfiguration.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "Version"))
|
236
258
|
FunctionConfiguration.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfigResponse, location_name: "VpcConfig"))
|
259
|
+
FunctionConfiguration.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
|
237
260
|
FunctionConfiguration.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentResponse, location_name: "Environment"))
|
238
261
|
FunctionConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
|
239
262
|
FunctionConfiguration.struct_class = Types::FunctionConfiguration
|
240
263
|
|
241
264
|
FunctionList.member = Shapes::ShapeRef.new(shape: FunctionConfiguration)
|
242
265
|
|
266
|
+
GetAccountSettingsRequest.struct_class = Types::GetAccountSettingsRequest
|
267
|
+
|
268
|
+
GetAccountSettingsResponse.add_member(:account_limit, Shapes::ShapeRef.new(shape: AccountLimit, location_name: "AccountLimit"))
|
269
|
+
GetAccountSettingsResponse.add_member(:account_usage, Shapes::ShapeRef.new(shape: AccountUsage, location_name: "AccountUsage"))
|
270
|
+
GetAccountSettingsResponse.struct_class = Types::GetAccountSettingsResponse
|
271
|
+
|
243
272
|
GetAliasRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
244
273
|
GetAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location: "uri", location_name: "Name"))
|
245
274
|
GetAliasRequest.struct_class = Types::GetAliasRequest
|
@@ -372,8 +401,9 @@ module Aws
|
|
372
401
|
UpdateFunctionConfigurationRequest.add_member(:memory_size, Shapes::ShapeRef.new(shape: MemorySize, location_name: "MemorySize"))
|
373
402
|
UpdateFunctionConfigurationRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
374
403
|
UpdateFunctionConfigurationRequest.add_member(:environment, Shapes::ShapeRef.new(shape: Environment, location_name: "Environment"))
|
375
|
-
UpdateFunctionConfigurationRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
|
376
404
|
UpdateFunctionConfigurationRequest.add_member(:runtime, Shapes::ShapeRef.new(shape: Runtime, location_name: "Runtime"))
|
405
|
+
UpdateFunctionConfigurationRequest.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
|
406
|
+
UpdateFunctionConfigurationRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
|
377
407
|
UpdateFunctionConfigurationRequest.struct_class = Types::UpdateFunctionConfigurationRequest
|
378
408
|
|
379
409
|
VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
|
@@ -488,6 +518,16 @@ module Aws
|
|
488
518
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
489
519
|
end)
|
490
520
|
|
521
|
+
api.add_operation(:get_account_settings, Seahorse::Model::Operation.new.tap do |o|
|
522
|
+
o.name = "GetAccountSettings"
|
523
|
+
o.http_method = "GET"
|
524
|
+
o.http_request_uri = "/2016-08-19/account-settings/"
|
525
|
+
o.input = Shapes::ShapeRef.new(shape: GetAccountSettingsRequest)
|
526
|
+
o.output = Shapes::ShapeRef.new(shape: GetAccountSettingsResponse)
|
527
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
528
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
529
|
+
end)
|
530
|
+
|
491
531
|
api.add_operation(:get_alias, Seahorse::Model::Operation.new.tap do |o|
|
492
532
|
o.name = "GetAlias"
|
493
533
|
o.http_method = "GET"
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -9,6 +9,59 @@ module Aws
|
|
9
9
|
module Lambda
|
10
10
|
module Types
|
11
11
|
|
12
|
+
# Provides limits of code size and concurrency associated with the
|
13
|
+
# current account and region.
|
14
|
+
# @!attribute [rw] total_code_size
|
15
|
+
# Maximum size, in megabytes, of a code package you can upload per
|
16
|
+
# region. The default size is 75 GB.
|
17
|
+
# @return [Integer]
|
18
|
+
#
|
19
|
+
# @!attribute [rw] code_size_unzipped
|
20
|
+
# Size, in bytes, of code/dependencies that you can zip into a
|
21
|
+
# deployment package (uncompressed zip/jar size) for uploading. The
|
22
|
+
# default limit is 250 MB.
|
23
|
+
# @return [Integer]
|
24
|
+
#
|
25
|
+
# @!attribute [rw] code_size_zipped
|
26
|
+
# Size, in bytes, of a single zipped code/dependencies package you can
|
27
|
+
# upload for your Lambda function(.zip/.jar file). Try using AWS S3
|
28
|
+
# for uploading larger files. Default limit is 50 MB.
|
29
|
+
# @return [Integer]
|
30
|
+
#
|
31
|
+
# @!attribute [rw] concurrent_executions
|
32
|
+
# Number of simultaneous executions of your function per region. For
|
33
|
+
# more information or to request a limit increase for concurrent
|
34
|
+
# executions, see [Lambda Function Concurrent Executions][1]. The
|
35
|
+
# default limit is 100.
|
36
|
+
#
|
37
|
+
#
|
38
|
+
#
|
39
|
+
# [1]: http://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html
|
40
|
+
# @return [Integer]
|
41
|
+
class AccountLimit < Struct.new(
|
42
|
+
:total_code_size,
|
43
|
+
:code_size_unzipped,
|
44
|
+
:code_size_zipped,
|
45
|
+
:concurrent_executions)
|
46
|
+
include Aws::Structure
|
47
|
+
end
|
48
|
+
|
49
|
+
# Provides code size usage and function count associated with the
|
50
|
+
# current account and region.
|
51
|
+
# @!attribute [rw] total_code_size
|
52
|
+
# Total size, in megabytes, of the account's deployment packages per
|
53
|
+
# region.
|
54
|
+
# @return [Integer]
|
55
|
+
#
|
56
|
+
# @!attribute [rw] function_count
|
57
|
+
# The number of your account's existing functions per region.
|
58
|
+
# @return [Integer]
|
59
|
+
class AccountUsage < Struct.new(
|
60
|
+
:total_code_size,
|
61
|
+
:function_count)
|
62
|
+
include Aws::Structure
|
63
|
+
end
|
64
|
+
|
12
65
|
# @note When making an API call, pass AddPermissionRequest
|
13
66
|
# data as a hash:
|
14
67
|
#
|
@@ -196,7 +249,8 @@ module Aws
|
|
196
249
|
# function_name: "FunctionName", # required
|
197
250
|
# enabled: false,
|
198
251
|
# batch_size: 1,
|
199
|
-
# starting_position: "TRIM_HORIZON", # required, accepts TRIM_HORIZON, LATEST
|
252
|
+
# starting_position: "TRIM_HORIZON", # required, accepts TRIM_HORIZON, LATEST, AT_TIMESTAMP
|
253
|
+
# starting_position_timestamp: Time.now,
|
200
254
|
# }
|
201
255
|
# @!attribute [rw] event_source_arn
|
202
256
|
# The Amazon Resource Name (ARN) of the Amazon Kinesis or the Amazon
|
@@ -245,19 +299,33 @@ module Aws
|
|
245
299
|
#
|
246
300
|
# @!attribute [rw] starting_position
|
247
301
|
# The position in the stream where AWS Lambda should start reading.
|
248
|
-
# For more information, go to
|
249
|
-
# Kinesis API Reference*.
|
302
|
+
# Valid only for Kinesis streams. For more information, go to
|
303
|
+
# [ShardIteratorType][1] in the *Amazon Kinesis API Reference*.
|
250
304
|
#
|
251
305
|
#
|
252
306
|
#
|
253
307
|
# [1]: http://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType
|
254
308
|
# @return [String]
|
309
|
+
#
|
310
|
+
# @!attribute [rw] starting_position_timestamp
|
311
|
+
# The timestamp of the data record from which to start reading. Used
|
312
|
+
# with [shard iterator type][1] AT\_TIMESTAMP. If a record with this
|
313
|
+
# exact timestamp does not exist, the iterator returned is for the
|
314
|
+
# next (later) record. If the timestamp is older than the current trim
|
315
|
+
# horizon, the iterator returned is for the oldest untrimmed data
|
316
|
+
# record (TRIM\_HORIZON). Valid only for Kinesis streams.
|
317
|
+
#
|
318
|
+
#
|
319
|
+
#
|
320
|
+
# [1]: http://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType
|
321
|
+
# @return [Time]
|
255
322
|
class CreateEventSourceMappingRequest < Struct.new(
|
256
323
|
:event_source_arn,
|
257
324
|
:function_name,
|
258
325
|
:enabled,
|
259
326
|
:batch_size,
|
260
|
-
:starting_position
|
327
|
+
:starting_position,
|
328
|
+
:starting_position_timestamp)
|
261
329
|
include Aws::Structure
|
262
330
|
end
|
263
331
|
|
@@ -266,7 +334,7 @@ module Aws
|
|
266
334
|
#
|
267
335
|
# {
|
268
336
|
# function_name: "FunctionName", # required
|
269
|
-
# runtime: "nodejs", # required, accepts nodejs, nodejs4.3, java8, python2.7
|
337
|
+
# runtime: "nodejs", # required, accepts nodejs, nodejs4.3, java8, python2.7, dotnetcore1.0, nodejs4.3-edge
|
270
338
|
# role: "RoleArn", # required
|
271
339
|
# handler: "Handler", # required
|
272
340
|
# code: { # required
|
@@ -283,6 +351,9 @@ module Aws
|
|
283
351
|
# subnet_ids: ["SubnetId"],
|
284
352
|
# security_group_ids: ["SecurityGroupId"],
|
285
353
|
# },
|
354
|
+
# dead_letter_config: {
|
355
|
+
# target_arn: "ResourceArn",
|
356
|
+
# },
|
286
357
|
# environment: {
|
287
358
|
# variables: {
|
288
359
|
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
@@ -302,6 +373,13 @@ module Aws
|
|
302
373
|
#
|
303
374
|
# To use the Node.js runtime v4.3, set the value to "nodejs4.3". To
|
304
375
|
# use earlier runtime (v0.10.42), set the value to "nodejs".
|
376
|
+
#
|
377
|
+
# <note markdown="1"> You can no longer create functions using the v0.10.42 runtime
|
378
|
+
# version as of November, 2016. Existing functions will be supported
|
379
|
+
# until early 2017 but we recommend you migrate them to nodejs4.3
|
380
|
+
# runtime version as soon as possible.
|
381
|
+
#
|
382
|
+
# </note>
|
305
383
|
# @return [String]
|
306
384
|
#
|
307
385
|
# @!attribute [rw] role
|
@@ -364,6 +442,11 @@ module Aws
|
|
364
442
|
# one security group and one subnet ID.
|
365
443
|
# @return [Types::VpcConfig]
|
366
444
|
#
|
445
|
+
# @!attribute [rw] dead_letter_config
|
446
|
+
# The parent object that contains the target ARN (Amazon Resource
|
447
|
+
# Name) of an Amazon SQS queue or Amazon SNS topic.
|
448
|
+
# @return [Types::DeadLetterConfig]
|
449
|
+
#
|
367
450
|
# @!attribute [rw] environment
|
368
451
|
# The parent object that contains your environment's configuration
|
369
452
|
# settings.
|
@@ -385,11 +468,29 @@ module Aws
|
|
385
468
|
:memory_size,
|
386
469
|
:publish,
|
387
470
|
:vpc_config,
|
471
|
+
:dead_letter_config,
|
388
472
|
:environment,
|
389
473
|
:kms_key_arn)
|
390
474
|
include Aws::Structure
|
391
475
|
end
|
392
476
|
|
477
|
+
# The parent object that contains the target ARN (Amazon Resource Name)
|
478
|
+
# of an Amazon SQS queue or Amazon SNS topic.
|
479
|
+
# @note When making an API call, pass DeadLetterConfig
|
480
|
+
# data as a hash:
|
481
|
+
#
|
482
|
+
# {
|
483
|
+
# target_arn: "ResourceArn",
|
484
|
+
# }
|
485
|
+
# @!attribute [rw] target_arn
|
486
|
+
# The ARN (Amazon Resource Value) of an Amazon SQS queue or Amazon SNS
|
487
|
+
# topic you specify as your Dead Letter Queue (DLQ).
|
488
|
+
# @return [String]
|
489
|
+
class DeadLetterConfig < Struct.new(
|
490
|
+
:target_arn)
|
491
|
+
include Aws::Structure
|
492
|
+
end
|
493
|
+
|
393
494
|
# @note When making an API call, pass DeleteAliasRequest
|
394
495
|
# data as a hash:
|
395
496
|
#
|
@@ -699,6 +800,11 @@ module Aws
|
|
699
800
|
# VPC configuration associated with your Lambda function.
|
700
801
|
# @return [Types::VpcConfigResponse]
|
701
802
|
#
|
803
|
+
# @!attribute [rw] dead_letter_config
|
804
|
+
# The parent object that contains the target ARN (Amazon Resource
|
805
|
+
# Name) of an Amazon SQS queue or Amazon SNS topic.
|
806
|
+
# @return [Types::DeadLetterConfig]
|
807
|
+
#
|
702
808
|
# @!attribute [rw] environment
|
703
809
|
# The parent object that contains your environment's configuration
|
704
810
|
# settings.
|
@@ -723,11 +829,30 @@ module Aws
|
|
723
829
|
:code_sha_256,
|
724
830
|
:version,
|
725
831
|
:vpc_config,
|
832
|
+
:dead_letter_config,
|
726
833
|
:environment,
|
727
834
|
:kms_key_arn)
|
728
835
|
include Aws::Structure
|
729
836
|
end
|
730
837
|
|
838
|
+
# @api private
|
839
|
+
class GetAccountSettingsRequest < Aws::EmptyStructure; end
|
840
|
+
|
841
|
+
# @!attribute [rw] account_limit
|
842
|
+
# Provides limits of code size and concurrency associated with the
|
843
|
+
# current account and region.
|
844
|
+
# @return [Types::AccountLimit]
|
845
|
+
#
|
846
|
+
# @!attribute [rw] account_usage
|
847
|
+
# Provides code size usage and function count associated with the
|
848
|
+
# current account and region.
|
849
|
+
# @return [Types::AccountUsage]
|
850
|
+
class GetAccountSettingsResponse < Struct.new(
|
851
|
+
:account_limit,
|
852
|
+
:account_usage)
|
853
|
+
include Aws::Structure
|
854
|
+
end
|
855
|
+
|
731
856
|
# @note When making an API call, pass GetAliasRequest
|
732
857
|
# data as a hash:
|
733
858
|
#
|
@@ -1504,8 +1629,11 @@ module Aws
|
|
1504
1629
|
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
1505
1630
|
# },
|
1506
1631
|
# },
|
1632
|
+
# runtime: "nodejs", # accepts nodejs, nodejs4.3, java8, python2.7, dotnetcore1.0, nodejs4.3-edge
|
1633
|
+
# dead_letter_config: {
|
1634
|
+
# target_arn: "ResourceArn",
|
1635
|
+
# },
|
1507
1636
|
# kms_key_arn: "KMSKeyArn",
|
1508
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, java8, python2.7
|
1509
1637
|
# }
|
1510
1638
|
# @!attribute [rw] function_name
|
1511
1639
|
# The name of the Lambda function.
|
@@ -1562,18 +1690,28 @@ module Aws
|
|
1562
1690
|
# settings.
|
1563
1691
|
# @return [Types::Environment]
|
1564
1692
|
#
|
1565
|
-
# @!attribute [rw] kms_key_arn
|
1566
|
-
# The Amazon Resource Name (ARN) of the KMS key used to encrypt your
|
1567
|
-
# function's environment variables. If you elect to use the AWS
|
1568
|
-
# Lambda default service key, pass in an empty string ("") for this
|
1569
|
-
# parameter.
|
1570
|
-
# @return [String]
|
1571
|
-
#
|
1572
1693
|
# @!attribute [rw] runtime
|
1573
1694
|
# The runtime environment for the Lambda function.
|
1574
1695
|
#
|
1575
1696
|
# To use the Node.js runtime v4.3, set the value to "nodejs4.3". To
|
1576
1697
|
# use earlier runtime (v0.10.42), set the value to "nodejs".
|
1698
|
+
#
|
1699
|
+
# <note markdown="1"> You can no longer downgrade to the v0.10.42 runtime version. This
|
1700
|
+
# version will no longer be supported as of early 2017.
|
1701
|
+
#
|
1702
|
+
# </note>
|
1703
|
+
# @return [String]
|
1704
|
+
#
|
1705
|
+
# @!attribute [rw] dead_letter_config
|
1706
|
+
# The parent object that contains the target ARN (Amazon Resource
|
1707
|
+
# Name) of an Amazon SQS queue or Amazon SNS topic.
|
1708
|
+
# @return [Types::DeadLetterConfig]
|
1709
|
+
#
|
1710
|
+
# @!attribute [rw] kms_key_arn
|
1711
|
+
# The Amazon Resource Name (ARN) of the KMS key used to encrypt your
|
1712
|
+
# function's environment variables. If you elect to use the AWS
|
1713
|
+
# Lambda default service key, pass in an empty string ("") for this
|
1714
|
+
# parameter.
|
1577
1715
|
# @return [String]
|
1578
1716
|
class UpdateFunctionConfigurationRequest < Struct.new(
|
1579
1717
|
:function_name,
|
@@ -1584,8 +1722,9 @@ module Aws
|
|
1584
1722
|
:memory_size,
|
1585
1723
|
:vpc_config,
|
1586
1724
|
:environment,
|
1587
|
-
:
|
1588
|
-
:
|
1725
|
+
:runtime,
|
1726
|
+
:dead_letter_config,
|
1727
|
+
:kms_key_arn)
|
1589
1728
|
include Aws::Structure
|
1590
1729
|
end
|
1591
1730
|
|
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.rc2
|
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: 2016-12-
|
11
|
+
date: 2016-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|