调用 RetryTransmissionTasks 接口批量重试失败的传输任务。
异步请求。
如果批量重试的任务中存在任务状态不是 Failed
的任务,那么对应任务接口调用不成功。您可以调用 DescribeTransmissionTasks 接口查看传输任务的详细信息。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
TaskIds | String[] | 是 | ["d49082d628474f63a71cacfa9e6b****","742a6d15b4524381a7722cca5d35****"] | 任务 ID。 说明
|
null
POST /?Action=RetryTransmissionTasks&Version=2022-10-01 HTTP/1.1 Content-Type: application/json Host: dts.volcengineapi.com X-Date: 20221001T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20221001/cn-beijing/dts/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c645**** { "TaskId": [ "d49082d628474f63a71cacfa9e6b****", "742a6d15b4524381a7722cca5d35****" ] }
{ "ResponseMetadata": { "RequestId": "202308311451445183C14F150333984C41", "Action": "RetryTransmissionTasks", "Version": "2022-10-01", "Service": "dts", "Region": "cn-beijing" }, "Result": null }
更多详情,请参见错误码。