private <Output, Input> Response<Output> invoke(Request<Input> request,
                                                    RequestConfig requestConfig,
                                                    ExecutionContext executionContext,
                                                    HttpResponseHandler<Output> responseHandler,
                                                    HttpResponseHandler<? extends SdkBaseException> errorResponseHandler) {

        executionContext.setCredentialsProvider(CredentialUtils.getCredentialsProvider(
                requestConfig, awsCredentialsProvider));

        return doInvoke(request, requestConfig, executionContext, responseHandler,
                        errorResponseHandler);
    }
private < Output , Input > Response < Output > invoke ( Request < Input > request , RequestConfig requestConfig , ExecutionContext executionContext , HttpResponseHandler < Output > responseHandler , HttpResponseHandler < ? extends SdkBaseException > errorResponseHandler ) { executionContext . setCredentialsProvider ( CredentialUtils . getCredentialsProvider ( requestConfig , awsCredentialsProvider ) ) ; return doInvoke ( request , requestConfig , executionContext , responseHandler , errorResponseHandler ) ; }
Normal invoke with authentication. Credentials are required and may be overriden at the
request level.