Class ExplicitStringPayloadQueryProtocolProcessor
java.lang.Object
software.amazon.awssdk.codegen.customization.processors.ExplicitStringPayloadQueryProtocolProcessor
- All Implemented Interfaces:
CodegenCustomizationProcessor
public class ExplicitStringPayloadQueryProtocolProcessor
extends Object
implements CodegenCustomizationProcessor
Operations with explicit String payloads are not supported for services with Query protocol. We fail the codegen if the
httpPayload or eventPayload trait is set on a String.
-
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
-
ExplicitStringPayloadQueryProtocolProcessor
public ExplicitStringPayloadQueryProtocolProcessor()
-
-
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
-