Interface SyncClientHandler
-
- All Superinterfaces:
AutoCloseable
,SdkAutoCloseable
- All Known Implementing Classes:
BaseSyncClientHandler
,SdkSyncClientHandler
public interface SyncClientHandler extends SdkAutoCloseable
Client interface to invoke an API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <InputT extends SdkRequest,OutputT extends SdkResponse>
OutputTexecute(ClientExecutionParams<InputT,OutputT> executionParams)
Execute's a web service request.<InputT extends SdkRequest,OutputT extends SdkResponse,ReturnT>
ReturnTexecute(ClientExecutionParams<InputT,OutputT> executionParams, ResponseTransformer<OutputT,ReturnT> responseTransformer)
Execute's a streaming web service request.-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
execute
<InputT extends SdkRequest,OutputT extends SdkResponse> OutputT execute(ClientExecutionParams<InputT,OutputT> executionParams)
Execute's a web service request. Handles marshalling and unmarshalling of data and making the underlying HTTP call(s).- Type Parameters:
InputT
- Input POJO typeOutputT
- Output POJO type- Parameters:
executionParams
- Parameters specific to this invocation of an API.- Returns:
- Unmarshalled output POJO type.
-
execute
<InputT extends SdkRequest,OutputT extends SdkResponse,ReturnT> ReturnT execute(ClientExecutionParams<InputT,OutputT> executionParams, ResponseTransformer<OutputT,ReturnT> responseTransformer)
Execute's a streaming web service request. Handles marshalling and unmarshalling of data and making the underlying HTTP call(s).- Type Parameters:
InputT
- Input POJO typeOutputT
- Output POJO typeReturnT
- Transformed result returned by responseTransformer. Returned by this method.- Parameters:
executionParams
- Parameters specific to this invocation of an API.responseTransformer
- Response handler for a streaming response. Receives unmarshalled POJO and input stream and returns a transformed result.- Returns:
- Transformed result as returned by responseTransformer.
-
-