@aws-sdk/client-mediaconvert 3.186.0 → 3.189.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 (50) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +12 -0
  3. package/dist-es/MediaConvert.js +114 -121
  4. package/dist-es/MediaConvertClient.js +22 -28
  5. package/dist-es/commands/AssociateCertificateCommand.js +21 -28
  6. package/dist-es/commands/CancelJobCommand.js +21 -28
  7. package/dist-es/commands/CreateJobCommand.js +21 -28
  8. package/dist-es/commands/CreateJobTemplateCommand.js +21 -28
  9. package/dist-es/commands/CreatePresetCommand.js +21 -28
  10. package/dist-es/commands/CreateQueueCommand.js +21 -28
  11. package/dist-es/commands/DeleteJobTemplateCommand.js +21 -28
  12. package/dist-es/commands/DeletePolicyCommand.js +21 -28
  13. package/dist-es/commands/DeletePresetCommand.js +21 -28
  14. package/dist-es/commands/DeleteQueueCommand.js +21 -28
  15. package/dist-es/commands/DescribeEndpointsCommand.js +21 -28
  16. package/dist-es/commands/DisassociateCertificateCommand.js +21 -28
  17. package/dist-es/commands/GetJobCommand.js +21 -28
  18. package/dist-es/commands/GetJobTemplateCommand.js +21 -28
  19. package/dist-es/commands/GetPolicyCommand.js +21 -28
  20. package/dist-es/commands/GetPresetCommand.js +21 -28
  21. package/dist-es/commands/GetQueueCommand.js +21 -28
  22. package/dist-es/commands/ListJobTemplatesCommand.js +21 -28
  23. package/dist-es/commands/ListJobsCommand.js +21 -28
  24. package/dist-es/commands/ListPresetsCommand.js +21 -28
  25. package/dist-es/commands/ListQueuesCommand.js +21 -28
  26. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  27. package/dist-es/commands/PutPolicyCommand.js +21 -28
  28. package/dist-es/commands/TagResourceCommand.js +21 -28
  29. package/dist-es/commands/UntagResourceCommand.js +21 -28
  30. package/dist-es/commands/UpdateJobTemplateCommand.js +21 -28
  31. package/dist-es/commands/UpdatePresetCommand.js +21 -28
  32. package/dist-es/commands/UpdateQueueCommand.js +21 -28
  33. package/dist-es/endpoints.js +8 -8
  34. package/dist-es/models/MediaConvertServiceException.js +5 -10
  35. package/dist-es/models/models_0.js +327 -110
  36. package/dist-es/models/models_1.js +360 -169
  37. package/dist-es/models/models_2.js +66 -23
  38. package/dist-es/pagination/DescribeEndpointsPaginator.js +25 -68
  39. package/dist-es/pagination/ListJobTemplatesPaginator.js +25 -68
  40. package/dist-es/pagination/ListJobsPaginator.js +25 -68
  41. package/dist-es/pagination/ListPresetsPaginator.js +25 -68
  42. package/dist-es/pagination/ListQueuesPaginator.js +25 -68
  43. package/dist-es/protocols/Aws_restJson1.js +4602 -4287
  44. package/dist-es/runtimeConfig.browser.js +26 -12
  45. package/dist-es/runtimeConfig.js +30 -12
  46. package/dist-es/runtimeConfig.native.js +8 -5
  47. package/dist-es/runtimeConfig.shared.js +8 -11
  48. package/dist-types/models/models_1.d.ts +12 -0
  49. package/dist-types/ts3.4/models/models_1.d.ts +3 -0
  50. package/package.json +33 -33
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var MediaConvertClient = (function (_super) {
13
- __extends(MediaConvertClient, _super);
14
- function MediaConvertClient(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- return _this;
11
+ export class MediaConvertClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- MediaConvertClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return MediaConvertClient;
38
- }(__Client));
39
- export { MediaConvertClient };
30
+ destroy() {
31
+ super.destroy();
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 { AssociateCertificateRequestFilterSensitiveLog, AssociateCertificateResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1AssociateCertificateCommand, serializeAws_restJson1AssociateCertificateCommand, } from "../protocols/Aws_restJson1";
6
- var AssociateCertificateCommand = (function (_super) {
7
- __extends(AssociateCertificateCommand, _super);
8
- function AssociateCertificateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssociateCertificateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateCertificateCommand.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 = "AssociateCertificateCommand";
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 = "AssociateCertificateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateCertificateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssociateCertificateResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssociateCertificateCommand.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_restJson1AssociateCertificateCommand(input, context);
33
- };
34
- AssociateCertificateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AssociateCertificateCommand(output, context);
36
- };
37
- return AssociateCertificateCommand;
38
- }($Command));
39
- export { AssociateCertificateCommand };
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 { CancelJobRequestFilterSensitiveLog, CancelJobResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1CancelJobCommand, serializeAws_restJson1CancelJobCommand, } from "../protocols/Aws_restJson1";
6
- var CancelJobCommand = (function (_super) {
7
- __extends(CancelJobCommand, _super);
8
- function CancelJobCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CancelJobCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CancelJobCommand.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 = "CancelJobCommand";
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 = "CancelJobCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CancelJobRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CancelJobResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CancelJobCommand.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_restJson1CancelJobCommand(input, context);
33
- };
34
- CancelJobCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CancelJobCommand(output, context);
36
- };
37
- return CancelJobCommand;
38
- }($Command));
39
- export { CancelJobCommand };
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 { CreateJobRequestFilterSensitiveLog, CreateJobResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1CreateJobCommand, serializeAws_restJson1CreateJobCommand, } from "../protocols/Aws_restJson1";
6
- var CreateJobCommand = (function (_super) {
7
- __extends(CreateJobCommand, _super);
8
- function CreateJobCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateJobCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateJobCommand.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 = "CreateJobCommand";
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 = "CreateJobCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateJobRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateJobResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateJobCommand.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_restJson1CreateJobCommand(input, context);
33
- };
34
- CreateJobCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateJobCommand(output, context);
36
- };
37
- return CreateJobCommand;
38
- }($Command));
39
- export { CreateJobCommand };
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 { CreateJobTemplateRequestFilterSensitiveLog, CreateJobTemplateResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1CreateJobTemplateCommand, serializeAws_restJson1CreateJobTemplateCommand, } from "../protocols/Aws_restJson1";
6
- var CreateJobTemplateCommand = (function (_super) {
7
- __extends(CreateJobTemplateCommand, _super);
8
- function CreateJobTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateJobTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateJobTemplateCommand.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 = "CreateJobTemplateCommand";
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 = "CreateJobTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateJobTemplateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateJobTemplateResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateJobTemplateCommand.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_restJson1CreateJobTemplateCommand(input, context);
33
- };
34
- CreateJobTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateJobTemplateCommand(output, context);
36
- };
37
- return CreateJobTemplateCommand;
38
- }($Command));
39
- export { CreateJobTemplateCommand };
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 { CreatePresetRequestFilterSensitiveLog, CreatePresetResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1CreatePresetCommand, serializeAws_restJson1CreatePresetCommand, } from "../protocols/Aws_restJson1";
6
- var CreatePresetCommand = (function (_super) {
7
- __extends(CreatePresetCommand, _super);
8
- function CreatePresetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreatePresetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreatePresetCommand.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 = "CreatePresetCommand";
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 = "CreatePresetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreatePresetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreatePresetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreatePresetCommand.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_restJson1CreatePresetCommand(input, context);
33
- };
34
- CreatePresetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreatePresetCommand(output, context);
36
- };
37
- return CreatePresetCommand;
38
- }($Command));
39
- export { CreatePresetCommand };
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 { CreateQueueRequestFilterSensitiveLog, CreateQueueResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1CreateQueueCommand, serializeAws_restJson1CreateQueueCommand, } from "../protocols/Aws_restJson1";
6
- var CreateQueueCommand = (function (_super) {
7
- __extends(CreateQueueCommand, _super);
8
- function CreateQueueCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateQueueCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateQueueCommand.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 = "CreateQueueCommand";
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 = "CreateQueueCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateQueueRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateQueueResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateQueueCommand.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_restJson1CreateQueueCommand(input, context);
33
- };
34
- CreateQueueCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateQueueCommand(output, context);
36
- };
37
- return CreateQueueCommand;
38
- }($Command));
39
- export { CreateQueueCommand };
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 { DeleteJobTemplateRequestFilterSensitiveLog, DeleteJobTemplateResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1DeleteJobTemplateCommand, serializeAws_restJson1DeleteJobTemplateCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteJobTemplateCommand = (function (_super) {
7
- __extends(DeleteJobTemplateCommand, _super);
8
- function DeleteJobTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteJobTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteJobTemplateCommand.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 = "DeleteJobTemplateCommand";
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 = "DeleteJobTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteJobTemplateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteJobTemplateResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteJobTemplateCommand.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_restJson1DeleteJobTemplateCommand(input, context);
33
- };
34
- DeleteJobTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteJobTemplateCommand(output, context);
36
- };
37
- return DeleteJobTemplateCommand;
38
- }($Command));
39
- export { DeleteJobTemplateCommand };
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 { DeletePolicyRequestFilterSensitiveLog, DeletePolicyResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  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;
5
+ export class DeletePolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeletePolicyCommand.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 = "DeletePolicyCommand";
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 = "DeletePolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeletePolicyRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeletePolicyResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeletePolicyCommand(input, context);
33
- };
34
- DeletePolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeletePolicyCommand(output, context);
36
- };
37
- return DeletePolicyCommand;
38
- }($Command));
39
- export { DeletePolicyCommand };
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 { DeletePresetRequestFilterSensitiveLog, DeletePresetResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1DeletePresetCommand, serializeAws_restJson1DeletePresetCommand, } from "../protocols/Aws_restJson1";
6
- var DeletePresetCommand = (function (_super) {
7
- __extends(DeletePresetCommand, _super);
8
- function DeletePresetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeletePresetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeletePresetCommand.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 = "DeletePresetCommand";
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 = "DeletePresetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeletePresetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeletePresetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeletePresetCommand.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_restJson1DeletePresetCommand(input, context);
33
- };
34
- DeletePresetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeletePresetCommand(output, context);
36
- };
37
- return DeletePresetCommand;
38
- }($Command));
39
- export { DeletePresetCommand };
31
+ }
32
+ }