Class SmithyRpcV2CborProtocolProcessor
- java.lang.Object
-
- software.amazon.awssdk.codegen.customization.processors.SmithyRpcV2CborProtocolProcessor
-
- All Implemented Interfaces:
CodegenCustomizationProcessor
public class SmithyRpcV2CborProtocolProcessor extends Object implements CodegenCustomizationProcessor
This processor only runs for services using thesmithy-rpc-v2-cbor
protocol. Adds a request URI that conform to the Smithy RPCv2 protocol to each operation in the model, if there's no URI already defined.
-
-
Constructor Summary
Constructors Constructor Description SmithyRpcV2CborProtocolProcessor()
-
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
-
-