InputT - Source type, provided as input param to pipeline.OutputT - Output type returned by the pipeline.public interface RequestPipeline<InputT,OutputT>
| Modifier and Type | Method and Description |
|---|---|
OutputT |
execute(InputT input,
RequestExecutionContext context)
Execute the pipeline with the given input.
|
OutputT execute(InputT input, RequestExecutionContext context) throws Exception
input - Input to pipeline.context - Context containing both request dependencies, and a container for any mutable state that must be shared
between stages.Exception - If any error occurs. This will be thrown out of the pipeline, if exceptions must be handled see
RequestPipelineBuilder.wrap(BiFunction).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.