@@ -412,18 +412,20 @@ class HttpApiEvent(BaseModel):
412412
413413class MSKEventProperties (BaseModel ):
414414 ConsumerGroupId : Optional [PassThroughProp ] = mskeventproperties ("ConsumerGroupId" )
415- Enabled : Optional [PassThroughProp ] # TODO: it doesn't show up in docs yet
415+ Enabled : Optional [PassThroughProp ] = mskeventproperties ( "Enabled" )
416416 FilterCriteria : Optional [PassThroughProp ] = mskeventproperties ("FilterCriteria" )
417- KmsKeyArn : Optional [PassThroughProp ] # TODO: add documentation
417+ KmsKeyArn : Optional [PassThroughProp ] = mskeventproperties ( "KmsKeyArn" )
418418 MaximumBatchingWindowInSeconds : Optional [PassThroughProp ] = mskeventproperties ("MaximumBatchingWindowInSeconds" )
419419 StartingPosition : Optional [PassThroughProp ] = mskeventproperties ("StartingPosition" )
420420 StartingPositionTimestamp : Optional [PassThroughProp ] = mskeventproperties ("StartingPositionTimestamp" )
421421 Stream : PassThroughProp = mskeventproperties ("Stream" )
422422 Topics : PassThroughProp = mskeventproperties ("Topics" )
423423 SourceAccessConfigurations : Optional [PassThroughProp ] = mskeventproperties ("SourceAccessConfigurations" )
424- DestinationConfig : Optional [PassThroughProp ] # TODO: add documentation
425- ProvisionedPollerConfig : Optional [PassThroughProp ]
426- SchemaRegistryConfig : Optional [PassThroughProp ]
424+ DestinationConfig : Optional [PassThroughProp ] = mskeventproperties ("DestinationConfig" )
425+ ProvisionedPollerConfig : Optional [PassThroughProp ] = mskeventproperties ("ProvisionedPollerConfig" )
426+ SchemaRegistryConfig : Optional [PassThroughProp ] = mskeventproperties ("SchemaRegistryConfig" )
427+ MetricsConfig : Optional [PassThroughProp ] = mskeventproperties ("MetricsConfig" )
428+ LoggingConfig : Optional [PassThroughProp ] = mskeventproperties ("LoggingConfig" )
427429 BisectBatchOnFunctionError : Optional [PassThroughProp ] = mskeventproperties ("BisectBatchOnFunctionError" )
428430 FunctionResponseTypes : Optional [PassThroughProp ] = mskeventproperties ("FunctionResponseTypes" )
429431 MaximumRecordAgeInSeconds : Optional [PassThroughProp ] = mskeventproperties ("MaximumRecordAgeInSeconds" )
@@ -461,13 +463,15 @@ class SelfManagedKafkaEventProperties(BaseModel):
461463 KafkaBootstrapServers : Optional [List [SamIntrinsicable [str ]]] = selfmanagedkafkaeventproperties (
462464 "KafkaBootstrapServers"
463465 )
464- KmsKeyArn : Optional [PassThroughProp ] # TODO: add documentation
466+ KmsKeyArn : Optional [PassThroughProp ] = selfmanagedkafkaeventproperties ( "KmsKeyArn" )
465467 SourceAccessConfigurations : PassThroughProp = selfmanagedkafkaeventproperties ("SourceAccessConfigurations" )
466- StartingPosition : Optional [PassThroughProp ] # TODO: add documentation
467- StartingPositionTimestamp : Optional [PassThroughProp ] # TODO: add documentation
468+ StartingPosition : Optional [PassThroughProp ] = selfmanagedkafkaeventproperties ( "StartingPosition" )
469+ StartingPositionTimestamp : Optional [PassThroughProp ] = selfmanagedkafkaeventproperties ( "StartingPositionTimestamp" )
468470 Topics : PassThroughProp = selfmanagedkafkaeventproperties ("Topics" )
469- ProvisionedPollerConfig : Optional [PassThroughProp ]
470- SchemaRegistryConfig : Optional [PassThroughProp ]
471+ MetricsConfig : Optional [PassThroughProp ] = selfmanagedkafkaeventproperties ("MetricsConfig" )
472+ ProvisionedPollerConfig : Optional [PassThroughProp ] = selfmanagedkafkaeventproperties ("ProvisionedPollerConfig" )
473+ SchemaRegistryConfig : Optional [PassThroughProp ] = selfmanagedkafkaeventproperties ("SchemaRegistryConfig" )
474+ LoggingConfig : Optional [PassThroughProp ] = selfmanagedkafkaeventproperties ("LoggingConfig" )
471475 BisectBatchOnFunctionError : Optional [PassThroughProp ] = selfmanagedkafkaeventproperties (
472476 "BisectBatchOnFunctionError"
473477 )
0 commit comments