

Pemberitahuan akhir dukungan: Pada 13 November 2025, AWS akan menghentikan dukungan untuk Amazon Elastic Transcoder. Setelah 13 November 2025, Anda tidak akan lagi dapat mengakses konsol Elastic Transcoder atau sumber daya Elastic Transcoder.

Untuk informasi lebih lanjut tentang transisi ke AWS Elemental MediaConvert, kunjungi [posting blog](https://aws.amazon.com/blogs/media/how-to-migrate-workflows-from-amazon-elastic-transcoder-to-aws-elemental-mediaconvert/) ini.

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

# Perbarui Pemberitahuan Pipeline
<a name="update-pipeline-notifications"></a>

**Topics**
+ [Deskripsi](#update-pipeline-notifications-description)
+ [Permintaan](#update-pipeline-notifications-requests)
+ [Respons](#update-pipeline-notifications-responses)
+ [Kesalahan](#update-pipeline-notifications-response-errors)
+ [Contoh](#update-pipeline-notifications-examples)

## Deskripsi
<a name="update-pipeline-notifications-description"></a>

Untuk memperbarui hanya notifikasi Amazon Simple Notification Service (Amazon SNS) untuk pipeline, kirim permintaan POST ke sumber daya. `/2012-09-25/pipelines/pipelineId/notifications`

**penting**  
Saat Anda mengubah notifikasi, perubahan Anda akan segera berlaku. Pekerjaan yang telah Anda kirimkan dan Elastic Transcoder belum mulai diproses akan terpengaruh selain pekerjaan yang Anda kirimkan setelah Anda mengubah pemberitahuan.

## Permintaan
<a name="update-pipeline-notifications-requests"></a>

### Sintaks
<a name="update-pipeline-notifications-request-syntax"></a>

```
POST /2012-09-25/pipelines/pipelineId/notifications HTTP/1.1
Content-Type: application/json; 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
Content-Length: number of characters in the JSON string
{
   "Id":"pipelineId",
   "Notifications":{
      "Progressing":"SNS topic to notify when
         Elastic Transcoder has started to process the job",
      "Complete":"SNS topic to notify when
         Elastic Transcoder has finished processing the job",
      "Warning":"SNS topic to notify when
      	Elastic Transcoder returns a warning",
      "Error":"SNS topic to notify when
         Elastic Transcoder returns an error"
   }
}
```

### Parameter Permintaan
<a name="update-pipeline-notifications-request-parameters"></a>

Operasi ini mengambil parameter permintaan berikut. 

**PipelineID**  
Pengidentifikasi pipa yang ingin Anda ubah pengaturan notifikasi. 

### Header Permintaan
<a name="update-pipeline-notifications-request-headers"></a>

Operasi ini hanya menggunakan header permintaan yang umum untuk semua operasi. Untuk informasi selengkapnya tentang header permintaan umum, lihat [Konten Header HTTP](making-http-requests.md#http-request-header).

### Isi Permintaan
<a name="update-pipeline-notifications-request-body"></a>

String JSON di badan permintaan berisi objek berikut. 

**Id**  
ID pipeline yang ingin Anda perbarui.

**Pemberitahuan:Kemajuan**  
Topik ARN untuk Amazon Simple Notification Service (Amazon SNS) topik yang ingin Anda beri tahu saat Elastic Transcoder mulai memproses pekerjaan di pipeline ini. Ini adalah ARN yang dikembalikan Amazon SNS saat Anda membuat topik. Untuk informasi lebih lanjut, lihat [Buat topik](https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html) dalam *Panduan Developer Amazon Simple Notification Service*.  
Untuk menerima pemberitahuan, Anda juga harus berlangganan topik baru di konsol Amazon SNS.
Amazon SNS menawarkan berbagai opsi notifikasi, termasuk kemampuan untuk mengirim pesan Amazon SNS ke antrian Layanan Antrian Sederhana Amazon. Untuk informasi lebih lanjut, lihat [Panduan Developer Layanan Notifikasi Sederhana Amazon](https://docs.aws.amazon.com/sns/latest/dg/).

**Pemberitahuan:Lengkap**  
Topik ARN untuk topik Amazon SNS yang ingin Anda beri tahu saat Elastic Transcoder selesai memproses pekerjaan di pipeline ini. Ini adalah ARN yang dikembalikan Amazon SNS saat Anda membuat topik. 

**Pemberitahuan:Peringatan**  
Topik ARN untuk topik Amazon SNS yang ingin Anda beri tahu saat Elastic Transcoder menemukan kondisi peringatan saat memproses pekerjaan di pipeline ini. Ini adalah ARN yang dikembalikan Amazon SNS saat Anda membuat topik. 

**Pemberitahuan:Kesalahan**  
Topik ARN untuk topik Amazon SNS yang ingin Anda beri tahu saat Elastic Transcoder menemukan kondisi kesalahan saat memproses pekerjaan di pipeline ini. Ini adalah ARN yang dikembalikan Amazon SNS saat Anda membuat topik. 

## Respons
<a name="update-pipeline-notifications-responses"></a>

### Sintaks
<a name="update-pipeline-notifications-response-syntax"></a>

```
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
{
   "Pipeline":{
      "Id":"ID for the new pipeline",
      "Notifications":{
         "Progressing":"SNS topic to notify when Elastic Transcoder has started to process the job",
         "Complete":"SNS topic to notify when Elastic Transcoder has finished processing the job",
         "Warning":"SNS topic to notify when Elastic Transcoder returns a warning",
         "Error":"SNS topic to notify when Elastic Transcoder returns an error"
      }
   }
}
```

### Header Respons
<a name="update-pipeline-notifications-response-headers"></a>

Operasi ini hanya menggunakan header respons yang umum untuk sebagian besar respons. Untuk informasi tentang header permintaan umum, lihat [Tanggapan HTTP](making-http-requests.md#http-response-header).

### Isi Respons
<a name="update-pipeline-notifications-response-body"></a>

Saat Anda memperbarui notifikasi untuk pipeline, Elastic Transcoder mengembalikan nilai yang Anda tentukan dalam permintaan. Untuk informasi selengkapnya, lihat [Isi Permintaan](#update-pipeline-notifications-request-body).

## Kesalahan
<a name="update-pipeline-notifications-response-errors"></a>

Untuk informasi tentang pengecualian Elastic Transcoder dan pesan kesalahan, lihat. [Kesalahan Penanganan di Elastic Transcoder](error-handling.md)

## Contoh
<a name="update-pipeline-notifications-examples"></a>

Contoh permintaan berikut memperbarui notifikasi untuk pipeline.

### Permintaan Sampel
<a name="update-pipeline-notifications-examples-sample-request"></a>

```
POST /2012-09-25/pipelines/1111111111111-abcde1/notifications HTTP/1.1
Content-Type: application/json; 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
Content-Length: number of characters in the JSON string
{
   "Id":"1111111111111-abcde1",
   "Notifications":{
      "Progressing":"",
      "Complete":"",
      "Warning":"",
      "Error":"arn:aws:sns:us-east-1:111222333444:ETS_Errors"
   }
}
```

### Contoh Respons
<a name="update-pipeline-notifications-examples-sample-response"></a>

```
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

{
   "Id":"1111111111111-abcde1",
   "Notifications":{
      "Progressing":"",
      "Complete":"",
      "Warning":"",
      "Error":"arn:aws:sns:us-east-1:111222333444:ETS_Errors"
   }
}
```