Class NewAndLegacyEventStreamProcessor
- java.lang.Object
-
- software.amazon.awssdk.codegen.customization.processors.NewAndLegacyEventStreamProcessor
-
- All Implemented Interfaces:
CodegenCustomizationProcessor
public final class NewAndLegacyEventStreamProcessor extends Object implements CodegenCustomizationProcessor
Services that have "legacy" streams, Kinesis and Transcribe Streaming builds should fail if there is a new evenstream added, that codegen doesn't know about. This is so we can decide if we want to generate the new stream in the legacy style so they look like the existing streams, or if we use the new style (e.g. because it won't work with the old style).
-
-
Constructor Summary
Constructors Constructor Description NewAndLegacyEventStreamProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
postprocess(IntermediateModel intermediateModel)
Apply the customization after the intermediate model is builtvoid
preprocess(ServiceModel serviceModel)
Apply the customization by directly modifying the service model, before the intermediate model is built.
-
-
-
Method Detail
-
preprocess
public void preprocess(ServiceModel serviceModel)
Description copied from interface:CodegenCustomizationProcessor
Apply the customization by directly modifying the service model, before the intermediate model is built.- Specified by:
preprocess
in interfaceCodegenCustomizationProcessor
-
postprocess
public void postprocess(IntermediateModel intermediateModel)
Description copied from interface:CodegenCustomizationProcessor
Apply the customization after the intermediate model is built- Specified by:
postprocess
in interfaceCodegenCustomizationProcessor
-
-