aws-sdk-lambda 1.152.0 → 1.154.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ce48a3cd9e611875d6b5166bf7d741c09f8dca4f091b764548b790c8141d7fe
4
- data.tar.gz: 4b1dde819eca9464daa08f82fc3c0b8befed8265695ff86c973dd7c9c78c6007
3
+ metadata.gz: 79285cf65cbce2eed139a14c8c7662434104d3ece27ce9d4535e181c223d5728
4
+ data.tar.gz: 7608c1ad3f1fedf6256a3855e4c567e7e5f98a7d6cc57150561667f09d3282cd
5
5
  SHA512:
6
- metadata.gz: d6a60e6adfd569c6642f18fed3e9264438c476ccfe14f032855f59e5675acd9109a6459e833157764aa73dd92c1e612401fb1b89450f44bcecf53524a6bf5cd8
7
- data.tar.gz: 7dcb76ca1bc571a6b37fd9b2258719db22cb242ff6294bd103c94a7f33a4c879c6ba2cfd6f98b9699e7f20d8cd922036a6796fbb9b14693e0f1df3524aec3aab
6
+ metadata.gz: 0b3c5a7dca0d5f0433724c053f5db660a1ccb3078f6d9cc2957df0e0eca12cc65d872947c9265f22aa7d6477da49d02eb0987ce69df763d20b00b980209794df
7
+ data.tar.gz: '08938d0f9a21e424cdd07896dc421075e788da06a833bcb28eeeda764532902244c82cbca773abb996655fb1ea0a034e19d1a85e6af3c19bb20ac1fa3384131b'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.154.0 (2025-07-21)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.153.0 (2025-06-19)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.152.0 (2025-06-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.152.0
1
+ 1.154.0
@@ -97,7 +97,7 @@ module Aws::Lambda
97
97
  # class name or an instance of a plugin class.
98
98
  #
99
99
  # @option options [required, Aws::CredentialProvider] :credentials
100
- # Your AWS credentials. This can be an instance of any one of the
100
+ # Your AWS credentials used for authentication. This can be an instance of any one of the
101
101
  # following classes:
102
102
  #
103
103
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
@@ -130,18 +130,23 @@ module Aws::Lambda
130
130
  # locations will be searched for credentials:
131
131
  #
132
132
  # * `Aws.config[:credentials]`
133
+ #
133
134
  # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
134
135
  # `:account_id` options.
135
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
136
- # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
136
+ #
137
+ # * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
138
+ # `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
139
+ #
137
140
  # * `~/.aws/credentials`
141
+ #
138
142
  # * `~/.aws/config`
143
+ #
139
144
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
140
145
  # are very aggressive. Construct and pass an instance of
141
146
  # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
142
147
  # enable retries and extended timeouts. Instance profile credential
143
- # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
144
- # to true.
148
+ # fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
149
+ # to `true`.
145
150
  #
146
151
  # @option options [required, String] :region
147
152
  # The AWS region to connect to. The configured `:region` is
@@ -169,6 +174,11 @@ module Aws::Lambda
169
174
  # When false, the request will raise a `RetryCapacityNotAvailableError` and will
170
175
  # not retry instead of sleeping.
171
176
  #
177
+ # @option options [Array<String>] :auth_scheme_preference
178
+ # A list of preferred authentication schemes to use when making a request. Supported values are:
179
+ # `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
180
+ # shared config as `auth_scheme_preference`, the value should be a comma-separated list.
181
+ #
172
182
  # @option options [Boolean] :client_side_monitoring (false)
173
183
  # When `true`, client-side metrics will be collected for all API requests from
174
184
  # this client.
@@ -264,8 +274,8 @@ module Aws::Lambda
264
274
  # When an EventStream or Proc object is provided, it will be used as callback for each chunk of event stream response received along the way.
265
275
  #
266
276
  # @option options [String] :profile ("default")
267
- # Used when loading credentials from the shared credentials file
268
- # at HOME/.aws/credentials. When not specified, 'default' is used.
277
+ # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
278
+ # When not specified, 'default' is used.
269
279
  #
270
280
  # @option options [String] :request_checksum_calculation ("when_supported")
271
281
  # Determines when a checksum will be calculated for request payloads. Values are:
@@ -378,7 +388,7 @@ module Aws::Lambda
378
388
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
379
389
  #
380
390
  # @option options [Aws::TokenProvider] :token_provider
381
- # A Bearer Token Provider. This can be an instance of any one of the
391
+ # Your Bearer token used for authentication. This can be an instance of any one of the
382
392
  # following classes:
383
393
  #
384
394
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
@@ -948,27 +958,28 @@ module Aws::Lambda
948
958
  # For stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed
949
959
  # Apache Kafka), the following option is also available:
950
960
  #
951
- # * `DestinationConfig` – Send discarded records to an Amazon SQS queue,
952
- # Amazon SNS topic, or Amazon S3 bucket.
961
+ # * `OnFailure` – Send discarded records to an Amazon SQS queue, Amazon
962
+ # SNS topic, or Amazon S3 bucket. For more information, see [Adding a
963
+ # destination][8].
953
964
  #
954
965
  # ^
955
966
  #
956
967
  # For information about which configuration parameters apply to each
957
968
  # event source, see the following topics.
958
969
  #
959
- # * [ Amazon DynamoDB Streams][8]
970
+ # * [ Amazon DynamoDB Streams][9]
960
971
  #
961
- # * [ Amazon Kinesis][9]
972
+ # * [ Amazon Kinesis][10]
962
973
  #
963
- # * [ Amazon SQS][10]
974
+ # * [ Amazon SQS][11]
964
975
  #
965
- # * [ Amazon MQ and RabbitMQ][11]
976
+ # * [ Amazon MQ and RabbitMQ][12]
966
977
  #
967
- # * [ Amazon MSK][12]
978
+ # * [ Amazon MSK][13]
968
979
  #
969
- # * [ Apache Kafka][13]
980
+ # * [ Apache Kafka][14]
970
981
  #
971
- # * [ Amazon DocumentDB][14]
982
+ # * [ Amazon DocumentDB][15]
972
983
  #
973
984
  #
974
985
  #
@@ -979,13 +990,14 @@ module Aws::Lambda
979
990
  # [5]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html
980
991
  # [6]: https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html
981
992
  # [7]: https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html
982
- # [8]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params
983
- # [9]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params
984
- # [10]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params
985
- # [11]: https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params
986
- # [12]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms
987
- # [13]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms
988
- # [14]: https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html#docdb-configuration
993
+ # [8]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations
994
+ # [9]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params
995
+ # [10]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params
996
+ # [11]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params
997
+ # [12]: https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params
998
+ # [13]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms
999
+ # [14]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms
1000
+ # [15]: https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html#docdb-configuration
989
1001
  #
990
1002
  # @option params [String] :event_source_arn
991
1003
  # The Amazon Resource Name (ARN) of the event source.
@@ -1294,9 +1306,39 @@ module Aws::Lambda
1294
1306
  # function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
1295
1307
  # amazon_managed_kafka_event_source_config: {
1296
1308
  # consumer_group_id: "URI",
1309
+ # schema_registry_config: {
1310
+ # schema_registry_uri: "SchemaRegistryUri",
1311
+ # event_record_format: "JSON", # accepts JSON, SOURCE
1312
+ # access_configs: [
1313
+ # {
1314
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
1315
+ # uri: "Arn",
1316
+ # },
1317
+ # ],
1318
+ # schema_validation_configs: [
1319
+ # {
1320
+ # attribute: "KEY", # accepts KEY, VALUE
1321
+ # },
1322
+ # ],
1323
+ # },
1297
1324
  # },
1298
1325
  # self_managed_kafka_event_source_config: {
1299
1326
  # consumer_group_id: "URI",
1327
+ # schema_registry_config: {
1328
+ # schema_registry_uri: "SchemaRegistryUri",
1329
+ # event_record_format: "JSON", # accepts JSON, SOURCE
1330
+ # access_configs: [
1331
+ # {
1332
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
1333
+ # uri: "Arn",
1334
+ # },
1335
+ # ],
1336
+ # schema_validation_configs: [
1337
+ # {
1338
+ # attribute: "KEY", # accepts KEY, VALUE
1339
+ # },
1340
+ # ],
1341
+ # },
1300
1342
  # },
1301
1343
  # scaling_config: {
1302
1344
  # maximum_concurrency: 1,
@@ -1351,7 +1393,21 @@ module Aws::Lambda
1351
1393
  # resp.function_response_types #=> Array
1352
1394
  # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
1353
1395
  # resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
1396
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
1397
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
1398
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
1399
+ # 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"
1400
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
1401
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
1402
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
1354
1403
  # resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
1404
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
1405
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
1406
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
1407
+ # 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"
1408
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
1409
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
1410
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
1355
1411
  # resp.scaling_config.maximum_concurrency #=> Integer
1356
1412
  # resp.document_db_event_source_config.database_name #=> String
1357
1413
  # resp.document_db_event_source_config.collection_name #=> String
@@ -2140,7 +2196,7 @@ module Aws::Lambda
2140
2196
  # batch_size: 5,
2141
2197
  # event_source_arn: "arn:aws:sqs:us-west-2:123456789012:my-queue",
2142
2198
  # function_arn: "arn:aws:lambda:us-east-2:123456789012:function:my-function",
2143
- # last_modified: Time.parse("${timestamp}"),
2199
+ # last_modified: Time.parse("2016-11-21T19:49:20.006Z"),
2144
2200
  # state: "Enabled",
2145
2201
  # state_transition_reason: "USER_INITIATED",
2146
2202
  # uuid: "14e0db71-xmpl-4eb5-b481-8945cf9d10c2",
@@ -2187,7 +2243,21 @@ module Aws::Lambda
2187
2243
  # resp.function_response_types #=> Array
2188
2244
  # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
2189
2245
  # resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
2246
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
2247
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
2248
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
2249
+ # 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"
2250
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
2251
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
2252
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
2190
2253
  # resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
2254
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
2255
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
2256
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
2257
+ # 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"
2258
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
2259
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
2260
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
2191
2261
  # resp.scaling_config.maximum_concurrency #=> Integer
2192
2262
  # resp.document_db_event_source_config.database_name #=> String
2193
2263
  # resp.document_db_event_source_config.collection_name #=> String
@@ -2757,7 +2827,7 @@ module Aws::Lambda
2757
2827
  # },
2758
2828
  # event_source_arn: "arn:aws:sqs:us-east-2:123456789012:mySQSqueue",
2759
2829
  # function_arn: "arn:aws:lambda:us-east-2:123456789012:function:myFunction",
2760
- # last_modified: Time.parse("${timestamp}"),
2830
+ # last_modified: Time.parse("2016-11-21T19:49:20.006Z"),
2761
2831
  # last_processing_result: "No records processed",
2762
2832
  # maximum_record_age_in_seconds: 604800,
2763
2833
  # maximum_retry_attempts: 10000,
@@ -2807,7 +2877,21 @@ module Aws::Lambda
2807
2877
  # resp.function_response_types #=> Array
2808
2878
  # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
2809
2879
  # resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
2880
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
2881
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
2882
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
2883
+ # 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"
2884
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
2885
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
2886
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
2810
2887
  # resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
2888
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
2889
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
2890
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
2891
+ # 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"
2892
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
2893
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
2894
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
2811
2895
  # resp.scaling_config.maximum_concurrency #=> Integer
2812
2896
  # resp.document_db_event_source_config.database_name #=> String
2813
2897
  # resp.document_db_event_source_config.collection_name #=> String
@@ -3359,7 +3443,7 @@ module Aws::Lambda
3359
3443
  # },
3360
3444
  # },
3361
3445
  # function_arn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE",
3362
- # last_modified: Time.parse("${timestamp}"),
3446
+ # last_modified: Time.parse("2016-11-21T19:49:20.006Z"),
3363
3447
  # maximum_event_age_in_seconds: 3600,
3364
3448
  # maximum_retry_attempts: 0,
3365
3449
  # }
@@ -4661,7 +4745,21 @@ module Aws::Lambda
4661
4745
  # resp.event_source_mappings[0].function_response_types #=> Array
4662
4746
  # resp.event_source_mappings[0].function_response_types[0] #=> String, one of "ReportBatchItemFailures"
4663
4747
  # resp.event_source_mappings[0].amazon_managed_kafka_event_source_config.consumer_group_id #=> String
4748
+ # resp.event_source_mappings[0].amazon_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
4749
+ # resp.event_source_mappings[0].amazon_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
4750
+ # resp.event_source_mappings[0].amazon_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
4751
+ # 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"
4752
+ # resp.event_source_mappings[0].amazon_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
4753
+ # resp.event_source_mappings[0].amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
4754
+ # 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
4755
  # resp.event_source_mappings[0].self_managed_kafka_event_source_config.consumer_group_id #=> String
4756
+ # resp.event_source_mappings[0].self_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
4757
+ # resp.event_source_mappings[0].self_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
4758
+ # resp.event_source_mappings[0].self_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
4759
+ # 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"
4760
+ # resp.event_source_mappings[0].self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
4761
+ # resp.event_source_mappings[0].self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
4762
+ # 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
4763
  # resp.event_source_mappings[0].scaling_config.maximum_concurrency #=> Integer
4666
4764
  # resp.event_source_mappings[0].document_db_event_source_config.database_name #=> String
4667
4765
  # resp.event_source_mappings[0].document_db_event_source_config.collection_name #=> String
@@ -6218,7 +6316,7 @@ module Aws::Lambda
6218
6316
  # },
6219
6317
  # },
6220
6318
  # function_arn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:$LATEST",
6221
- # last_modified: Time.parse("${timestamp}"),
6319
+ # last_modified: Time.parse("2016-11-21T19:49:20.006Z"),
6222
6320
  # maximum_event_age_in_seconds: 3600,
6223
6321
  # maximum_retry_attempts: 0,
6224
6322
  # }
@@ -6930,27 +7028,28 @@ module Aws::Lambda
6930
7028
  # For stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed
6931
7029
  # Apache Kafka), the following option is also available:
6932
7030
  #
6933
- # * `DestinationConfig` – Send discarded records to an Amazon SQS queue,
6934
- # Amazon SNS topic, or Amazon S3 bucket.
7031
+ # * `OnFailure` – Send discarded records to an Amazon SQS queue, Amazon
7032
+ # SNS topic, or Amazon S3 bucket. For more information, see [Adding a
7033
+ # destination][8].
6935
7034
  #
6936
7035
  # ^
6937
7036
  #
6938
7037
  # For information about which configuration parameters apply to each
6939
7038
  # event source, see the following topics.
6940
7039
  #
6941
- # * [ Amazon DynamoDB Streams][8]
7040
+ # * [ Amazon DynamoDB Streams][9]
6942
7041
  #
6943
- # * [ Amazon Kinesis][9]
7042
+ # * [ Amazon Kinesis][10]
6944
7043
  #
6945
- # * [ Amazon SQS][10]
7044
+ # * [ Amazon SQS][11]
6946
7045
  #
6947
- # * [ Amazon MQ and RabbitMQ][11]
7046
+ # * [ Amazon MQ and RabbitMQ][12]
6948
7047
  #
6949
- # * [ Amazon MSK][12]
7048
+ # * [ Amazon MSK][13]
6950
7049
  #
6951
- # * [ Apache Kafka][13]
7050
+ # * [ Apache Kafka][14]
6952
7051
  #
6953
- # * [ Amazon DocumentDB][14]
7052
+ # * [ Amazon DocumentDB][15]
6954
7053
  #
6955
7054
  #
6956
7055
  #
@@ -6961,13 +7060,14 @@ module Aws::Lambda
6961
7060
  # [5]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html
6962
7061
  # [6]: https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html
6963
7062
  # [7]: https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html
6964
- # [8]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params
6965
- # [9]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params
6966
- # [10]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params
6967
- # [11]: https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params
6968
- # [12]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms
6969
- # [13]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms
6970
- # [14]: https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html#docdb-configuration
7063
+ # [8]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations
7064
+ # [9]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params
7065
+ # [10]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params
7066
+ # [11]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params
7067
+ # [12]: https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params
7068
+ # [13]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms
7069
+ # [14]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms
7070
+ # [15]: https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html#docdb-configuration
6971
7071
  #
6972
7072
  # @option params [required, String] :uuid
6973
7073
  # The identifier of the event source mapping.
@@ -7091,6 +7191,14 @@ module Aws::Lambda
7091
7191
  #
7092
7192
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
7093
7193
  #
7194
+ # @option params [Types::AmazonManagedKafkaEventSourceConfig] :amazon_managed_kafka_event_source_config
7195
+ # Specific configuration settings for an Amazon Managed Streaming for
7196
+ # Apache Kafka (Amazon MSK) event source.
7197
+ #
7198
+ # @option params [Types::SelfManagedKafkaEventSourceConfig] :self_managed_kafka_event_source_config
7199
+ # Specific configuration settings for a self-managed Apache Kafka event
7200
+ # source.
7201
+ #
7094
7202
  # @option params [Types::DocumentDBEventSourceConfig] :document_db_event_source_config
7095
7203
  # Specific configuration settings for a DocumentDB event source.
7096
7204
  #
@@ -7173,7 +7281,7 @@ module Aws::Lambda
7173
7281
  # batch_size: 123,
7174
7282
  # event_source_arn: "arn:aws:s3:::examplebucket/*",
7175
7283
  # function_arn: "arn:aws:lambda:us-west-2:123456789012:function:myFunction",
7176
- # last_modified: Time.parse("2016-11-21T19:49:20.006+0000"),
7284
+ # last_modified: Time.parse("2016-11-21T19:49:20.006Z"),
7177
7285
  # last_processing_result: "",
7178
7286
  # state: "",
7179
7287
  # state_transition_reason: "",
@@ -7218,6 +7326,42 @@ module Aws::Lambda
7218
7326
  # scaling_config: {
7219
7327
  # maximum_concurrency: 1,
7220
7328
  # },
7329
+ # amazon_managed_kafka_event_source_config: {
7330
+ # consumer_group_id: "URI",
7331
+ # schema_registry_config: {
7332
+ # schema_registry_uri: "SchemaRegistryUri",
7333
+ # event_record_format: "JSON", # accepts JSON, SOURCE
7334
+ # access_configs: [
7335
+ # {
7336
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
7337
+ # uri: "Arn",
7338
+ # },
7339
+ # ],
7340
+ # schema_validation_configs: [
7341
+ # {
7342
+ # attribute: "KEY", # accepts KEY, VALUE
7343
+ # },
7344
+ # ],
7345
+ # },
7346
+ # },
7347
+ # self_managed_kafka_event_source_config: {
7348
+ # consumer_group_id: "URI",
7349
+ # schema_registry_config: {
7350
+ # schema_registry_uri: "SchemaRegistryUri",
7351
+ # event_record_format: "JSON", # accepts JSON, SOURCE
7352
+ # access_configs: [
7353
+ # {
7354
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
7355
+ # uri: "Arn",
7356
+ # },
7357
+ # ],
7358
+ # schema_validation_configs: [
7359
+ # {
7360
+ # attribute: "KEY", # accepts KEY, VALUE
7361
+ # },
7362
+ # ],
7363
+ # },
7364
+ # },
7221
7365
  # document_db_event_source_config: {
7222
7366
  # database_name: "DatabaseName",
7223
7367
  # collection_name: "CollectionName",
@@ -7268,7 +7412,21 @@ module Aws::Lambda
7268
7412
  # resp.function_response_types #=> Array
7269
7413
  # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
7270
7414
  # resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
7415
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
7416
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
7417
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
7418
+ # 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"
7419
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
7420
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
7421
+ # resp.amazon_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
7271
7422
  # resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
7423
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_registry_uri #=> String
7424
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.event_record_format #=> String, one of "JSON", "SOURCE"
7425
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs #=> Array
7426
+ # 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"
7427
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.access_configs[0].uri #=> String
7428
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs #=> Array
7429
+ # resp.self_managed_kafka_event_source_config.schema_registry_config.schema_validation_configs[0].attribute #=> String, one of "KEY", "VALUE"
7272
7430
  # resp.scaling_config.maximum_concurrency #=> Integer
7273
7431
  # resp.document_db_event_source_config.database_name #=> String
7274
7432
  # resp.document_db_event_source_config.collection_name #=> String
@@ -8204,7 +8362,7 @@ module Aws::Lambda
8204
8362
  tracer: tracer
8205
8363
  )
