@aws-sdk/client-mediaconvert 3.54.1 → 3.58.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/CHANGELOG.md +24 -0
- package/dist-cjs/MediaConvertClient.js +13 -13
- package/dist-cjs/commands/AssociateCertificateCommand.js +3 -3
- package/dist-cjs/commands/CancelJobCommand.js +3 -3
- package/dist-cjs/commands/CreateJobCommand.js +3 -3
- package/dist-cjs/commands/CreateJobTemplateCommand.js +3 -3
- package/dist-cjs/commands/CreatePresetCommand.js +3 -3
- package/dist-cjs/commands/CreateQueueCommand.js +3 -3
- package/dist-cjs/commands/DeleteJobTemplateCommand.js +3 -3
- package/dist-cjs/commands/DeletePolicyCommand.js +3 -3
- package/dist-cjs/commands/DeletePresetCommand.js +3 -3
- package/dist-cjs/commands/DeleteQueueCommand.js +3 -3
- package/dist-cjs/commands/DescribeEndpointsCommand.js +3 -3
- package/dist-cjs/commands/DisassociateCertificateCommand.js +3 -3
- package/dist-cjs/commands/GetJobCommand.js +3 -3
- package/dist-cjs/commands/GetJobTemplateCommand.js +3 -3
- package/dist-cjs/commands/GetPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetPresetCommand.js +3 -3
- package/dist-cjs/commands/GetQueueCommand.js +3 -3
- package/dist-cjs/commands/ListJobTemplatesCommand.js +3 -3
- package/dist-cjs/commands/ListJobsCommand.js +3 -3
- package/dist-cjs/commands/ListPresetsCommand.js +3 -3
- package/dist-cjs/commands/ListQueuesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutPolicyCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateJobTemplateCommand.js +3 -3
- package/dist-cjs/commands/UpdatePresetCommand.js +3 -3
- package/dist-cjs/commands/UpdateQueueCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +980 -980
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/MediaConvert.js +28 -28
- package/dist-es/pagination/DescribeEndpointsPaginator.js +4 -4
- package/dist-es/pagination/ListJobTemplatesPaginator.js +4 -4
- package/dist-es/pagination/ListJobsPaginator.js +4 -4
- package/dist-es/pagination/ListPresetsPaginator.js +4 -4
- package/dist-es/pagination/ListQueuesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +28 -28
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -14,7 +14,7 @@ export var serializeAws_restJson1AssociateCertificateCommand = function (input,
|
|
|
14
14
|
headers = {
|
|
15
15
|
"content-type": "application/json",
|
|
16
16
|
};
|
|
17
|
-
resolvedPath = ""
|
|
17
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/certificates";
|
|
18
18
|
body = JSON.stringify(__assign({}, (input.Arn !== undefined && input.Arn !== null && { arn: input.Arn })));
|
|
19
19
|
return [2, new __HttpRequest({
|
|
20
20
|
protocol: protocol,
|
|
@@ -36,7 +36,7 @@ export var serializeAws_restJson1CancelJobCommand = function (input, context) {
|
|
|
36
36
|
case 1:
|
|
37
37
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
38
38
|
headers = {};
|
|
39
|
-
resolvedPath = ""
|
|
39
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/jobs/{Id}";
|
|
40
40
|
if (input.Id !== undefined) {
|
|
41
41
|
labelValue = input.Id;
|
|
42
42
|
if (labelValue.length <= 0) {
|
|
@@ -70,7 +70,7 @@ export var serializeAws_restJson1CreateJobCommand = function (input, context) {
|
|
|
70
70
|
headers = {
|
|
71
71
|
"content-type": "application/json",
|
|
72
72
|
};
|
|
73
|
-
resolvedPath = ""
|
|
73
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/jobs";
|
|
74
74
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccelerationSettings !== undefined &&
|
|
75
75
|
input.AccelerationSettings !== null && {
|
|
76
76
|
accelerationSettings: serializeAws_restJson1AccelerationSettings(input.AccelerationSettings, context),
|
|
@@ -108,7 +108,7 @@ export var serializeAws_restJson1CreateJobTemplateCommand = function (input, con
|
|
|
108
108
|
headers = {
|
|
109
109
|
"content-type": "application/json",
|
|
110
110
|
};
|
|
111
|
-
resolvedPath = ""
|
|
111
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/jobTemplates";
|
|
112
112
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccelerationSettings !== undefined &&
|
|
113
113
|
input.AccelerationSettings !== null && {
|
|
114
114
|
accelerationSettings: serializeAws_restJson1AccelerationSettings(input.AccelerationSettings, context),
|
|
@@ -141,7 +141,7 @@ export var serializeAws_restJson1CreatePresetCommand = function (input, context)
|
|
|
141
141
|
headers = {
|
|
142
142
|
"content-type": "application/json",
|
|
143
143
|
};
|
|
144
|
-
resolvedPath = ""
|
|
144
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/presets";
|
|
145
145
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Category !== undefined && input.Category !== null && { category: input.Category })), (input.Description !== undefined && input.Description !== null && { description: input.Description })), (input.Name !== undefined && input.Name !== null && { name: input.Name })), (input.Settings !== undefined &&
|
|
146
146
|
input.Settings !== null && { settings: serializeAws_restJson1PresetSettings(input.Settings, context) })), (input.Tags !== undefined &&
|
|
147
147
|
input.Tags !== null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) })));
|
|
@@ -167,7 +167,7 @@ export var serializeAws_restJson1CreateQueueCommand = function (input, context)
|
|
|
167
167
|
headers = {
|
|
168
168
|
"content-type": "application/json",
|
|
169
169
|
};
|
|
170
|
-
resolvedPath = ""
|
|
170
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/queues";
|
|
171
171
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { description: input.Description })), (input.Name !== undefined && input.Name !== null && { name: input.Name })), (input.PricingPlan !== undefined && input.PricingPlan !== null && { pricingPlan: input.PricingPlan })), (input.ReservationPlanSettings !== undefined &&
|
|
172
172
|
input.ReservationPlanSettings !== null && {
|
|
173
173
|
reservationPlanSettings: serializeAws_restJson1ReservationPlanSettings(input.ReservationPlanSettings, context),
|
|
@@ -193,7 +193,7 @@ export var serializeAws_restJson1DeleteJobTemplateCommand = function (input, con
|
|
|
193
193
|
case 1:
|
|
194
194
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
195
195
|
headers = {};
|
|
196
|
-
resolvedPath = ""
|
|
196
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/jobTemplates/{Name}";
|
|
197
197
|
if (input.Name !== undefined) {
|
|
198
198
|
labelValue = input.Name;
|
|
199
199
|
if (labelValue.length <= 0) {
|
|
@@ -226,7 +226,7 @@ export var serializeAws_restJson1DeletePolicyCommand = function (input, context)
|
|
|
226
226
|
headers = {
|
|
227
227
|
"content-type": "application/json",
|
|
228
228
|
};
|
|
229
|
-
resolvedPath = ""
|
|
229
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/policy";
|
|
230
230
|
body = "";
|
|
231
231
|
return [2, new __HttpRequest({
|
|
232
232
|
protocol: protocol,
|
|
@@ -248,7 +248,7 @@ export var serializeAws_restJson1DeletePresetCommand = function (input, context)
|
|
|
248
248
|
case 1:
|
|
249
249
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
250
250
|
headers = {};
|
|
251
|
-
resolvedPath = ""
|
|
251
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/presets/{Name}";
|
|
252
252
|
if (input.Name !== undefined) {
|
|
253
253
|
labelValue = input.Name;
|
|
254
254
|
if (labelValue.length <= 0) {
|
|
@@ -279,7 +279,7 @@ export var serializeAws_restJson1DeleteQueueCommand = function (input, context)
|
|
|
279
279
|
case 1:
|
|
280
280
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
281
281
|
headers = {};
|
|
282
|
-
resolvedPath = ""
|
|
282
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/queues/{Name}";
|
|
283
283
|
if (input.Name !== undefined) {
|
|
284
284
|
labelValue = input.Name;
|
|
285
285
|
if (labelValue.length <= 0) {
|
|
@@ -312,7 +312,7 @@ export var serializeAws_restJson1DescribeEndpointsCommand = function (input, con
|
|
|
312
312
|
headers = {
|
|
313
313
|
"content-type": "application/json",
|
|
314
314
|
};
|
|
315
|
-
resolvedPath = ""
|
|
315
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/endpoints";
|
|
316
316
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { maxResults: input.MaxResults })), (input.Mode !== undefined && input.Mode !== null && { mode: input.Mode })), (input.NextToken !== undefined && input.NextToken !== null && { nextToken: input.NextToken })));
|
|
317
317
|
return [2, new __HttpRequest({
|
|
318
318
|
protocol: protocol,
|
|
@@ -334,7 +334,7 @@ export var serializeAws_restJson1DisassociateCertificateCommand = function (inpu
|
|
|
334
334
|
case 1:
|
|
335
335
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
336
336
|
headers = {};
|
|
337
|
-
resolvedPath = ""
|
|
337
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/certificates/{Arn}";
|
|
338
338
|
if (input.Arn !== undefined) {
|
|
339
339
|
labelValue = input.Arn;
|
|
340
340
|
if (labelValue.length <= 0) {
|
|
@@ -365,7 +365,7 @@ export var serializeAws_restJson1GetJobCommand = function (input, context) { ret
|
|
|
365
365
|
case 1:
|
|
366
366
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
367
367
|
headers = {};
|
|
368
|
-
resolvedPath = ""
|
|
368
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/jobs/{Id}";
|
|
369
369
|
if (input.Id !== undefined) {
|
|
370
370
|
labelValue = input.Id;
|
|
371
371
|
if (labelValue.length <= 0) {
|
|
@@ -396,7 +396,7 @@ export var serializeAws_restJson1GetJobTemplateCommand = function (input, contex
|
|
|
396
396
|
case 1:
|
|
397
397
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
398
398
|
headers = {};
|
|
399
|
-
resolvedPath = ""
|
|
399
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/jobTemplates/{Name}";
|
|
400
400
|
if (input.Name !== undefined) {
|
|
401
401
|
labelValue = input.Name;
|
|
402
402
|
if (labelValue.length <= 0) {
|
|
@@ -429,7 +429,7 @@ export var serializeAws_restJson1GetPolicyCommand = function (input, context) {
|
|
|
429
429
|
headers = {
|
|
430
430
|
"content-type": "application/json",
|
|
431
431
|
};
|
|
432
|
-
resolvedPath = ""
|
|
432
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/policy";
|
|
433
433
|
body = "";
|
|
434
434
|
return [2, new __HttpRequest({
|
|
435
435
|
protocol: protocol,
|
|
@@ -451,7 +451,7 @@ export var serializeAws_restJson1GetPresetCommand = function (input, context) {
|
|
|
451
451
|
case 1:
|
|
452
452
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
453
453
|
headers = {};
|
|
454
|
-
resolvedPath = ""
|
|
454
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/presets/{Name}";
|
|
455
455
|
if (input.Name !== undefined) {
|
|
456
456
|
labelValue = input.Name;
|
|
457
457
|
if (labelValue.length <= 0) {
|
|
@@ -482,7 +482,7 @@ export var serializeAws_restJson1GetQueueCommand = function (input, context) { r
|
|
|
482
482
|
case 1:
|
|
483
483
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
484
484
|
headers = {};
|
|
485
|
-
resolvedPath = ""
|
|
485
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/queues/{Name}";
|
|
486
486
|
if (input.Name !== undefined) {
|
|
487
487
|
labelValue = input.Name;
|
|
488
488
|
if (labelValue.length <= 0) {
|
|
@@ -513,7 +513,7 @@ export var serializeAws_restJson1ListJobsCommand = function (input, context) { r
|
|
|
513
513
|
case 1:
|
|
514
514
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
515
515
|
headers = {};
|
|
516
|
-
resolvedPath = ""
|
|
516
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/jobs";
|
|
517
517
|
query = __assign(__assign(__assign(__assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.Order !== undefined && { order: input.Order })), (input.Queue !== undefined && { queue: input.Queue })), (input.Status !== undefined && { status: input.Status }));
|
|
518
518
|
return [2, new __HttpRequest({
|
|
519
519
|
protocol: protocol,
|
|
@@ -536,7 +536,7 @@ export var serializeAws_restJson1ListJobTemplatesCommand = function (input, cont
|
|
|
536
536
|
case 1:
|
|
537
537
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
538
538
|
headers = {};
|
|
539
|
-
resolvedPath = ""
|
|
539
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/jobTemplates";
|
|
540
540
|
query = __assign(__assign(__assign(__assign(__assign({}, (input.Category !== undefined && { category: input.Category })), (input.ListBy !== undefined && { listBy: input.ListBy })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.Order !== undefined && { order: input.Order }));
|
|
541
541
|
return [2, new __HttpRequest({
|
|
542
542
|
protocol: protocol,
|
|
@@ -559,7 +559,7 @@ export var serializeAws_restJson1ListPresetsCommand = function (input, context)
|
|
|
559
559
|
case 1:
|
|
560
560
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
561
561
|
headers = {};
|
|
562
|
-
resolvedPath = ""
|
|
562
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/presets";
|
|
563
563
|
query = __assign(__assign(__assign(__assign(__assign({}, (input.Category !== undefined && { category: input.Category })), (input.ListBy !== undefined && { listBy: input.ListBy })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.Order !== undefined && { order: input.Order }));
|
|
564
564
|
return [2, new __HttpRequest({
|
|
565
565
|
protocol: protocol,
|
|
@@ -582,7 +582,7 @@ export var serializeAws_restJson1ListQueuesCommand = function (input, context) {
|
|
|
582
582
|
case 1:
|
|
583
583
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
584
584
|
headers = {};
|
|
585
|
-
resolvedPath = ""
|
|
585
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/queues";
|
|
586
586
|
query = __assign(__assign(__assign(__assign({}, (input.ListBy !== undefined && { listBy: input.ListBy })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.Order !== undefined && { order: input.Order }));
|
|
587
587
|
return [2, new __HttpRequest({
|
|
588
588
|
protocol: protocol,
|
|
@@ -605,7 +605,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
605
605
|
case 1:
|
|
606
606
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
607
607
|
headers = {};
|
|
608
|
-
resolvedPath = ""
|
|
608
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/tags/{Arn}";
|
|
609
609
|
if (input.Arn !== undefined) {
|
|
610
610
|
labelValue = input.Arn;
|
|
611
611
|
if (labelValue.length <= 0) {
|
|
@@ -638,7 +638,7 @@ export var serializeAws_restJson1PutPolicyCommand = function (input, context) {
|
|
|
638
638
|
headers = {
|
|
639
639
|
"content-type": "application/json",
|
|
640
640
|
};
|
|
641
|
-
resolvedPath = ""
|
|
641
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/policy";
|
|
642
642
|
body = JSON.stringify(__assign({}, (input.Policy !== undefined &&
|
|
643
643
|
input.Policy !== null && { policy: serializeAws_restJson1Policy(input.Policy, context) })));
|
|
644
644
|
return [2, new __HttpRequest({
|
|
@@ -663,7 +663,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
663
663
|
headers = {
|
|
664
664
|
"content-type": "application/json",
|
|
665
665
|
};
|
|
666
|
-
resolvedPath = ""
|
|
666
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/tags";
|
|
667
667
|
body = JSON.stringify(__assign(__assign({}, (input.Arn !== undefined && input.Arn !== null && { arn: input.Arn })), (input.Tags !== undefined &&
|
|
668
668
|
input.Tags !== null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) })));
|
|
669
669
|
return [2, new __HttpRequest({
|
|
@@ -688,7 +688,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
688
688
|
headers = {
|
|
689
689
|
"content-type": "application/json",
|
|
690
690
|
};
|
|
691
|
-
resolvedPath = ""
|
|
691
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/tags/{Arn}";
|
|
692
692
|
if (input.Arn !== undefined) {
|
|
693
693
|
labelValue = input.Arn;
|
|
694
694
|
if (labelValue.length <= 0) {
|
|
@@ -723,7 +723,7 @@ export var serializeAws_restJson1UpdateJobTemplateCommand = function (input, con
|
|
|
723
723
|
headers = {
|
|
724
724
|
"content-type": "application/json",
|
|
725
725
|
};
|
|
726
|
-
resolvedPath = ""
|
|
726
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/jobTemplates/{Name}";
|
|
727
727
|
if (input.Name !== undefined) {
|
|
728
728
|
labelValue = input.Name;
|
|
729
729
|
if (labelValue.length <= 0) {
|
|
@@ -765,7 +765,7 @@ export var serializeAws_restJson1UpdatePresetCommand = function (input, context)
|
|
|
765
765
|
headers = {
|
|
766
766
|
"content-type": "application/json",
|
|
767
767
|
};
|
|
768
|
-
resolvedPath = ""
|
|
768
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/presets/{Name}";
|
|
769
769
|
if (input.Name !== undefined) {
|
|
770
770
|
labelValue = input.Name;
|
|
771
771
|
if (labelValue.length <= 0) {
|
|
@@ -800,7 +800,7 @@ export var serializeAws_restJson1UpdateQueueCommand = function (input, context)
|
|
|
800
800
|
headers = {
|
|
801
801
|
"content-type": "application/json",
|
|
802
802
|
};
|
|
803
|
-
resolvedPath = ""
|
|
803
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/queues/{Name}";
|
|
804
804
|
if (input.Name !== undefined) {
|
|
805
805
|
labelValue = input.Name;
|
|
806
806
|
if (labelValue.length <= 0) {
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: MediaConvertClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: MediaConvertClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | 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.58.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,41 +18,41 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.58.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.58.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.58.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.58.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.58.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.58.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.58.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.58.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.58.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.58.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.58.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.58.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
|
+
"@aws-sdk/types": "3.55.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.58.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.58.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.58.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
|
+
"tslib": "^2.3.1",
|
|
52
52
|
"uuid": "^8.3.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.58.0",
|
|
56
56
|
"@tsconfig/recommended": "1.0.1",
|
|
57
57
|
"@types/node": "^12.7.5",
|
|
58
58
|
"@types/uuid": "^8.3.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"downlevel-dts": "0.7.0",
|
|
61
61
|
"rimraf": "3.0.2",
|
|
62
62
|
"typedoc": "0.19.2",
|
|
63
|
-
"typescript": "~4.
|
|
63
|
+
"typescript": "~4.6.2"
|
|
64
64
|
},
|
|
65
65
|
"engines": {
|
|
66
66
|
"node": ">=12.0.0"
|