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