aws-sdk-lambda 1.71.0 → 1.72.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +102 -27
- data/lib/aws-sdk-lambda/types.rb +38 -18
- data/lib/aws-sdk-lambda.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6ef8f0b72cb309671bc6fa6ca6fb30767b5eff46ecaa1faa9d38390721e9224
|
4
|
+
data.tar.gz: e6628560aabac046267542ea9de44c3ca5d27aee386866a9aa68394f4bf3c073
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45dabaf98ae3bdcb9d41313c3fa2da7c7fef8b0a8adaa5eba65222d10f6d7a5cee3b199759830e4719c71d58b2c9ecb886ec0c336416c4049241fc96ff933d3a
|
7
|
+
data.tar.gz: 4b234a833dbd316064842054d6a4859d1025ee61365de0697cbdfb4855c44d40343fda01d77a1fa2e8cc26f27b7555d66c4b205138a60fece47ca3477065627f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.72.0 (2021-11-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added support for CLIENT_CERTIFICATE_TLS_AUTH and SERVER_ROOT_CA_CERTIFICATE as SourceAccessType for MSK and Kafka event source mappings.
|
8
|
+
|
4
9
|
1.71.0 (2021-11-04)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.72.0
|
@@ -663,19 +663,20 @@ module Aws::Lambda
|
|
663
663
|
# Creates a mapping between an event source and an Lambda function.
|
664
664
|
# Lambda reads items from the event source and triggers the function.
|
665
665
|
#
|
666
|
-
# For details about
|
666
|
+
# For details about how to configure different event sources, see the
|
667
|
+
# following topics.
|
667
668
|
#
|
668
|
-
# * [
|
669
|
+
# * [ Amazon DynamoDB Streams][1]
|
669
670
|
#
|
670
|
-
# * [
|
671
|
+
# * [ Amazon Kinesis][2]
|
671
672
|
#
|
672
|
-
# * [
|
673
|
+
# * [ Amazon SQS][3]
|
673
674
|
#
|
674
|
-
# * [
|
675
|
+
# * [ Amazon MQ and RabbitMQ][4]
|
675
676
|
#
|
676
|
-
# * [
|
677
|
+
# * [ Amazon MSK][5]
|
677
678
|
#
|
678
|
-
# * [
|
679
|
+
# * [ Apache Kafka][6]
|
679
680
|
#
|
680
681
|
# The following error handling options are only available for stream
|
681
682
|
# sources (DynamoDB and Kinesis):
|
@@ -697,6 +698,21 @@ module Aws::Lambda
|
|
697
698
|
# * `ParallelizationFactor` - Process multiple batches from each shard
|
698
699
|
# concurrently.
|
699
700
|
#
|
701
|
+
# For information about which configuration parameters apply to each
|
702
|
+
# event source, see the following topics.
|
703
|
+
#
|
704
|
+
# * [ Amazon DynamoDB Streams][7]
|
705
|
+
#
|
706
|
+
# * [ Amazon Kinesis][8]
|
707
|
+
#
|
708
|
+
# * [ Amazon SQS][9]
|
709
|
+
#
|
710
|
+
# * [ Amazon MQ and RabbitMQ][10]
|
711
|
+
#
|
712
|
+
# * [ Amazon MSK][11]
|
713
|
+
#
|
714
|
+
# * [ Apache Kafka][12]
|
715
|
+
#
|
700
716
|
#
|
701
717
|
#
|
702
718
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping
|
@@ -705,6 +721,12 @@ module Aws::Lambda
|
|
705
721
|
# [4]: https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping
|
706
722
|
# [5]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html
|
707
723
|
# [6]: https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html
|
724
|
+
# [7]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params
|
725
|
+
# [8]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params
|
726
|
+
# [9]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params
|
727
|
+
# [10]: https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params
|
728
|
+
# [11]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms
|
729
|
+
# [12]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms
|
708
730
|
#
|
709
731
|
# @option params [String] :event_source_arn
|
710
732
|
# The Amazon Resource Name (ARN) of the event source.
|
@@ -761,6 +783,8 @@ module Aws::Lambda
|
|
761
783
|
#
|
762
784
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
763
785
|
#
|
786
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
787
|
+
#
|
764
788
|
# @option params [Integer] :maximum_batching_window_in_seconds
|
765
789
|
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
766
790
|
# in seconds, that Lambda spends gathering records before invoking the
|
@@ -874,7 +898,7 @@ module Aws::Lambda
|
|
874
898
|
# queues: ["Queue"],
|
875
899
|
# source_access_configurations: [
|
876
900
|
# {
|
877
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
|
901
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
|
878
902
|
# uri: "URI",
|
879
903
|
# },
|
880
904
|
# ],
|
@@ -907,7 +931,7 @@ module Aws::Lambda
|
|
907
931
|
# resp.queues #=> Array
|
908
932
|
# resp.queues[0] #=> String
|
909
933
|
# resp.source_access_configurations #=> Array
|
910
|
-
# resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST"
|
934
|
+
# resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
|
911
935
|
# resp.source_access_configurations[0].uri #=> String
|
912
936
|
# resp.self_managed_event_source.endpoints #=> Hash
|
913
937
|
# resp.self_managed_event_source.endpoints["EndPointType"] #=> Array
|
@@ -1041,10 +1065,10 @@ module Aws::Lambda
|
|
1041
1065
|
# A description of the function.
|
1042
1066
|
#
|
1043
1067
|
# @option params [Integer] :timeout
|
1044
|
-
# The amount of time that Lambda allows a function to run
|
1045
|
-
# stopping it. The default is 3 seconds. The maximum allowed
|
1046
|
-
# 900 seconds. For additional information, see [Lambda
|
1047
|
-
# environment][1].
|
1068
|
+
# The amount of time (in seconds) that Lambda allows a function to run
|
1069
|
+
# before stopping it. The default is 3 seconds. The maximum allowed
|
1070
|
+
# value is 900 seconds. For additional information, see [Lambda
|
1071
|
+
# execution environment][1].
|
1048
1072
|
#
|
1049
1073
|
#
|
1050
1074
|
#
|
@@ -1138,8 +1162,8 @@ module Aws::Lambda
|
|
1138
1162
|
#
|
1139
1163
|
# @option params [Array<String>] :architectures
|
1140
1164
|
# The instruction set architecture that the function supports. Enter a
|
1141
|
-
# string array with one of the valid values
|
1142
|
-
# `x86_64`.
|
1165
|
+
# string array with one of the valid values (arm64 or x86\_64). The
|
1166
|
+
# default value is `x86_64`.
|
1143
1167
|
#
|
1144
1168
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1145
1169
|
#
|
@@ -1424,7 +1448,7 @@ module Aws::Lambda
|
|
1424
1448
|
# resp.queues #=> Array
|
1425
1449
|
# resp.queues[0] #=> String
|
1426
1450
|
# resp.source_access_configurations #=> Array
|
1427
|
-
# resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST"
|
1451
|
+
# resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
|
1428
1452
|
# resp.source_access_configurations[0].uri #=> String
|
1429
1453
|
# resp.self_managed_event_source.endpoints #=> Hash
|
1430
1454
|
# resp.self_managed_event_source.endpoints["EndPointType"] #=> Array
|
@@ -1857,7 +1881,7 @@ module Aws::Lambda
|
|
1857
1881
|
# resp.queues #=> Array
|
1858
1882
|
# resp.queues[0] #=> String
|
1859
1883
|
# resp.source_access_configurations #=> Array
|
1860
|
-
# resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST"
|
1884
|
+
# resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
|
1861
1885
|
# resp.source_access_configurations[0].uri #=> String
|
1862
1886
|
# resp.self_managed_event_source.endpoints #=> Hash
|
1863
1887
|
# resp.self_managed_event_source.endpoints["EndPointType"] #=> Array
|
@@ -2631,6 +2655,10 @@ module Aws::Lambda
|
|
2631
2655
|
# @option params [String, StringIO, File] :payload
|
2632
2656
|
# The JSON that you want to provide to your Lambda function as input.
|
2633
2657
|
#
|
2658
|
+
# You can enter the JSON directly. For example, `--payload '\{ "key":
|
2659
|
+
# "value" \}'`. You can also specify a file path. For example,
|
2660
|
+
# `--payload file://payload.json`.
|
2661
|
+
#
|
2634
2662
|
# @option params [String] :qualifier
|
2635
2663
|
# Specify a version or alias to invoke a published version of the
|
2636
2664
|
# function.
|
@@ -2917,7 +2945,7 @@ module Aws::Lambda
|
|
2917
2945
|
# resp.event_source_mappings[0].queues #=> Array
|
2918
2946
|
# resp.event_source_mappings[0].queues[0] #=> String
|
2919
2947
|
# resp.event_source_mappings[0].source_access_configurations #=> Array
|
2920
|
-
# resp.event_source_mappings[0].source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST"
|
2948
|
+
# resp.event_source_mappings[0].source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
|
2921
2949
|
# resp.event_source_mappings[0].source_access_configurations[0].uri #=> String
|
2922
2950
|
# resp.event_source_mappings[0].self_managed_event_source.endpoints #=> Hash
|
2923
2951
|
# resp.event_source_mappings[0].self_managed_event_source.endpoints["EndPointType"] #=> Array
|
@@ -4344,6 +4372,21 @@ module Aws::Lambda
|
|
4344
4372
|
# Lambda invokes, or pause invocation and resume later from the same
|
4345
4373
|
# location.
|
4346
4374
|
#
|
4375
|
+
# For details about how to configure different event sources, see the
|
4376
|
+
# following topics.
|
4377
|
+
#
|
4378
|
+
# * [ Amazon DynamoDB Streams][1]
|
4379
|
+
#
|
4380
|
+
# * [ Amazon Kinesis][2]
|
4381
|
+
#
|
4382
|
+
# * [ Amazon SQS][3]
|
4383
|
+
#
|
4384
|
+
# * [ Amazon MQ and RabbitMQ][4]
|
4385
|
+
#
|
4386
|
+
# * [ Amazon MSK][5]
|
4387
|
+
#
|
4388
|
+
# * [ Apache Kafka][6]
|
4389
|
+
#
|
4347
4390
|
# The following error handling options are only available for stream
|
4348
4391
|
# sources (DynamoDB and Kinesis):
|
4349
4392
|
#
|
@@ -4364,6 +4407,36 @@ module Aws::Lambda
|
|
4364
4407
|
# * `ParallelizationFactor` - Process multiple batches from each shard
|
4365
4408
|
# concurrently.
|
4366
4409
|
#
|
4410
|
+
# For information about which configuration parameters apply to each
|
4411
|
+
# event source, see the following topics.
|
4412
|
+
#
|
4413
|
+
# * [ Amazon DynamoDB Streams][7]
|
4414
|
+
#
|
4415
|
+
# * [ Amazon Kinesis][8]
|
4416
|
+
#
|
4417
|
+
# * [ Amazon SQS][9]
|
4418
|
+
#
|
4419
|
+
# * [ Amazon MQ and RabbitMQ][10]
|
4420
|
+
#
|
4421
|
+
# * [ Amazon MSK][11]
|
4422
|
+
#
|
4423
|
+
# * [ Apache Kafka][12]
|
4424
|
+
#
|
4425
|
+
#
|
4426
|
+
#
|
4427
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping
|
4428
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping
|
4429
|
+
# [3]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource
|
4430
|
+
# [4]: https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping
|
4431
|
+
# [5]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html
|
4432
|
+
# [6]: https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html
|
4433
|
+
# [7]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params
|
4434
|
+
# [8]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params
|
4435
|
+
# [9]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params
|
4436
|
+
# [10]: https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params
|
4437
|
+
# [11]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms
|
4438
|
+
# [12]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms
|
4439
|
+
#
|
4367
4440
|
# @option params [required, String] :uuid
|
4368
4441
|
# The identifier of the event source mapping.
|
4369
4442
|
#
|
@@ -4409,6 +4482,8 @@ module Aws::Lambda
|
|
4409
4482
|
#
|
4410
4483
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
4411
4484
|
#
|
4485
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
4486
|
+
#
|
4412
4487
|
# @option params [Integer] :maximum_batching_window_in_seconds
|
4413
4488
|
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
4414
4489
|
# in seconds, that Lambda spends gathering records before invoking the
|
@@ -4499,7 +4574,7 @@ module Aws::Lambda
|
|
4499
4574
|
# parallelization_factor: 1,
|
4500
4575
|
# source_access_configurations: [
|
4501
4576
|
# {
|
4502
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
|
4577
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
|
4503
4578
|
# uri: "URI",
|
4504
4579
|
# },
|
4505
4580
|
# ],
|
@@ -4528,7 +4603,7 @@ module Aws::Lambda
|
|
4528
4603
|
# resp.queues #=> Array
|
4529
4604
|
# resp.queues[0] #=> String
|
4530
4605
|
# resp.source_access_configurations #=> Array
|
4531
|
-
# resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST"
|
4606
|
+
# resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
|
4532
4607
|
# resp.source_access_configurations[0].uri #=> String
|
4533
4608
|
# resp.self_managed_event_source.endpoints #=> Hash
|
4534
4609
|
# resp.self_managed_event_source.endpoints["EndPointType"] #=> Array
|
@@ -4617,8 +4692,8 @@ module Aws::Lambda
|
|
4617
4692
|
#
|
4618
4693
|
# @option params [Array<String>] :architectures
|
4619
4694
|
# The instruction set architecture that the function supports. Enter a
|
4620
|
-
# string array with one of the valid values
|
4621
|
-
# `x86_64`.
|
4695
|
+
# string array with one of the valid values (arm64 or x86\_64). The
|
4696
|
+
# default value is `x86_64`.
|
4622
4697
|
#
|
4623
4698
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4624
4699
|
#
|
@@ -4790,10 +4865,10 @@ module Aws::Lambda
|
|
4790
4865
|
# A description of the function.
|
4791
4866
|
#
|
4792
4867
|
# @option params [Integer] :timeout
|
4793
|
-
# The amount of time that Lambda allows a function to run
|
4794
|
-
# stopping it. The default is 3 seconds. The maximum allowed
|
4795
|
-
# 900 seconds. For additional information, see [Lambda
|
4796
|
-
# environment][1].
|
4868
|
+
# The amount of time (in seconds) that Lambda allows a function to run
|
4869
|
+
# before stopping it. The default is 3 seconds. The maximum allowed
|
4870
|
+
# value is 900 seconds. For additional information, see [Lambda
|
4871
|
+
# execution environment][1].
|
4797
4872
|
#
|
4798
4873
|
#
|
4799
4874
|
#
|
@@ -5120,7 +5195,7 @@ module Aws::Lambda
|
|
5120
5195
|
params: params,
|
5121
5196
|
config: config)
|
5122
5197
|
context[:gem_name] = 'aws-sdk-lambda'
|
5123
|
-
context[:gem_version] = '1.
|
5198
|
+
context[:gem_version] = '1.72.0'
|
5124
5199
|
Seahorse::Client::Request.new(handlers, context)
|
5125
5200
|
end
|
5126
5201
|
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -650,7 +650,7 @@ module Aws::Lambda
|
|
650
650
|
# queues: ["Queue"],
|
651
651
|
# source_access_configurations: [
|
652
652
|
# {
|
653
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
|
653
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
|
654
654
|
# uri: "URI",
|
655
655
|
# },
|
656
656
|
# ],
|
@@ -719,6 +719,8 @@ module Aws::Lambda
|
|
719
719
|
# 10,000.
|
720
720
|
#
|
721
721
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
722
|
+
#
|
723
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
722
724
|
# @return [Integer]
|
723
725
|
#
|
724
726
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
@@ -924,10 +926,10 @@ module Aws::Lambda
|
|
924
926
|
# @return [String]
|
925
927
|
#
|
926
928
|
# @!attribute [rw] timeout
|
927
|
-
# The amount of time that Lambda allows a function to run
|
928
|
-
# stopping it. The default is 3 seconds. The maximum allowed
|
929
|
-
# 900 seconds. For additional information, see [Lambda
|
930
|
-
# environment][1].
|
929
|
+
# The amount of time (in seconds) that Lambda allows a function to run
|
930
|
+
# before stopping it. The default is 3 seconds. The maximum allowed
|
931
|
+
# value is 900 seconds. For additional information, see [Lambda
|
932
|
+
# execution environment][1].
|
931
933
|
#
|
932
934
|
#
|
933
935
|
#
|
@@ -1035,8 +1037,8 @@ module Aws::Lambda
|
|
1035
1037
|
#
|
1036
1038
|
# @!attribute [rw] architectures
|
1037
1039
|
# The instruction set architecture that the function supports. Enter a
|
1038
|
-
# string array with one of the valid values
|
1039
|
-
# `x86_64`.
|
1040
|
+
# string array with one of the valid values (arm64 or x86\_64). The
|
1041
|
+
# default value is `x86_64`.
|
1040
1042
|
# @return [Array<String>]
|
1041
1043
|
#
|
1042
1044
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
|
@@ -1978,7 +1980,7 @@ module Aws::Lambda
|
|
1978
1980
|
# @!attribute [rw] kms_key_arn
|
1979
1981
|
# The KMS key that's used to encrypt the function's environment
|
1980
1982
|
# variables. This key is only returned if you've configured a
|
1981
|
-
# customer managed
|
1983
|
+
# customer managed key.
|
1982
1984
|
# @return [String]
|
1983
1985
|
#
|
1984
1986
|
# @!attribute [rw] tracing_config
|
@@ -1986,7 +1988,7 @@ module Aws::Lambda
|
|
1986
1988
|
# @return [Types::TracingConfigResponse]
|
1987
1989
|
#
|
1988
1990
|
# @!attribute [rw] master_arn
|
1989
|
-
# For Lambda@Edge functions, the ARN of the
|
1991
|
+
# For Lambda@Edge functions, the ARN of the main function.
|
1990
1992
|
# @return [String]
|
1991
1993
|
#
|
1992
1994
|
# @!attribute [rw] revision_id
|
@@ -3060,6 +3062,10 @@ module Aws::Lambda
|
|
3060
3062
|
#
|
3061
3063
|
# @!attribute [rw] payload
|
3062
3064
|
# The JSON that you want to provide to your Lambda function as input.
|
3065
|
+
#
|
3066
|
+
# You can enter the JSON directly. For example, `--payload '\{ "key":
|
3067
|
+
# "value" \}'`. You can also specify a file path. For example,
|
3068
|
+
# `--payload file://payload.json`.
|
3063
3069
|
# @return [String]
|
3064
3070
|
#
|
3065
3071
|
# @!attribute [rw] qualifier
|
@@ -4946,7 +4952,7 @@ module Aws::Lambda
|
|
4946
4952
|
# data as a hash:
|
4947
4953
|
#
|
4948
4954
|
# {
|
4949
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
|
4955
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
|
4950
4956
|
# uri: "URI",
|
4951
4957
|
# }
|
4952
4958
|
#
|
@@ -4978,7 +4984,19 @@ module Aws::Lambda
|
|
4978
4984
|
#
|
4979
4985
|
# * `VIRTUAL_HOST` - (Amazon MQ) The name of the virtual host in your
|
4980
4986
|
# RabbitMQ broker. Lambda uses this RabbitMQ host as the event
|
4981
|
-
# source.
|
4987
|
+
# source. This property cannot be specified in an
|
4988
|
+
# UpdateEventSourceMapping API call.
|
4989
|
+
#
|
4990
|
+
# * `CLIENT_CERTIFICATE_TLS_AUTH` - (Amazon MSK, Self-managed Apache
|
4991
|
+
# Kafka) The Secrets Manager ARN of your secret key containing the
|
4992
|
+
# certificate chain (X.509 PEM), private key (PKCS#8 PEM), and
|
4993
|
+
# private key password (optional) used for mutual TLS authentication
|
4994
|
+
# of your MSK/Apache Kafka brokers.
|
4995
|
+
#
|
4996
|
+
# * `SERVER_ROOT_CA_CERTIFICATE` - (Self-managed Apache Kafka) The
|
4997
|
+
# Secrets Manager ARN of your secret key containing the root CA
|
4998
|
+
# certificate (X.509 PEM) used for TLS encryption of your Apache
|
4999
|
+
# Kafka brokers.
|
4982
5000
|
# @return [String]
|
4983
5001
|
#
|
4984
5002
|
# @!attribute [rw] uri
|
@@ -5297,7 +5315,7 @@ module Aws::Lambda
|
|
5297
5315
|
# parallelization_factor: 1,
|
5298
5316
|
# source_access_configurations: [
|
5299
5317
|
# {
|
5300
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
|
5318
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
|
5301
5319
|
# uri: "URI",
|
5302
5320
|
# },
|
5303
5321
|
# ],
|
@@ -5352,6 +5370,8 @@ module Aws::Lambda
|
|
5352
5370
|
# 10,000.
|
5353
5371
|
#
|
5354
5372
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
5373
|
+
#
|
5374
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
5355
5375
|
# @return [Integer]
|
5356
5376
|
#
|
5357
5377
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
@@ -5502,8 +5522,8 @@ module Aws::Lambda
|
|
5502
5522
|
#
|
5503
5523
|
# @!attribute [rw] architectures
|
5504
5524
|
# The instruction set architecture that the function supports. Enter a
|
5505
|
-
# string array with one of the valid values
|
5506
|
-
# `x86_64`.
|
5525
|
+
# string array with one of the valid values (arm64 or x86\_64). The
|
5526
|
+
# default value is `x86_64`.
|
5507
5527
|
# @return [Array<String>]
|
5508
5528
|
#
|
5509
5529
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeRequest AWS API Documentation
|
@@ -5601,10 +5621,10 @@ module Aws::Lambda
|
|
5601
5621
|
# @return [String]
|
5602
5622
|
#
|
5603
5623
|
# @!attribute [rw] timeout
|
5604
|
-
# The amount of time that Lambda allows a function to run
|
5605
|
-
# stopping it. The default is 3 seconds. The maximum allowed
|
5606
|
-
# 900 seconds. For additional information, see [Lambda
|
5607
|
-
# environment][1].
|
5624
|
+
# The amount of time (in seconds) that Lambda allows a function to run
|
5625
|
+
# before stopping it. The default is 3 seconds. The maximum allowed
|
5626
|
+
# value is 900 seconds. For additional information, see [Lambda
|
5627
|
+
# execution environment][1].
|
5608
5628
|
#
|
5609
5629
|
#
|
5610
5630
|
#
|
data/lib/aws-sdk-lambda.rb
CHANGED
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.72.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: 2021-11-
|
11
|
+
date: 2021-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|