amazonka-elastictranscoder-1.2.0.1: Amazon Elastic Transcoder SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

Contents

Description

With the UpdatePipelineNotifications operation, you can update Amazon Simple Notification Service (Amazon SNS) notifications for a pipeline.

When you update notifications for a pipeline, Elastic Transcoder returns the values that you specified in the request.

See: AWS API Reference for UpdatePipelineNotifications.

Synopsis

Creating a Request

updatePipelineNotifications Source

Creates a value of UpdatePipelineNotifications with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

upnId :: Lens' UpdatePipelineNotifications Text Source

The identifier of the pipeline for which you want to change notification settings.

upnNotifications :: Lens' UpdatePipelineNotifications Notifications Source

The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.

To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.

  • Progressing: The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process jobs that are added to this pipeline. This is the ARN that Amazon SNS returned when you created the topic.
  • Completed: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job. This is the ARN that Amazon SNS returned when you created the topic.
  • Warning: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition. This is the ARN that Amazon SNS returned when you created the topic.
  • Error: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition. This is the ARN that Amazon SNS returned when you created the topic.

Destructuring the Response

updatePipelineNotificationsResponse Source

Creates a value of UpdatePipelineNotificationsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

upnrsPipeline :: Lens' UpdatePipelineNotificationsResponse (Maybe Pipeline) Source

A section of the response body that provides information about the pipeline.