Class DefaultReadWriteTimeoutExemptionProcessor
java.lang.Object
software.amazon.awssdk.codegen.customization.processors.DefaultReadWriteTimeoutExemptionProcessor
- All Implemented Interfaces:
CodegenCustomizationProcessor
public class DefaultReadWriteTimeoutExemptionProcessor
extends Object
implements CodegenCustomizationProcessor
Bakes the per-service default read/write inactivity timeout tier into the generated service HTTP config. The tiers come from a
checked-in copy of the shared exemption artifact (
default-read-write-timeout-exemptions.json), keyed by the service's
sdkId (Metadata.getServiceId()).
An artifact value of -1 marks a fully-exempt service (no default timeout applies); a positive value is the applied
timeout in milliseconds. A service absent from the artifact has nothing baked, and aws-core supplies the flat default
when the rollout gate is on. The rollout gate itself is applied later, in aws-core; this processor only bakes the
per-service tier, which is the same regardless of whether the gate is on.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpostprocess(IntermediateModel intermediateModel) Apply the customization after the intermediate model is builtvoidpreprocess(ServiceModel serviceModel) Apply the customization by directly modifying the service model, before the intermediate model is built.
-
Constructor Details
-
DefaultReadWriteTimeoutExemptionProcessor
public DefaultReadWriteTimeoutExemptionProcessor()
-
-
Method Details
-
preprocess
Description copied from interface:CodegenCustomizationProcessorApply the customization by directly modifying the service model, before the intermediate model is built.- Specified by:
preprocessin interfaceCodegenCustomizationProcessor
-
postprocess
Description copied from interface:CodegenCustomizationProcessorApply the customization after the intermediate model is built- Specified by:
postprocessin interfaceCodegenCustomizationProcessor
-