@aws-sdk/client-transcribe 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 (60) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/Transcribe.js +165 -158
  4. package/dist-es/TranscribeClient.js +28 -22
  5. package/dist-es/commands/CreateCallAnalyticsCategoryCommand.js +28 -21
  6. package/dist-es/commands/CreateLanguageModelCommand.js +28 -21
  7. package/dist-es/commands/CreateMedicalVocabularyCommand.js +28 -21
  8. package/dist-es/commands/CreateVocabularyCommand.js +28 -21
  9. package/dist-es/commands/CreateVocabularyFilterCommand.js +28 -21
  10. package/dist-es/commands/DeleteCallAnalyticsCategoryCommand.js +28 -21
  11. package/dist-es/commands/DeleteCallAnalyticsJobCommand.js +28 -21
  12. package/dist-es/commands/DeleteLanguageModelCommand.js +29 -22
  13. package/dist-es/commands/DeleteMedicalTranscriptionJobCommand.js +29 -22
  14. package/dist-es/commands/DeleteMedicalVocabularyCommand.js +29 -22
  15. package/dist-es/commands/DeleteTranscriptionJobCommand.js +29 -22
  16. package/dist-es/commands/DeleteVocabularyCommand.js +29 -22
  17. package/dist-es/commands/DeleteVocabularyFilterCommand.js +29 -22
  18. package/dist-es/commands/DescribeLanguageModelCommand.js +28 -21
  19. package/dist-es/commands/GetCallAnalyticsCategoryCommand.js +28 -21
  20. package/dist-es/commands/GetCallAnalyticsJobCommand.js +28 -21
  21. package/dist-es/commands/GetMedicalTranscriptionJobCommand.js +28 -21
  22. package/dist-es/commands/GetMedicalVocabularyCommand.js +28 -21
  23. package/dist-es/commands/GetTranscriptionJobCommand.js +28 -21
  24. package/dist-es/commands/GetVocabularyCommand.js +28 -21
  25. package/dist-es/commands/GetVocabularyFilterCommand.js +28 -21
  26. package/dist-es/commands/ListCallAnalyticsCategoriesCommand.js +28 -21
  27. package/dist-es/commands/ListCallAnalyticsJobsCommand.js +28 -21
  28. package/dist-es/commands/ListLanguageModelsCommand.js +28 -21
  29. package/dist-es/commands/ListMedicalTranscriptionJobsCommand.js +28 -21
  30. package/dist-es/commands/ListMedicalVocabulariesCommand.js +28 -21
  31. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  32. package/dist-es/commands/ListTranscriptionJobsCommand.js +28 -21
  33. package/dist-es/commands/ListVocabulariesCommand.js +28 -21
  34. package/dist-es/commands/ListVocabularyFiltersCommand.js +28 -21
  35. package/dist-es/commands/StartCallAnalyticsJobCommand.js +28 -21
  36. package/dist-es/commands/StartMedicalTranscriptionJobCommand.js +28 -21
  37. package/dist-es/commands/StartTranscriptionJobCommand.js +28 -21
  38. package/dist-es/commands/TagResourceCommand.js +28 -21
  39. package/dist-es/commands/UntagResourceCommand.js +28 -21
  40. package/dist-es/commands/UpdateCallAnalyticsCategoryCommand.js +28 -21
  41. package/dist-es/commands/UpdateMedicalVocabularyCommand.js +28 -21
  42. package/dist-es/commands/UpdateVocabularyCommand.js +28 -21
  43. package/dist-es/commands/UpdateVocabularyFilterCommand.js +28 -21
  44. package/dist-es/endpoints.js +8 -8
  45. package/dist-es/models/TranscribeServiceException.js +10 -5
  46. package/dist-es/models/models_0.js +169 -382
  47. package/dist-es/pagination/ListCallAnalyticsCategoriesPaginator.js +68 -25
  48. package/dist-es/pagination/ListCallAnalyticsJobsPaginator.js +68 -25
  49. package/dist-es/pagination/ListLanguageModelsPaginator.js +68 -25
  50. package/dist-es/pagination/ListMedicalTranscriptionJobsPaginator.js +68 -25
  51. package/dist-es/pagination/ListMedicalVocabulariesPaginator.js +68 -25
  52. package/dist-es/pagination/ListTranscriptionJobsPaginator.js +68 -25
  53. package/dist-es/pagination/ListVocabulariesPaginator.js +68 -25
  54. package/dist-es/pagination/ListVocabularyFiltersPaginator.js +68 -25
  55. package/dist-es/protocols/Aws_json1_1.js +3326 -2646
  56. package/dist-es/runtimeConfig.browser.js +12 -26
  57. package/dist-es/runtimeConfig.js +12 -30
  58. package/dist-es/runtimeConfig.native.js +5 -8
  59. package/dist-es/runtimeConfig.shared.js +11 -8
  60. 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 { DeleteMedicalVocabularyRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteMedicalVocabularyCommand, serializeAws_json1_1DeleteMedicalVocabularyCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteMedicalVocabularyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteMedicalVocabularyCommand = (function (_super) {
7
+ __extends(DeleteMedicalVocabularyCommand, _super);
8
+ function DeleteMedicalVocabularyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteMedicalVocabularyCommand.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 = "TranscribeClient";
15
- const commandName = "DeleteMedicalVocabularyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TranscribeClient";
18
+ var commandName = "DeleteMedicalVocabularyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteMedicalVocabularyRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteMedicalVocabularyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteMedicalVocabularyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteMedicalVocabularyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteMedicalVocabularyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteMedicalVocabularyCommand;
38
+ }($Command));
39
+ export { DeleteMedicalVocabularyCommand };
@@ -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 { DeleteTranscriptionJobRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteTranscriptionJobCommand, serializeAws_json1_1DeleteTranscriptionJobCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteTranscriptionJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteTranscriptionJobCommand = (function (_super) {
7
+ __extends(DeleteTranscriptionJobCommand, _super);
8
+ function DeleteTranscriptionJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteTranscriptionJobCommand.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 = "TranscribeClient";
15
- const commandName = "DeleteTranscriptionJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TranscribeClient";
18
+ var commandName = "DeleteTranscriptionJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteTranscriptionJobRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteTranscriptionJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteTranscriptionJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteTranscriptionJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteTranscriptionJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteTranscriptionJobCommand;
38
+ }($Command));
39
+ export { DeleteTranscriptionJobCommand };
@@ -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 { DeleteVocabularyRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteVocabularyCommand, serializeAws_json1_1DeleteVocabularyCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteVocabularyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteVocabularyCommand = (function (_super) {
7
+ __extends(DeleteVocabularyCommand, _super);
8
+ function DeleteVocabularyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteVocabularyCommand.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 = "TranscribeClient";
15
- const commandName = "DeleteVocabularyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TranscribeClient";
18
+ var commandName = "DeleteVocabularyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteVocabularyRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteVocabularyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteVocabularyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteVocabularyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteVocabularyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteVocabularyCommand;
38
+ }($Command));
39
+ export { DeleteVocabularyCommand };
@@ -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 { DeleteVocabularyFilterRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteVocabularyFilterCommand, serializeAws_json1_1DeleteVocabularyFilterCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteVocabularyFilterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteVocabularyFilterCommand = (function (_super) {
7
+ __extends(DeleteVocabularyFilterCommand, _super);
8
+ function DeleteVocabularyFilterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteVocabularyFilterCommand.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 = "TranscribeClient";
15
- const commandName = "DeleteVocabularyFilterCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TranscribeClient";
18
+ var commandName = "DeleteVocabularyFilterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteVocabularyFilterRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteVocabularyFilterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteVocabularyFilterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteVocabularyFilterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteVocabularyFilterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteVocabularyFilterCommand;
38
+ }($Command));
39
+ export { DeleteVocabularyFilterCommand };
@@ -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 { DescribeLanguageModelRequestFilterSensitiveLog, DescribeLanguageModelResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeLanguageModelCommand, serializeAws_json1_1DescribeLanguageModelCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeLanguageModelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeLanguageModelCommand = (function (_super) {
7
+ __extends(DescribeLanguageModelCommand, _super);
8
+ function DescribeLanguageModelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeLanguageModelCommand.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 = "TranscribeClient";
15
- const commandName = "DescribeLanguageModelCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TranscribeClient";
18
+ var commandName = "DescribeLanguageModelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeLanguageModelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeLanguageModelResponseFilterSensitiveLog,
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
+ DescribeLanguageModelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeLanguageModelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeLanguageModelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeLanguageModelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeLanguageModelCommand;
38
+ }($Command));
39
+ export { DescribeLanguageModelCommand };
@@ -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 { GetCallAnalyticsCategoryRequestFilterSensitiveLog, GetCallAnalyticsCategoryResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetCallAnalyticsCategoryCommand, serializeAws_json1_1GetCallAnalyticsCategoryCommand, } from "../protocols/Aws_json1_1";
5
- export class GetCallAnalyticsCategoryCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetCallAnalyticsCategoryCommand = (function (_super) {
7
+ __extends(GetCallAnalyticsCategoryCommand, _super);
8
+ function GetCallAnalyticsCategoryCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetCallAnalyticsCategoryCommand.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 = "TranscribeClient";
15
- const commandName = "GetCallAnalyticsCategoryCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TranscribeClient";
18
+ var commandName = "GetCallAnalyticsCategoryCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetCallAnalyticsCategoryRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetCallAnalyticsCategoryResponseFilterSensitiveLog,
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
+ GetCallAnalyticsCategoryCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetCallAnalyticsCategoryCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetCallAnalyticsCategoryCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetCallAnalyticsCategoryCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetCallAnalyticsCategoryCommand;
38
+ }($Command));
39
+ export { GetCallAnalyticsCategoryCommand };
@@ -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 { GetCallAnalyticsJobRequestFilterSensitiveLog, GetCallAnalyticsJobResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetCallAnalyticsJobCommand, serializeAws_json1_1GetCallAnalyticsJobCommand, } from "../protocols/Aws_json1_1";
5
- export class GetCallAnalyticsJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetCallAnalyticsJobCommand = (function (_super) {
7
+ __extends(GetCallAnalyticsJobCommand, _super);
8
+ function GetCallAnalyticsJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetCallAnalyticsJobCommand.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 = "TranscribeClient";
15
- const commandName = "GetCallAnalyticsJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TranscribeClient";
18
+ var commandName = "GetCallAnalyticsJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetCallAnalyticsJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetCallAnalyticsJobResponseFilterSensitiveLog,
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
+ GetCallAnalyticsJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetCallAnalyticsJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetCallAnalyticsJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetCallAnalyticsJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetCallAnalyticsJobCommand;
38
+ }($Command));
39
+ export { GetCallAnalyticsJobCommand };
@@ -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 { GetMedicalTranscriptionJobRequestFilterSensitiveLog, GetMedicalTranscriptionJobResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetMedicalTranscriptionJobCommand, serializeAws_json1_1GetMedicalTranscriptionJobCommand, } from "../protocols/Aws_json1_1";
5
- export class GetMedicalTranscriptionJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetMedicalTranscriptionJobCommand = (function (_super) {
7
+ __extends(GetMedicalTranscriptionJobCommand, _super);
8
+ function GetMedicalTranscriptionJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetMedicalTranscriptionJobCommand.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 = "TranscribeClient";
15
- const commandName = "GetMedicalTranscriptionJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TranscribeClient";
18
+ var commandName = "GetMedicalTranscriptionJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetMedicalTranscriptionJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetMedicalTranscriptionJobResponseFilterSensitiveLog,
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
+ GetMedicalTranscriptionJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetMedicalTranscriptionJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetMedicalTranscriptionJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetMedicalTranscriptionJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetMedicalTranscriptionJobCommand;
38
+ }($Command));
39
+ export { GetMedicalTranscriptionJobCommand };
@@ -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 { GetMedicalVocabularyRequestFilterSensitiveLog, GetMedicalVocabularyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetMedicalVocabularyCommand, serializeAws_json1_1GetMedicalVocabularyCommand, } from "../protocols/Aws_json1_1";
5
- export class GetMedicalVocabularyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetMedicalVocabularyCommand = (function (_super) {
7
+ __extends(GetMedicalVocabularyCommand, _super);
8
+ function GetMedicalVocabularyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetMedicalVocabularyCommand.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 = "TranscribeClient";
15
- const commandName = "GetMedicalVocabularyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TranscribeClient";
18
+ var commandName = "GetMedicalVocabularyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetMedicalVocabularyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetMedicalVocabularyResponseFilterSensitiveLog,
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
+ GetMedicalVocabularyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetMedicalVocabularyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetMedicalVocabularyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetMedicalVocabularyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetMedicalVocabularyCommand;
38
+ }($Command));
39
+ export { GetMedicalVocabularyCommand };
@@ -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 { GetTranscriptionJobRequestFilterSensitiveLog, GetTranscriptionJobResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetTranscriptionJobCommand, serializeAws_json1_1GetTranscriptionJobCommand, } from "../protocols/Aws_json1_1";
5
- export class GetTranscriptionJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetTranscriptionJobCommand = (function (_super) {
7
+ __extends(GetTranscriptionJobCommand, _super);
8
+ function GetTranscriptionJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetTranscriptionJobCommand.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 = "TranscribeClient";
15
- const commandName = "GetTranscriptionJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TranscribeClient";
18
+ var commandName = "GetTranscriptionJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetTranscriptionJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetTranscriptionJobResponseFilterSensitiveLog,
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
+ GetTranscriptionJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetTranscriptionJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetTranscriptionJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetTranscriptionJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetTranscriptionJobCommand;
38
+ }($Command));
39
+ export { GetTranscriptionJobCommand };