Class S3RemoveBucketFromUriProcessor
- java.lang.Object
-
- software.amazon.awssdk.codegen.customization.processors.S3RemoveBucketFromUriProcessor
-
- All Implemented Interfaces:
CodegenCustomizationProcessor
public class S3RemoveBucketFromUriProcessor extends Object implements CodegenCustomizationProcessor
With Endpoints 2.0, the endpoint rule set for S3 is responsible for taking theBucket
parameter from the input and adding it to the request URI. To make this work, we preprocess the model to remove it from the HTTP definition so that the marshallers don't add it to the path as well.
-
-
Constructor Summary
Constructors Constructor Description S3RemoveBucketFromUriProcessor()
-
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
-
-