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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
NewAndLegacyEventStreamProcessor
public NewAndLegacyEventStreamProcessor()
-
-
Method Details
-
preprocess
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
Description copied from interface:CodegenCustomizationProcessor
Apply the customization after the intermediate model is built- Specified by:
postprocess
in interfaceCodegenCustomizationProcessor
-