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 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.

Instances
Eq UpdatePipelineNotifications Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

Data UpdatePipelineNotifications Source # 
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 Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

Show UpdatePipelineNotifications Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

Generic UpdatePipelineNotifications Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

Associated Types

type Rep UpdatePipelineNotifications :: Type -> Type #

Hashable UpdatePipelineNotifications Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

ToJSON UpdatePipelineNotifications Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

AWSRequest UpdatePipelineNotifications Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

Associated Types

type Rs UpdatePipelineNotifications :: Type #

ToHeaders UpdatePipelineNotifications Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

ToPath UpdatePipelineNotifications Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

ToQuery UpdatePipelineNotifications Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

NFData UpdatePipelineNotifications Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

type Rep UpdatePipelineNotifications Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

type Rep UpdatePipelineNotifications = D1 (MetaData "UpdatePipelineNotifications" "Network.AWS.ElasticTranscoder.UpdatePipelineNotifications" "amazonka-elastictranscoder-1.6.1-7rLW7I32F8uHzJtW36ptpK" 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 Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

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.

Instances
Eq UpdatePipelineNotificationsResponse Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

Data UpdatePipelineNotificationsResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

Show UpdatePipelineNotificationsResponse Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

Generic UpdatePipelineNotificationsResponse Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

NFData UpdatePipelineNotificationsResponse Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

type Rep UpdatePipelineNotificationsResponse Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.UpdatePipelineNotifications

type Rep UpdatePipelineNotificationsResponse = D1 (MetaData "UpdatePipelineNotificationsResponse" "Network.AWS.ElasticTranscoder.UpdatePipelineNotifications" "amazonka-elastictranscoder-1.6.1-7rLW7I32F8uHzJtW36ptpK" 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) Source #

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