amazonka-elastictranscoder-1.4.2: Amazon Elastic Transcoder SDK.

Copyright(c) 2013-2016 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.

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:

data UpdatePipelineNotifications Source #

The UpdatePipelineNotificationsRequest structure.

See: updatePipelineNotifications smart constructor.

Instances

Eq UpdatePipelineNotifications Source # 
Data UpdatePipelineNotifications Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdatePipelineNotifications -> c UpdatePipelineNotifications #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdatePipelineNotifications #

toConstr :: UpdatePipelineNotifications -> Constr #

dataTypeOf :: UpdatePipelineNotifications -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdatePipelineNotifications) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdatePipelineNotifications) #

gmapT :: (forall b. Data b => b -> b) -> UpdatePipelineNotifications -> UpdatePipelineNotifications #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdatePipelineNotifications -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdatePipelineNotifications -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdatePipelineNotifications -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdatePipelineNotifications -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdatePipelineNotifications -> m UpdatePipelineNotifications #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdatePipelineNotifications -> m UpdatePipelineNotifications #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdatePipelineNotifications -> m UpdatePipelineNotifications #

Read UpdatePipelineNotifications Source # 
Show UpdatePipelineNotifications Source # 
Generic UpdatePipelineNotifications Source # 
ToJSON UpdatePipelineNotifications Source # 
Hashable UpdatePipelineNotifications Source # 
NFData UpdatePipelineNotifications Source # 
AWSRequest UpdatePipelineNotifications Source # 
ToPath UpdatePipelineNotifications Source # 
ToHeaders UpdatePipelineNotifications Source # 
ToQuery UpdatePipelineNotifications Source # 
type Rep UpdatePipelineNotifications Source # 
type Rep UpdatePipelineNotifications = D1 (MetaData "UpdatePipelineNotifications" "Network.AWS.ElasticTranscoder.UpdatePipelineNotifications" "amazonka-elastictranscoder-1.4.2-I1YzuzTgPdXFN43OC0xaQp" False) (C1 (MetaCons "UpdatePipelineNotifications'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_upnId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_upnNotifications") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Notifications))))
type Rs UpdatePipelineNotifications Source # 

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 #

Instances

Eq UpdatePipelineNotificationsResponse Source # 
Data UpdatePipelineNotificationsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdatePipelineNotificationsResponse -> c UpdatePipelineNotificationsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdatePipelineNotificationsResponse #

toConstr :: UpdatePipelineNotificationsResponse -> Constr #

dataTypeOf :: UpdatePipelineNotificationsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdatePipelineNotificationsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdatePipelineNotificationsResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdatePipelineNotificationsResponse -> UpdatePipelineNotificationsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdatePipelineNotificationsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdatePipelineNotificationsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdatePipelineNotificationsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdatePipelineNotificationsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdatePipelineNotificationsResponse -> m UpdatePipelineNotificationsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdatePipelineNotificationsResponse -> m UpdatePipelineNotificationsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdatePipelineNotificationsResponse -> m UpdatePipelineNotificationsResponse #

Read UpdatePipelineNotificationsResponse Source # 
Show UpdatePipelineNotificationsResponse Source # 
Generic UpdatePipelineNotificationsResponse Source # 
NFData UpdatePipelineNotificationsResponse Source # 
type Rep UpdatePipelineNotificationsResponse Source # 
type Rep UpdatePipelineNotificationsResponse = D1 (MetaData "UpdatePipelineNotificationsResponse" "Network.AWS.ElasticTranscoder.UpdatePipelineNotifications" "amazonka-elastictranscoder-1.4.2-I1YzuzTgPdXFN43OC0xaQp" False) (C1 (MetaCons "UpdatePipelineNotificationsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_upnrsPipeline") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Pipeline))) (S1 (MetaSel (Just Symbol "_upnrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

upnrsPipeline :: Lens' UpdatePipelineNotificationsResponse (Maybe Pipeline) Source #

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