Interface BatchServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface BatchServiceAsync.WithRawResponseA view of BatchServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
create
@MustBeClosed() CompletableFuture<HttpResponseFor<BetaMessageBatch>> create(BatchCreateParams params)
Returns a raw HTTP response for
post /v1/messages/batches?beta=true, but is otherwise the same as BatchServiceAsync.create.
-
create
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<BetaMessageBatch>> create(BatchCreateParams params, RequestOptions requestOptions)
-
retrieve
@MustBeClosed() CompletableFuture<HttpResponseFor<BetaMessageBatch>> retrieve(BatchRetrieveParams params)
Returns a raw HTTP response for
get /v1/messages/batches/{message_batch_id}?beta=true, but is otherwise the same as BatchServiceAsync.retrieve.
-
retrieve
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<BetaMessageBatch>> retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() CompletableFuture<HttpResponseFor<BatchListPageAsync>> list()
Returns a raw HTTP response for
get /v1/messages/batches?beta=true, but is otherwise the same as BatchServiceAsync.list.
-
list
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<BatchListPageAsync>> list(BatchListParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() CompletableFuture<HttpResponseFor<BatchListPageAsync>> list(BatchListParams params)
-
list
@MustBeClosed() CompletableFuture<HttpResponseFor<BatchListPageAsync>> list(RequestOptions requestOptions)
-
delete
@MustBeClosed() CompletableFuture<HttpResponseFor<BetaDeletedMessageBatch>> delete(BatchDeleteParams params)
Returns a raw HTTP response for
delete /v1/messages/batches/{message_batch_id}?beta=true, but is otherwise the same as BatchServiceAsync.delete.
-
delete
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<BetaDeletedMessageBatch>> delete(BatchDeleteParams params, RequestOptions requestOptions)
-
cancel
@MustBeClosed() CompletableFuture<HttpResponseFor<BetaMessageBatch>> cancel(BatchCancelParams params)
Returns a raw HTTP response for
post /v1/messages/batches/{message_batch_id}/cancel?beta=true, but is otherwise the same as BatchServiceAsync.cancel.
-
cancel
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<BetaMessageBatch>> cancel(BatchCancelParams params, RequestOptions requestOptions)
-
resultsStreaming
@MustBeClosed() CompletableFuture<HttpResponseFor<StreamResponse<BetaMessageBatchIndividualResponse>>> resultsStreaming(BatchResultsParams params)
Returns a raw HTTP response for
get /v1/messages/batches/{message_batch_id}/results?beta=true, but is otherwise the same as BatchServiceAsync.resultsStreaming.
-
resultsStreaming
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<StreamResponse<BetaMessageBatchIndividualResponse>>> resultsStreaming(BatchResultsParams params, RequestOptions requestOptions)
-
-
-
-