Skip to content

Commit

Permalink
Regenerating amazonka-elastictranscoder
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanhay committed Mar 18, 2016
1 parent 50f36de commit e44b51a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
--
-- You can only cancel a job that has a status of 'Submitted'. To prevent a
-- pipeline from starting to process a job while you\'re getting the job
-- identifier, use UpdatePipelineStatus to temporarily pause the pipeline.
-- identifier, use < UpdatePipelineStatus> to temporarily pause the
-- pipeline.
--
-- /See:/ <http://docs.aws.amazon.com/elastictranscoder/latest/developerguide/CancelJob.html AWS API Reference> for CancelJob.
module Network.AWS.ElasticTranscoder.CancelJob
Expand Down Expand Up @@ -70,7 +71,7 @@ cancelJob pId_ =
-- | The identifier of the job that you want to cancel.
--
-- To get a list of the jobs (including their 'jobId') that have a status
-- of 'Submitted', use the ListJobsByStatus API action.
-- of 'Submitted', use the < ListJobsByStatus> API action.
cjId :: Lens' CancelJob Text
cjId = lens _cjId (\ s a -> s{_cjId = a});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ elasticTranscoder =
, _retryCheck = check
}
check e
| has (hasStatus 429) e = Just "too_many_requests"
| has (hasCode "ThrottlingException" . hasStatus 400) e =
Just "throttling_exception"
| has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
-- jobs. You can\'t cancel jobs after Elastic Transcoder has started
-- processing them; if you pause the pipeline to which you submitted the
-- jobs, you have more time to get the job IDs for the jobs that you want
-- to cancel, and to send a CancelJob request.
-- to cancel, and to send a < CancelJob> request.
--
-- /See:/ <http://docs.aws.amazon.com/elastictranscoder/latest/developerguide/UpdatePipelineStatus.html AWS API Reference> for UpdatePipelineStatus.
module Network.AWS.ElasticTranscoder.UpdatePipelineStatus
Expand Down

0 comments on commit e44b51a

Please sign in to comment.