终止支持通知:2025 年 11 月 13 日, AWS 我们将停止对亚马逊 Elastic Transcoder 的支持。2025 年 11 月 13 日之后,您将无法再访问 Elastic Transcoder 控制台或 Elastic Transcoder 资源。
有关过渡到的更多信息 AWS Elemental MediaConvert,请访问此博客文章
本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
删除管道
描述
要删除管道,请向 /2012-09-25/pipelines/
资源发送 DELETE 请求。只能删除从未使用或当前没有使用(不包含任何活动任务)的管道。如果管道当前正在使用中,则 pipelineId
Delete Pipeline
会返回错误。
请求
语法
DELETE /2012-09-25/pipelines/pipelineId HTTP/1.1 Content-Type: charset=UTF-8 Accept: */* Host: elastictranscoder.
Elastic Transcoder endpoint
.amazonaws.com:443 x-amz-date: 20130114T174952Z Authorization: AWS4-HMAC-SHA256 Credential=AccessKeyID
/request-date
/Elastic Transcoder endpoint
/elastictranscoder/aws4_request, SignedHeaders=host;x-amz-date;x-amz-target, Signature=calculated-signature
请求参数
此操作接受以下请求参数。
- pipelineId
-
要删除的管道的标识符。
请求标头
此操作仅使用所有操作通用的请求标头。有关通用请求标头的信息,请参阅 HTTP 标头内容。
请求正文
此操作没有请求正文。
响应
语法
Status: 202 Accepted x-amzn-RequestId: c321ec43-378e-11e2-8e4c-4d5b971203e9 Content-Type: application/json Content-Length:
number of characters in the response
Date: Mon, 14 Jan 2013 06:01:47 GMT { "Success":"true" }
响应标头
此操作仅使用大多数响应通用的响应标头。有关通用响应标头的信息,请参阅 HTTP 响应。
响应正文
响应正文包含以下 JSON 对象。
- 成功
-
如果管道已被成功删除,则
Success
的值是true
。
错误
有关 Elastic Transcoder 异常和错误消息的信息,请参阅 处理 Elastic Transcoder 中的错误。
示例
以下示例请求删除管道 1111111111111-abcde1。
示例请求
DELETE /2012-09-25/pipelines/1111111111111-abcde1 HTTP/1.1 Content-Type: charset=UTF-8 Accept: */* Host: elastictranscoder.
Elastic Transcoder endpoint
.amazonaws.com:443 x-amz-date: 20130114T174952Z Authorization: AWS4-HMAC-SHA256 Credential=AccessKeyID
/request-date
/Elastic Transcoder endpoint
/elastictranscoder/aws4_request, SignedHeaders=host;x-amz-date;x-amz-target, Signature=calculated-signature
示例响应
Status: 202 Accepted x-amzn-RequestId: c321ec43-378e-11e2-8e4c-4d5b971203e9 Content-Type: application/json Content-Length:
number of characters in the response
Date: Mon, 14 Jan 2013 06:01:47 GMT { "Success":"true" }