Skip to content

Commit 3dbc5fe

Browse files
author
awstools
committed
feat(client-mediaconvert): This release adds the ability to set resolution for the black video generator and also adds the StartJobsQuery and GetJobsQueryResults APIs which allow asynchronous search of job history using new filters.
1 parent 321c78e commit 3dbc5fe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+3183
-161
lines changed

clients/client-mediaconvert/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,14 @@ GetJob
314314

315315
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mediaconvert/command/GetJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconvert/Interface/GetJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconvert/Interface/GetJobCommandOutput/)
316316

317+
</details>
318+
<details>
319+
<summary>
320+
GetJobsQueryResults
321+
</summary>
322+
323+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mediaconvert/command/GetJobsQueryResultsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconvert/Interface/GetJobsQueryResultsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconvert/Interface/GetJobsQueryResultsCommandOutput/)
324+
317325
</details>
318326
<details>
319327
<summary>
@@ -418,6 +426,14 @@ SearchJobs
418426

419427
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mediaconvert/command/SearchJobsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconvert/Interface/SearchJobsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconvert/Interface/SearchJobsCommandOutput/)
420428

429+
</details>
430+
<details>
431+
<summary>
432+
StartJobsQuery
433+
</summary>
434+
435+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mediaconvert/command/StartJobsQueryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconvert/Interface/StartJobsQueryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconvert/Interface/StartJobsQueryCommandOutput/)
436+
421437
</details>
422438
<details>
423439
<summary>

