Interface SyncClientHandler

  • All Superinterfaces:
    AutoCloseable, software.amazon.awssdk.utils.SdkAutoCloseable
    All Known Implementing Classes:
    BaseSyncClientHandler, SdkSyncClientHandler

    public interface SyncClientHandler
    extends software.amazon.awssdk.utils.SdkAutoCloseable
    Client interface to invoke an API.
    • 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 type
        OutputT - 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 type
        OutputT - Output POJO type
        ReturnT - 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.