The service to perform the operation on.
The operation to perform on the service.
Parameters to send to the operation.
The raw HTTP request object containing request headers and body information sent by the service.
The time that the request started.
Aborts a request, emitting the error and complete events. This feature is not supported in the browser environment of the SDK.
Converts the request object into a readable stream that can be read from or piped into a writable stream. The data read from a readable stream contains only the raw HTTP body contents. This feature is not supported in the browser environment of the SDK.
Iterates over each page of results given a pageable request, calling the provided callback with each page of data. After all pages have been retrieved, the callback is called with null data.
The callback that handles the response.
Returns whether the operation can return multiple pages of response data.
Adds a listener that is triggered when a request emits the specified event.
'Name of a request event.'
Callback to run when the event is triggered on the request.
If set, prepends listener instead of appending.
Adds a listener that is triggered when a request is being validated.
validate: triggered when a request is being validated.
Callback to run when the request is being validated.
If set, prepends listener instead of appending.
Adds a listener that is triggered when the request payload is being built.
build: triggered when the request payload is being built.
Callback to run when the request's payload is being built.
If set, prepends listener instead of appending.
Adds a listener that is triggered when a request is being signed.
sign: triggered when a request is being signed.
Callback to run when the request is being signed.
If set, prepends listener instead of appending.
Adds a listener that is triggered when a request is ready to be sent.
send: triggered when a request is ready to be sent.
Callback to run when the request is ready to be sent.
If set, prepends listener instead of appending.
Adds a listener that is triggered when a request failed and might need to be retried or redirected.
retry: triggered when a request failed and might need to be retried or redirected.
Callback to run when the request failed and may be retried.
If set, prepends listener instead of appending.
Adds a listener that is triggered on all non-2xx requests so that listeners can extract error details from the response body.
extractError: triggered on all non-2xx requests so that listeners can extract error details from the response body.
Callback to run when the request failed.
If set, prepends listener instead of appending.
Adds a listener that is triggered in successful requests to allow listeners to de-serialize the response body into response.data.
extractData: triggered in successful requests to allow listeners to de-serialize the response body into response.data.
Callback to run when the request succeeded.
If set, prepends listener instead of appending.
Adds a listener that is triggered when the request completed successfully.
success: triggered when the request completed successfully.
Callback to run when the request completed successfully.
If set, prepends listener instead of appending.
Adds a listener that is triggered when an error occurs at any point during the request.
error: triggered when an error occurs at any point during the request.
Callback to run when the request errors at any point.
If set, prepends listener instead of appending.
Adds a listener that is triggered whenever a request cycle completes.
complete: triggered whenever a request cycle completes.
Callback to run when the request cycle completes.
If set, prepends listener instead of appending.
Adds a listener that is triggered when headers are sent by the remote server.
httpHeaders: triggered when headers are sent by the remote server.
Callback to run when the headers are sent by the remote server.
If set, prepends listener instead of appending.
Adds a listener that is triggered when data is sent by the remote server.
httpData: triggered when data is sent by the remote server.
Callback to run when data is sent by the remote server.
If set, prepends listener instead of appending.
Adds a listener that is triggered when the HTTP request has uploaded more data.
httpUploadProgress: triggered when the HTTP request has uploaded more data.
Callback to run when the HTTP request has uploaded more data.
If set, prepends listener instead of appending.
Adds a listener that is triggered when the HTTP request has downloaded more data.
httpDownloadProgress: triggered when the HTTP request has downloaded more data.
Callback to run when the HTTP request has downloaded more data.
If set, prepends listener instead of appending.
Adds a listener that is triggered when the HTTP request failed.
httpError: triggered when the HTTP request failed.
Callback to run when the HTTP request failed.
If set, prepends listener instead of appending.
Adds a listener that is triggered when the server is finished sending data.
httpDone: triggered when the server is finished sending data.
Callback to run when the server is finished sending data.
If set, prepends listener instead of appending.
Adds a listener that is triggered when a request emits the specified event.
'Name of a request event.'
Callback to run when the event is triggered on the request.
If set, prepends listener instead of appending.
Adds a listener that is triggered when a request is being validated.
validate: triggered when a request is being validated.
Callback to run when the request is being validated.
If set, prepends listener instead of appending.
Adds a listener that is triggered when the request payload is being built.
build: triggered when the request payload is being built.
Callback to run when the request's payload is being built.
If set, prepends listener instead of appending.
Adds a listener that is triggered when a request is being signed.
sign: triggered when a request is being signed.
Callback to run when the request is being signed.
If set, prepends listener instead of appending.
Adds a listener that is triggered when a request is ready to be sent.
send: triggered when a request is ready to be sent.
Callback to run when the request is ready to be sent.
If set, prepends listener instead of appending.
Adds a listener that is triggered when a request failed and might need to be retried or redirected.
retry: triggered when a request failed and might need to be retried or redirected.
Callback to run when the request failed and may be retried.
If set, prepends listener instead of appending.
Adds a listener that is triggered on all non-2xx requests so that listeners can extract error details from the response body.
extractError: triggered on all non-2xx requests so that listeners can extract error details from the response body.
Callback to run when the request failed.
If set, prepends listener instead of appending.
Adds a listener that is triggered in successful requests to allow listeners to de-serialize the response body into response.data.
extractData: triggered in successful requests to allow listeners to de-serialize the response body into response.data.
Callback to run when the request succeeded.
If set, prepends listener instead of appending.
Adds a listener that is triggered when the request completed successfully.
success: triggered when the request completed successfully.
Callback to run when the request completed successfully.
If set, prepends listener instead of appending.
Adds a listener that is triggered when an error occurs at any point during the request.
error: triggered when an error occurs at any point during the request.
Callback to run when the request errors at any point.
If set, prepends listener instead of appending.
Adds a listener that is triggered whenever a request cycle completes.
complete: triggered whenever a request cycle completes.
Callback to run when the request cycle completes.
If set, prepends listener instead of appending.
Adds a listener that is triggered when headers are sent by the remote server.
httpHeaders: triggered when headers are sent by the remote server.
Callback to run when the headers are sent by the remote server.
If set, prepends listener instead of appending.
Adds a listener that is triggered when data is sent by the remote server.
httpData: triggered when data is sent by the remote server.
Callback to run when data is sent by the remote server.
If set, prepends listener instead of appending.
Adds a listener that is triggered when the HTTP request has uploaded more data.
httpUploadProgress: triggered when the HTTP request has uploaded more data.
Callback to run when the HTTP request has uploaded more data.
If set, prepends listener instead of appending.
Adds a listener that is triggered when the HTTP request has downloaded more data.
httpDownloadProgress: triggered when the HTTP request has downloaded more data.
Callback to run when the HTTP request has downloaded more data.
If set, prepends listener instead of appending.
Adds a listener that is triggered when the HTTP request failed.
httpError: triggered when the HTTP request failed.
Callback to run when the HTTP request failed.
If set, prepends listener instead of appending.
Adds a listener that is triggered when the server is finished sending data.
httpDone: triggered when the server is finished sending data.
Callback to run when the server is finished sending data.
If set, prepends listener instead of appending.
Returns a 'thenable' promise.
Sends the request object. If a callback is supplied, it is called when a response is returned from the service.
Generated using TypeDoc
Creates a request for an operation on a given service with a set of input parameters.