- Source:
Methods
(static) TasksApi#cancel(params, options, callback) → {Object|Promise.<never>|*}
Cancels a task, if it can be cancelled through an API.
See Also: OpenSearch - Task Cancelling
See Also: OpenSearch - Task Cancelling
Parameters:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
||||||||||||||||||||||||
options |
Object | Options for Transport#request | ||||||||||||||||||||||||
callback |
function | Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) TasksApi#get(params, options, callback) → {Object|Promise.<never>|*}
Returns information about a task.
See Also: OpenSearch - Tasks
See Also: OpenSearch - Tasks
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
||||||||||||||||
options |
Object | Options for Transport#request | ||||||||||||||||
callback |
function | Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) TasksApi#list(params, options, callback) → {Object|Promise.<never>|*}
Returns a list of tasks.
See Also: OpenSearch - Tasks
See Also: OpenSearch - Tasks
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
||||||||||||||||||||||||||||||||
options |
Object | Options for Transport#request | ||||||||||||||||||||||||||||||||
callback |
function | Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *