Queries a list of scheduled tasks for an OpenSearch application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:ListScheduledTask |
*ScheduledTask
|
None | None |
Request syntax
GET /v4/openapi/app-groups/{appGroupIdentity}/scheduled-tasks HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| appGroupIdentity |
string |
Yes |
The application name. |
my_app_group_name |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| type |
string |
No |
The type of the scheduled task. Valid values:
|
wipe |
| pageNumber |
integer |
No |
The page number. Default value: 1. |
1 |
| pageSize |
integer |
No |
The number of entries per page. Default value: 10. |
10 |
Query parameters
| Field | Type | Required | Example | Description |
| id | String | No | "2f12c585-5873-11ea-974a-7cd30ad3e268" | The task ID. |
| enabled | Boolean | No | true | Specifies whether the scheduled task is enabled. |
| updated | Integer | No | 1582706232 | The timestamp when the scheduled task was last updated. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| totalCount |
integer |
The total number of entries returned. |
1 |
| requestId |
string |
The request ID. |
0A6EB64B-B4C8-CF02-810F-E660812972FF |
| result |
array<object> |
||
|
object |
The information about the scheduled task. For more information, see ScheduledTask. |
[] |
Examples
Success response
JSON format
{
"totalCount": 1,
"requestId": "0A6EB64B-B4C8-CF02-810F-E660812972FF",
"result": [
[]
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.