Skip to content

Commit 59667ca

Browse files
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.
1 parent e601cb8 commit 59667ca

39 files changed

+1696
-594
lines changed

generator/ServiceModels/lambda/lambda-2015-03-31.api.json

Lines changed: 66 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,8 @@
13371337
"AmazonManagedKafkaEventSourceConfig":{
13381338
"type":"structure",
13391339
"members":{
1340-
"ConsumerGroupId":{"shape":"URI"}
1340+
"ConsumerGroupId":{"shape":"URI"},
1341+
"SchemaRegistryConfig":{"shape":"KafkaSchemaRegistryConfig"}
13411342
}
13421343
},
13431344
"ApplicationLogLevel":{
@@ -1674,8 +1675,7 @@
16741675
},
16751676
"DeleteCodeSigningConfigResponse":{
16761677
"type":"structure",
1677-
"members":{
1678-
}
1678+
"members":{}
16791679
},
16801680
"DeleteEventSourceMappingRequest":{
16811681
"type":"structure",
@@ -2257,8 +2257,7 @@
22572257
},
22582258
"GetAccountSettingsRequest":{
22592259
"type":"structure",
2260-
"members":{
2261-
}
2260+
"members":{}
22622261
},
22632262
"GetAccountSettingsResponse":{
22642263
"type":"structure",
@@ -2935,6 +2934,51 @@
29352934
"error":{"httpStatusCode":502},
29362935
"exception":true
29372936
},
2937+
"KafkaSchemaRegistryAccessConfig":{
2938+
"type":"structure",
2939+
"members":{
2940+
"Type":{"shape":"KafkaSchemaRegistryAuthType"},
2941+
"URI":{"shape":"Arn"}
2942+
}
2943+
},
2944+
"KafkaSchemaRegistryAccessConfigList":{
2945+
"type":"list",
2946+
"member":{"shape":"KafkaSchemaRegistryAccessConfig"}
2947+
},
2948+
"KafkaSchemaRegistryAuthType":{
2949+
"type":"string",
2950+
"enum":[
2951+
"BASIC_AUTH",
2952+
"CLIENT_CERTIFICATE_TLS_AUTH",
2953+
"SERVER_ROOT_CA_CERTIFICATE"
2954+
]
2955+
},
2956+
"KafkaSchemaRegistryConfig":{
2957+
"type":"structure",
2958+
"members":{
2959+
"SchemaRegistryURI":{"shape":"SchemaRegistryUri"},
2960+
"EventRecordFormat":{"shape":"SchemaRegistryEventRecordFormat"},
2961+
"AccessConfigs":{"shape":"KafkaSchemaRegistryAccessConfigList"},
2962+
"SchemaValidationConfigs":{"shape":"KafkaSchemaValidationConfigList"}
2963+
}
2964+
},
2965+
"KafkaSchemaValidationAttribute":{
2966+
"type":"string",
2967+
"enum":[
2968+
"KEY",
2969+
"VALUE"
2970+
]
2971+
},
2972+
"KafkaSchemaValidationConfig":{
2973+
"type":"structure",
2974+
"members":{
2975+
"Attribute":{"shape":"KafkaSchemaValidationAttribute"}
2976+
}
2977+
},
2978+
"KafkaSchemaValidationConfigList":{
2979+
"type":"list",
2980+
"member":{"shape":"KafkaSchemaValidationConfig"}
2981+
},
29382982
"LastUpdateStatus":{
29392983
"type":"string",
29402984
"enum":[
@@ -4104,6 +4148,19 @@
41044148
"MaximumConcurrency":{"shape":"MaximumConcurrency"}
41054149
}
41064150
},
4151+
"SchemaRegistryEventRecordFormat":{
4152+
"type":"string",
4153+
"enum":[
4154+
"JSON",
4155+
"SOURCE"
4156+
]
4157+
},
4158+
"SchemaRegistryUri":{
4159+
"type":"string",
4160+
"max":10000,
4161+
"min":1,
4162+
"pattern":"[a-zA-Z0-9-\\/*:_+=.@-]*"
4163+
},
41074164
"SecurityGroupId":{"type":"string"},
41084165
"SecurityGroupIds":{
41094166
"type":"list",
@@ -4119,7 +4176,8 @@
41194176
"SelfManagedKafkaEventSourceConfig":{
41204177
"type":"structure",
41214178
"members":{
4122-
"ConsumerGroupId":{"shape":"URI"}
4179+
"ConsumerGroupId":{"shape":"URI"},
4180+
"SchemaRegistryConfig":{"shape":"KafkaSchemaRegistryConfig"}
41234181
}
41244182
},
41254183
"SensitiveString":{
@@ -4533,6 +4591,8 @@
45334591
"TumblingWindowInSeconds":{"shape":"TumblingWindowInSeconds"},
45344592
"FunctionResponseTypes":{"shape":"FunctionResponseTypeList"},
45354593
"ScalingConfig":{"shape":"ScalingConfig"},
4594+
"AmazonManagedKafkaEventSourceConfig":{"shape":"AmazonManagedKafkaEventSourceConfig"},
4595+
"SelfManagedKafkaEventSourceConfig":{"shape":"SelfManagedKafkaEventSourceConfig"},
45364596
"DocumentDBEventSourceConfig":{"shape":"DocumentDBEventSourceConfig"},
45374597
"KMSKeyArn":{"shape":"KMSKeyArn"},
45384598
"MetricsConfig":{"shape":"EventSourceMappingMetricsConfig"},

generator/ServiceModels/lambda/lambda-2015-03-31.docs.json

Lines changed: 212 additions & 299 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)