Mengkueri informasi detail tentang jadwal berbasis pengatur waktu.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
fnf:DescribeSchedule |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| FlowName |
string |
Yes |
Nama flow yang terkait dengan jadwal pengatur waktu. Nama harus unik dalam wilayah dan tidak dapat diubah setelah jadwal pengatur waktu dibuat. Nama harus memenuhi ketentuan berikut:
|
testFlowName |
| ScheduleName |
string |
Yes |
Nama jadwal berbasis pengatur waktu. Nama harus memenuhi ketentuan berikut:
|
testScheduleName |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of response. |
||
| RequestId |
string |
The request ID. |
testRequestId |
| Description |
string |
The description of the time-based schedule. |
test description |
| ScheduleId |
string |
The ID of the time-based schedule. |
testScheduleId |
| Payload |
string |
The trigger message of the time-based schedule. |
{"key": "value"} |
| ScheduleName |
string |
The name of the time-based schedule. |
testScheduleName |
| CreatedTime |
string |
The time when the time-based schedule was created. |
2020-01-01T01:01:01.001Z |
| LastModifiedTime |
string |
The time when the time-based schedule was last modified. |
2020-01-01T01:01:01.001Z |
| CronExpression |
string |
The CRON expression. |
0 * * * * * |
| Enable |
boolean |
Indicates whether the time-based schedule is enabled. Valid values:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "testRequestId",
"Description": "test description",
"ScheduleId": "testScheduleId",
"Payload": "{\"key\": \"value\"}",
"ScheduleName": "testScheduleName",
"CreatedTime": "2020-01-01T01:01:01.001Z",
"LastModifiedTime": "2020-01-01T01:01:01.001Z",
"CronExpression": "0 * * * * *",
"Enable": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ActionNotSupported | The requested API operation '%s' is incorrect. Please check. | |
| 400 | APIVersionNotSupported | The requested API version '%s' is not supported yet. Please check. | |
| 400 | InvalidArgument | Parameter error. | |
| 400 | MissingRequiredHeader | The HTTP header '%s' must be specified. | |
| 400 | MissingRequiredParams | The HTTP query '%s' must be specified. | |
| 500 | InternalServerError | An internal error has occurred. Please retry. | |
| 403 | AccessDenied | The resources doesn't belong to you. | |
| 404 | FlowNotExists | Flow %s does not exist. | |
| 404 | ScheduleNotExists | The schedule %s for flow %s does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.