@aws-sdk/client-mediaconvert 3.36.1 → 3.40.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 +43 -0
- package/dist-cjs/MediaConvert.js +45 -0
- package/dist-cjs/commands/DeletePolicyCommand.js +36 -0
- package/dist-cjs/commands/GetPolicyCommand.js +36 -0
- package/dist-cjs/commands/PutPolicyCommand.js +36 -0
- package/dist-cjs/commands/UpdateQueueCommand.js +3 -3
- package/dist-cjs/commands/index.js +31 -0
- package/dist-cjs/endpoints.js +142 -26
- package/dist-cjs/index.js +4 -33
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +9 -9
- package/dist-cjs/models/models_1.js +58 -18
- package/dist-cjs/models/models_2.js +15 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +339 -1
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/MediaConvert.js +45 -0
- package/dist-es/commands/DeletePolicyCommand.js +39 -0
- package/dist-es/commands/GetPolicyCommand.js +39 -0
- package/dist-es/commands/PutPolicyCommand.js +39 -0
- package/dist-es/commands/UpdateQueueCommand.js +1 -1
- package/dist-es/commands/index.js +28 -0
- package/dist-es/endpoints.js +142 -26
- package/dist-es/index.js +4 -33
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +5 -5
- package/dist-es/models/models_1.js +38 -8
- package/dist-es/models/models_2.js +9 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +387 -2
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/MediaConvert.d.ts +21 -0
- package/dist-types/MediaConvertClient.d.ts +13 -2
- package/dist-types/commands/DeletePolicyCommand.d.ts +35 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +35 -0
- package/dist-types/commands/PutPolicyCommand.d.ts +35 -0
- package/dist-types/commands/UpdateQueueCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +28 -0
- package/dist-types/index.d.ts +4 -33
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +64 -66
- package/dist-types/models/models_1.d.ts +92 -37
- package/dist-types/models/models_2.d.ts +37 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/MediaConvert.d.ts +15 -0
- package/dist-types/ts3.4/MediaConvertClient.d.ts +9 -2
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateQueueCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +28 -0
- package/dist-types/ts3.4/index.d.ts +4 -33
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -4
- package/dist-types/ts3.4/models/models_1.d.ts +64 -23
- package/dist-types/ts3.4/models/models_2.d.ts +23 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +32 -32
package/dist-es/MediaConvert.js
CHANGED
|
@@ -6,12 +6,14 @@ import { CreateJobTemplateCommand, } from "./commands/CreateJobTemplateCommand";
|
|
|
6
6
|
import { CreatePresetCommand, } from "./commands/CreatePresetCommand";
|
|
7
7
|
import { CreateQueueCommand } from "./commands/CreateQueueCommand";
|
|
8
8
|
import { DeleteJobTemplateCommand, } from "./commands/DeleteJobTemplateCommand";
|
|
9
|
+
import { DeletePolicyCommand, } from "./commands/DeletePolicyCommand";
|
|
9
10
|
import { DeletePresetCommand, } from "./commands/DeletePresetCommand";
|
|
10
11
|
import { DeleteQueueCommand } from "./commands/DeleteQueueCommand";
|
|
11
12
|
import { DescribeEndpointsCommand, } from "./commands/DescribeEndpointsCommand";
|
|
12
13
|
import { DisassociateCertificateCommand, } from "./commands/DisassociateCertificateCommand";
|
|
13
14
|
import { GetJobCommand } from "./commands/GetJobCommand";
|
|
14
15
|
import { GetJobTemplateCommand, } from "./commands/GetJobTemplateCommand";
|
|
16
|
+
import { GetPolicyCommand } from "./commands/GetPolicyCommand";
|
|
15
17
|
import { GetPresetCommand } from "./commands/GetPresetCommand";
|
|
16
18
|
import { GetQueueCommand } from "./commands/GetQueueCommand";
|
|
17
19
|
import { ListJobsCommand } from "./commands/ListJobsCommand";
|
|
@@ -19,6 +21,7 @@ import { ListJobTemplatesCommand, } from "./commands/ListJobTemplatesCommand";
|
|
|
19
21
|
import { ListPresetsCommand } from "./commands/ListPresetsCommand";
|
|
20
22
|
import { ListQueuesCommand } from "./commands/ListQueuesCommand";
|
|
21
23
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
24
|
+
import { PutPolicyCommand } from "./commands/PutPolicyCommand";
|
|
22
25
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
23
26
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
24
27
|
import { UpdateJobTemplateCommand, } from "./commands/UpdateJobTemplateCommand";
|
|
@@ -128,6 +131,20 @@ var MediaConvert = (function (_super) {
|
|
|
128
131
|
return this.send(command, optionsOrCb);
|
|
129
132
|
}
|
|
130
133
|
};
|
|
134
|
+
MediaConvert.prototype.deletePolicy = function (args, optionsOrCb, cb) {
|
|
135
|
+
var command = new DeletePolicyCommand(args);
|
|
136
|
+
if (typeof optionsOrCb === "function") {
|
|
137
|
+
this.send(command, optionsOrCb);
|
|
138
|
+
}
|
|
139
|
+
else if (typeof cb === "function") {
|
|
140
|
+
if (typeof optionsOrCb !== "object")
|
|
141
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
142
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
143
|
+
}
|
|
144
|
+
else {
|
|
145
|
+
return this.send(command, optionsOrCb);
|
|
146
|
+
}
|
|
147
|
+
};
|
|
131
148
|
MediaConvert.prototype.deletePreset = function (args, optionsOrCb, cb) {
|
|
132
149
|
var command = new DeletePresetCommand(args);
|
|
133
150
|
if (typeof optionsOrCb === "function") {
|
|
@@ -212,6 +229,20 @@ var MediaConvert = (function (_super) {
|
|
|
212
229
|
return this.send(command, optionsOrCb);
|
|
213
230
|
}
|
|
214
231
|
};
|
|
232
|
+
MediaConvert.prototype.getPolicy = function (args, optionsOrCb, cb) {
|
|
233
|
+
var command = new GetPolicyCommand(args);
|
|
234
|
+
if (typeof optionsOrCb === "function") {
|
|
235
|
+
this.send(command, optionsOrCb);
|
|
236
|
+
}
|
|
237
|
+
else if (typeof cb === "function") {
|
|
238
|
+
if (typeof optionsOrCb !== "object")
|
|
239
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
240
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
241
|
+
}
|
|
242
|
+
else {
|
|
243
|
+
return this.send(command, optionsOrCb);
|
|
244
|
+
}
|
|
245
|
+
};
|
|
215
246
|
MediaConvert.prototype.getPreset = function (args, optionsOrCb, cb) {
|
|
216
247
|
var command = new GetPresetCommand(args);
|
|
217
248
|
if (typeof optionsOrCb === "function") {
|
|
@@ -310,6 +341,20 @@ var MediaConvert = (function (_super) {
|
|
|
310
341
|
return this.send(command, optionsOrCb);
|
|
311
342
|
}
|
|
312
343
|
};
|
|
344
|
+
MediaConvert.prototype.putPolicy = function (args, optionsOrCb, cb) {
|
|
345
|
+
var command = new PutPolicyCommand(args);
|
|
346
|
+
if (typeof optionsOrCb === "function") {
|
|
347
|
+
this.send(command, optionsOrCb);
|
|
348
|
+
}
|
|
349
|
+
else if (typeof cb === "function") {
|
|
350
|
+
if (typeof optionsOrCb !== "object")
|
|
351
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
352
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
353
|
+
}
|
|
354
|
+
else {
|
|
355
|
+
return this.send(command, optionsOrCb);
|
|
356
|
+
}
|
|
357
|
+
};
|
|
313
358
|
MediaConvert.prototype.tagResource = function (args, optionsOrCb, cb) {
|
|
314
359
|
var command = new TagResourceCommand(args);
|
|
315
360
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeletePolicyRequest, DeletePolicyResponse } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_restJson1DeletePolicyCommand, serializeAws_restJson1DeletePolicyCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DeletePolicyCommand = (function (_super) {
|
|
7
|
+
__extends(DeletePolicyCommand, _super);
|
|
8
|
+
function DeletePolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeletePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "MediaConvertClient";
|
|
18
|
+
var commandName = "DeletePolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeletePolicyRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeletePolicyResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeletePolicyCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DeletePolicyCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeletePolicyCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DeletePolicyCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeletePolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeletePolicyCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetPolicyRequest, GetPolicyResponse } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_restJson1GetPolicyCommand, serializeAws_restJson1GetPolicyCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetPolicyCommand = (function (_super) {
|
|
7
|
+
__extends(GetPolicyCommand, _super);
|
|
8
|
+
function GetPolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "MediaConvertClient";
|
|
18
|
+
var commandName = "GetPolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetPolicyRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetPolicyResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetPolicyCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1GetPolicyCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetPolicyCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1GetPolicyCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetPolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetPolicyCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { PutPolicyRequest, PutPolicyResponse } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_restJson1PutPolicyCommand, serializeAws_restJson1PutPolicyCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var PutPolicyCommand = (function (_super) {
|
|
7
|
+
__extends(PutPolicyCommand, _super);
|
|
8
|
+
function PutPolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
PutPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "MediaConvertClient";
|
|
18
|
+
var commandName = "PutPolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: PutPolicyRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: PutPolicyResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
PutPolicyCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1PutPolicyCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
PutPolicyCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1PutPolicyCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return PutPolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PutPolicyCommand };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateQueueRequest, UpdateQueueResponse } from "../models/
|
|
4
|
+
import { UpdateQueueRequest, UpdateQueueResponse } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_restJson1UpdateQueueCommand, serializeAws_restJson1UpdateQueueCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UpdateQueueCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateQueueCommand, _super);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export * from "./AssociateCertificateCommand";
|
|
2
|
+
export * from "./CancelJobCommand";
|
|
3
|
+
export * from "./CreateJobCommand";
|
|
4
|
+
export * from "./CreateJobTemplateCommand";
|
|
5
|
+
export * from "./CreatePresetCommand";
|
|
6
|
+
export * from "./CreateQueueCommand";
|
|
7
|
+
export * from "./DeleteJobTemplateCommand";
|
|
8
|
+
export * from "./DeletePolicyCommand";
|
|
9
|
+
export * from "./DeletePresetCommand";
|
|
10
|
+
export * from "./DeleteQueueCommand";
|
|
11
|
+
export * from "./DescribeEndpointsCommand";
|
|
12
|
+
export * from "./DisassociateCertificateCommand";
|
|
13
|
+
export * from "./GetJobCommand";
|
|
14
|
+
export * from "./GetJobTemplateCommand";
|
|
15
|
+
export * from "./GetPolicyCommand";
|
|
16
|
+
export * from "./GetPresetCommand";
|
|
17
|
+
export * from "./GetQueueCommand";
|
|
18
|
+
export * from "./ListJobTemplatesCommand";
|
|
19
|
+
export * from "./ListJobsCommand";
|
|
20
|
+
export * from "./ListPresetsCommand";
|
|
21
|
+
export * from "./ListQueuesCommand";
|
|
22
|
+
export * from "./ListTagsForResourceCommand";
|
|
23
|
+
export * from "./PutPolicyCommand";
|
|
24
|
+
export * from "./TagResourceCommand";
|
|
25
|
+
export * from "./UntagResourceCommand";
|
|
26
|
+
export * from "./UpdateJobTemplateCommand";
|
|
27
|
+
export * from "./UpdatePresetCommand";
|
|
28
|
+
export * from "./UpdateQueueCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,34 +1,84 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
3
|
var regionHash = {
|
|
4
|
+
"ca-central-1": {
|
|
5
|
+
variants: [
|
|
6
|
+
{
|
|
7
|
+
hostname: "mediaconvert.ca-central-1.amazonaws.com",
|
|
8
|
+
tags: [],
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
hostname: "mediaconvert-fips.ca-central-1.amazonaws.com",
|
|
12
|
+
tags: ["fips"],
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
|
+
},
|
|
4
16
|
"cn-northwest-1": {
|
|
5
|
-
|
|
17
|
+
variants: [
|
|
18
|
+
{
|
|
19
|
+
hostname: "subscribe.mediaconvert.cn-northwest-1.amazonaws.com.cn",
|
|
20
|
+
tags: [],
|
|
21
|
+
},
|
|
22
|
+
],
|
|
6
23
|
signingRegion: "cn-northwest-1",
|
|
7
24
|
},
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
},
|
|
20
|
-
"fips-us-west-1": {
|
|
21
|
-
hostname: "mediaconvert-fips.us-west-1.amazonaws.com",
|
|
22
|
-
signingRegion: "us-west-1",
|
|
25
|
+
"us-east-1": {
|
|
26
|
+
variants: [
|
|
27
|
+
{
|
|
28
|
+
hostname: "mediaconvert.us-east-1.amazonaws.com",
|
|
29
|
+
tags: [],
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
hostname: "mediaconvert-fips.us-east-1.amazonaws.com",
|
|
33
|
+
tags: ["fips"],
|
|
34
|
+
},
|
|
35
|
+
],
|
|
23
36
|
},
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
37
|
+
"us-east-2": {
|
|
38
|
+
variants: [
|
|
39
|
+
{
|
|
40
|
+
hostname: "mediaconvert.us-east-2.amazonaws.com",
|
|
41
|
+
tags: [],
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
hostname: "mediaconvert-fips.us-east-2.amazonaws.com",
|
|
45
|
+
tags: ["fips"],
|
|
46
|
+
},
|
|
47
|
+
],
|
|
27
48
|
},
|
|
28
49
|
"us-gov-west-1": {
|
|
29
|
-
|
|
50
|
+
variants: [
|
|
51
|
+
{
|
|
52
|
+
hostname: "mediaconvert.us-gov-west-1.amazonaws.com",
|
|
53
|
+
tags: [],
|
|
54
|
+
},
|
|
55
|
+
],
|
|
30
56
|
signingRegion: "us-gov-west-1",
|
|
31
57
|
},
|
|
58
|
+
"us-west-1": {
|
|
59
|
+
variants: [
|
|
60
|
+
{
|
|
61
|
+
hostname: "mediaconvert.us-west-1.amazonaws.com",
|
|
62
|
+
tags: [],
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
hostname: "mediaconvert-fips.us-west-1.amazonaws.com",
|
|
66
|
+
tags: ["fips"],
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
},
|
|
70
|
+
"us-west-2": {
|
|
71
|
+
variants: [
|
|
72
|
+
{
|
|
73
|
+
hostname: "mediaconvert.us-west-2.amazonaws.com",
|
|
74
|
+
tags: [],
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
hostname: "mediaconvert-fips.us-west-2.amazonaws.com",
|
|
78
|
+
tags: ["fips"],
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
},
|
|
32
82
|
};
|
|
33
83
|
var partitionHash = {
|
|
34
84
|
aws: {
|
|
@@ -60,23 +110,89 @@ var partitionHash = {
|
|
|
60
110
|
"us-west-1",
|
|
61
111
|
"us-west-2",
|
|
62
112
|
],
|
|
63
|
-
|
|
113
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
114
|
+
variants: [
|
|
115
|
+
{
|
|
116
|
+
hostname: "mediaconvert.{region}.amazonaws.com",
|
|
117
|
+
tags: [],
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
hostname: "mediaconvert-fips.{region}.amazonaws.com",
|
|
121
|
+
tags: ["fips"],
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
hostname: "mediaconvert-fips.{region}.api.aws",
|
|
125
|
+
tags: ["dualstack", "fips"],
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
hostname: "mediaconvert.{region}.api.aws",
|
|
129
|
+
tags: ["dualstack"],
|
|
130
|
+
},
|
|
131
|
+
],
|
|
64
132
|
},
|
|
65
133
|
"aws-cn": {
|
|
66
134
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
67
|
-
|
|
135
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
136
|
+
variants: [
|
|
137
|
+
{
|
|
138
|
+
hostname: "mediaconvert.{region}.amazonaws.com.cn",
|
|
139
|
+
tags: [],
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
hostname: "mediaconvert-fips.{region}.amazonaws.com.cn",
|
|
143
|
+
tags: ["fips"],
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
hostname: "mediaconvert-fips.{region}.api.amazonwebservices.com.cn",
|
|
147
|
+
tags: ["dualstack", "fips"],
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
hostname: "mediaconvert.{region}.api.amazonwebservices.com.cn",
|
|
151
|
+
tags: ["dualstack"],
|
|
152
|
+
},
|
|
153
|
+
],
|
|
68
154
|
},
|
|
69
155
|
"aws-iso": {
|
|
70
|
-
regions: ["us-iso-east-1"],
|
|
71
|
-
|
|
156
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
157
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
158
|
+
variants: [
|
|
159
|
+
{
|
|
160
|
+
hostname: "mediaconvert.{region}.c2s.ic.gov",
|
|
161
|
+
tags: [],
|
|
162
|
+
},
|
|
163
|
+
],
|
|
72
164
|
},
|
|
73
165
|
"aws-iso-b": {
|
|
74
166
|
regions: ["us-isob-east-1"],
|
|
75
|
-
|
|
167
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
168
|
+
variants: [
|
|
169
|
+
{
|
|
170
|
+
hostname: "mediaconvert.{region}.sc2s.sgov.gov",
|
|
171
|
+
tags: [],
|
|
172
|
+
},
|
|
173
|
+
],
|
|
76
174
|
},
|
|
77
175
|
"aws-us-gov": {
|
|
78
176
|
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
79
|
-
|
|
177
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
178
|
+
variants: [
|
|
179
|
+
{
|
|
180
|
+
hostname: "mediaconvert.{region}.amazonaws.com",
|
|
181
|
+
tags: [],
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
hostname: "mediaconvert-fips.{region}.amazonaws.com",
|
|
185
|
+
tags: ["fips"],
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
hostname: "mediaconvert-fips.{region}.api.aws",
|
|
189
|
+
tags: ["dualstack", "fips"],
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
hostname: "mediaconvert.{region}.api.aws",
|
|
193
|
+
tags: ["dualstack"],
|
|
194
|
+
},
|
|
195
|
+
],
|
|
80
196
|
},
|
|
81
197
|
};
|
|
82
198
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
package/dist-es/index.js
CHANGED
|
@@ -1,34 +1,5 @@
|
|
|
1
|
-
export * from "./MediaConvertClient";
|
|
2
1
|
export * from "./MediaConvert";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./commands/CreatePresetCommand";
|
|
8
|
-
export * from "./commands/CreateQueueCommand";
|
|
9
|
-
export * from "./commands/DeleteJobTemplateCommand";
|
|
10
|
-
export * from "./commands/DeletePresetCommand";
|
|
11
|
-
export * from "./commands/DeleteQueueCommand";
|
|
12
|
-
export * from "./commands/DescribeEndpointsCommand";
|
|
13
|
-
export * from "./pagination/DescribeEndpointsPaginator";
|
|
14
|
-
export * from "./commands/DisassociateCertificateCommand";
|
|
15
|
-
export * from "./commands/GetJobCommand";
|
|
16
|
-
export * from "./commands/GetJobTemplateCommand";
|
|
17
|
-
export * from "./commands/GetPresetCommand";
|
|
18
|
-
export * from "./commands/GetQueueCommand";
|
|
19
|
-
export * from "./commands/ListJobsCommand";
|
|
20
|
-
export * from "./pagination/ListJobsPaginator";
|
|
21
|
-
export * from "./commands/ListJobTemplatesCommand";
|
|
22
|
-
export * from "./pagination/ListJobTemplatesPaginator";
|
|
23
|
-
export * from "./commands/ListPresetsCommand";
|
|
24
|
-
export * from "./pagination/ListPresetsPaginator";
|
|
25
|
-
export * from "./commands/ListQueuesCommand";
|
|
26
|
-
export * from "./pagination/ListQueuesPaginator";
|
|
27
|
-
export * from "./commands/ListTagsForResourceCommand";
|
|
28
|
-
export * from "./commands/TagResourceCommand";
|
|
29
|
-
export * from "./commands/UntagResourceCommand";
|
|
30
|
-
export * from "./commands/UpdateJobTemplateCommand";
|
|
31
|
-
export * from "./commands/UpdatePresetCommand";
|
|
32
|
-
export * from "./commands/UpdateQueueCommand";
|
|
33
|
-
export * from "./pagination/Interfaces";
|
|
34
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./MediaConvertClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
package/dist-es/models/index.js
CHANGED
|
@@ -922,6 +922,11 @@ export var CaptionSourceFramerate;
|
|
|
922
922
|
(function (CaptionSourceFramerate) {
|
|
923
923
|
CaptionSourceFramerate.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
924
924
|
})(CaptionSourceFramerate || (CaptionSourceFramerate = {}));
|
|
925
|
+
export var FileSourceTimeDeltaUnits;
|
|
926
|
+
(function (FileSourceTimeDeltaUnits) {
|
|
927
|
+
FileSourceTimeDeltaUnits["MILLISECONDS"] = "MILLISECONDS";
|
|
928
|
+
FileSourceTimeDeltaUnits["SECONDS"] = "SECONDS";
|
|
929
|
+
})(FileSourceTimeDeltaUnits || (FileSourceTimeDeltaUnits = {}));
|
|
925
930
|
export var FileSourceSettings;
|
|
926
931
|
(function (FileSourceSettings) {
|
|
927
932
|
FileSourceSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1772,8 +1777,3 @@ export var MovClapAtom;
|
|
|
1772
1777
|
MovClapAtom["EXCLUDE"] = "EXCLUDE";
|
|
1773
1778
|
MovClapAtom["INCLUDE"] = "INCLUDE";
|
|
1774
1779
|
})(MovClapAtom || (MovClapAtom = {}));
|
|
1775
|
-
export var MovCslgAtom;
|
|
1776
|
-
(function (MovCslgAtom) {
|
|
1777
|
-
MovCslgAtom["EXCLUDE"] = "EXCLUDE";
|
|
1778
|
-
MovCslgAtom["INCLUDE"] = "INCLUDE";
|
|
1779
|
-
})(MovCslgAtom || (MovCslgAtom = {}));
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
export var MovCslgAtom;
|
|
3
|
+
(function (MovCslgAtom) {
|
|
4
|
+
MovCslgAtom["EXCLUDE"] = "EXCLUDE";
|
|
5
|
+
MovCslgAtom["INCLUDE"] = "INCLUDE";
|
|
6
|
+
})(MovCslgAtom || (MovCslgAtom = {}));
|
|
2
7
|
export var MovMpeg2FourCCControl;
|
|
3
8
|
(function (MovMpeg2FourCCControl) {
|
|
4
9
|
MovMpeg2FourCCControl["MPEG"] = "MPEG";
|
|
@@ -1348,6 +1353,14 @@ export var DeleteJobTemplateResponse;
|
|
|
1348
1353
|
(function (DeleteJobTemplateResponse) {
|
|
1349
1354
|
DeleteJobTemplateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1350
1355
|
})(DeleteJobTemplateResponse || (DeleteJobTemplateResponse = {}));
|
|
1356
|
+
export var DeletePolicyRequest;
|
|
1357
|
+
(function (DeletePolicyRequest) {
|
|
1358
|
+
DeletePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1359
|
+
})(DeletePolicyRequest || (DeletePolicyRequest = {}));
|
|
1360
|
+
export var DeletePolicyResponse;
|
|
1361
|
+
(function (DeletePolicyResponse) {
|
|
1362
|
+
DeletePolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1363
|
+
})(DeletePolicyResponse || (DeletePolicyResponse = {}));
|
|
1351
1364
|
export var DeletePresetRequest;
|
|
1352
1365
|
(function (DeletePresetRequest) {
|
|
1353
1366
|
DeletePresetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1401,6 +1414,23 @@ export var GetJobTemplateResponse;
|
|
|
1401
1414
|
(function (GetJobTemplateResponse) {
|
|
1402
1415
|
GetJobTemplateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1403
1416
|
})(GetJobTemplateResponse || (GetJobTemplateResponse = {}));
|
|
1417
|
+
export var GetPolicyRequest;
|
|
1418
|
+
(function (GetPolicyRequest) {
|
|
1419
|
+
GetPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1420
|
+
})(GetPolicyRequest || (GetPolicyRequest = {}));
|
|
1421
|
+
export var InputPolicy;
|
|
1422
|
+
(function (InputPolicy) {
|
|
1423
|
+
InputPolicy["ALLOWED"] = "ALLOWED";
|
|
1424
|
+
InputPolicy["DISALLOWED"] = "DISALLOWED";
|
|
1425
|
+
})(InputPolicy || (InputPolicy = {}));
|
|
1426
|
+
export var Policy;
|
|
1427
|
+
(function (Policy) {
|
|
1428
|
+
Policy.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1429
|
+
})(Policy || (Policy = {}));
|
|
1430
|
+
export var GetPolicyResponse;
|
|
1431
|
+
(function (GetPolicyResponse) {
|
|
1432
|
+
GetPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1433
|
+
})(GetPolicyResponse || (GetPolicyResponse = {}));
|
|
1404
1434
|
export var GetPresetRequest;
|
|
1405
1435
|
(function (GetPresetRequest) {
|
|
1406
1436
|
GetPresetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1483,6 +1513,14 @@ export var ListTagsForResourceResponse;
|
|
|
1483
1513
|
(function (ListTagsForResourceResponse) {
|
|
1484
1514
|
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1485
1515
|
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
1516
|
+
export var PutPolicyRequest;
|
|
1517
|
+
(function (PutPolicyRequest) {
|
|
1518
|
+
PutPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1519
|
+
})(PutPolicyRequest || (PutPolicyRequest = {}));
|
|
1520
|
+
export var PutPolicyResponse;
|
|
1521
|
+
(function (PutPolicyResponse) {
|
|
1522
|
+
PutPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1523
|
+
})(PutPolicyResponse || (PutPolicyResponse = {}));
|
|
1486
1524
|
export var TagResourceRequest;
|
|
1487
1525
|
(function (TagResourceRequest) {
|
|
1488
1526
|
TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1515,11 +1553,3 @@ export var UpdatePresetResponse;
|
|
|
1515
1553
|
(function (UpdatePresetResponse) {
|
|
1516
1554
|
UpdatePresetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1517
1555
|
})(UpdatePresetResponse || (UpdatePresetResponse = {}));
|
|
1518
|
-
export var UpdateQueueRequest;
|
|
1519
|
-
(function (UpdateQueueRequest) {
|
|
1520
|
-
UpdateQueueRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1521
|
-
})(UpdateQueueRequest || (UpdateQueueRequest = {}));
|
|
1522
|
-
export var UpdateQueueResponse;
|
|
1523
|
-
(function (UpdateQueueResponse) {
|
|
1524
|
-
UpdateQueueResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1525
|
-
})(UpdateQueueResponse || (UpdateQueueResponse = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { __assign } from "tslib";
|
|
2
|
+
export var UpdateQueueRequest;
|
|
3
|
+
(function (UpdateQueueRequest) {
|
|
4
|
+
UpdateQueueRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
})(UpdateQueueRequest || (UpdateQueueRequest = {}));
|
|
6
|
+
export var UpdateQueueResponse;
|
|
7
|
+
(function (UpdateQueueResponse) {
|
|
8
|
+
UpdateQueueResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
|
+
})(UpdateQueueResponse || (UpdateQueueResponse = {}));
|