8206
8364
  context[:gem_name] = 'aws-sdk-lambda'
8207
- context[:gem_version] = '1.152.0'
8365
+ context[:gem_version] = '1.154.0'
8208
8366
  Seahorse::Client::Request.new(handlers, context)
8209
8367
  end
8210
8368
 
@@ -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"))
@@ -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 last Lambda invocation of your function.
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-msk.html#services-msk-consumer-group-id
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,
@@ -56,7 +56,7 @@ module Aws::Lambda
56
56
  autoload :Endpoints, 'aws-sdk-lambda/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-lambda/event_streams'
58
58
 
59
- GEM_VERSION = '1.152.0'
59
+ GEM_VERSION = '1.154.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
@@ -233,10 +234,40 @@ module Aws
233
234
  },
234
235
  ?function_response_types: Array[("ReportBatchItemFailures")],
235
236
  ?amazon_managed_kafka_event_source_config: {
236
- consumer_group_id: ::String?
237
+ consumer_group_id: ::String?,
238
+ schema_registry_config: {
239
+ schema_registry_uri: ::String?,
240
+ event_record_format: ("JSON" | "SOURCE")?,
241
+ access_configs: Array[
242
+ {
243
+ type: ("BASIC_AUTH" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE")?,
244
+ uri: ::String?
245
+ },
246
+ ]?,
247
+ schema_validation_configs: Array[
248
+ {
249
+ attribute: ("KEY" | "VALUE")?
250
+ },
251
+ ]?
252
+ }?
237
253
  },
238
254
  ?self_managed_kafka_event_source_config: {
239
- consumer_group_id: ::String?
255
+ consumer_group_id: ::String?,
256
+ schema_registry_config: {
257
+ schema_registry_uri: ::String?,
258
+ event_record_format: ("JSON" | "SOURCE")?,
259
+ access_configs: Array[
260
+ {
261
+ type: ("BASIC_AUTH" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE")?,
262
+ uri: ::String?
263
+ },
264
+ ]?,
265
+ schema_validation_configs: Array[
266
+ {
267
+ attribute: ("KEY" | "VALUE")?
268
+ },
269
+ ]?
270
+ }?
240
271
  },
241
272
  ?scaling_config: {
242
273
  maximum_concurrency: ::Integer?
@@ -1297,6 +1328,42 @@ module Aws
1297
1328
  ?scaling_config: {
1298
1329
  maximum_concurrency: ::Integer?
1299
1330
  },
1331
+ ?amazon_managed_kafka_event_source_config: {
1332
+ consumer_group_id: ::String?,
1333
+ schema_registry_config: {
1334
+ schema_registry_uri: ::String?,
1335
+ event_record_format: ("JSON" | "SOURCE")?,
1336
+ access_configs: Array[
1337
+ {
1338
+ type: ("BASIC_AUTH" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE")?,
1339
+ uri: ::String?
1340
+ },
1341
+ ]?,
1342
+ schema_validation_configs: Array[
1343
+ {
1344
+ attribute: ("KEY" | "VALUE")?
1345
+ },
1346
+ ]?
1347
+ }?
1348
+ },
1349
+ ?self_managed_kafka_event_source_config: {
1350
+ consumer_group_id: ::String?,
1351
+ schema_registry_config: {
1352
+ schema_registry_uri: ::String?,
1353
+ event_record_format: ("JSON" | "SOURCE")?,
1354
+ access_configs: Array[
1355
+ {
1356
+ type: ("BASIC_AUTH" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE")?,
1357
+ uri: ::String?
1358
+ },
1359
+ ]?,
1360
+ schema_validation_configs: Array[
1361
+ {
1362
+ attribute: ("KEY" | "VALUE")?
1363
+ },
1364
+ ]?
1365
+ }?
1366
+ },
1300
1367
  ?document_db_event_source_config: {
1301
1368
  database_name: ::String?,
1302
1369
  collection_name: ::String?,
data/sig/resource.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: 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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lambda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.152.0
4
+ version: 1.154.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.225.0
21
+ version: 3.227.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.225.0
31
+ version: 3.227.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement