@aws-sdk/client-mediaconvert 3.696.0 → 3.697.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/index.js CHANGED
@@ -908,6 +908,7 @@ var se_CreateQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
908
908
  let body;
909
909
  body = JSON.stringify(
910
910
  (0, import_smithy_client.take)(input, {
911
+ concurrentJobs: [, , `ConcurrentJobs`],
911
912
  description: [, , `Description`],
912
913
  name: [, , `Name`],
913
914
  pricingPlan: [, , `PricingPlan`],
@@ -1218,6 +1219,7 @@ var se_UpdateQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
1218
1219
  let body;
1219
1220
  body = JSON.stringify(
1220
1221
  (0, import_smithy_client.take)(input, {
1222
+ concurrentJobs: [, , `ConcurrentJobs`],
1221
1223
  description: [, , `Description`],
1222
1224
  reservationPlanSettings: [, (_) => se_ReservationPlanSettings(_, context), `ReservationPlanSettings`],
1223
1225
  status: [, , `Status`]
@@ -1492,7 +1494,9 @@ var de_ListQueuesCommand = /* @__PURE__ */ __name(async (output, context) => {
1492
1494
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1493
1495
  const doc = (0, import_smithy_client.take)(data, {
1494
1496
  NextToken: [, import_smithy_client.expectString, `nextToken`],
1495
- Queues: [, (_) => de___listOfQueue(_, context), `queues`]
1497
+ Queues: [, (_) => de___listOfQueue(_, context), `queues`],
1498
+ TotalConcurrentJobs: [, import_smithy_client.expectInt32, `totalConcurrentJobs`],
1499
+ UnallocatedConcurrentJobs: [, import_smithy_client.expectInt32, `unallocatedConcurrentJobs`]
1496
1500
  });
1497
1501
  Object.assign(contents, doc);
1498
1502
  return contents;
@@ -3936,6 +3940,12 @@ var de___listOfQueueTransition = /* @__PURE__ */ __name((output, context) => {
3936
3940
  });
3937
3941
  return retVal;
3938
3942
  }, "de___listOfQueueTransition");
3943
+ var de___listOfServiceOverride = /* @__PURE__ */ __name((output, context) => {
3944
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3945
+ return de_ServiceOverride(entry, context);
3946
+ });
3947
+ return retVal;
3948
+ }, "de___listOfServiceOverride");
3939
3949
  var de___listOfVideoOverlay = /* @__PURE__ */ __name((output, context) => {
3940
3950
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
3941
3951
  return de_VideoOverlay(entry, context);
@@ -5588,6 +5598,7 @@ var de_ProresSettings = /* @__PURE__ */ __name((output, context) => {
5588
5598
  var de_Queue = /* @__PURE__ */ __name((output, context) => {
5589
5599
  return (0, import_smithy_client.take)(output, {
5590
5600
  Arn: [, import_smithy_client.expectString, `arn`],
5601
+ ConcurrentJobs: [, import_smithy_client.expectInt32, `concurrentJobs`],
5591
5602
  CreatedAt: [, (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), `createdAt`],
5592
5603
  Description: [, import_smithy_client.expectString, `description`],
5593
5604
  LastUpdated: [, (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), `lastUpdated`],
@@ -5595,6 +5606,7 @@ var de_Queue = /* @__PURE__ */ __name((output, context) => {
5595
5606
  PricingPlan: [, import_smithy_client.expectString, `pricingPlan`],
5596
5607
  ProgressingJobsCount: [, import_smithy_client.expectInt32, `progressingJobsCount`],
5597
5608
  ReservationPlan: [, (_) => de_ReservationPlan(_, context), `reservationPlan`],
5609
+ ServiceOverrides: [, (_) => de___listOfServiceOverride(_, context), `serviceOverrides`],
5598
5610
  Status: [, import_smithy_client.expectString, `status`],
5599
5611
  SubmittedJobsCount: [, import_smithy_client.expectInt32, `submittedJobsCount`],
5600
5612
  Type: [, import_smithy_client.expectString, `type`]
@@ -5664,6 +5676,14 @@ var de_SccDestinationSettings = /* @__PURE__ */ __name((output, context) => {
5664
5676
  Framerate: [, import_smithy_client.expectString, `framerate`]
5665
5677
  });
5666
5678
  }, "de_SccDestinationSettings");
5679
+ var de_ServiceOverride = /* @__PURE__ */ __name((output, context) => {
5680
+ return (0, import_smithy_client.take)(output, {
5681
+ Message: [, import_smithy_client.expectString, `message`],
5682
+ Name: [, import_smithy_client.expectString, `name`],
5683
+ OverrideValue: [, import_smithy_client.expectString, `overrideValue`],
5684
+ Value: [, import_smithy_client.expectString, `value`]
5685
+ });
5686
+ }, "de_ServiceOverride");
5667
5687
  var de_SpekeKeyProvider = /* @__PURE__ */ __name((output, context) => {
5668
5688
  return (0, import_smithy_client.take)(output, {
5669
5689
  CertificateArn: [, import_smithy_client.expectString, `certificateArn`],
@@ -99,6 +99,7 @@ export const se_CreateQueueCommand = async (input, context) => {
99
99
  b.bp("/2017-08-29/queues");
100
100
  let body;
101
101
  body = JSON.stringify(take(input, {
102
+ concurrentJobs: [, , `ConcurrentJobs`],
102
103
  description: [, , `Description`],
103
104
  name: [, , `Name`],
104
105
  pricingPlan: [, , `PricingPlan`],
@@ -395,6 +396,7 @@ export const se_UpdateQueueCommand = async (input, context) => {
395
396
  b.p("Name", () => input.Name, "{Name}", false);
396
397
  let body;
397
398
  body = JSON.stringify(take(input, {
399
+ concurrentJobs: [, , `ConcurrentJobs`],
398
400
  description: [, , `Description`],
399
401
  reservationPlanSettings: [, (_) => se_ReservationPlanSettings(_, context), `ReservationPlanSettings`],
400
402
  status: [, , `Status`],
@@ -669,6 +671,8 @@ export const de_ListQueuesCommand = async (output, context) => {
669
671
  const doc = take(data, {
670
672
  NextToken: [, __expectString, `nextToken`],
671
673
  Queues: [, (_) => de___listOfQueue(_, context), `queues`],
674
+ TotalConcurrentJobs: [, __expectInt32, `totalConcurrentJobs`],
675
+ UnallocatedConcurrentJobs: [, __expectInt32, `unallocatedConcurrentJobs`],
672
676
  });
673
677
  Object.assign(contents, doc);
674
678
  return contents;
@@ -3224,6 +3228,14 @@ const de___listOfQueueTransition = (output, context) => {
3224
3228
  });
3225
3229
  return retVal;
3226
3230
  };
3231
+ const de___listOfServiceOverride = (output, context) => {
3232
+ const retVal = (output || [])
3233
+ .filter((e) => e != null)
3234
+ .map((entry) => {
3235
+ return de_ServiceOverride(entry, context);
3236
+ });
3237
+ return retVal;
3238
+ };
3227
3239
  const de___listOfVideoOverlay = (output, context) => {
3228
3240
  const retVal = (output || [])
3229
3241
  .filter((e) => e != null)
@@ -4884,6 +4896,7 @@ const de_ProresSettings = (output, context) => {
4884
4896
  const de_Queue = (output, context) => {
4885
4897
  return take(output, {
4886
4898
  Arn: [, __expectString, `arn`],
4899
+ ConcurrentJobs: [, __expectInt32, `concurrentJobs`],
4887
4900
  CreatedAt: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `createdAt`],
4888
4901
  Description: [, __expectString, `description`],
4889
4902
  LastUpdated: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `lastUpdated`],
@@ -4891,6 +4904,7 @@ const de_Queue = (output, context) => {
4891
4904
  PricingPlan: [, __expectString, `pricingPlan`],
4892
4905
  ProgressingJobsCount: [, __expectInt32, `progressingJobsCount`],
4893
4906
  ReservationPlan: [, (_) => de_ReservationPlan(_, context), `reservationPlan`],
4907
+ ServiceOverrides: [, (_) => de___listOfServiceOverride(_, context), `serviceOverrides`],
4894
4908
  Status: [, __expectString, `status`],
4895
4909
  SubmittedJobsCount: [, __expectInt32, `submittedJobsCount`],
4896
4910
  Type: [, __expectString, `type`],
@@ -4960,6 +4974,14 @@ const de_SccDestinationSettings = (output, context) => {
4960
4974
  Framerate: [, __expectString, `framerate`],
4961
4975
  });
4962
4976
  };
4977
+ const de_ServiceOverride = (output, context) => {
4978
+ return take(output, {
4979
+ Message: [, __expectString, `message`],
4980
+ Name: [, __expectString, `name`],
4981
+ OverrideValue: [, __expectString, `overrideValue`],
4982
+ Value: [, __expectString, `value`],
4983
+ });
4984
+ };
4963
4985
  const de_SpekeKeyProvider = (output, context) => {
4964
4986
  return take(output, {
4965
4987
  CertificateArn: [, __expectString, `certificateArn`],
@@ -35,6 +35,7 @@ declare const CreateQueueCommand_base: {
35
35
  * // const { MediaConvertClient, CreateQueueCommand } = require("@aws-sdk/client-mediaconvert"); // CommonJS import
36
36
  * const client = new MediaConvertClient(config);
37
37
  * const input = { // CreateQueueRequest
38
+ * ConcurrentJobs: Number("int"),
38
39
  * Description: "STRING_VALUE",
39
40
  * Name: "STRING_VALUE", // required
40
41
  * PricingPlan: "ON_DEMAND" || "RESERVED",
@@ -53,6 +54,7 @@ declare const CreateQueueCommand_base: {
53
54
  * // { // CreateQueueResponse
54
55
  * // Queue: { // Queue
55
56
  * // Arn: "STRING_VALUE",
57
+ * // ConcurrentJobs: Number("int"),
56
58
  * // CreatedAt: new Date("TIMESTAMP"),
57
59
  * // Description: "STRING_VALUE",
58
60
  * // LastUpdated: new Date("TIMESTAMP"),
@@ -67,6 +69,14 @@ declare const CreateQueueCommand_base: {
67
69
  * // ReservedSlots: Number("int"),
68
70
  * // Status: "ACTIVE" || "EXPIRED",
69
71
  * // },
72
+ * // ServiceOverrides: [ // __listOfServiceOverride
73
+ * // { // ServiceOverride
74
+ * // Message: "STRING_VALUE",
75
+ * // Name: "STRING_VALUE",
76
+ * // OverrideValue: "STRING_VALUE",
77
+ * // Value: "STRING_VALUE",
78
+ * // },
79
+ * // ],
70
80
  * // Status: "ACTIVE" || "PAUSED",
71
81
  * // SubmittedJobsCount: Number("int"),
72
82
  * // Type: "SYSTEM" || "CUSTOM",
@@ -42,6 +42,7 @@ declare const GetQueueCommand_base: {
42
42
  * // { // GetQueueResponse
43
43
  * // Queue: { // Queue
44
44
  * // Arn: "STRING_VALUE",
45
+ * // ConcurrentJobs: Number("int"),
45
46
  * // CreatedAt: new Date("TIMESTAMP"),
46
47
  * // Description: "STRING_VALUE",
47
48
  * // LastUpdated: new Date("TIMESTAMP"),
@@ -56,6 +57,14 @@ declare const GetQueueCommand_base: {
56
57
  * // ReservedSlots: Number("int"),
57
58
  * // Status: "ACTIVE" || "EXPIRED",
58
59
  * // },
60
+ * // ServiceOverrides: [ // __listOfServiceOverride
61
+ * // { // ServiceOverride
62
+ * // Message: "STRING_VALUE",
63
+ * // Name: "STRING_VALUE",
64
+ * // OverrideValue: "STRING_VALUE",
65
+ * // Value: "STRING_VALUE",
66
+ * // },
67
+ * // ],
59
68
  * // Status: "ACTIVE" || "PAUSED",
60
69
  * // SubmittedJobsCount: Number("int"),
61
70
  * // Type: "SYSTEM" || "CUSTOM",
@@ -47,6 +47,7 @@ declare const ListQueuesCommand_base: {
47
47
  * // Queues: [ // __listOfQueue
48
48
  * // { // Queue
49
49
  * // Arn: "STRING_VALUE",
50
+ * // ConcurrentJobs: Number("int"),
50
51
  * // CreatedAt: new Date("TIMESTAMP"),
51
52
  * // Description: "STRING_VALUE",
52
53
  * // LastUpdated: new Date("TIMESTAMP"),
@@ -61,11 +62,21 @@ declare const ListQueuesCommand_base: {
61
62
  * // ReservedSlots: Number("int"),
62
63
  * // Status: "ACTIVE" || "EXPIRED",
63
64
  * // },
65
+ * // ServiceOverrides: [ // __listOfServiceOverride
66
+ * // { // ServiceOverride
67
+ * // Message: "STRING_VALUE",
68
+ * // Name: "STRING_VALUE",
69
+ * // OverrideValue: "STRING_VALUE",
70
+ * // Value: "STRING_VALUE",
71
+ * // },
72
+ * // ],
64
73
  * // Status: "ACTIVE" || "PAUSED",
65
74
  * // SubmittedJobsCount: Number("int"),
66
75
  * // Type: "SYSTEM" || "CUSTOM",
67
76
  * // },
68
77
  * // ],
78
+ * // TotalConcurrentJobs: Number("int"),
79
+ * // UnallocatedConcurrentJobs: Number("int"),
69
80
  * // };
70
81
  *
71
82
  * ```
@@ -35,6 +35,7 @@ declare const UpdateQueueCommand_base: {
35
35
  * // const { MediaConvertClient, UpdateQueueCommand } = require("@aws-sdk/client-mediaconvert"); // CommonJS import
36
36
  * const client = new MediaConvertClient(config);
37
37
  * const input = { // UpdateQueueRequest
38
+ * ConcurrentJobs: Number("int"),
38
39
  * Description: "STRING_VALUE",
39
40
  * Name: "STRING_VALUE", // required
40
41
  * ReservationPlanSettings: { // ReservationPlanSettings
@@ -49,6 +50,7 @@ declare const UpdateQueueCommand_base: {
49
50
  * // { // UpdateQueueResponse
50
51
  * // Queue: { // Queue
51
52
  * // Arn: "STRING_VALUE",
53
+ * // ConcurrentJobs: Number("int"),
52
54
  * // CreatedAt: new Date("TIMESTAMP"),
53
55
  * // Description: "STRING_VALUE",
54
56
  * // LastUpdated: new Date("TIMESTAMP"),
@@ -63,6 +65,14 @@ declare const UpdateQueueCommand_base: {
63
65
  * // ReservedSlots: Number("int"),
64
66
  * // Status: "ACTIVE" || "EXPIRED",
65
67
  * // },
68
+ * // ServiceOverrides: [ // __listOfServiceOverride
69
+ * // { // ServiceOverride
70
+ * // Message: "STRING_VALUE",
71
+ * // Name: "STRING_VALUE",
72
+ * // OverrideValue: "STRING_VALUE",
73
+ * // Value: "STRING_VALUE",
74
+ * // },
75
+ * // ],
66
76
  * // Status: "ACTIVE" || "PAUSED",
67
77
  * // SubmittedJobsCount: Number("int"),
68
78
  * // Type: "SYSTEM" || "CUSTOM",
@@ -38,6 +38,32 @@ export interface ReservationPlan {
38
38
  */
39
39
  Status?: ReservationPlanStatus | undefined;
40
40
  }
41
+ /**
42
+ * A service override applied by MediaConvert to the settings that you have configured. If you see any overrides, we recommend that you contact AWS Support.
43
+ * @public
44
+ */
45
+ export interface ServiceOverride {
46
+ /**
47
+ * Details about the service override that MediaConvert has applied.
48
+ * @public
49
+ */
50
+ Message?: string | undefined;
51
+ /**
52
+ * The name of the setting that MediaConvert has applied an override to.
53
+ * @public
54
+ */
55
+ Name?: string | undefined;
56
+ /**
57
+ * The current value of the service override that MediaConvert has applied.
58
+ * @public
59
+ */
60
+ OverrideValue?: string | undefined;
61
+ /**
62
+ * The value of the setting that you configured, prior to any overrides that MediaConvert has applied.
63
+ * @public
64
+ */
65
+ Value?: string | undefined;
66
+ }
41
67
  /**
42
68
  * @public
43
69
  * @enum
@@ -60,6 +86,11 @@ export interface Queue {
60
86
  * @public
61
87
  */
62
88
  Arn?: string | undefined;
89
+ /**
90
+ * The maximum number of jobs your queue can process concurrently.
91
+ * @public
92
+ */
93
+ ConcurrentJobs?: number | undefined;
63
94
  /**
64
95
  * The timestamp in epoch seconds for when you created the queue.
65
96
  * @public
@@ -95,6 +126,11 @@ export interface Queue {
95
126
  * @public
96
127
  */
97
128
  ReservationPlan?: ReservationPlan | undefined;
129
+ /**
130
+ * A list of any service overrides applied by MediaConvert to the settings that you have configured. If you see any overrides, we recommend that you contact AWS Support.
131
+ * @public
132
+ */
133
+ ServiceOverrides?: ServiceOverride[] | undefined;
98
134
  /**
99
135
  * Queues can be ACTIVE or PAUSED. If you pause a queue, the service won't begin processing jobs in that queue. Jobs that are running when you pause the queue continue to run until they finish or result in an error.
100
136
  * @public
@@ -434,6 +470,11 @@ export interface ReservationPlanSettings {
434
470
  * @public
435
471
  */
436
472
  export interface CreateQueueRequest {
473
+ /**
474
+ * Specify the maximum number of jobs your queue can process concurrently. For on-demand queues, the value you enter is constrained by your service quotas for Maximum concurrent jobs, per on-demand queue and Maximum concurrent jobs, per account. For reserved queues, specify the number of jobs you can process concurrently in your reservation plan instead.
475
+ * @public
476
+ */
477
+ ConcurrentJobs?: number | undefined;
437
478
  /**
438
479
  * Optional. A description of the queue that you are creating.
439
480
  * @public
@@ -946,6 +987,16 @@ export interface ListQueuesResponse {
946
987
  * @public
947
988
  */
948
989
  Queues?: Queue[] | undefined;
990
+ /**
991
+ * The maximum number of jobs that MediaConvert can process at one time, across all of your on-demand queues in the current AWS Region.
992
+ * @public
993
+ */
994
+ TotalConcurrentJobs?: number | undefined;
995
+ /**
996
+ * The remaining number of concurrent jobs that are not associated with a queue and are available to allocate to a queue. You can allocate these jobs when you create or update a queue.
997
+ * @public
998
+ */
999
+ UnallocatedConcurrentJobs?: number | undefined;
949
1000
  }
950
1001
  /**
951
1002
  * @public
@@ -1222,6 +1273,11 @@ export interface UpdatePresetResponse {
1222
1273
  * @public
1223
1274
  */
1224
1275
  export interface UpdateQueueRequest {
1276
+ /**
1277
+ * Specify the maximum number of jobs your queue can process concurrently. For on-demand queues, the value you enter is constrained by your service quotas for Maximum concurrent jobs, per on-demand queue and Maximum concurrent jobs, per account. For reserved queues, update your reservation plan instead in order to increase your yearly commitment.
1278
+ * @public
1279
+ */
1280
+ ConcurrentJobs?: number | undefined;
1225
1281
  /**
1226
1282
  * The new description for the queue, if you are changing it.
1227
1283
  * @public
@@ -31,6 +31,12 @@ export interface ReservationPlan {
31
31
  ReservedSlots?: number | undefined;
32
32
  Status?: ReservationPlanStatus | undefined;
33
33
  }
34
+ export interface ServiceOverride {
35
+ Message?: string | undefined;
36
+ Name?: string | undefined;
37
+ OverrideValue?: string | undefined;
38
+ Value?: string | undefined;
39
+ }
34
40
  export declare const QueueStatus: {
35
41
  readonly ACTIVE: "ACTIVE";
36
42
  readonly PAUSED: "PAUSED";
@@ -38,6 +44,7 @@ export declare const QueueStatus: {
38
44
  export type QueueStatus = (typeof QueueStatus)[keyof typeof QueueStatus];
39
45
  export interface Queue {
40
46
  Arn?: string | undefined;
47
+ ConcurrentJobs?: number | undefined;
41
48
  CreatedAt?: Date | undefined;
42
49
  Description?: string | undefined;
43
50
  LastUpdated?: Date | undefined;
@@ -45,6 +52,7 @@ export interface Queue {
45
52
  PricingPlan?: PricingPlan | undefined;
46
53
  ProgressingJobsCount?: number | undefined;
47
54
  ReservationPlan?: ReservationPlan | undefined;
55
+ ServiceOverrides?: ServiceOverride[] | undefined;
48
56
  Status?: QueueStatus | undefined;
49
57
  SubmittedJobsCount?: number | undefined;
50
58
  Type?: Type | undefined;
@@ -149,6 +157,7 @@ export interface ReservationPlanSettings {
149
157
  ReservedSlots: number | undefined;
150
158
  }
151
159
  export interface CreateQueueRequest {
160
+ ConcurrentJobs?: number | undefined;
152
161
  Description?: string | undefined;
153
162
  Name: string | undefined;
154
163
  PricingPlan?: PricingPlan | undefined;
@@ -295,6 +304,8 @@ export interface ListQueuesRequest {
295
304
  export interface ListQueuesResponse {
296
305
  NextToken?: string | undefined;
297
306
  Queues?: Queue[] | undefined;
307
+ TotalConcurrentJobs?: number | undefined;
308
+ UnallocatedConcurrentJobs?: number | undefined;
298
309
  }
299
310
  export interface ListTagsForResourceRequest {
300
311
  Arn: string | undefined;
@@ -366,6 +377,7 @@ export interface UpdatePresetResponse {
366
377
  Preset?: Preset | undefined;
367
378
  }
368
379
  export interface UpdateQueueRequest {
380
+ ConcurrentJobs?: number | undefined;
369
381
  Description?: string | undefined;
370
382
  Name: string | undefined;
371
383
  ReservationPlanSettings?: ReservationPlanSettings | 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.696.0",
4
+ "version": "3.697.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",