You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: amazonka-elastictranscoder/gen/Network/AWS/ElasticTranscoder/CancelJob.hs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ newtype CancelJob = CancelJob'
56
56
--
57
57
-- Use one of the following lenses to modify other fields as desired:
58
58
--
59
-
-- * 'cjId' - 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.
59
+
-- * 'cjId' - 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.
60
60
cancelJob
61
61
::Text--^ 'cjId'
62
62
->CancelJob
@@ -65,7 +65,7 @@ cancelJob pId_ =
65
65
{ _cjId = pId_
66
66
}
67
67
68
-
--| 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.
68
+
--| 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.
--| Creates a value of 'CreateJob' with the minimum fields required to make a request.
71
73
--
72
74
-- Use one of the following lenses to modify other fields as desired:
73
75
--
74
-
-- * 'cjUserMetadata' - User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in @key/value@ pairs, and you can add up to 10 @key/value@ pairs per job. Elastic Transcoder does not guarantee that @key/value@ pairs will be returned in the same order in which you specify them.
76
+
-- * 'cjInputs' - A section of the request body that provides information about the files that are being transcoded.
77
+
--
78
+
-- * 'cjInput' - A section of the request body that provides information about the file that is being transcoded.
79
+
--
80
+
-- * 'cjUserMetadata' - User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in @key/value@ pairs, and you can add up to 10 @key/value@ pairs per job. Elastic Transcoder does not guarantee that @key/value@ pairs are returned in the same order in which you specify them.
75
81
--
76
82
-- * 'cjOutputs' - A section of the request body that provides information about the transcoded (target) files. We recommend that you use the @Outputs@ syntax instead of the @Output@ syntax.
77
83
--
78
-
-- * 'cjOutput' - Undocumented member.
84
+
-- * 'cjOutput' - A section of the request body that provides information about the transcoded (target) file. We strongly recommend that you use the @Outputs@ syntax instead of the @Output@ syntax.
79
85
--
80
86
-- * 'cjPlaylists' - If you specify a preset in @PresetId@ for which the value of @Container@ is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create. The maximum number of master playlists in a job is 30.
81
87
--
82
88
-- * 'cjOutputKeyPrefix' - The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists.
83
89
--
84
90
-- * 'cjPipelineId' - The @Id@ of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.
85
-
--
86
-
-- * 'cjInput' - A section of the request body that provides information about the file that is being transcoded.
87
91
createJob
88
92
::Text--^ 'cjPipelineId'
89
-
->JobInput--^ 'cjInput'
90
93
->CreateJob
91
-
createJob pPipelineId_ pInput_ =
94
+
createJob pPipelineId_ =
92
95
CreateJob'
93
-
{ _cjUserMetadata =Nothing
96
+
{ _cjInputs =Nothing
97
+
, _cjInput =Nothing
98
+
, _cjUserMetadata =Nothing
94
99
, _cjOutputs =Nothing
95
100
, _cjOutput =Nothing
96
101
, _cjPlaylists =Nothing
97
102
, _cjOutputKeyPrefix =Nothing
98
103
, _cjPipelineId = pPipelineId_
99
-
, _cjInput = pInput_
100
104
}
101
105
102
-
--| User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in @key/value@ pairs, and you can add up to 10 @key/value@ pairs per job. Elastic Transcoder does not guarantee that @key/value@ pairs will be returned in the same order in which you specify them.
106
+
--| A section of the request body that provides information about the files that are being transcoded.
107
+
cjInputs::Lens'CreateJob [JobInput]
108
+
cjInputs = lens _cjInputs (\ s a -> s{_cjInputs = a}) . _Default . _Coerce;
109
+
110
+
--| A section of the request body that provides information about the file that is being transcoded.
111
+
cjInput::Lens'CreateJob (MaybeJobInput)
112
+
cjInput = lens _cjInput (\ s a -> s{_cjInput = a});
113
+
114
+
--| User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in @key/value@ pairs, and you can add up to 10 @key/value@ pairs per job. Elastic Transcoder does not guarantee that @key/value@ pairs are returned in the same order in which you specify them.
103
115
cjUserMetadata::Lens'CreateJob (HashMapTextText)
104
116
cjUserMetadata = lens _cjUserMetadata (\ s a -> s{_cjUserMetadata = a}) . _Default . _Map;
105
117
106
118
--| A section of the request body that provides information about the transcoded (target) files. We recommend that you use the @Outputs@ syntax instead of the @Output@ syntax.
107
119
cjOutputs::Lens'CreateJob [CreateJobOutput]
108
120
cjOutputs = lens _cjOutputs (\ s a -> s{_cjOutputs = a}) . _Default . _Coerce;
109
121
110
-
--|Undocumented member.
122
+
--|A section of the request body that provides information about the transcoded (target) file. We strongly recommend that you use the @Outputs@ syntax instead of the @Output@ syntax.
111
123
cjOutput::Lens'CreateJob (MaybeCreateJobOutput)
112
124
cjOutput = lens _cjOutput (\ s a -> s{_cjOutput = a});
113
125
@@ -123,10 +135,6 @@ cjOutputKeyPrefix = lens _cjOutputKeyPrefix (\ s a -> s{_cjOutputKeyPrefix = a})
123
135
cjPipelineId::Lens'CreateJobText
124
136
cjPipelineId = lens _cjPipelineId (\ s a -> s{_cjPipelineId = a});
125
137
126
-
--| A section of the request body that provides information about the file that is being transcoded.
127
-
cjInput::Lens'CreateJobJobInput
128
-
cjInput = lens _cjInput (\ s a -> s{_cjInput = a});
129
-
130
138
instanceAWSRequestCreateJobwhere
131
139
typeRsCreateJob=CreateJobResponse
132
140
request = postJSON elasticTranscoder
@@ -147,13 +155,14 @@ instance ToJSON CreateJob where
0 commit comments