@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 { AssociateCertificateRequestFilterSensitiveLog, AssociateCertificateResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1AssociateCertificateCommand, serializeAws_restJson1AssociateCertificateCommand, } from "../protocols/Aws_restJson1";
5
- export class AssociateCertificateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociateCertificateCommand.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 = "AssociateCertificateCommand";
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 = "AssociateCertificateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociateCertificateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssociateCertificateResponseFilterSensitiveLog,
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
+ AssociateCertificateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AssociateCertificateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociateCertificateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AssociateCertificateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociateCertificateCommand;
38
+ }($Command));
39
+ export { AssociateCertificateCommand };
@@ -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 { CancelJobRequestFilterSensitiveLog, CancelJobResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1CancelJobCommand, serializeAws_restJson1CancelJobCommand, } from "../protocols/Aws_restJson1";
5
- export class CancelJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CancelJobCommand.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 = "CancelJobCommand";
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 = "CancelJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CancelJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CancelJobResponseFilterSensitiveLog,
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
+ CancelJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CancelJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CancelJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CancelJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CancelJobCommand;
38
+ }($Command));
39
+ export { CancelJobCommand };
@@ -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 { CreateJobRequestFilterSensitiveLog, CreateJobResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1CreateJobCommand, serializeAws_restJson1CreateJobCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateJobCommand.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 = "CreateJobCommand";
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 = "CreateJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateJobResponseFilterSensitiveLog,
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
+ CreateJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateJobCommand;
38
+ }($Command));
39
+ export { CreateJobCommand };
@@ -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 { CreateJobTemplateRequestFilterSensitiveLog, CreateJobTemplateResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1CreateJobTemplateCommand, serializeAws_restJson1CreateJobTemplateCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateJobTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateJobTemplateCommand.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 = "CreateJobTemplateCommand";
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 = "CreateJobTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateJobTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateJobTemplateResponseFilterSensitiveLog,
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
+ CreateJobTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateJobTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateJobTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateJobTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateJobTemplateCommand;
38
+ }($Command));
39
+ export { CreateJobTemplateCommand };
@@ -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 { CreatePresetRequestFilterSensitiveLog, CreatePresetResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1CreatePresetCommand, serializeAws_restJson1CreatePresetCommand, } from "../protocols/Aws_restJson1";
5
- export class CreatePresetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreatePresetCommand.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 = "CreatePresetCommand";
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 = "CreatePresetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreatePresetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreatePresetResponseFilterSensitiveLog,
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
+ CreatePresetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreatePresetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreatePresetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreatePresetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreatePresetCommand;
38
+ }($Command));
39
+ export { CreatePresetCommand };
@@ -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 { CreateQueueRequestFilterSensitiveLog, CreateQueueResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1CreateQueueCommand, serializeAws_restJson1CreateQueueCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateQueueCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateQueueCommand.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 = "CreateQueueCommand";
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 = "CreateQueueCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateQueueRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateQueueResponseFilterSensitiveLog,
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
+ CreateQueueCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateQueueCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateQueueCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateQueueCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateQueueCommand;
38
+ }($Command));
39
+ export { CreateQueueCommand };
@@ -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 { DeleteJobTemplateRequestFilterSensitiveLog, DeleteJobTemplateResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1DeleteJobTemplateCommand, serializeAws_restJson1DeleteJobTemplateCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteJobTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteJobTemplateCommand.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 = "DeleteJobTemplateCommand";
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 = "DeleteJobTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteJobTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteJobTemplateResponseFilterSensitiveLog,
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
+ DeleteJobTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteJobTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteJobTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteJobTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteJobTemplateCommand;
38
+ }($Command));
39
+ export { DeleteJobTemplateCommand };
@@ -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 { DeletePolicyRequestFilterSensitiveLog, DeletePolicyResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1DeletePolicyCommand, serializeAws_restJson1DeletePolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class DeletePolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeletePolicyCommand.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 = "DeletePolicyCommand";
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 = "DeletePolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeletePolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeletePolicyResponseFilterSensitiveLog,
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
+ DeletePolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeletePolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeletePolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeletePolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeletePolicyCommand;
38
+ }($Command));
39
+ export { DeletePolicyCommand };
@@ -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 { DeletePresetRequestFilterSensitiveLog, DeletePresetResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1DeletePresetCommand, serializeAws_restJson1DeletePresetCommand, } from "../protocols/Aws_restJson1";
5
- export class DeletePresetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeletePresetCommand.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 = "DeletePresetCommand";
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 = "DeletePresetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeletePresetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeletePresetResponseFilterSensitiveLog,
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
+ DeletePresetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeletePresetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeletePresetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeletePresetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeletePresetCommand;
38
+ }($Command));
39
+ export { DeletePresetCommand };
@@ -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 { DeleteQueueRequestFilterSensitiveLog, DeleteQueueResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1DeleteQueueCommand, serializeAws_restJson1DeleteQueueCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteQueueCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteQueueCommand.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 = "DeleteQueueCommand";
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 = "DeleteQueueCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteQueueRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteQueueResponseFilterSensitiveLog,
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
+ DeleteQueueCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteQueueCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteQueueCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteQueueCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteQueueCommand;
38
+ }($Command));
39
+ export { DeleteQueueCommand };