amazonka-elastictranscoder-1.6.1: Amazon Elastic Transcoder SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 #

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 #

The UpdatePipelineNotificationsRequest structure.

See: updatePipelineNotifications smart constructor.

Instances
Eq UpdatePipelineNotifications # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

Data UpdatePipelineNotifications # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

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 # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

Show UpdatePipelineNotifications # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

Generic UpdatePipelineNotifications # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

Associated Types

type Rep UpdatePipelineNotifications :: Type -> Type #

Hashable UpdatePipelineNotifications # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

ToJSON UpdatePipelineNotifications # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

AWSRequest UpdatePipelineNotifications # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

Associated Types

type Rs UpdatePipelineNotifications :: Type #

ToHeaders UpdatePipelineNotifications # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

ToPath UpdatePipelineNotifications # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

ToQuery UpdatePipelineNotifications # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

NFData UpdatePipelineNotifications # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

type Rep UpdatePipelineNotifications # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

type Rep UpdatePipelineNotifications = D1 (MetaData "UpdatePipelineNotifications" "Network.AWS.ElasticTranscoder.UpdatePipelineNotifications" "amazonka-elastictranscoder-1.6.1-J2fDYMJzdmX6ru8jsTFFkp" False) (C1 (MetaCons "UpdatePipelineNotifications'" PrefixI True) (S1 (MetaSel (Just "_upnId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_upnNotifications") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Notifications)))
type Rs UpdatePipelineNotifications # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

Request Lenses

upnId :: Lens' UpdatePipelineNotifications Text #

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

upnNotifications :: Lens' UpdatePipelineNotifications Notifications #

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 #

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 #

The UpdatePipelineNotificationsResponse structure.

See: updatePipelineNotificationsResponse smart constructor.

Instances
Eq UpdatePipelineNotificationsResponse # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

Data UpdatePipelineNotificationsResponse # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

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 # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

Show UpdatePipelineNotificationsResponse # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

Generic UpdatePipelineNotificationsResponse # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

NFData UpdatePipelineNotificationsResponse # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

type Rep UpdatePipelineNotificationsResponse # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

type Rep UpdatePipelineNotificationsResponse = D1 (MetaData "UpdatePipelineNotificationsResponse" "Network.AWS.ElasticTranscoder.UpdatePipelineNotifications" "amazonka-elastictranscoder-1.6.1-J2fDYMJzdmX6ru8jsTFFkp" False) (C1 (MetaCons "UpdatePipelineNotificationsResponse'" PrefixI True) (S1 (MetaSel (Just "_upnrsPipeline") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Pipeline)) :*: S1 (MetaSel (Just "_upnrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

upnrsPipeline :: Lens' UpdatePipelineNotificationsResponse (Maybe Pipeline) #

A section of the response body that provides information about the pipeline associated with this notification.