Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- updatePipelineNotifications :: Text -> Notifications -> UpdatePipelineNotifications
- data UpdatePipelineNotifications
- upnId :: Lens' UpdatePipelineNotifications Text
- upnNotifications :: Lens' UpdatePipelineNotifications Notifications
- updatePipelineNotificationsResponse :: Int -> UpdatePipelineNotificationsResponse
- data UpdatePipelineNotificationsResponse
- upnrsPipeline :: Lens' UpdatePipelineNotificationsResponse (Maybe Pipeline)
- upnrsResponseStatus :: Lens' UpdatePipelineNotificationsResponse Int
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:
upnId
- The identifier of the pipeline for which you want to change notification settings.upnNotifications
- The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status. Important: 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.
data UpdatePipelineNotifications Source #
The UpdatePipelineNotificationsRequest
structure.
See: updatePipelineNotifications
smart constructor.
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. Important: 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:
upnrsPipeline
- A section of the response body that provides information about the pipeline associated with this notification.upnrsResponseStatus
- -- | The response status code.
data UpdatePipelineNotificationsResponse Source #
The UpdatePipelineNotificationsResponse
structure.
See: updatePipelineNotificationsResponse
smart constructor.
Response Lenses
upnrsPipeline :: Lens' UpdatePipelineNotificationsResponse (Maybe Pipeline) Source #
A section of the response body that provides information about the pipeline associated with this notification.
upnrsResponseStatus :: Lens' UpdatePipelineNotificationsResponse Int Source #
- - | The response status code.