@aws-sdk/client-mediaconvert 3.183.0 → 3.185.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.
Files changed (48) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/MediaConvert.js +121 -114
  4. package/dist-es/MediaConvertClient.js +28 -22
  5. package/dist-es/commands/AssociateCertificateCommand.js +28 -21
  6. package/dist-es/commands/CancelJobCommand.js +28 -21
  7. package/dist-es/commands/CreateJobCommand.js +28 -21
  8. package/dist-es/commands/CreateJobTemplateCommand.js +28 -21
  9. package/dist-es/commands/CreatePresetCommand.js +28 -21
  10. package/dist-es/commands/CreateQueueCommand.js +28 -21
  11. package/dist-es/commands/DeleteJobTemplateCommand.js +28 -21
  12. package/dist-es/commands/DeletePolicyCommand.js +28 -21
  13. package/dist-es/commands/DeletePresetCommand.js +28 -21
  14. package/dist-es/commands/DeleteQueueCommand.js +28 -21
  15. package/dist-es/commands/DescribeEndpointsCommand.js +28 -21
  16. package/dist-es/commands/DisassociateCertificateCommand.js +28 -21
  17. package/dist-es/commands/GetJobCommand.js +28 -21
  18. package/dist-es/commands/GetJobTemplateCommand.js +28 -21
  19. package/dist-es/commands/GetPolicyCommand.js +28 -21
  20. package/dist-es/commands/GetPresetCommand.js +28 -21
  21. package/dist-es/commands/GetQueueCommand.js +28 -21
  22. package/dist-es/commands/ListJobTemplatesCommand.js +28 -21
  23. package/dist-es/commands/ListJobsCommand.js +28 -21
  24. package/dist-es/commands/ListPresetsCommand.js +28 -21
  25. package/dist-es/commands/ListQueuesCommand.js +28 -21
  26. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  27. package/dist-es/commands/PutPolicyCommand.js +28 -21
  28. package/dist-es/commands/TagResourceCommand.js +28 -21
  29. package/dist-es/commands/UntagResourceCommand.js +28 -21
  30. package/dist-es/commands/UpdateJobTemplateCommand.js +28 -21
  31. package/dist-es/commands/UpdatePresetCommand.js +28 -21
  32. package/dist-es/commands/UpdateQueueCommand.js +28 -21
  33. package/dist-es/endpoints.js +8 -8
  34. package/dist-es/models/MediaConvertServiceException.js +10 -5
  35. package/dist-es/models/models_0.js +110 -327
  36. package/dist-es/models/models_1.js +169 -360
  37. package/dist-es/models/models_2.js +23 -66
  38. package/dist-es/pagination/DescribeEndpointsPaginator.js +68 -25
  39. package/dist-es/pagination/ListJobTemplatesPaginator.js +68 -25
  40. package/dist-es/pagination/ListJobsPaginator.js +68 -25
  41. package/dist-es/pagination/ListPresetsPaginator.js +68 -25
  42. package/dist-es/pagination/ListQueuesPaginator.js +68 -25
  43. package/dist-es/protocols/Aws_restJson1.js +4287 -4590
  44. package/dist-es/runtimeConfig.browser.js +12 -26
  45. package/dist-es/runtimeConfig.js +12 -30
  46. package/dist-es/runtimeConfig.native.js +5 -8
  47. package/dist-es/runtimeConfig.shared.js +11 -8
  48. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeEndpointsRequestFilterSensitiveLog, DescribeEndpointsResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1DescribeEndpointsCommand, serializeAws_restJson1DescribeEndpointsCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeEndpointsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeEndpointsCommand = (function (_super) {
7
+ __extends(DescribeEndpointsCommand, _super);
8
+ function DescribeEndpointsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeEndpointsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaConvertClient";
15
- const commandName = "DescribeEndpointsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaConvertClient";
18
+ var commandName = "DescribeEndpointsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeEndpointsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeEndpointsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeEndpointsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeEndpointsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeEndpointsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeEndpointsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeEndpointsCommand;
38
+ }($Command));
39
+ export { DescribeEndpointsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DisassociateCertificateRequestFilterSensitiveLog, DisassociateCertificateResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1DisassociateCertificateCommand, serializeAws_restJson1DisassociateCertificateCommand, } from "../protocols/Aws_restJson1";
5
- export class DisassociateCertificateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisassociateCertificateCommand = (function (_super) {
7
+ __extends(DisassociateCertificateCommand, _super);
8
+ function DisassociateCertificateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociateCertificateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaConvertClient";
15
- const commandName = "DisassociateCertificateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaConvertClient";
18
+ var commandName = "DisassociateCertificateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociateCertificateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisassociateCertificateResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DisassociateCertificateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisassociateCertificateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociateCertificateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisassociateCertificateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociateCertificateCommand;
38
+ }($Command));
39
+ export { DisassociateCertificateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetJobRequestFilterSensitiveLog, GetJobResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1GetJobCommand, serializeAws_restJson1GetJobCommand } from "../protocols/Aws_restJson1";
5
- export class GetJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetJobCommand = (function (_super) {
7
+ __extends(GetJobCommand, _super);
8
+ function GetJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaConvertClient";
15
- const commandName = "GetJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaConvertClient";
18
+ var commandName = "GetJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetJobResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetJobCommand;
38
+ }($Command));
39
+ export { GetJobCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetJobTemplateRequestFilterSensitiveLog, GetJobTemplateResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1GetJobTemplateCommand, serializeAws_restJson1GetJobTemplateCommand, } from "../protocols/Aws_restJson1";
5
- export class GetJobTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetJobTemplateCommand = (function (_super) {
7
+ __extends(GetJobTemplateCommand, _super);
8
+ function GetJobTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetJobTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaConvertClient";
15
- const commandName = "GetJobTemplateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaConvertClient";
18
+ var commandName = "GetJobTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetJobTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetJobTemplateResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetJobTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetJobTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetJobTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetJobTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetJobTemplateCommand;
38
+ }($Command));
39
+ export { GetJobTemplateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetPolicyRequestFilterSensitiveLog, GetPolicyResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1GetPolicyCommand, serializeAws_restJson1GetPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class GetPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaConvertClient";
15
- const commandName = "GetPolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetPolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetPolicyResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1GetPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetPolicyCommand;
38
+ }($Command));
39
+ export { GetPolicyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetPresetRequestFilterSensitiveLog, GetPresetResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1GetPresetCommand, serializeAws_restJson1GetPresetCommand, } from "../protocols/Aws_restJson1";
5
- export class GetPresetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetPresetCommand = (function (_super) {
7
+ __extends(GetPresetCommand, _super);
8
+ function GetPresetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetPresetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaConvertClient";
15
- const commandName = "GetPresetCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaConvertClient";
18
+ var commandName = "GetPresetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetPresetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetPresetResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetPresetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetPresetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetPresetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetPresetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetPresetCommand;
38
+ }($Command));
39
+ export { GetPresetCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetQueueRequestFilterSensitiveLog, GetQueueResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1GetQueueCommand, serializeAws_restJson1GetQueueCommand, } from "../protocols/Aws_restJson1";
5
- export class GetQueueCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetQueueCommand = (function (_super) {
7
+ __extends(GetQueueCommand, _super);
8
+ function GetQueueCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetQueueCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaConvertClient";
15
- const commandName = "GetQueueCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaConvertClient";
18
+ var commandName = "GetQueueCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetQueueRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetQueueResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetQueueCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetQueueCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetQueueCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetQueueCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetQueueCommand;
38
+ }($Command));
39
+ export { GetQueueCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListJobTemplatesRequestFilterSensitiveLog, ListJobTemplatesResponseFilterSensitiveLog, } from "../models/models_2";
4
5
  import { deserializeAws_restJson1ListJobTemplatesCommand, serializeAws_restJson1ListJobTemplatesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListJobTemplatesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListJobTemplatesCommand = (function (_super) {
7
+ __extends(ListJobTemplatesCommand, _super);
8
+ function ListJobTemplatesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListJobTemplatesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaConvertClient";
15
- const commandName = "ListJobTemplatesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaConvertClient";
18
+ var commandName = "ListJobTemplatesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListJobTemplatesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListJobTemplatesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListJobTemplatesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListJobTemplatesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListJobTemplatesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListJobTemplatesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListJobTemplatesCommand;
38
+ }($Command));
39
+ export { ListJobTemplatesCommand };
@@ -1,33 +1,40 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListJobsRequestFilterSensitiveLog } from "../models/models_1";
4
5
  import { ListJobsResponseFilterSensitiveLog } from "../models/models_2";
