@aws-sdk/client-mediaconvert 3.774.0 → 3.776.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +19 -18
- package/dist-es/MediaConvertClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-es/runtimeExtensions.js +2 -14
- package/dist-types/commands/CreateJobCommand.d.ts +2 -0
- package/dist-types/commands/CreateJobTemplateCommand.d.ts +2 -0
- package/dist-types/commands/GetJobCommand.d.ts +1 -0
- package/dist-types/commands/GetJobTemplateCommand.d.ts +1 -0
- package/dist-types/commands/ListJobTemplatesCommand.d.ts +1 -0
- package/dist-types/commands/ListJobsCommand.d.ts +1 -0
- package/dist-types/commands/ProbeCommand.d.ts +1 -1
- package/dist-types/commands/SearchJobsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateJobTemplateCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +5 -0
- package/dist-types/models/models_2.d.ts +46 -46
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +33 -33
|
@@ -40,8 +40,6 @@ const defaultMediaConvertHttpAuthSchemeProvider = (authParameters) => {
|
|
|
40
40
|
exports.defaultMediaConvertHttpAuthSchemeProvider = defaultMediaConvertHttpAuthSchemeProvider;
|
|
41
41
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
42
42
|
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
43
|
-
return {
|
|
44
|
-
...config_0,
|
|
45
|
-
};
|
|
43
|
+
return Object.assign(config_0, {});
|
|
46
44
|
};
|
|
47
45
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/index.js
CHANGED
|
@@ -528,12 +528,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
|
528
528
|
|
|
529
529
|
// src/endpoint/EndpointParameters.ts
|
|
530
530
|
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
531
|
-
return {
|
|
532
|
-
...options,
|
|
531
|
+
return Object.assign(options, {
|
|
533
532
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
534
533
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
535
534
|
defaultSigningName: "mediaconvert"
|
|
536
|
-
};
|
|
535
|
+
});
|
|
537
536
|
}, "resolveClientEndpointParameters");
|
|
538
537
|
var commonParams = {
|
|
539
538
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -590,22 +589,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
|
590
589
|
}, "resolveHttpAuthRuntimeConfig");
|
|
591
590
|
|
|
592
591
|
// src/runtimeExtensions.ts
|
|
593
|
-
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
594
592
|
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
595
|
-
const extensionConfiguration =
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
593
|
+
const extensionConfiguration = Object.assign(
|
|
594
|
+
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
595
|
+
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
596
|
+
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
597
|
+
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
598
|
+
);
|
|
601
599
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
602
|
-
return
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
600
|
+
return Object.assign(
|
|
601
|
+
runtimeConfig,
|
|
602
|
+
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
603
|
+
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
604
|
+
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
605
|
+
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
606
|
+
);
|
|
609
607
|
}, "resolveRuntimeExtensions");
|
|
610
608
|
|
|
611
609
|
// src/MediaConvertClient.ts
|
|
@@ -619,6 +617,8 @@ var MediaConvertClient = class extends import_smithy_client.Client {
|
|
|
619
617
|
config;
|
|
620
618
|
constructor(...[configuration]) {
|
|
621
619
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
620
|
+
super(_config_0);
|
|
621
|
+
this.initConfig = _config_0;
|
|
622
622
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
623
623
|
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
624
624
|
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
@@ -627,7 +627,6 @@ var MediaConvertClient = class extends import_smithy_client.Client {
|
|
|
627
627
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
628
628
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
629
629
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
630
|
-
super(_config_8);
|
|
631
630
|
this.config = _config_8;
|
|
632
631
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
633
632
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
@@ -2215,6 +2214,7 @@ var se_AutomatedAbrRule = /* @__PURE__ */ __name((input, context) => {
|
|
|
2215
2214
|
var se_AutomatedAbrSettings = /* @__PURE__ */ __name((input, context) => {
|
|
2216
2215
|
return (0, import_smithy_client.take)(input, {
|
|
2217
2216
|
maxAbrBitrate: [, , `MaxAbrBitrate`],
|
|
2217
|
+
maxQualityLevel: [, import_smithy_client.serializeFloat, `MaxQualityLevel`],
|
|
2218
2218
|
maxRenditions: [, , `MaxRenditions`],
|
|
2219
2219
|
minAbrBitrate: [, , `MinAbrBitrate`],
|
|
2220
2220
|
rules: [, (_) => se___listOfAutomatedAbrRule(_, context), `Rules`]
|
|
@@ -4399,6 +4399,7 @@ var de_AutomatedAbrRule = /* @__PURE__ */ __name((output, context) => {
|
|
|
4399
4399
|
var de_AutomatedAbrSettings = /* @__PURE__ */ __name((output, context) => {
|
|
4400
4400
|
return (0, import_smithy_client.take)(output, {
|
|
4401
4401
|
MaxAbrBitrate: [, import_smithy_client.expectInt32, `maxAbrBitrate`],
|
|
4402
|
+
MaxQualityLevel: [, import_smithy_client.limitedParseDouble, `maxQualityLevel`],
|
|
4402
4403
|
MaxRenditions: [, import_smithy_client.expectInt32, `maxRenditions`],
|
|
4403
4404
|
MinAbrBitrate: [, import_smithy_client.expectInt32, `minAbrBitrate`],
|
|
4404
4405
|
Rules: [, (_) => de___listOfAutomatedAbrRule(_, context), `rules`]
|
|
@@ -17,6 +17,8 @@ export class MediaConvertClient extends __Client {
|
|
|
17
17
|
config;
|
|
18
18
|
constructor(...[configuration]) {
|
|
19
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
20
|
+
super(_config_0);
|
|
21
|
+
this.initConfig = _config_0;
|
|
20
22
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
21
23
|
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
22
24
|
const _config_3 = resolveRetryConfig(_config_2);
|
|
@@ -25,7 +27,6 @@ export class MediaConvertClient extends __Client {
|
|
|
25
27
|
const _config_6 = resolveEndpointConfig(_config_5);
|
|
26
28
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
27
29
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
28
|
-
super(_config_8);
|
|
29
30
|
this.config = _config_8;
|
|
30
31
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
31
32
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
@@ -35,7 +35,5 @@ export const defaultMediaConvertHttpAuthSchemeProvider = (authParameters) => {
|
|
|
35
35
|
};
|
|
36
36
|
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
37
37
|
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
38
|
-
return {
|
|
39
|
-
...config_0,
|
|
40
|
-
};
|
|
38
|
+
return Object.assign(config_0, {});
|
|
41
39
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export const resolveClientEndpointParameters = (options) => {
|
|
2
|
-
return {
|
|
3
|
-
...options,
|
|
2
|
+
return Object.assign(options, {
|
|
4
3
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
5
4
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
6
5
|
defaultSigningName: "mediaconvert",
|
|
7
|
-
};
|
|
6
|
+
});
|
|
8
7
|
};
|
|
9
8
|
export const commonParams = {
|
|
10
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -1295,6 +1295,7 @@ const se_AutomatedAbrRule = (input, context) => {
|
|
|
1295
1295
|
const se_AutomatedAbrSettings = (input, context) => {
|
|
1296
1296
|
return take(input, {
|
|
1297
1297
|
maxAbrBitrate: [, , `MaxAbrBitrate`],
|
|
1298
|
+
maxQualityLevel: [, __serializeFloat, `MaxQualityLevel`],
|
|
1298
1299
|
maxRenditions: [, , `MaxRenditions`],
|
|
1299
1300
|
minAbrBitrate: [, , `MinAbrBitrate`],
|
|
1300
1301
|
rules: [, (_) => se___listOfAutomatedAbrRule(_, context), `Rules`],
|
|
@@ -3557,6 +3558,7 @@ const de_AutomatedAbrRule = (output, context) => {
|
|
|
3557
3558
|
const de_AutomatedAbrSettings = (output, context) => {
|
|
3558
3559
|
return take(output, {
|
|
3559
3560
|
MaxAbrBitrate: [, __expectInt32, `maxAbrBitrate`],
|
|
3561
|
+
MaxQualityLevel: [, __limitedParseDouble, `maxQualityLevel`],
|
|
3560
3562
|
MaxRenditions: [, __expectInt32, `maxRenditions`],
|
|
3561
3563
|
MinAbrBitrate: [, __expectInt32, `minAbrBitrate`],
|
|
3562
3564
|
Rules: [, (_) => de___listOfAutomatedAbrRule(_, context), `rules`],
|
|
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
|
|
|
2
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
3
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
-
const asPartial = (t) => t;
|
|
6
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
-
const extensionConfiguration =
|
|
8
|
-
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
9
|
-
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
10
|
-
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
11
|
-
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
|
|
12
|
-
};
|
|
6
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
13
7
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
14
|
-
return
|
|
15
|
-
...runtimeConfig,
|
|
16
|
-
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
17
|
-
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
18
|
-
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
19
|
-
...resolveHttpAuthRuntimeConfig(extensionConfiguration),
|
|
20
|
-
};
|
|
8
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
21
9
|
};
|
|
@@ -370,6 +370,7 @@ declare const CreateJobCommand_base: {
|
|
|
370
370
|
* AutomatedEncodingSettings: { // AutomatedEncodingSettings
|
|
371
371
|
* AbrSettings: { // AutomatedAbrSettings
|
|
372
372
|
* MaxAbrBitrate: Number("int"),
|
|
373
|
+
* MaxQualityLevel: Number("double"),
|
|
373
374
|
* MaxRenditions: Number("int"),
|
|
374
375
|
* MinAbrBitrate: Number("int"),
|
|
375
376
|
* Rules: [ // __listOfAutomatedAbrRule
|
|
@@ -1945,6 +1946,7 @@ declare const CreateJobCommand_base: {
|
|
|
1945
1946
|
* // AutomatedEncodingSettings: { // AutomatedEncodingSettings
|
|
1946
1947
|
* // AbrSettings: { // AutomatedAbrSettings
|
|
1947
1948
|
* // MaxAbrBitrate: Number("int"),
|
|
1949
|
+
* // MaxQualityLevel: Number("double"),
|
|
1948
1950
|
* // MaxRenditions: Number("int"),
|
|
1949
1951
|
* // MinAbrBitrate: Number("int"),
|
|
1950
1952
|
* // Rules: [ // __listOfAutomatedAbrRule
|
|
@@ -351,6 +351,7 @@ declare const CreateJobTemplateCommand_base: {
|
|
|
351
351
|
* AutomatedEncodingSettings: { // AutomatedEncodingSettings
|
|
352
352
|
* AbrSettings: { // AutomatedAbrSettings
|
|
353
353
|
* MaxAbrBitrate: Number("int"),
|
|
354
|
+
* MaxQualityLevel: Number("double"),
|
|
354
355
|
* MaxRenditions: Number("int"),
|
|
355
356
|
* MinAbrBitrate: Number("int"),
|
|
356
357
|
* Rules: [ // __listOfAutomatedAbrRule
|
|
@@ -1868,6 +1869,7 @@ declare const CreateJobTemplateCommand_base: {
|
|
|
1868
1869
|
* // AutomatedEncodingSettings: { // AutomatedEncodingSettings
|
|
1869
1870
|
* // AbrSettings: { // AutomatedAbrSettings
|
|
1870
1871
|
* // MaxAbrBitrate: Number("int"),
|
|
1872
|
+
* // MaxQualityLevel: Number("double"),
|
|
1871
1873
|
* // MaxRenditions: Number("int"),
|
|
1872
1874
|
* // MinAbrBitrate: Number("int"),
|
|
1873
1875
|
* // Rules: [ // __listOfAutomatedAbrRule
|
|
@@ -414,6 +414,7 @@ declare const GetJobCommand_base: {
|
|
|
414
414
|
* // AutomatedEncodingSettings: { // AutomatedEncodingSettings
|
|
415
415
|
* // AbrSettings: { // AutomatedAbrSettings
|
|
416
416
|
* // MaxAbrBitrate: Number("int"),
|
|
417
|
+
* // MaxQualityLevel: Number("double"),
|
|
417
418
|
* // MaxRenditions: Number("int"),
|
|
418
419
|
* // MinAbrBitrate: Number("int"),
|
|
419
420
|
* // Rules: [ // __listOfAutomatedAbrRule
|
|
@@ -360,6 +360,7 @@ declare const GetJobTemplateCommand_base: {
|
|
|
360
360
|
* // AutomatedEncodingSettings: { // AutomatedEncodingSettings
|
|
361
361
|
* // AbrSettings: { // AutomatedAbrSettings
|
|
362
362
|
* // MaxAbrBitrate: Number("int"),
|
|
363
|
+
* // MaxQualityLevel: Number("double"),
|
|
363
364
|
* // MaxRenditions: Number("int"),
|
|
364
365
|
* // MinAbrBitrate: Number("int"),
|
|
365
366
|
* // Rules: [ // __listOfAutomatedAbrRule
|
|
@@ -365,6 +365,7 @@ declare const ListJobTemplatesCommand_base: {
|
|
|
365
365
|
* // AutomatedEncodingSettings: { // AutomatedEncodingSettings
|
|
366
366
|
* // AbrSettings: { // AutomatedAbrSettings
|
|
367
367
|
* // MaxAbrBitrate: Number("int"),
|
|
368
|
+
* // MaxQualityLevel: Number("double"),
|
|
368
369
|
* // MaxRenditions: Number("int"),
|
|
369
370
|
* // MinAbrBitrate: Number("int"),
|
|
370
371
|
* // Rules: [ // __listOfAutomatedAbrRule
|
|
@@ -419,6 +419,7 @@ declare const ListJobsCommand_base: {
|
|
|
419
419
|
* // AutomatedEncodingSettings: { // AutomatedEncodingSettings
|
|
420
420
|
* // AbrSettings: { // AutomatedAbrSettings
|
|
421
421
|
* // MaxAbrBitrate: Number("int"),
|
|
422
|
+
* // MaxQualityLevel: Number("double"),
|
|
422
423
|
* // MaxRenditions: Number("int"),
|
|
423
424
|
* // MinAbrBitrate: Number("int"),
|
|
424
425
|
* // Rules: [ // __listOfAutomatedAbrRule
|
|
@@ -27,7 +27,7 @@ declare const ProbeCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Use Probe to obtain detailed information about your input media files. Probe returns a JSON that includes container, codec, frame rate, resolution, track count, audio layout, captions, and more. You can use this information to learn more about your media files, or to help make decisions while automating your transcoding workflow.
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -420,6 +420,7 @@ declare const SearchJobsCommand_base: {
|
|
|
420
420
|
* // AutomatedEncodingSettings: { // AutomatedEncodingSettings
|
|
421
421
|
* // AbrSettings: { // AutomatedAbrSettings
|
|
422
422
|
* // MaxAbrBitrate: Number("int"),
|
|
423
|
+
* // MaxQualityLevel: Number("double"),
|
|
423
424
|
* // MaxRenditions: Number("int"),
|
|
424
425
|
* // MinAbrBitrate: Number("int"),
|
|
425
426
|
* // Rules: [ // __listOfAutomatedAbrRule
|
|
@@ -351,6 +351,7 @@ declare const UpdateJobTemplateCommand_base: {
|
|
|
351
351
|
* AutomatedEncodingSettings: { // AutomatedEncodingSettings
|
|
352
352
|
* AbrSettings: { // AutomatedAbrSettings
|
|
353
353
|
* MaxAbrBitrate: Number("int"),
|
|
354
|
+
* MaxQualityLevel: Number("double"),
|
|
354
355
|
* MaxRenditions: Number("int"),
|
|
355
356
|
* MinAbrBitrate: Number("int"),
|
|
356
357
|
* Rules: [ // __listOfAutomatedAbrRule
|
|
@@ -1865,6 +1866,7 @@ declare const UpdateJobTemplateCommand_base: {
|
|
|
1865
1866
|
* // AutomatedEncodingSettings: { // AutomatedEncodingSettings
|
|
1866
1867
|
* // AbrSettings: { // AutomatedAbrSettings
|
|
1867
1868
|
* // MaxAbrBitrate: Number("int"),
|
|
1869
|
+
* // MaxQualityLevel: Number("double"),
|
|
1868
1870
|
* // MaxRenditions: Number("int"),
|
|
1869
1871
|
* // MinAbrBitrate: Number("int"),
|
|
1870
1872
|
* // Rules: [ // __listOfAutomatedAbrRule
|
|
@@ -4829,6 +4829,11 @@ export interface AutomatedAbrSettings {
|
|
|
4829
4829
|
* @public
|
|
4830
4830
|
*/
|
|
4831
4831
|
MaxAbrBitrate?: number | undefined;
|
|
4832
|
+
/**
|
|
4833
|
+
* Optional. Specify the QVBR quality level to use for all renditions in your automated ABR stack. To have MediaConvert automatically determine the quality level: Leave blank. To manually specify a quality level: Enter an integer from 1 to 10. MediaConvert will use a quality level up to the value that you specify, depending on your source. For more information about QVBR quality levels, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/qvbr-guidelines.html
|
|
4834
|
+
* @public
|
|
4835
|
+
*/
|
|
4836
|
+
MaxQualityLevel?: number | undefined;
|
|
4832
4837
|
/**
|
|
4833
4838
|
* Optional. The maximum number of renditions that MediaConvert will create in your automated ABR stack. The number of renditions is determined automatically, based on analysis of each job, but will never exceed this limit. When you set this to Auto in the console, which is equivalent to excluding it from your JSON job specification, MediaConvert defaults to a limit of 15.
|
|
4834
4839
|
* @public
|
|
@@ -255,7 +255,7 @@ export interface Preset {
|
|
|
255
255
|
*/
|
|
256
256
|
export interface ProbeInputFile {
|
|
257
257
|
/**
|
|
258
|
-
*
|
|
258
|
+
* Specify the S3, HTTP, or HTTPS URL for your media file.
|
|
259
259
|
* @public
|
|
260
260
|
*/
|
|
261
261
|
FileUrl?: string | undefined;
|
|
@@ -275,23 +275,23 @@ export declare const Format: {
|
|
|
275
275
|
*/
|
|
276
276
|
export type Format = (typeof Format)[keyof typeof Format];
|
|
277
277
|
/**
|
|
278
|
-
*
|
|
278
|
+
* The frame rate of the video or audio track.
|
|
279
279
|
* @public
|
|
280
280
|
*/
|
|
281
281
|
export interface FrameRate {
|
|
282
282
|
/**
|
|
283
|
-
*
|
|
283
|
+
* The denominator, or bottom number, in the fractional frame rate. For example, if your frame rate is 24000 / 1001 (23.976 frames per second), then the denominator would be 1001.
|
|
284
284
|
* @public
|
|
285
285
|
*/
|
|
286
286
|
Denominator?: number | undefined;
|
|
287
287
|
/**
|
|
288
|
-
*
|
|
288
|
+
* The numerator, or top number, in the fractional frame rate. For example, if your frame rate is 24000 / 1001 (23.976 frames per second), then the numerator would be 24000.
|
|
289
289
|
* @public
|
|
290
290
|
*/
|
|
291
291
|
Numerator?: number | undefined;
|
|
292
292
|
}
|
|
293
293
|
/**
|
|
294
|
-
*
|
|
294
|
+
* Details about the media file's audio track.
|
|
295
295
|
* @public
|
|
296
296
|
*/
|
|
297
297
|
export interface AudioProperties {
|
|
@@ -301,22 +301,22 @@ export interface AudioProperties {
|
|
|
301
301
|
*/
|
|
302
302
|
BitDepth?: number | undefined;
|
|
303
303
|
/**
|
|
304
|
-
* The bit rate of the audio track in bits per second.
|
|
304
|
+
* The bit rate of the audio track, in bits per second.
|
|
305
305
|
* @public
|
|
306
306
|
*/
|
|
307
307
|
BitRate?: number | undefined;
|
|
308
308
|
/**
|
|
309
|
-
* The number of audio channels.
|
|
309
|
+
* The number of audio channels in the audio track.
|
|
310
310
|
* @public
|
|
311
311
|
*/
|
|
312
312
|
Channels?: number | undefined;
|
|
313
313
|
/**
|
|
314
|
-
*
|
|
314
|
+
* The frame rate of the video or audio track.
|
|
315
315
|
* @public
|
|
316
316
|
*/
|
|
317
317
|
FrameRate?: FrameRate | undefined;
|
|
318
318
|
/**
|
|
319
|
-
*
|
|
319
|
+
* The language code of the audio track, in three character ISO 639-3 format.
|
|
320
320
|
* @public
|
|
321
321
|
*/
|
|
322
322
|
LanguageCode?: string | undefined;
|
|
@@ -359,12 +359,12 @@ export declare const Codec: {
|
|
|
359
359
|
*/
|
|
360
360
|
export type Codec = (typeof Codec)[keyof typeof Codec];
|
|
361
361
|
/**
|
|
362
|
-
*
|
|
362
|
+
* Details about the media file's data track.
|
|
363
363
|
* @public
|
|
364
364
|
*/
|
|
365
365
|
export interface DataProperties {
|
|
366
366
|
/**
|
|
367
|
-
*
|
|
367
|
+
* The language code of the data track, in three character ISO 639-3 format.
|
|
368
368
|
* @public
|
|
369
369
|
*/
|
|
370
370
|
LanguageCode?: string | undefined;
|
|
@@ -466,7 +466,7 @@ export declare const TransferCharacteristics: {
|
|
|
466
466
|
*/
|
|
467
467
|
export type TransferCharacteristics = (typeof TransferCharacteristics)[keyof typeof TransferCharacteristics];
|
|
468
468
|
/**
|
|
469
|
-
*
|
|
469
|
+
* Details about the media file's video track.
|
|
470
470
|
* @public
|
|
471
471
|
*/
|
|
472
472
|
export interface VideoProperties {
|
|
@@ -476,167 +476,167 @@ export interface VideoProperties {
|
|
|
476
476
|
*/
|
|
477
477
|
BitDepth?: number | undefined;
|
|
478
478
|
/**
|
|
479
|
-
* The bit rate of the video track in bits per second.
|
|
479
|
+
* The bit rate of the video track, in bits per second.
|
|
480
480
|
* @public
|
|
481
481
|
*/
|
|
482
482
|
BitRate?: number | undefined;
|
|
483
483
|
/**
|
|
484
|
-
*
|
|
484
|
+
* The color space color primaries of the video track.
|
|
485
485
|
* @public
|
|
486
486
|
*/
|
|
487
487
|
ColorPrimaries?: ColorPrimaries | undefined;
|
|
488
488
|
/**
|
|
489
|
-
*
|
|
489
|
+
* The frame rate of the video or audio track.
|
|
490
490
|
* @public
|
|
491
491
|
*/
|
|
492
492
|
FrameRate?: FrameRate | undefined;
|
|
493
493
|
/**
|
|
494
|
-
* The height of the video track in pixels.
|
|
494
|
+
* The height of the video track, in pixels.
|
|
495
495
|
* @public
|
|
496
496
|
*/
|
|
497
497
|
Height?: number | undefined;
|
|
498
498
|
/**
|
|
499
|
-
*
|
|
499
|
+
* The color space matrix coefficients of the video track.
|
|
500
500
|
* @public
|
|
501
501
|
*/
|
|
502
502
|
MatrixCoefficients?: MatrixCoefficients | undefined;
|
|
503
503
|
/**
|
|
504
|
-
*
|
|
504
|
+
* The color space transfer characteristics of the video track.
|
|
505
505
|
* @public
|
|
506
506
|
*/
|
|
507
507
|
TransferCharacteristics?: TransferCharacteristics | undefined;
|
|
508
508
|
/**
|
|
509
|
-
* The width of the video track in pixels.
|
|
509
|
+
* The width of the video track, in pixels.
|
|
510
510
|
* @public
|
|
511
511
|
*/
|
|
512
512
|
Width?: number | undefined;
|
|
513
513
|
}
|
|
514
514
|
/**
|
|
515
|
-
*
|
|
515
|
+
* Details about each track (video, audio, or data) in the media file.
|
|
516
516
|
* @public
|
|
517
517
|
*/
|
|
518
518
|
export interface Track {
|
|
519
519
|
/**
|
|
520
|
-
*
|
|
520
|
+
* Details about the media file's audio track.
|
|
521
521
|
* @public
|
|
522
522
|
*/
|
|
523
523
|
AudioProperties?: AudioProperties | undefined;
|
|
524
524
|
/**
|
|
525
|
-
* The codec
|
|
525
|
+
* The codec of the audio or video track, or caption format of the data track.
|
|
526
526
|
* @public
|
|
527
527
|
*/
|
|
528
528
|
Codec?: Codec | undefined;
|
|
529
529
|
/**
|
|
530
|
-
*
|
|
530
|
+
* Details about the media file's data track.
|
|
531
531
|
* @public
|
|
532
532
|
*/
|
|
533
533
|
DataProperties?: DataProperties | undefined;
|
|
534
534
|
/**
|
|
535
|
-
* The duration of the track in seconds.
|
|
535
|
+
* The duration of the track, in seconds.
|
|
536
536
|
* @public
|
|
537
537
|
*/
|
|
538
538
|
Duration?: number | undefined;
|
|
539
539
|
/**
|
|
540
|
-
* The index of the track.
|
|
540
|
+
* The unique index number of the track, starting at 1.
|
|
541
541
|
* @public
|
|
542
542
|
*/
|
|
543
543
|
Index?: number | undefined;
|
|
544
544
|
/**
|
|
545
|
-
* The type of
|
|
545
|
+
* The type of track: video, audio, or data.
|
|
546
546
|
* @public
|
|
547
547
|
*/
|
|
548
548
|
TrackType?: TrackType | undefined;
|
|
549
549
|
/**
|
|
550
|
-
*
|
|
550
|
+
* Details about the media file's video track.
|
|
551
551
|
* @public
|
|
552
552
|
*/
|
|
553
553
|
VideoProperties?: VideoProperties | undefined;
|
|
554
554
|
}
|
|
555
555
|
/**
|
|
556
|
-
*
|
|
556
|
+
* The container of your media file. This information helps you understand the overall structure and details of your media, including format, duration, and track layout.
|
|
557
557
|
* @public
|
|
558
558
|
*/
|
|
559
559
|
export interface Container {
|
|
560
560
|
/**
|
|
561
|
-
* The duration of
|
|
561
|
+
* The total duration of your media file, in seconds.
|
|
562
562
|
* @public
|
|
563
563
|
*/
|
|
564
564
|
Duration?: number | undefined;
|
|
565
565
|
/**
|
|
566
|
-
* The format of the
|
|
566
|
+
* The format of your media file. For example: MP4, QuickTime (MOV), Matroska (MKV), or WebM. Note that this will be blank if your media file has a format that the MediaConvert Probe operation does not recognize.
|
|
567
567
|
* @public
|
|
568
568
|
*/
|
|
569
569
|
Format?: Format | undefined;
|
|
570
570
|
/**
|
|
571
|
-
*
|
|
571
|
+
* Details about each track (video, audio, or data) in the media file.
|
|
572
572
|
* @public
|
|
573
573
|
*/
|
|
574
574
|
Tracks?: Track[] | undefined;
|
|
575
575
|
}
|
|
576
576
|
/**
|
|
577
|
-
* Metadata
|
|
577
|
+
* Metadata and other file information.
|
|
578
578
|
* @public
|
|
579
579
|
*/
|
|
580
580
|
export interface Metadata {
|
|
581
581
|
/**
|
|
582
|
-
* The ETag of the file.
|
|
582
|
+
* The entity tag (ETag) of the file.
|
|
583
583
|
* @public
|
|
584
584
|
*/
|
|
585
585
|
ETag?: string | undefined;
|
|
586
586
|
/**
|
|
587
|
-
* The size of the file in bytes.
|
|
587
|
+
* The size of the media file, in bytes.
|
|
588
588
|
* @public
|
|
589
589
|
*/
|
|
590
590
|
FileSize?: number | undefined;
|
|
591
591
|
/**
|
|
592
|
-
* The last modification
|
|
592
|
+
* The last modification timestamp of the media file, in Unix time.
|
|
593
593
|
* @public
|
|
594
594
|
*/
|
|
595
595
|
LastModified?: Date | undefined;
|
|
596
596
|
/**
|
|
597
|
-
* The MIME type of the file.
|
|
597
|
+
* The MIME type of the media file.
|
|
598
598
|
* @public
|
|
599
599
|
*/
|
|
600
600
|
MimeType?: string | undefined;
|
|
601
601
|
}
|
|
602
602
|
/**
|
|
603
|
-
*
|
|
603
|
+
* An array containing track mapping information.
|
|
604
604
|
* @public
|
|
605
605
|
*/
|
|
606
606
|
export interface TrackMapping {
|
|
607
607
|
/**
|
|
608
|
-
* The
|
|
608
|
+
* The index numbers of the audio tracks in your media file.
|
|
609
609
|
* @public
|
|
610
610
|
*/
|
|
611
611
|
AudioTrackIndexes?: number[] | undefined;
|
|
612
612
|
/**
|
|
613
|
-
* The
|
|
613
|
+
* The index numbers of the data tracks in your media file.
|
|
614
614
|
* @public
|
|
615
615
|
*/
|
|
616
616
|
DataTrackIndexes?: number[] | undefined;
|
|
617
617
|
/**
|
|
618
|
-
* The
|
|
618
|
+
* The index numbers of the video tracks in your media file.
|
|
619
619
|
* @public
|
|
620
620
|
*/
|
|
621
621
|
VideoTrackIndexes?: number[] | undefined;
|
|
622
622
|
}
|
|
623
623
|
/**
|
|
624
|
-
*
|
|
624
|
+
* Probe results for your media file.
|
|
625
625
|
* @public
|
|
626
626
|
*/
|
|
627
627
|
export interface ProbeResult {
|
|
628
628
|
/**
|
|
629
|
-
*
|
|
629
|
+
* The container of your media file. This information helps you understand the overall structure and details of your media, including format, duration, and track layout.
|
|
630
630
|
* @public
|
|
631
631
|
*/
|
|
632
632
|
Container?: Container | undefined;
|
|
633
633
|
/**
|
|
634
|
-
* Metadata
|
|
634
|
+
* Metadata and other file information.
|
|
635
635
|
* @public
|
|
636
636
|
*/
|
|
637
637
|
Metadata?: Metadata | undefined;
|
|
638
638
|
/**
|
|
639
|
-
*
|
|
639
|
+
* An array containing track mapping information.
|
|
640
640
|
* @public
|
|
641
641
|
*/
|
|
642
642
|
TrackMappings?: TrackMapping[] | undefined;
|
|
@@ -1755,7 +1755,7 @@ export interface ListVersionsResponse {
|
|
|
1755
1755
|
*/
|
|
1756
1756
|
export interface ProbeRequest {
|
|
1757
1757
|
/**
|
|
1758
|
-
*
|
|
1758
|
+
* Specify a media file to probe.
|
|
1759
1759
|
* @public
|
|
1760
1760
|
*/
|
|
1761
1761
|
InputFiles?: ProbeInputFile[] | undefined;
|
|
@@ -1765,7 +1765,7 @@ export interface ProbeRequest {
|
|
|
1765
1765
|
*/
|
|
1766
1766
|
export interface ProbeResponse {
|
|
1767
1767
|
/**
|
|
1768
|
-
*
|
|
1768
|
+
* Probe results for your media file.
|
|
1769
1769
|
* @public
|
|
1770
1770
|
*/
|
|
1771
1771
|
ProbeResults?: ProbeResult[] | undefined;
|
|
@@ -1778,6 +1778,7 @@ export interface NielsenNonLinearWatermarkSettings {
|
|
|
1778
1778
|
}
|
|
1779
1779
|
export interface AutomatedAbrSettings {
|
|
1780
1780
|
MaxAbrBitrate?: number | undefined;
|
|
1781
|
+
MaxQualityLevel?: number | undefined;
|
|
1781
1782
|
MaxRenditions?: number | undefined;
|
|
1782
1783
|
MinAbrBitrate?: number | undefined;
|
|
1783
1784
|
Rules?: AutomatedAbrRule[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediaconvert",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediaconvert Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.776.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-mediaconvert",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.0
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.0.
|
|
37
|
-
"@smithy/hash-node": "^4.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0
|
|
41
|
-
"@smithy/middleware-retry": "^4.0
|
|
42
|
-
"@smithy/middleware-serde": "^4.0.
|
|
43
|
-
"@smithy/middleware-stack": "^4.0.
|
|
44
|
-
"@smithy/node-config-provider": "^4.0.
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
46
|
-
"@smithy/protocol-http": "^5.0
|
|
47
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.0.
|
|
23
|
+
"@aws-sdk/core": "3.775.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.775.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.775.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
30
|
+
"@aws-sdk/types": "3.775.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.775.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.775.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.1.0",
|
|
35
|
+
"@smithy/core": "^3.2.0",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.0.2",
|
|
37
|
+
"@smithy/hash-node": "^4.0.2",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.0.2",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.0.2",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.0",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.0",
|
|
42
|
+
"@smithy/middleware-serde": "^4.0.3",
|
|
43
|
+
"@smithy/middleware-stack": "^4.0.2",
|
|
44
|
+
"@smithy/node-config-provider": "^4.0.2",
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.4",
|
|
46
|
+
"@smithy/protocol-http": "^5.1.0",
|
|
47
|
+
"@smithy/smithy-client": "^4.2.0",
|
|
48
|
+
"@smithy/types": "^4.2.0",
|
|
49
|
+
"@smithy/url-parser": "^4.0.2",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
55
|
-
"@smithy/util-endpoints": "^3.0.
|
|
56
|
-
"@smithy/util-middleware": "^4.0.
|
|
57
|
-
"@smithy/util-retry": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.8",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.8",
|
|
55
|
+
"@smithy/util-endpoints": "^3.0.2",
|
|
56
|
+
"@smithy/util-middleware": "^4.0.2",
|
|
57
|
+
"@smithy/util-retry": "^4.0.2",
|
|
58
58
|
"@smithy/util-utf8": "^4.0.0",
|
|
59
59
|
"@types/uuid": "^9.0.1",
|
|
60
60
|
"tslib": "^2.6.2",
|