clients/client-mediaconvert/src/MediaConvert.ts

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ import {
5252
DisassociateCertificateCommandOutput,
5353
} from "./commands/DisassociateCertificateCommand";
5454
import { GetJobCommand, GetJobCommandInput, GetJobCommandOutput } from "./commands/GetJobCommand";
55+
import {
56+
GetJobsQueryResultsCommand,
57+
GetJobsQueryResultsCommandInput,
58+
GetJobsQueryResultsCommandOutput,
59+
} from "./commands/GetJobsQueryResultsCommand";
5560
import {
5661
GetJobTemplateCommand,
5762
GetJobTemplateCommandInput,
@@ -81,6 +86,11 @@ import {
8186
import { ProbeCommand, ProbeCommandInput, ProbeCommandOutput } from "./commands/ProbeCommand";
8287
import { PutPolicyCommand, PutPolicyCommandInput, PutPolicyCommandOutput } from "./commands/PutPolicyCommand";
8388
import { SearchJobsCommand, SearchJobsCommandInput, SearchJobsCommandOutput } from "./commands/SearchJobsCommand";
89+
import {
90+
StartJobsQueryCommand,
91+
StartJobsQueryCommandInput,
92+
StartJobsQueryCommandOutput,
93+
} from "./commands/StartJobsQueryCommand";
8494
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
8595
import {
8696
UntagResourceCommand,
@@ -115,6 +125,7 @@ const commands = {
115125
DescribeEndpointsCommand,
116126
DisassociateCertificateCommand,
117127
GetJobCommand,
128+
GetJobsQueryResultsCommand,
118129
GetJobTemplateCommand,
119130
GetPolicyCommand,
120131
GetPresetCommand,
@@ -128,6 +139,7 @@ const commands = {
128139
ProbeCommand,
129140
PutPolicyCommand,
130141
SearchJobsCommand,
142+
StartJobsQueryCommand,
131143
TagResourceCommand,
132144
UntagResourceCommand,
133145
UpdateJobTemplateCommand,
@@ -328,6 +340,23 @@ export interface MediaConvert {
328340
cb: (err: any, data?: GetJobCommandOutput) => void
329341
): void;
330342

343+
/**
344+
* @see {@link GetJobsQueryResultsCommand}
345+
*/
346+
getJobsQueryResults(
347+
args: GetJobsQueryResultsCommandInput,
348+
options?: __HttpHandlerOptions
349+
): Promise<GetJobsQueryResultsCommandOutput>;
350+
getJobsQueryResults(
351+
args: GetJobsQueryResultsCommandInput,
352+
cb: (err: any, data?: GetJobsQueryResultsCommandOutput) => void
353+
): void;
354+
getJobsQueryResults(
355+
args: GetJobsQueryResultsCommandInput,
356+
options: __HttpHandlerOptions,
357+
cb: (err: any, data?: GetJobsQueryResultsCommandOutput) => void
358+
): void;
359+
331360
/**
332361
* @see {@link GetJobTemplateCommand}
333362
*/
@@ -494,6 +523,21 @@ export interface MediaConvert {
494523
cb: (err: any, data?: SearchJobsCommandOutput) => void
495524
): void;
496525

526+
/**
527+
* @see {@link StartJobsQueryCommand}
528+
*/
529+
startJobsQuery(): Promise<StartJobsQueryCommandOutput>;
530+
startJobsQuery(
531+
args: StartJobsQueryCommandInput,
532+
options?: __HttpHandlerOptions
533+
): Promise<StartJobsQueryCommandOutput>;
534+
startJobsQuery(args: StartJobsQueryCommandInput, cb: (err: any, data?: StartJobsQueryCommandOutput) => void): void;
535+
startJobsQuery(
536+
args: StartJobsQueryCommandInput,
537+
options: __HttpHandlerOptions,
538+
cb: (err: any, data?: StartJobsQueryCommandOutput) => void
539+
): void;
540+
497541
/**
498542
* @see {@link TagResourceCommand}
499543
*/

clients/client-mediaconvert/src/MediaConvertClient.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ import {
7676
DisassociateCertificateCommandOutput,
7777
} from "./commands/DisassociateCertificateCommand";
7878
import { GetJobCommandInput, GetJobCommandOutput } from "./commands/GetJobCommand";
79+
import {
80+
GetJobsQueryResultsCommandInput,
81+
GetJobsQueryResultsCommandOutput,
82+
} from "./commands/GetJobsQueryResultsCommand";
7983
import { GetJobTemplateCommandInput, GetJobTemplateCommandOutput } from "./commands/GetJobTemplateCommand";
8084
import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
8185
import { GetPresetCommandInput, GetPresetCommandOutput } from "./commands/GetPresetCommand";
@@ -92,6 +96,7 @@ import { ListVersionsCommandInput, ListVersionsCommandOutput } from "./commands/
9296
import { ProbeCommandInput, ProbeCommandOutput } from "./commands/ProbeCommand";
9397
import { PutPolicyCommandInput, PutPolicyCommandOutput } from "./commands/PutPolicyCommand";
9498
import { SearchJobsCommandInput, SearchJobsCommandOutput } from "./commands/SearchJobsCommand";
99+
import { StartJobsQueryCommandInput, StartJobsQueryCommandOutput } from "./commands/StartJobsQueryCommand";
95100
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
96101
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
97102
import { UpdateJobTemplateCommandInput, UpdateJobTemplateCommandOutput } from "./commands/UpdateJobTemplateCommand";
@@ -127,6 +132,7 @@ export type ServiceInputTypes =
127132
| DisassociateCertificateCommandInput
128133
| GetJobCommandInput
129134
| GetJobTemplateCommandInput
135+
| GetJobsQueryResultsCommandInput
130136
| GetPolicyCommandInput
131137
| GetPresetCommandInput
132138
| GetQueueCommandInput
@@ -139,6 +145,7 @@ export type ServiceInputTypes =
139145
| ProbeCommandInput
140146
| PutPolicyCommandInput
141147
| SearchJobsCommandInput
148+
| StartJobsQueryCommandInput
142149
| TagResourceCommandInput
143150
| UntagResourceCommandInput
144151
| UpdateJobTemplateCommandInput
@@ -164,6 +171,7 @@ export type ServiceOutputTypes =
164171
| DisassociateCertificateCommandOutput
165172
| GetJobCommandOutput
166173
| GetJobTemplateCommandOutput
174+
| GetJobsQueryResultsCommandOutput
167175
| GetPolicyCommandOutput
168176
| GetPresetCommandOutput
169177
| GetQueueCommandOutput
@@ -176,6 +184,7 @@ export type ServiceOutputTypes =
176184
| ProbeCommandOutput
177185
| PutPolicyCommandOutput
178186
| SearchJobsCommandOutput
187+
| StartJobsQueryCommandOutput
179188
| TagResourceCommandOutput
180189
| UntagResourceCommandOutput
181190
| UpdateJobTemplateCommandOutput

clients/client-mediaconvert/src/commands/AssociateCertificateCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ export interface AssociateCertificateCommandOutput extends AssociateCertificateR
6767
* @throws {@link NotFoundException} (client fault)
6868
* The resource you requested doesn't exist.
6969
*
70+
* @throws {@link ServiceQuotaExceededException} (client fault)
71+
* You attempted to create more resources than the service allows based on service quotas.
72+
*
7073
* @throws {@link TooManyRequestsException} (client fault)
7174
* Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
7275
*

clients/client-mediaconvert/src/commands/CancelJobCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
6767
* @throws {@link NotFoundException} (client fault)
6868
* The resource you requested doesn't exist.
6969
*
70+
* @throws {@link ServiceQuotaExceededException} (client fault)
71+
* You attempted to create more resources than the service allows based on service quotas.
72+
*
7073
* @throws {@link TooManyRequestsException} (client fault)
7174
* Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
7275
*

clients/client-mediaconvert/src/commands/CreateJobCommand.ts

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,9 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
261261
* Duration: Number("int"),
262262
* FramerateDenominator: Number("int"),
263263
* FramerateNumerator: Number("int"),
264+
* Height: Number("int"),
264265
* SampleRate: Number("int"),
266+
* Width: Number("int"),
265267
* },
266268
* VideoOverlays: [ // __listOfVideoOverlay
267269
* { // VideoOverlay
@@ -723,7 +725,7 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
723725
* ManifestEncoding: "UTF8" || "UTF16",
724726
* },
725727
* PerFrameMetrics: [ // __listOfFrameMetricType
726-
* "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR",
728+
* "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR" || "SHOT_CHANGE",
727729
* ],
728730
* Type: "HLS_GROUP_SETTINGS" || "DASH_ISO_GROUP_SETTINGS" || "FILE_GROUP_SETTINGS" || "MS_SMOOTH_GROUP_SETTINGS" || "CMAF_GROUP_SETTINGS",
729731
* },
@@ -1162,7 +1164,7 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
11621164
* MaxBitrate: Number("int"),
11631165
* NumberBFramesBetweenReferenceFrames: Number("int"),
11641166
* PerFrameMetrics: [
1165-
* "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR",
1167+
* "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR" || "SHOT_CHANGE",
11661168
* ],
11671169
* QvbrSettings: { // Av1QvbrSettings
11681170
* QvbrQualityLevel: Number("int"),
@@ -1183,7 +1185,7 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
11831185
* FramerateNumerator: Number("int"),
11841186
* InterlaceMode: "PROGRESSIVE" || "TOP_FIELD" || "BOTTOM_FIELD" || "FOLLOW_TOP_FIELD" || "FOLLOW_BOTTOM_FIELD",
11851187
* PerFrameMetrics: [
1186-
* "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR",
1188+
* "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR" || "SHOT_CHANGE",
11871189
* ],
11881190
* ScanTypeConversionMode: "INTERLACED" || "INTERLACED_OPTIMIZE",
11891191
* SlowPal: "DISABLED" || "ENABLED",
@@ -1236,7 +1238,7 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
12361238
* ParDenominator: Number("int"),
12371239
* ParNumerator: Number("int"),
12381240
* PerFrameMetrics: [
1239-
* "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR",
1241+
* "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR" || "SHOT_CHANGE",
12401242
* ],
12411243
* QualityTuningLevel: "SINGLE_PASS" || "SINGLE_PASS_HQ" || "MULTI_PASS_HQ",
12421244
* QvbrSettings: { // H264QvbrSettings
@@ -1293,7 +1295,7 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
12931295
* ParDenominator: Number("int"),
12941296
* ParNumerator: Number("int"),
12951297
* PerFrameMetrics: [
1296-
* "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR",
1298+
* "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR" || "SHOT_CHANGE",
12971299
* ],
12981300
* QualityTuningLevel: "SINGLE_PASS" || "SINGLE_PASS_HQ" || "MULTI_PASS_HQ",
12991301
* QvbrSettings: { // H265QvbrSettings
@@ -1881,7 +1883,9 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
18811883
* // Duration: Number("int"),
18821884
* // FramerateDenominator: Number("int"),
18831885
* // FramerateNumerator: Number("int"),
1886+
* // Height: Number("int"),
18841887
* // SampleRate: Number("int"),
1888+
* // Width: Number("int"),
18851889
* // },
18861890
* // VideoOverlays: [ // __listOfVideoOverlay
18871891
* // { // VideoOverlay
@@ -2343,7 +2347,7 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
23432347
* // ManifestEncoding: "UTF8" || "UTF16",
23442348
* // },
23452349
* // PerFrameMetrics: [ // __listOfFrameMetricType
2346-
* // "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR",
2350+
* // "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR" || "SHOT_CHANGE",
23472351
* // ],
23482352
* // Type: "HLS_GROUP_SETTINGS" || "DASH_ISO_GROUP_SETTINGS" || "FILE_GROUP_SETTINGS" || "MS_SMOOTH_GROUP_SETTINGS" || "CMAF_GROUP_SETTINGS",
23492353
* // },
@@ -2782,7 +2786,7 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
27822786
* // MaxBitrate: Number("int"),
27832787
* // NumberBFramesBetweenReferenceFrames: Number("int"),
27842788
* // PerFrameMetrics: [
2785-
* // "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR",
2789+
* // "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR" || "SHOT_CHANGE",
27862790
* // ],
27872791
* // QvbrSettings: { // Av1QvbrSettings
27882792
* // QvbrQualityLevel: Number("int"),
@@ -2803,7 +2807,7 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
28032807
* // FramerateNumerator: Number("int"),
28042808
* // InterlaceMode: "PROGRESSIVE" || "TOP_FIELD" || "BOTTOM_FIELD" || "FOLLOW_TOP_FIELD" || "FOLLOW_BOTTOM_FIELD",
28052809
* // PerFrameMetrics: [
2806-
* // "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR",
2810+
* // "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR" || "SHOT_CHANGE",
28072811
* // ],
28082812
* // ScanTypeConversionMode: "INTERLACED" || "INTERLACED_OPTIMIZE",
28092813
* // SlowPal: "DISABLED" || "ENABLED",
@@ -2856,7 +2860,7 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
28562860
* // ParDenominator: Number("int"),
28572861
* // ParNumerator: Number("int"),
28582862
* // PerFrameMetrics: [
2859-
* // "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR",
2863+
* // "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR" || "SHOT_CHANGE",
28602864
* // ],
28612865
* // QualityTuningLevel: "SINGLE_PASS" || "SINGLE_PASS_HQ" || "MULTI_PASS_HQ",
28622866
* // QvbrSettings: { // H264QvbrSettings
@@ -2913,7 +2917,7 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
29132917
* // ParDenominator: Number("int"),
29142918
* // ParNumerator: Number("int"),
29152919
* // PerFrameMetrics: [
2916-
* // "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR",
2920+
* // "PSNR" || "SSIM" || "MS_SSIM" || "PSNR_HVS" || "VMAF" || "QVBR" || "SHOT_CHANGE",
29172921
* // ],
29182922
* // QualityTuningLevel: "SINGLE_PASS" || "SINGLE_PASS_HQ" || "MULTI_PASS_HQ",
29192923
* // QvbrSettings: { // H265QvbrSettings
@@ -3270,6 +3274,9 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
32703274
* @throws {@link NotFoundException} (client fault)
32713275
* The resource you requested doesn't exist.
32723276
*
3277+
* @throws {@link ServiceQuotaExceededException} (client fault)
3278+
* You attempted to create more resources than the service allows based on service quotas.
3279+
*
32733280
* @throws {@link TooManyRequestsException} (client fault)
32743281
* Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
32753282
*

0 commit comments

Comments
 (0)