aws-sdk-lambda 1.152.0 → 1.153.0
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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +186 -38
- data/lib/aws-sdk-lambda/client_api.rb +30 -0
- data/lib/aws-sdk-lambda/types.rb +141 -8
- data/lib/aws-sdk-lambda.rb +1 -1
- data/sig/client.rbs +68 -2
- data/sig/types.rbs +23 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1e03b2aad7c23ace995b2227f8fdb64c826eb967d254477e87413320aba5a38
|
4
|
+
data.tar.gz: 79c21aab845d5a8f99422f02ab1d4e8c2549d45e68ea3c6ef170158c8f3f78dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ced572c7a02e8e5342cf709c396bd226d849437499070e9f6210806313779913f0171b0c58cc96f87871a179cca0c8e1f79c3464320e5c42b1fafbb8ece770b6
|
7
|
+
data.tar.gz: 8750c1ddf8bbed594fe118271b198a96f167b6e0eb6a9cbdd6446ac1a54176222c6749e00ab46edcbb05efb0967a4e876a8086cdfd5a04c880729761a4c68f0f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.153.0 (2025-06-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Support Schema Registry feature for Kafka Event Source Mapping. Customers can now configure a Schema Registry to enable schema validation and filtering for Avro, Protobuf, and JSON-formatted events in Lambda for Kafka Event Source.
|
8
|
+
|
4
9
|
1.152.0 (2025-06-02)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.153.0
|
@@ -948,27 +948,28 @@ module Aws::Lambda
|
|
948
948
|
# For stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed
|
949
949
|
# Apache Kafka), the following option is also available:
|
950
950
|
#
|
951
|
-
# * `
|
952
|
-
#
|
951
|
+
# * `OnFailure` – Send discarded records to an Amazon SQS queue, Amazon
|
952
|
+
# SNS topic, or Amazon S3 bucket. For more information, see [Adding a
|
953
|
+
# destination][8].
|
953
954
|
#
|
954
955
|
# ^
|
955
956
|
#
|
956
957
|
# For information about which configuration parameters apply to each
|
957
958
|
# event source, see the following topics.
|
958
959
|
#
|
959
|
-
# * [ Amazon DynamoDB Streams][
|
960
|
+
# * [ Amazon DynamoDB Streams][9]
|
960
961
|
#
|
961
|
-
# * [ Amazon Kinesis][
|
962
|
+
# * [ Amazon Kinesis][10]
|
962
963
|
#
|
963
|
-
# * [ Amazon SQS][
|
964
|
+
# * [ Amazon SQS][11]
|
964
965
|
#
|
965
|
-
# * [ Amazon MQ and RabbitMQ][
|
966
|
+
# * [ Amazon MQ and RabbitMQ][12]
|
966
967
|
#
|
967
|
-
# * [ Amazon MSK][
|
968
|
+
# * [ Amazon MSK][13]
|
968
969
|
#
|
969
|
-
# * [ Apache Kafka][
|
970
|
+
# * [ Apache Kafka][14]
|
970
971
|
#
|
971
|
-
# * [ Amazon DocumentDB][
|
972
|
+
# * [ Amazon DocumentDB][15]
|
972
973
|
#
|
973
974
|
#
|
974
975
|
#
|
@@ -979,13 +980,14 @@ module Aws::Lambda
|
|
979
980
|
# [5]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html
|
980
981
|
# [6]: https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html
|
981
982
|
# [7]: https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html
|
982
|
-
# [8]: https://docs.aws.amazon.com/lambda/latest/dg/
|
983
|
-
# [9]: https://docs.aws.amazon.com/lambda/latest/dg/with-
|
984
|
-
# [10]: https://docs.aws.amazon.com/lambda/latest/dg/with-
|
985
|
-
# [11]: https://docs.aws.amazon.com/lambda/latest/dg/with-
|
986
|
-
# [12]: https://docs.aws.amazon.com/lambda/latest/dg/with-
|
987
|
-
# [13]: https://docs.aws.amazon.com/lambda/latest/dg/with-
|
988
|
-
# [14]: https://docs.aws.amazon.com/lambda/latest/dg/with-
|
983
|
+
# [8]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations
|
984
|
+
# [9]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params
|
985
|
+
# [10]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params
|
986
|
+
# [11]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params
|
987
|
+
# [12]: https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params
|
988
|
+
# [13]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms
|
989
|
+
# [14]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms
|
990
|
+
# [15]: https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html#docdb-configuration
|
989
991
|
#
|
990
992
|
# @option params [String] :event_source_arn
|
991
993
|
# The Amazon Resource Name (ARN) of the event source.
|
@@ -1294,9 +1296,39 @@ module Aws::Lambda
|
|
1294
1296
|
# function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
|
1295
1297
|
# amazon_managed_kafka_event_source_config: {
|
1296
1298
|
# consumer_group_id: "URI",
|
1299
|
+
# schema_registry_config: {
|
1300
|
+
# schema_registry_uri: "SchemaRegistryUri",
|
1301
|
+
# event_record_format: "JSON", # accepts JSON, SOURCE
|
1302
|
+
# access_configs: [
|
1303
|
+
# {
|
1304
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
|
1305
|
+
# uri: "Arn",
|
1306
|
+
# },
|
1307
|
+
# ],
|
1308
|
+
# schema_validation_configs: [
|
1309
|
+
# {
|
1310
|
+
# attribute: "KEY", # accepts KEY, VALUE
|
1311
|
+
# },
|
1312
|
+
# ],
|
1313
|
+
# },
|
1297
1314
|
# },
|
1298
1315
|
# self_managed_kafka_event_source_config: {
|
1299
1316
|
# consumer_group_id: "URI",
|
1317
|
+
# schema_registry_config: {
|
1318
|
+
# schema_registry_uri: "SchemaRegistryUri",
|
1319
|
+
# event_record_format: "JSON", # accepts JSON, SOURCE
|
1320
|
+
# access_configs: [
|
1321
|
+
# {
|
1322
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
|
1323
|
+
# uri: "Arn",
|
1324
|
+
# },
|
1325
|
+
# ],
|
1326
|
+
# schema_validation_configs: [
|
1327
|
+
# {
|
1328
|
+
# attribute: "KEY", # accepts KEY, VALUE
|
1329
|
+
# },
|
1330
|
+
# ],
|
1331
|
+
# },
|
1300
1332
|
# },
|
1301
1333
|
# scaling_config: {
|
1302
1334
|
# maximum_concurrency: 1,
|
@@ -1351,7 +1383,21 @@ module Aws::Lambda
|
|
1351
1383
|
# resp.function_response_types #=> Array
|
1352
1384
|
# resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
|
1353
1385
|
# resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
|
1386
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
|
1387
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
|
1388
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
|
1389
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs[0].type #=> String, one of "BASIC_AUTH", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
|
1390
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
|
1391
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
|
1392
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
|
1354
1393
|
# resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
|
1394
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
|
1395
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
|
1396
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
|
1397
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].type #=> String, one of "BASIC_AUTH", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
|
1398
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
|
1399
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
|
1400
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
|
1355
1401
|
# resp.scaling_config.maximum_concurrency #=> Integer
|
1356
1402
|
# resp.document_db_event_source_config.database_name #=> String
|
1357
1403
|
# resp.document_db_event_source_config.collection_name #=> String
|
@@ -2140,7 +2186,7 @@ module Aws::Lambda
|
|
2140
2186
|
# batch_size: 5,
|
2141
2187
|
# event_source_arn: "arn:aws:sqs:us-west-2:123456789012:my-queue",
|
2142
2188
|
# function_arn: "arn:aws:lambda:us-east-2:123456789012:function:my-function",
|
2143
|
-
# last_modified: Time.parse("
|
2189
|
+
# last_modified: Time.parse("2016-11-21T19:49:20.006Z"),
|
2144
2190
|
# state: "Enabled",
|
2145
2191
|
# state_transition_reason: "USER_INITIATED",
|
2146
2192
|
# uuid: "14e0db71-xmpl-4eb5-b481-8945cf9d10c2",
|
@@ -2187,7 +2233,21 @@ module Aws::Lambda
|
|
2187
2233
|
# resp.function_response_types #=> Array
|
2188
2234
|
# resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
|
2189
2235
|
# resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
|
2236
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
|
2237
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
|
2238
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
|
2239
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs[0].type #=> String, one of "BASIC_AUTH", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
|
2240
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
|
2241
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
|
2242
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
|
2190
2243
|
# resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
|
2244
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
|
2245
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
|
2246
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
|
2247
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].type #=> String, one of "BASIC_AUTH", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
|
2248
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
|
2249
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
|
2250
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
|
2191
2251
|
# resp.scaling_config.maximum_concurrency #=> Integer
|
2192
2252
|
# resp.document_db_event_source_config.database_name #=> String
|
2193
2253
|
# resp.document_db_event_source_config.collection_name #=> String
|
@@ -2757,7 +2817,7 @@ module Aws::Lambda
|
|
2757
2817
|
# },
|
2758
2818
|
# event_source_arn: "arn:aws:sqs:us-east-2:123456789012:mySQSqueue",
|
2759
2819
|
# function_arn: "arn:aws:lambda:us-east-2:123456789012:function:myFunction",
|
2760
|
-
# last_modified: Time.parse("
|
2820
|
+
# last_modified: Time.parse("2016-11-21T19:49:20.006Z"),
|
2761
2821
|
# last_processing_result: "No records processed",
|
2762
2822
|
# maximum_record_age_in_seconds: 604800,
|
2763
2823
|
# maximum_retry_attempts: 10000,
|
@@ -2807,7 +2867,21 @@ module Aws::Lambda
|
|
2807
2867
|
# resp.function_response_types #=> Array
|
2808
2868
|
# resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
|
2809
2869
|
# resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
|
2870
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
|
2871
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
|
2872
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
|
2873
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs[0].type #=> String, one of "BASIC_AUTH", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
|
2874
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
|
2875
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
|
2876
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
|
2810
2877
|
# resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
|
2878
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
|
2879
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
|
2880
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
|
2881
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].type #=> String, one of "BASIC_AUTH", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
|
2882
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
|
2883
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
|
2884
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
|
2811
2885
|
# resp.scaling_config.maximum_concurrency #=> Integer
|
2812
2886
|
# resp.document_db_event_source_config.database_name #=> String
|
2813
2887
|
# resp.document_db_event_source_config.collection_name #=> String
|
@@ -3359,7 +3433,7 @@ module Aws::Lambda
|
|
3359
3433
|
# },
|
3360
3434
|
# },
|
3361
3435
|
# function_arn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE",
|
3362
|
-
# last_modified: Time.parse("
|
3436
|
+
# last_modified: Time.parse("2016-11-21T19:49:20.006Z"),
|
3363
3437
|
# maximum_event_age_in_seconds: 3600,
|
3364
3438
|
# maximum_retry_attempts: 0,
|
3365
3439
|
# }
|
@@ -4661,7 +4735,21 @@ module Aws::Lambda
|
|
4661
4735
|
# resp.event_source_mappings[0].function_response_types #=> Array
|
4662
4736
|
# resp.event_source_mappings[0].function_response_types[0] #=> String, one of "ReportBatchItemFailures"
|
4663
4737
|
# resp.event_source_mappings[0].amazon_managed_kafka_event_source_config.consumer_group_id #=> String
|
4738
|
+
# resp.event_source_mappings[0].amazon_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
|
4739
|
+
# resp.event_source_mappings[0].amazon_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
|
4740
|
+
# resp.event_source_mappings[0].amazon_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
|
4741
|
+
# resp.event_source_mappings[0].amazon_managed_kafka_event_source_config.schema_registry_config.access_configs[0].type #=> String, one of "BASIC_AUTH", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
|
4742
|
+
# resp.event_source_mappings[0].amazon_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
|
4743
|
+
# resp.event_source_mappings[0].amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
|
4744
|
+
# resp.event_source_mappings[0].amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
|
4664
4745
|
# resp.event_source_mappings[0].self_managed_kafka_event_source_config.consumer_group_id #=> String
|
4746
|
+
# resp.event_source_mappings[0].self_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
|
4747
|
+
# resp.event_source_mappings[0].self_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
|
4748
|
+
# resp.event_source_mappings[0].self_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
|
4749
|
+
# resp.event_source_mappings[0].self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].type #=> String, one of "BASIC_AUTH", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
|
4750
|
+
# resp.event_source_mappings[0].self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
|
4751
|
+
# resp.event_source_mappings[0].self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
|
4752
|
+
# resp.event_source_mappings[0].self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
|
4665
4753
|
# resp.event_source_mappings[0].scaling_config.maximum_concurrency #=> Integer
|
4666
4754
|
# resp.event_source_mappings[0].document_db_event_source_config.database_name #=> String
|
4667
4755
|
# resp.event_source_mappings[0].document_db_event_source_config.collection_name #=> String
|
@@ -6218,7 +6306,7 @@ module Aws::Lambda
|
|
6218
6306
|
# },
|
6219
6307
|
# },
|
6220
6308
|
# function_arn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:$LATEST",
|
6221
|
-
# last_modified: Time.parse("
|
6309
|
+
# last_modified: Time.parse("2016-11-21T19:49:20.006Z"),
|
6222
6310
|
# maximum_event_age_in_seconds: 3600,
|
6223
6311
|
# maximum_retry_attempts: 0,
|
6224
6312
|
# }
|
@@ -6930,27 +7018,28 @@ module Aws::Lambda
|
|
6930
7018
|
# For stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed
|
6931
7019
|
# Apache Kafka), the following option is also available:
|
6932
7020
|
#
|
6933
|
-
# * `
|
6934
|
-
#
|
7021
|
+
# * `OnFailure` – Send discarded records to an Amazon SQS queue, Amazon
|
7022
|
+
# SNS topic, or Amazon S3 bucket. For more information, see [Adding a
|
7023
|
+
# destination][8].
|
6935
7024
|
#
|
6936
7025
|
# ^
|
6937
7026
|
#
|
6938
7027
|
# For information about which configuration parameters apply to each
|
6939
7028
|
# event source, see the following topics.
|
6940
7029
|
#
|
6941
|
-
# * [ Amazon DynamoDB Streams][
|
7030
|
+
# * [ Amazon DynamoDB Streams][9]
|
6942
7031
|
#
|
6943
|
-
# * [ Amazon Kinesis][
|
7032
|
+
# * [ Amazon Kinesis][10]
|
6944
7033
|
#
|
6945
|
-
# * [ Amazon SQS][
|
7034
|
+
# * [ Amazon SQS][11]
|
6946
7035
|
#
|
6947
|
-
# * [ Amazon MQ and RabbitMQ][
|
7036
|
+
# * [ Amazon MQ and RabbitMQ][12]
|
6948
7037
|
#
|
6949
|
-
# * [ Amazon MSK][
|
7038
|
+
# * [ Amazon MSK][13]
|
6950
7039
|
#
|
6951
|
-
# * [ Apache Kafka][
|
7040
|
+
# * [ Apache Kafka][14]
|
6952
7041
|
#
|
6953
|
-
# * [ Amazon DocumentDB][
|
7042
|
+
# * [ Amazon DocumentDB][15]
|
6954
7043
|
#
|
6955
7044
|
#
|
6956
7045
|
#
|
@@ -6961,13 +7050,14 @@ module Aws::Lambda
|
|
6961
7050
|
# [5]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html
|
6962
7051
|
# [6]: https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html
|
6963
7052
|
# [7]: https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html
|
6964
|
-
# [8]: https://docs.aws.amazon.com/lambda/latest/dg/
|
6965
|
-
# [9]: https://docs.aws.amazon.com/lambda/latest/dg/with-
|
6966
|
-
# [10]: https://docs.aws.amazon.com/lambda/latest/dg/with-
|
6967
|
-
# [11]: https://docs.aws.amazon.com/lambda/latest/dg/with-
|
6968
|
-
# [12]: https://docs.aws.amazon.com/lambda/latest/dg/with-
|
6969
|
-
# [13]: https://docs.aws.amazon.com/lambda/latest/dg/with-
|
6970
|
-
# [14]: https://docs.aws.amazon.com/lambda/latest/dg/with-
|
7053
|
+
# [8]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations
|
7054
|
+
# [9]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params
|
7055
|
+
# [10]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params
|
7056
|
+
# [11]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params
|
7057
|
+
# [12]: https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params
|
7058
|
+
# [13]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms
|
7059
|
+
# [14]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms
|
7060
|
+
# [15]: https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html#docdb-configuration
|
6971
7061
|
#
|
6972
7062
|
# @option params [required, String] :uuid
|
6973
7063
|
# The identifier of the event source mapping.
|
@@ -7091,6 +7181,14 @@ module Aws::Lambda
|
|
7091
7181
|
#
|
7092
7182
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
|
7093
7183
|
#
|
7184
|
+
# @option params [Types::AmazonManagedKafkaEventSourceConfig] :amazon_managed_kafka_event_source_config
|
7185
|
+
# Specific configuration settings for an Amazon Managed Streaming for
|
7186
|
+
# Apache Kafka (Amazon MSK) event source.
|
7187
|
+
#
|
7188
|
+
# @option params [Types::SelfManagedKafkaEventSourceConfig] :self_managed_kafka_event_source_config
|
7189
|
+
# Specific configuration settings for a self-managed Apache Kafka event
|
7190
|
+
# source.
|
7191
|
+
#
|
7094
7192
|
# @option params [Types::DocumentDBEventSourceConfig] :document_db_event_source_config
|
7095
7193
|
# Specific configuration settings for a DocumentDB event source.
|
7096
7194
|
#
|
@@ -7173,7 +7271,7 @@ module Aws::Lambda
|
|
7173
7271
|
# batch_size: 123,
|
7174
7272
|
# event_source_arn: "arn:aws:s3:::examplebucket/*",
|
7175
7273
|
# function_arn: "arn:aws:lambda:us-west-2:123456789012:function:myFunction",
|
7176
|
-
# last_modified: Time.parse("2016-11-21T19:49:20.
|
7274
|
+
# last_modified: Time.parse("2016-11-21T19:49:20.006Z"),
|
7177
7275
|
# last_processing_result: "",
|
7178
7276
|
# state: "",
|
7179
7277
|
# state_transition_reason: "",
|
@@ -7218,6 +7316,42 @@ module Aws::Lambda
|
|
7218
7316
|
# scaling_config: {
|
7219
7317
|
# maximum_concurrency: 1,
|
7220
7318
|
# },
|
7319
|
+
# amazon_managed_kafka_event_source_config: {
|
7320
|
+
# consumer_group_id: "URI",
|
7321
|
+
# schema_registry_config: {
|
7322
|
+
# schema_registry_uri: "SchemaRegistryUri",
|
7323
|
+
# event_record_format: "JSON", # accepts JSON, SOURCE
|
7324
|
+
# access_configs: [
|
7325
|
+
# {
|
7326
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
|
7327
|
+
# uri: "Arn",
|
7328
|
+
# },
|
7329
|
+
# ],
|
7330
|
+
# schema_validation_configs: [
|
7331
|
+
# {
|
7332
|
+
# attribute: "KEY", # accepts KEY, VALUE
|
7333
|
+
# },
|
7334
|
+
# ],
|
7335
|
+
# },
|
7336
|
+
# },
|
7337
|
+
# self_managed_kafka_event_source_config: {
|
7338
|
+
# consumer_group_id: "URI",
|
7339
|
+
# schema_registry_config: {
|
7340
|
+
# schema_registry_uri: "SchemaRegistryUri",
|
7341
|
+
# event_record_format: "JSON", # accepts JSON, SOURCE
|
7342
|
+
# access_configs: [
|
7343
|
+
# {
|
7344
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
|
7345
|
+
# uri: "Arn",
|
7346
|
+
# },
|
7347
|
+
# ],
|
7348
|
+
# schema_validation_configs: [
|
7349
|
+
# {
|
7350
|
+
# attribute: "KEY", # accepts KEY, VALUE
|
7351
|
+
# },
|
7352
|
+
# ],
|
7353
|
+
# },
|
7354
|
+
# },
|
7221
7355
|
# document_db_event_source_config: {
|
7222
7356
|
# database_name: "DatabaseName",
|
7223
7357
|
# collection_name: "CollectionName",
|
@@ -7268,7 +7402,21 @@ module Aws::Lambda
|
|
7268
7402
|
# resp.function_response_types #=> Array
|
7269
7403
|
# resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
|
7270
7404
|
# resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
|
7405
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
|
7406
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
|
7407
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
|
7408
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs[0].type #=> String, one of "BASIC_AUTH", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
|
7409
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
|
7410
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
|
7411
|
+
# resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
|
7271
7412
|
# resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
|
7413
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
|
7414
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
|
7415
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
|
7416
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].type #=> String, one of "BASIC_AUTH", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
|
7417
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
|
7418
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
|
7419
|
+
# resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
|
7272
7420
|
# resp.scaling_config.maximum_concurrency #=> Integer
|
7273
7421
|
# resp.document_db_event_source_config.database_name #=> String
|
7274
7422
|
# resp.document_db_event_source_config.collection_name #=> String
|
@@ -8204,7 +8352,7 @@ module Aws::Lambda
|
|
8204
8352
|
tracer: tracer
|
8205
8353
|
)
|
8206
8354
|
context[:gem_name] = 'aws-sdk-lambda'
|
8207
|
-
context[:gem_version] = '1.
|
8355
|
+
context[:gem_version] = '1.153.0'
|
8208
8356
|
Seahorse::Client::Request.new(handlers, context)
|
8209
8357
|
end
|
8210
8358
|
|
@@ -196,6 +196,13 @@ module Aws::Lambda
|
|
196
196
|
KMSInvalidStateException = Shapes::StructureShape.new(name: 'KMSInvalidStateException')
|
197
197
|
KMSKeyArn = Shapes::StringShape.new(name: 'KMSKeyArn')
|
198
198
|
KMSNotFoundException = Shapes::StructureShape.new(name: 'KMSNotFoundException')
|
199
|
+
KafkaSchemaRegistryAccessConfig = Shapes::StructureShape.new(name: 'KafkaSchemaRegistryAccessConfig')
|
200
|
+
KafkaSchemaRegistryAccessConfigList = Shapes::ListShape.new(name: 'KafkaSchemaRegistryAccessConfigList')
|
201
|
+
KafkaSchemaRegistryAuthType = Shapes::StringShape.new(name: 'KafkaSchemaRegistryAuthType')
|
202
|
+
KafkaSchemaRegistryConfig = Shapes::StructureShape.new(name: 'KafkaSchemaRegistryConfig')
|
203
|
+
KafkaSchemaValidationAttribute = Shapes::StringShape.new(name: 'KafkaSchemaValidationAttribute')
|
204
|
+
KafkaSchemaValidationConfig = Shapes::StructureShape.new(name: 'KafkaSchemaValidationConfig')
|
205
|
+
KafkaSchemaValidationConfigList = Shapes::ListShape.new(name: 'KafkaSchemaValidationConfigList')
|
199
206
|
LastUpdateStatus = Shapes::StringShape.new(name: 'LastUpdateStatus')
|
200
207
|
LastUpdateStatusReason = Shapes::StringShape.new(name: 'LastUpdateStatusReason')
|
201
208
|
LastUpdateStatusReasonCode = Shapes::StringShape.new(name: 'LastUpdateStatusReasonCode')
|
@@ -321,6 +328,8 @@ module Aws::Lambda
|
|
321
328
|
S3Key = Shapes::StringShape.new(name: 'S3Key')
|
322
329
|
S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
|
323
330
|
ScalingConfig = Shapes::StructureShape.new(name: 'ScalingConfig')
|
331
|
+
SchemaRegistryEventRecordFormat = Shapes::StringShape.new(name: 'SchemaRegistryEventRecordFormat')
|
332
|
+
SchemaRegistryUri = Shapes::StringShape.new(name: 'SchemaRegistryUri')
|
324
333
|
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
325
334
|
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
326
335
|
SelfManagedEventSource = Shapes::StructureShape.new(name: 'SelfManagedEventSource')
|
@@ -454,6 +463,7 @@ module Aws::Lambda
|
|
454
463
|
AllowedPublishers.struct_class = Types::AllowedPublishers
|
455
464
|
|
456
465
|
AmazonManagedKafkaEventSourceConfig.add_member(:consumer_group_id, Shapes::ShapeRef.new(shape: URI, location_name: "ConsumerGroupId"))
|
466
|
+
AmazonManagedKafkaEventSourceConfig.add_member(:schema_registry_config, Shapes::ShapeRef.new(shape: KafkaSchemaRegistryConfig, location_name: "SchemaRegistryConfig"))
|
457
467
|
AmazonManagedKafkaEventSourceConfig.struct_class = Types::AmazonManagedKafkaEventSourceConfig
|
458
468
|
|
459
469
|
ArchitecturesList.member = Shapes::ShapeRef.new(shape: Architecture)
|
@@ -1069,6 +1079,23 @@ module Aws::Lambda
|
|
1069
1079
|
KMSNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
1070
1080
|
KMSNotFoundException.struct_class = Types::KMSNotFoundException
|
1071
1081
|
|
1082
|
+
KafkaSchemaRegistryAccessConfig.add_member(:type, Shapes::ShapeRef.new(shape: KafkaSchemaRegistryAuthType, location_name: "Type"))
|
1083
|
+
KafkaSchemaRegistryAccessConfig.add_member(:uri, Shapes::ShapeRef.new(shape: Arn, location_name: "URI"))
|
1084
|
+
KafkaSchemaRegistryAccessConfig.struct_class = Types::KafkaSchemaRegistryAccessConfig
|
1085
|
+
|
1086
|
+
KafkaSchemaRegistryAccessConfigList.member = Shapes::ShapeRef.new(shape: KafkaSchemaRegistryAccessConfig)
|
1087
|
+
|
1088
|
+
KafkaSchemaRegistryConfig.add_member(:schema_registry_uri, Shapes::ShapeRef.new(shape: SchemaRegistryUri, location_name: "SchemaRegistryURI"))
|
1089
|
+
KafkaSchemaRegistryConfig.add_member(:event_record_format, Shapes::ShapeRef.new(shape: SchemaRegistryEventRecordFormat, location_name: "EventRecordFormat"))
|
1090
|
+
KafkaSchemaRegistryConfig.add_member(:access_configs, Shapes::ShapeRef.new(shape: KafkaSchemaRegistryAccessConfigList, location_name: "AccessConfigs"))
|
1091
|
+
KafkaSchemaRegistryConfig.add_member(:schema_validation_configs, Shapes::ShapeRef.new(shape: KafkaSchemaValidationConfigList, location_name: "SchemaValidationConfigs"))
|
1092
|
+
KafkaSchemaRegistryConfig.struct_class = Types::KafkaSchemaRegistryConfig
|
1093
|
+
|
1094
|
+
KafkaSchemaValidationConfig.add_member(:attribute, Shapes::ShapeRef.new(shape: KafkaSchemaValidationAttribute, location_name: "Attribute"))
|
1095
|
+
KafkaSchemaValidationConfig.struct_class = Types::KafkaSchemaValidationConfig
|
1096
|
+
|
1097
|
+
KafkaSchemaValidationConfigList.member = Shapes::ShapeRef.new(shape: KafkaSchemaValidationConfig)
|
1098
|
+
|
1072
1099
|
Layer.add_member(:arn, Shapes::ShapeRef.new(shape: LayerVersionArn, location_name: "Arn"))
|
1073
1100
|
Layer.add_member(:code_size, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSize"))
|
1074
1101
|
Layer.add_member(:signing_profile_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningProfileVersionArn"))
|
@@ -1389,6 +1416,7 @@ module Aws::Lambda
|
|
1389
1416
|
SelfManagedEventSource.struct_class = Types::SelfManagedEventSource
|
1390
1417
|
|
1391
1418
|
SelfManagedKafkaEventSourceConfig.add_member(:consumer_group_id, Shapes::ShapeRef.new(shape: URI, location_name: "ConsumerGroupId"))
|
1419
|
+
SelfManagedKafkaEventSourceConfig.add_member(:schema_registry_config, Shapes::ShapeRef.new(shape: KafkaSchemaRegistryConfig, location_name: "SchemaRegistryConfig"))
|
1392
1420
|
SelfManagedKafkaEventSourceConfig.struct_class = Types::SelfManagedKafkaEventSourceConfig
|
1393
1421
|
|
1394
1422
|
ServiceException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
@@ -1497,6 +1525,8 @@ module Aws::Lambda
|
|
1497
1525
|
UpdateEventSourceMappingRequest.add_member(:tumbling_window_in_seconds, Shapes::ShapeRef.new(shape: TumblingWindowInSeconds, location_name: "TumblingWindowInSeconds"))
|
1498
1526
|
UpdateEventSourceMappingRequest.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
|
1499
1527
|
UpdateEventSourceMappingRequest.add_member(:scaling_config, Shapes::ShapeRef.new(shape: ScalingConfig, location_name: "ScalingConfig"))
|
1528
|
+
UpdateEventSourceMappingRequest.add_member(:amazon_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: AmazonManagedKafkaEventSourceConfig, location_name: "AmazonManagedKafkaEventSourceConfig"))
|
1529
|
+
UpdateEventSourceMappingRequest.add_member(:self_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: SelfManagedKafkaEventSourceConfig, location_name: "SelfManagedKafkaEventSourceConfig"))
|
1500
1530
|
UpdateEventSourceMappingRequest.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
|
1501
1531
|
UpdateEventSourceMappingRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
|
1502
1532
|
UpdateEventSourceMappingRequest.add_member(:metrics_config, Shapes::ShapeRef.new(shape: EventSourceMappingMetricsConfig, location_name: "MetricsConfig"))
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -350,10 +350,15 @@ module Aws::Lambda
|
|
350
350
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id
|
351
351
|
# @return [String]
|
352
352
|
#
|
353
|
+
# @!attribute [rw] schema_registry_config
|
354
|
+
# Specific configuration settings for a Kafka schema registry.
|
355
|
+
# @return [Types::KafkaSchemaRegistryConfig]
|
356
|
+
#
|
353
357
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AmazonManagedKafkaEventSourceConfig AWS API Documentation
|
354
358
|
#
|
355
359
|
class AmazonManagedKafkaEventSourceConfig < Struct.new(
|
356
|
-
:consumer_group_id
|
360
|
+
:consumer_group_id,
|
361
|
+
:schema_registry_config)
|
357
362
|
SENSITIVE = []
|
358
363
|
include Aws::Structure
|
359
364
|
end
|
@@ -1320,7 +1325,7 @@ module Aws::Lambda
|
|
1320
1325
|
#
|
1321
1326
|
#
|
1322
1327
|
#
|
1323
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq
|
1328
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-dlq
|
1324
1329
|
#
|
1325
1330
|
# @!attribute [rw] target_arn
|
1326
1331
|
# The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS
|
@@ -1580,10 +1585,17 @@ module Aws::Lambda
|
|
1580
1585
|
end
|
1581
1586
|
|
1582
1587
|
# A configuration object that specifies the destination of an event
|
1583
|
-
# after Lambda processes it.
|
1588
|
+
# after Lambda processes it. For more information, see [Adding a
|
1589
|
+
# destination][1].
|
1590
|
+
#
|
1591
|
+
#
|
1592
|
+
#
|
1593
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations
|
1584
1594
|
#
|
1585
1595
|
# @!attribute [rw] on_success
|
1586
|
-
# The destination configuration for successful invocations.
|
1596
|
+
# The destination configuration for successful invocations. Not
|
1597
|
+
# supported in `CreateEventSourceMapping` or
|
1598
|
+
# `UpdateEventSourceMapping`.
|
1587
1599
|
# @return [Types::OnSuccess]
|
1588
1600
|
#
|
1589
1601
|
# @!attribute [rw] on_failure
|
@@ -1951,7 +1963,7 @@ module Aws::Lambda
|
|
1951
1963
|
# @return [Time]
|
1952
1964
|
#
|
1953
1965
|
# @!attribute [rw] last_processing_result
|
1954
|
-
# The result of the
|
1966
|
+
# The result of the event source mapping's last processing attempt.
|
1955
1967
|
# @return [String]
|
1956
1968
|
#
|
1957
1969
|
# @!attribute [rw] state
|
@@ -4071,6 +4083,100 @@ module Aws::Lambda
|
|
4071
4083
|
include Aws::Structure
|
4072
4084
|
end
|
4073
4085
|
|
4086
|
+
# Specific access configuration settings that tell Lambda how to
|
4087
|
+
# authenticate with your schema registry.
|
4088
|
+
#
|
4089
|
+
# If you're working with an Glue schema registry, don't provide
|
4090
|
+
# authentication details in this object. Instead, ensure that your
|
4091
|
+
# execution role has the required permissions for Lambda to access your
|
4092
|
+
# cluster.
|
4093
|
+
#
|
4094
|
+
# If you're working with a Confluent schema registry, choose the
|
4095
|
+
# authentication method in the `Type` field, and provide the Secrets
|
4096
|
+
# Manager secret ARN in the `URI` field.
|
4097
|
+
#
|
4098
|
+
# @!attribute [rw] type
|
4099
|
+
# The type of authentication Lambda uses to access your schema
|
4100
|
+
# registry.
|
4101
|
+
# @return [String]
|
4102
|
+
#
|
4103
|
+
# @!attribute [rw] uri
|
4104
|
+
# The URI of the secret (Secrets Manager secret ARN) to authenticate
|
4105
|
+
# with your schema registry.
|
4106
|
+
# @return [String]
|
4107
|
+
#
|
4108
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/KafkaSchemaRegistryAccessConfig AWS API Documentation
|
4109
|
+
#
|
4110
|
+
class KafkaSchemaRegistryAccessConfig < Struct.new(
|
4111
|
+
:type,
|
4112
|
+
:uri)
|
4113
|
+
SENSITIVE = []
|
4114
|
+
include Aws::Structure
|
4115
|
+
end
|
4116
|
+
|
4117
|
+
# Specific configuration settings for a Kafka schema registry.
|
4118
|
+
#
|
4119
|
+
# @!attribute [rw] schema_registry_uri
|
4120
|
+
# The URI for your schema registry. The correct URI format depends on
|
4121
|
+
# the type of schema registry you're using.
|
4122
|
+
#
|
4123
|
+
# * For Glue schema registries, use the ARN of the registry.
|
4124
|
+
#
|
4125
|
+
# * For Confluent schema registries, use the URL of the registry.
|
4126
|
+
# @return [String]
|
4127
|
+
#
|
4128
|
+
# @!attribute [rw] event_record_format
|
4129
|
+
# The record format that Lambda delivers to your function after schema
|
4130
|
+
# validation.
|
4131
|
+
#
|
4132
|
+
# * Choose `JSON` to have Lambda deliver the record to your function
|
4133
|
+
# as a standard JSON object.
|
4134
|
+
#
|
4135
|
+
# * Choose `SOURCE` to have Lambda deliver the record to your function
|
4136
|
+
# in its original source format. Lambda removes all schema metadata,
|
4137
|
+
# such as the schema ID, before sending the record to your function.
|
4138
|
+
# @return [String]
|
4139
|
+
#
|
4140
|
+
# @!attribute [rw] access_configs
|
4141
|
+
# An array of access configuration objects that tell Lambda how to
|
4142
|
+
# authenticate with your schema registry.
|
4143
|
+
# @return [Array<Types::KafkaSchemaRegistryAccessConfig>]
|
4144
|
+
#
|
4145
|
+
# @!attribute [rw] schema_validation_configs
|
4146
|
+
# An array of schema validation configuration objects, which tell
|
4147
|
+
# Lambda the message attributes you want to validate and filter using
|
4148
|
+
# your schema registry.
|
4149
|
+
# @return [Array<Types::KafkaSchemaValidationConfig>]
|
4150
|
+
#
|
4151
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/KafkaSchemaRegistryConfig AWS API Documentation
|
4152
|
+
#
|
4153
|
+
class KafkaSchemaRegistryConfig < Struct.new(
|
4154
|
+
:schema_registry_uri,
|
4155
|
+
:event_record_format,
|
4156
|
+
:access_configs,
|
4157
|
+
:schema_validation_configs)
|
4158
|
+
SENSITIVE = []
|
4159
|
+
include Aws::Structure
|
4160
|
+
end
|
4161
|
+
|
4162
|
+
# Specific schema validation configuration settings that tell Lambda the
|
4163
|
+
# message attributes you want to validate and filter using your schema
|
4164
|
+
# registry.
|
4165
|
+
#
|
4166
|
+
# @!attribute [rw] attribute
|
4167
|
+
# The attributes you want your schema registry to validate and filter
|
4168
|
+
# for. If you selected `JSON` as the `EventRecordFormat`, Lambda also
|
4169
|
+
# deserializes the selected message attributes.
|
4170
|
+
# @return [String]
|
4171
|
+
#
|
4172
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/KafkaSchemaValidationConfig AWS API Documentation
|
4173
|
+
#
|
4174
|
+
class KafkaSchemaValidationConfig < Struct.new(
|
4175
|
+
:attribute)
|
4176
|
+
SENSITIVE = []
|
4177
|
+
include Aws::Structure
|
4178
|
+
end
|
4179
|
+
|
4074
4180
|
# An [Lambda layer][1].
|
4075
4181
|
#
|
4076
4182
|
#
|
@@ -4944,7 +5050,12 @@ module Aws::Lambda
|
|
4944
5050
|
include Aws::Structure
|
4945
5051
|
end
|
4946
5052
|
|
4947
|
-
# A destination for events that failed processing.
|
5053
|
+
# A destination for events that failed processing. For more information,
|
5054
|
+
# see [Adding a destination][1].
|
5055
|
+
#
|
5056
|
+
#
|
5057
|
+
#
|
5058
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations
|
4948
5059
|
#
|
4949
5060
|
# @!attribute [rw] destination
|
4950
5061
|
# The Amazon Resource Name (ARN) of the destination resource.
|
@@ -4982,6 +5093,11 @@ module Aws::Lambda
|
|
4982
5093
|
# configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or
|
4983
5094
|
# Amazon EventBridge event bus as the destination.
|
4984
5095
|
#
|
5096
|
+
# <note markdown="1"> `OnSuccess` is not supported in `CreateEventSourceMapping` or
|
5097
|
+
# `UpdateEventSourceMapping` requests.
|
5098
|
+
#
|
5099
|
+
# </note>
|
5100
|
+
#
|
4985
5101
|
#
|
4986
5102
|
#
|
4987
5103
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations
|
@@ -6008,13 +6124,18 @@ module Aws::Lambda
|
|
6008
6124
|
#
|
6009
6125
|
#
|
6010
6126
|
#
|
6011
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-
|
6127
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka-process.html#services-smaa-topic-add
|
6012
6128
|
# @return [String]
|
6013
6129
|
#
|
6130
|
+
# @!attribute [rw] schema_registry_config
|
6131
|
+
# Specific configuration settings for a Kafka schema registry.
|
6132
|
+
# @return [Types::KafkaSchemaRegistryConfig]
|
6133
|
+
#
|
6014
6134
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SelfManagedKafkaEventSourceConfig AWS API Documentation
|
6015
6135
|
#
|
6016
6136
|
class SelfManagedKafkaEventSourceConfig < Struct.new(
|
6017
|
-
:consumer_group_id
|
6137
|
+
:consumer_group_id,
|
6138
|
+
:schema_registry_config)
|
6018
6139
|
SENSITIVE = []
|
6019
6140
|
include Aws::Structure
|
6020
6141
|
end
|
@@ -6595,6 +6716,16 @@ module Aws::Lambda
|
|
6595
6716
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
|
6596
6717
|
# @return [Types::ScalingConfig]
|
6597
6718
|
#
|
6719
|
+
# @!attribute [rw] amazon_managed_kafka_event_source_config
|
6720
|
+
# Specific configuration settings for an Amazon Managed Streaming for
|
6721
|
+
# Apache Kafka (Amazon MSK) event source.
|
6722
|
+
# @return [Types::AmazonManagedKafkaEventSourceConfig]
|
6723
|
+
#
|
6724
|
+
# @!attribute [rw] self_managed_kafka_event_source_config
|
6725
|
+
# Specific configuration settings for a self-managed Apache Kafka
|
6726
|
+
# event source.
|
6727
|
+
# @return [Types::SelfManagedKafkaEventSourceConfig]
|
6728
|
+
#
|
6598
6729
|
# @!attribute [rw] document_db_event_source_config
|
6599
6730
|
# Specific configuration settings for a DocumentDB event source.
|
6600
6731
|
# @return [Types::DocumentDBEventSourceConfig]
|
@@ -6648,6 +6779,8 @@ module Aws::Lambda
|
|
6648
6779
|
:tumbling_window_in_seconds,
|
6649
6780
|
:function_response_types,
|
6650
6781
|
:scaling_config,
|
6782
|
+
:amazon_managed_kafka_event_source_config,
|
6783
|
+
:self_managed_kafka_event_source_config,
|
6651
6784
|
:document_db_event_source_config,
|
6652
6785
|
:kms_key_arn,
|
6653
6786
|
:metrics_config,
|
data/lib/aws-sdk-lambda.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -233,10 +233,40 @@ module Aws
|
|
233
233
|
},
|
234
234
|
?function_response_types: Array[("ReportBatchItemFailures")],
|
235
235
|
?amazon_managed_kafka_event_source_config: {
|
236
|
-
consumer_group_id: ::String
|
236
|
+
consumer_group_id: ::String?,
|
237
|
+
schema_registry_config: {
|
238
|
+
schema_registry_uri: ::String?,
|
239
|
+
event_record_format: ("JSON" | "SOURCE")?,
|
240
|
+
access_configs: Array[
|
241
|
+
{
|
242
|
+
type: ("BASIC_AUTH" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE")?,
|
243
|
+
uri: ::String?
|
244
|
+
},
|
245
|
+
]?,
|
246
|
+
schema_validation_configs: Array[
|
247
|
+
{
|
248
|
+
attribute: ("KEY" | "VALUE")?
|
249
|
+
},
|
250
|
+
]?
|
251
|
+
}?
|
237
252
|
},
|
238
253
|
?self_managed_kafka_event_source_config: {
|
239
|
-
consumer_group_id: ::String
|
254
|
+
consumer_group_id: ::String?,
|
255
|
+
schema_registry_config: {
|
256
|
+
schema_registry_uri: ::String?,
|
257
|
+
event_record_format: ("JSON" | "SOURCE")?,
|
258
|
+
access_configs: Array[
|
259
|
+
{
|
260
|
+
type: ("BASIC_AUTH" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE")?,
|
261
|
+
uri: ::String?
|
262
|
+
},
|
263
|
+
]?,
|
264
|
+
schema_validation_configs: Array[
|
265
|
+
{
|
266
|
+
attribute: ("KEY" | "VALUE")?
|
267
|
+
},
|
268
|
+
]?
|
269
|
+
}?
|
240
270
|
},
|
241
271
|
?scaling_config: {
|
242
272
|
maximum_concurrency: ::Integer?
|
@@ -1297,6 +1327,42 @@ module Aws
|
|
1297
1327
|
?scaling_config: {
|
1298
1328
|
maximum_concurrency: ::Integer?
|
1299
1329
|
},
|
1330
|
+
?amazon_managed_kafka_event_source_config: {
|
1331
|
+
consumer_group_id: ::String?,
|
1332
|
+
schema_registry_config: {
|
1333
|
+
schema_registry_uri: ::String?,
|
1334
|
+
event_record_format: ("JSON" | "SOURCE")?,
|
1335
|
+
access_configs: Array[
|
1336
|
+
{
|
1337
|
+
type: ("BASIC_AUTH" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE")?,
|
1338
|
+
uri: ::String?
|
1339
|
+
},
|
1340
|
+
]?,
|
1341
|
+
schema_validation_configs: Array[
|
1342
|
+
{
|
1343
|
+
attribute: ("KEY" | "VALUE")?
|
1344
|
+
},
|
1345
|
+
]?
|
1346
|
+
}?
|
1347
|
+
},
|
1348
|
+
?self_managed_kafka_event_source_config: {
|
1349
|
+
consumer_group_id: ::String?,
|
1350
|
+
schema_registry_config: {
|
1351
|
+
schema_registry_uri: ::String?,
|
1352
|
+
event_record_format: ("JSON" | "SOURCE")?,
|
1353
|
+
access_configs: Array[
|
1354
|
+
{
|
1355
|
+
type: ("BASIC_AUTH" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE")?,
|
1356
|
+
uri: ::String?
|
1357
|
+
},
|
1358
|
+
]?,
|
1359
|
+
schema_validation_configs: Array[
|
1360
|
+
{
|
1361
|
+
attribute: ("KEY" | "VALUE")?
|
1362
|
+
},
|
1363
|
+
]?
|
1364
|
+
}?
|
1365
|
+
},
|
1300
1366
|
?document_db_event_source_config: {
|
1301
1367
|
database_name: ::String?,
|
1302
1368
|
collection_name: ::String?,
|
data/sig/types.rbs
CHANGED
@@ -82,6 +82,7 @@ module Aws::Lambda
|
|
82
82
|
|
83
83
|
class AmazonManagedKafkaEventSourceConfig
|
84
84
|
attr_accessor consumer_group_id: ::String
|
85
|
+
attr_accessor schema_registry_config: Types::KafkaSchemaRegistryConfig
|
85
86
|
SENSITIVE: []
|
86
87
|
end
|
87
88
|
|
@@ -852,6 +853,25 @@ module Aws::Lambda
|
|
852
853
|
SENSITIVE: []
|
853
854
|
end
|
854
855
|
|
856
|
+
class KafkaSchemaRegistryAccessConfig
|
857
|
+
attr_accessor type: ("BASIC_AUTH" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE")
|
858
|
+
attr_accessor uri: ::String
|
859
|
+
SENSITIVE: []
|
860
|
+
end
|
861
|
+
|
862
|
+
class KafkaSchemaRegistryConfig
|
863
|
+
attr_accessor schema_registry_uri: ::String
|
864
|
+
attr_accessor event_record_format: ("JSON" | "SOURCE")
|
865
|
+
attr_accessor access_configs: ::Array[Types::KafkaSchemaRegistryAccessConfig]
|
866
|
+
attr_accessor schema_validation_configs: ::Array[Types::KafkaSchemaValidationConfig]
|
867
|
+
SENSITIVE: []
|
868
|
+
end
|
869
|
+
|
870
|
+
class KafkaSchemaValidationConfig
|
871
|
+
attr_accessor attribute: ("KEY" | "VALUE")
|
872
|
+
SENSITIVE: []
|
873
|
+
end
|
874
|
+
|
855
875
|
class Layer
|
856
876
|
attr_accessor arn: ::String
|
857
877
|
attr_accessor code_size: ::Integer
|
@@ -1283,6 +1303,7 @@ module Aws::Lambda
|
|
1283
1303
|
|
1284
1304
|
class SelfManagedKafkaEventSourceConfig
|
1285
1305
|
attr_accessor consumer_group_id: ::String
|
1306
|
+
attr_accessor schema_registry_config: Types::KafkaSchemaRegistryConfig
|
1286
1307
|
SENSITIVE: []
|
1287
1308
|
end
|
1288
1309
|
|
@@ -1414,6 +1435,8 @@ module Aws::Lambda
|
|
1414
1435
|
attr_accessor tumbling_window_in_seconds: ::Integer
|
1415
1436
|
attr_accessor function_response_types: ::Array[("ReportBatchItemFailures")]
|
1416
1437
|
attr_accessor scaling_config: Types::ScalingConfig
|
1438
|
+
attr_accessor amazon_managed_kafka_event_source_config: Types::AmazonManagedKafkaEventSourceConfig
|
1439
|
+
attr_accessor self_managed_kafka_event_source_config: Types::SelfManagedKafkaEventSourceConfig
|
1417
1440
|
attr_accessor document_db_event_source_config: Types::DocumentDBEventSourceConfig
|
1418
1441
|
attr_accessor kms_key_arn: ::String
|
1419
1442
|
attr_accessor metrics_config: Types::EventSourceMappingMetricsConfig
|