5
6
  import { deserializeAws_restJson1ListJobsCommand, serializeAws_restJson1ListJobsCommand, } from "../protocols/Aws_restJson1";
6
- export class ListJobsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var ListJobsCommand = (function (_super) {
8
+ __extends(ListJobsCommand, _super);
9
+ function ListJobsCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ ListJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- const stack = clientStack.concat(this.middlewareStack);
14
- const { logger } = configuration;
15
- const clientName = "MediaConvertClient";
16
- const commandName = "ListJobsCommand";
17
- const handlerExecutionContext = {
18
- logger,
19
- clientName,
20
- commandName,
16
+ var stack = clientStack.concat(this.middlewareStack);
17
+ var logger = configuration.logger;
18
+ var clientName = "MediaConvertClient";
19
+ var commandName = "ListJobsCommand";
20
+ var handlerExecutionContext = {
21
+ logger: logger,
22
+ clientName: clientName,
23
+ commandName: commandName,
21
24
  inputFilterSensitiveLog: ListJobsRequestFilterSensitiveLog,
22
25
  outputFilterSensitiveLog: ListJobsResponseFilterSensitiveLog,
23
26
  };
24
- const { requestHandler } = configuration;
25
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
26
- }
27
- serialize(input, context) {
27
+ var requestHandler = configuration.requestHandler;
28
+ return stack.resolve(function (request) {
29
+ return requestHandler.handle(request.request, options || {});
30
+ }, handlerExecutionContext);
31
+ };
32
+ ListJobsCommand.prototype.serialize = function (input, context) {
28
33
  return serializeAws_restJson1ListJobsCommand(input, context);
29
- }
30
- deserialize(output, context) {
34
+ };
35
+ ListJobsCommand.prototype.deserialize = function (output, context) {
31
36
  return deserializeAws_restJson1ListJobsCommand(output, context);
32
- }
33
- }
37
+ };
38
+ return ListJobsCommand;
39
+ }($Command));
40
+ export { ListJobsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListPresetsRequestFilterSensitiveLog, ListPresetsResponseFilterSensitiveLog, } from "../models/models_2";
4
5
  import { deserializeAws_restJson1ListPresetsCommand, serializeAws_restJson1ListPresetsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListPresetsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPresetsCommand = (function (_super) {
7
+ __extends(ListPresetsCommand, _super);
8
+ function ListPresetsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPresetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaConvertClient";
15
- const commandName = "ListPresetsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaConvertClient";
18
+ var commandName = "ListPresetsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPresetsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPresetsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListPresetsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListPresetsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPresetsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListPresetsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPresetsCommand;
38
+ }($Command));
39
+ export { ListPresetsCommand };