Copyright | (c) 2013-2015 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.
See: AWS API Reference for UpdatePipelineNotifications.
- updatePipelineNotifications :: Text -> Notifications -> UpdatePipelineNotifications
- data UpdatePipelineNotifications
- upnId :: Lens' UpdatePipelineNotifications Text
- upnNotifications :: Lens' UpdatePipelineNotifications Notifications
- updatePipelineNotificationsResponse :: Int -> UpdatePipelineNotificationsResponse
- data UpdatePipelineNotificationsResponse
- upnrsPipeline :: Lens' UpdatePipelineNotificationsResponse (Maybe Pipeline)
- upnrsStatus :: 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:
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.
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:
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.
upnrsStatus :: Lens' UpdatePipelineNotificationsResponse Int Source
The response status code.