@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 { GetVocabularyRequestFilterSensitiveLog, GetVocabularyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetVocabularyCommand, serializeAws_json1_1GetVocabularyCommand, } from "../protocols/Aws_json1_1";
5
- export class GetVocabularyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetVocabularyCommand = (function (_super) {
7
+ __extends(GetVocabularyCommand, _super);
8
+ function GetVocabularyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetVocabularyCommand.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 = "GetVocabularyCommand";
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 = "GetVocabularyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetVocabularyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetVocabularyResponseFilterSensitiveLog,
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
+ GetVocabularyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetVocabularyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetVocabularyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetVocabularyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetVocabularyCommand;
38
+ }($Command));
39
+ export { GetVocabularyCommand };
@@ -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 { GetVocabularyFilterRequestFilterSensitiveLog, GetVocabularyFilterResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetVocabularyFilterCommand, serializeAws_json1_1GetVocabularyFilterCommand, } from "../protocols/Aws_json1_1";
5
- export class GetVocabularyFilterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetVocabularyFilterCommand = (function (_super) {
7
+ __extends(GetVocabularyFilterCommand, _super);
8
+ function GetVocabularyFilterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetVocabularyFilterCommand.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 = "GetVocabularyFilterCommand";
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 = "GetVocabularyFilterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetVocabularyFilterRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetVocabularyFilterResponseFilterSensitiveLog,
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
+ GetVocabularyFilterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetVocabularyFilterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetVocabularyFilterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetVocabularyFilterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetVocabularyFilterCommand;
38
+ }($Command));
39
+ export { GetVocabularyFilterCommand };
@@ -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 { ListCallAnalyticsCategoriesRequestFilterSensitiveLog, ListCallAnalyticsCategoriesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListCallAnalyticsCategoriesCommand, serializeAws_json1_1ListCallAnalyticsCategoriesCommand, } from "../protocols/Aws_json1_1";
5
- export class ListCallAnalyticsCategoriesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListCallAnalyticsCategoriesCommand = (function (_super) {
7
+ __extends(ListCallAnalyticsCategoriesCommand, _super);
8
+ function ListCallAnalyticsCategoriesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListCallAnalyticsCategoriesCommand.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 = "ListCallAnalyticsCategoriesCommand";
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 = "ListCallAnalyticsCategoriesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListCallAnalyticsCategoriesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListCallAnalyticsCategoriesResponseFilterSensitiveLog,
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
+ ListCallAnalyticsCategoriesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListCallAnalyticsCategoriesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListCallAnalyticsCategoriesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListCallAnalyticsCategoriesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListCallAnalyticsCategoriesCommand;
38
+ }($Command));
39
+ export { ListCallAnalyticsCategoriesCommand };
@@ -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 { ListCallAnalyticsJobsRequestFilterSensitiveLog, ListCallAnalyticsJobsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListCallAnalyticsJobsCommand, serializeAws_json1_1ListCallAnalyticsJobsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListCallAnalyticsJobsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListCallAnalyticsJobsCommand = (function (_super) {
7
+ __extends(ListCallAnalyticsJobsCommand, _super);
8
+ function ListCallAnalyticsJobsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListCallAnalyticsJobsCommand.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 = "ListCallAnalyticsJobsCommand";
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 = "ListCallAnalyticsJobsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListCallAnalyticsJobsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListCallAnalyticsJobsResponseFilterSensitiveLog,
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
+ ListCallAnalyticsJobsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListCallAnalyticsJobsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListCallAnalyticsJobsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListCallAnalyticsJobsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListCallAnalyticsJobsCommand;
38
+ }($Command));
39
+ export { ListCallAnalyticsJobsCommand };
@@ -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 { ListLanguageModelsRequestFilterSensitiveLog, ListLanguageModelsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListLanguageModelsCommand, serializeAws_json1_1ListLanguageModelsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListLanguageModelsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListLanguageModelsCommand = (function (_super) {
7
+ __extends(ListLanguageModelsCommand, _super);
8
+ function ListLanguageModelsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListLanguageModelsCommand.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 = "ListLanguageModelsCommand";
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 = "ListLanguageModelsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListLanguageModelsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListLanguageModelsResponseFilterSensitiveLog,
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
+ ListLanguageModelsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListLanguageModelsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListLanguageModelsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListLanguageModelsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListLanguageModelsCommand;
38
+ }($Command));
39
+ export { ListLanguageModelsCommand };
@@ -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 { ListMedicalTranscriptionJobsRequestFilterSensitiveLog, ListMedicalTranscriptionJobsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListMedicalTranscriptionJobsCommand, serializeAws_json1_1ListMedicalTranscriptionJobsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListMedicalTranscriptionJobsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListMedicalTranscriptionJobsCommand = (function (_super) {
7
+ __extends(ListMedicalTranscriptionJobsCommand, _super);
8
+ function ListMedicalTranscriptionJobsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListMedicalTranscriptionJobsCommand.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 = "ListMedicalTranscriptionJobsCommand";
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 = "ListMedicalTranscriptionJobsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListMedicalTranscriptionJobsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListMedicalTranscriptionJobsResponseFilterSensitiveLog,
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
+ ListMedicalTranscriptionJobsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListMedicalTranscriptionJobsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListMedicalTranscriptionJobsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListMedicalTranscriptionJobsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListMedicalTranscriptionJobsCommand;
38
+ }($Command));
39
+ export { ListMedicalTranscriptionJobsCommand };
@@ -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 { ListMedicalVocabulariesRequestFilterSensitiveLog, ListMedicalVocabulariesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListMedicalVocabulariesCommand, serializeAws_json1_1ListMedicalVocabulariesCommand, } from "../protocols/Aws_json1_1";
5
- export class ListMedicalVocabulariesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListMedicalVocabulariesCommand = (function (_super) {
7
+ __extends(ListMedicalVocabulariesCommand, _super);
8
+ function ListMedicalVocabulariesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListMedicalVocabulariesCommand.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 = "ListMedicalVocabulariesCommand";
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 = "ListMedicalVocabulariesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListMedicalVocabulariesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListMedicalVocabulariesResponseFilterSensitiveLog,
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
+ ListMedicalVocabulariesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListMedicalVocabulariesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListMedicalVocabulariesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListMedicalVocabulariesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListMedicalVocabulariesCommand;
38
+ }($Command));
39
+ export { ListMedicalVocabulariesCommand };
@@ -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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.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 = "ListTagsForResourceCommand";
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 = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
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
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -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 { ListTranscriptionJobsRequestFilterSensitiveLog, ListTranscriptionJobsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListTranscriptionJobsCommand, serializeAws_json1_1ListTranscriptionJobsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListTranscriptionJobsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTranscriptionJobsCommand = (function (_super) {
7
+ __extends(ListTranscriptionJobsCommand, _super);
8
+ function ListTranscriptionJobsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTranscriptionJobsCommand.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 = "ListTranscriptionJobsCommand";
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 = "ListTranscriptionJobsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTranscriptionJobsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTranscriptionJobsResponseFilterSensitiveLog,
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
+ ListTranscriptionJobsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListTranscriptionJobsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTranscriptionJobsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListTranscriptionJobsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTranscriptionJobsCommand;
38
+ }($Command));
39
+ export { ListTranscriptionJobsCommand };
@@ -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 { ListVocabulariesRequestFilterSensitiveLog, ListVocabulariesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListVocabulariesCommand, serializeAws_json1_1ListVocabulariesCommand, } from "../protocols/Aws_json1_1";
5
- export class ListVocabulariesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListVocabulariesCommand = (function (_super) {
7
+ __extends(ListVocabulariesCommand, _super);
8
+ function ListVocabulariesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListVocabulariesCommand.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 = "ListVocabulariesCommand";
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 = "ListVocabulariesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListVocabulariesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListVocabulariesResponseFilterSensitiveLog,
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
+ ListVocabulariesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListVocabulariesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListVocabulariesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListVocabulariesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListVocabulariesCommand;
38
+ }($Command));
39
+ export { ListVocabulariesCommand };