@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 { 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
+ }
@@ -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 { DeleteQueueRequestFilterSensitiveLog, DeleteQueueResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1DeleteQueueCommand, serializeAws_restJson1DeleteQueueCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteQueueCommand = (function (_super) {
7
- __extends(DeleteQueueCommand, _super);
8
- function DeleteQueueCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteQueueCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteQueueCommand.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 = "DeleteQueueCommand";
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 = "DeleteQueueCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteQueueRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteQueueResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteQueueCommand.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_restJson1DeleteQueueCommand(input, context);
33
- };
34
- DeleteQueueCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteQueueCommand(output, context);
36
- };
37
- return DeleteQueueCommand;
38
- }($Command));
39
- export { DeleteQueueCommand };
31
+ }
32
+ }