@aws-sdk/client-transcribe 3.181.0 → 3.183.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/Transcribe.js +158 -165
  3. package/dist-es/TranscribeClient.js +22 -28
  4. package/dist-es/commands/CreateCallAnalyticsCategoryCommand.js +21 -28
  5. package/dist-es/commands/CreateLanguageModelCommand.js +21 -28
  6. package/dist-es/commands/CreateMedicalVocabularyCommand.js +21 -28
  7. package/dist-es/commands/CreateVocabularyCommand.js +21 -28
  8. package/dist-es/commands/CreateVocabularyFilterCommand.js +21 -28
  9. package/dist-es/commands/DeleteCallAnalyticsCategoryCommand.js +21 -28
  10. package/dist-es/commands/DeleteCallAnalyticsJobCommand.js +21 -28
  11. package/dist-es/commands/DeleteLanguageModelCommand.js +22 -29
  12. package/dist-es/commands/DeleteMedicalTranscriptionJobCommand.js +22 -29
  13. package/dist-es/commands/DeleteMedicalVocabularyCommand.js +22 -29
  14. package/dist-es/commands/DeleteTranscriptionJobCommand.js +22 -29
  15. package/dist-es/commands/DeleteVocabularyCommand.js +22 -29
  16. package/dist-es/commands/DeleteVocabularyFilterCommand.js +22 -29
  17. package/dist-es/commands/DescribeLanguageModelCommand.js +21 -28
  18. package/dist-es/commands/GetCallAnalyticsCategoryCommand.js +21 -28
  19. package/dist-es/commands/GetCallAnalyticsJobCommand.js +21 -28
  20. package/dist-es/commands/GetMedicalTranscriptionJobCommand.js +21 -28
  21. package/dist-es/commands/GetMedicalVocabularyCommand.js +21 -28
  22. package/dist-es/commands/GetTranscriptionJobCommand.js +21 -28
  23. package/dist-es/commands/GetVocabularyCommand.js +21 -28
  24. package/dist-es/commands/GetVocabularyFilterCommand.js +21 -28
  25. package/dist-es/commands/ListCallAnalyticsCategoriesCommand.js +21 -28
  26. package/dist-es/commands/ListCallAnalyticsJobsCommand.js +21 -28
  27. package/dist-es/commands/ListLanguageModelsCommand.js +21 -28
  28. package/dist-es/commands/ListMedicalTranscriptionJobsCommand.js +21 -28
  29. package/dist-es/commands/ListMedicalVocabulariesCommand.js +21 -28
  30. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  31. package/dist-es/commands/ListTranscriptionJobsCommand.js +21 -28
  32. package/dist-es/commands/ListVocabulariesCommand.js +21 -28
  33. package/dist-es/commands/ListVocabularyFiltersCommand.js +21 -28
  34. package/dist-es/commands/StartCallAnalyticsJobCommand.js +21 -28
  35. package/dist-es/commands/StartMedicalTranscriptionJobCommand.js +21 -28
  36. package/dist-es/commands/StartTranscriptionJobCommand.js +21 -28
  37. package/dist-es/commands/TagResourceCommand.js +21 -28
  38. package/dist-es/commands/UntagResourceCommand.js +21 -28
  39. package/dist-es/commands/UpdateCallAnalyticsCategoryCommand.js +21 -28
  40. package/dist-es/commands/UpdateMedicalVocabularyCommand.js +21 -28
  41. package/dist-es/commands/UpdateVocabularyCommand.js +21 -28
  42. package/dist-es/commands/UpdateVocabularyFilterCommand.js +21 -28
  43. package/dist-es/endpoints.js +8 -8
  44. package/dist-es/models/TranscribeServiceException.js +5 -10
  45. package/dist-es/models/models_0.js +382 -169
  46. package/dist-es/pagination/ListCallAnalyticsCategoriesPaginator.js +25 -68
  47. package/dist-es/pagination/ListCallAnalyticsJobsPaginator.js +25 -68
  48. package/dist-es/pagination/ListLanguageModelsPaginator.js +25 -68
  49. package/dist-es/pagination/ListMedicalTranscriptionJobsPaginator.js +25 -68
  50. package/dist-es/pagination/ListMedicalVocabulariesPaginator.js +25 -68
  51. package/dist-es/pagination/ListTranscriptionJobsPaginator.js +25 -68
  52. package/dist-es/pagination/ListVocabulariesPaginator.js +25 -68
  53. package/dist-es/pagination/ListVocabularyFiltersPaginator.js +25 -68
  54. package/dist-es/protocols/Aws_json1_1.js +2646 -3326
  55. package/dist-es/runtimeConfig.browser.js +26 -12
  56. package/dist-es/runtimeConfig.js +30 -12
  57. package/dist-es/runtimeConfig.native.js +8 -5
  58. package/dist-es/runtimeConfig.shared.js +8 -11
  59. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetVocabularyRequestFilterSensitiveLog, GetVocabularyResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetVocabularyCommand, serializeAws_json1_1GetVocabularyCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class GetVocabularyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetVocabularyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "TranscribeClient";
18
- var commandName = "GetVocabularyCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TranscribeClient";
15
+ const commandName = "GetVocabularyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetVocabularyRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetVocabularyResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GetVocabularyCommand(input, context);
33
- };
34
- GetVocabularyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetVocabularyCommand(output, context);
36
- };
37
- return GetVocabularyCommand;
38
- }($Command));
39
- export { GetVocabularyCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetVocabularyFilterRequestFilterSensitiveLog, GetVocabularyFilterResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetVocabularyFilterCommand, serializeAws_json1_1GetVocabularyFilterCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class GetVocabularyFilterCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetVocabularyFilterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "TranscribeClient";
18
- var commandName = "GetVocabularyFilterCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TranscribeClient";
15
+ const commandName = "GetVocabularyFilterCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetVocabularyFilterRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetVocabularyFilterResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GetVocabularyFilterCommand(input, context);
33
- };
34
- GetVocabularyFilterCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetVocabularyFilterCommand(output, context);
36
- };
37
- return GetVocabularyFilterCommand;
38
- }($Command));
39
- export { GetVocabularyFilterCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListCallAnalyticsCategoriesRequestFilterSensitiveLog, ListCallAnalyticsCategoriesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListCallAnalyticsCategoriesCommand, serializeAws_json1_1ListCallAnalyticsCategoriesCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class ListCallAnalyticsCategoriesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListCallAnalyticsCategoriesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "TranscribeClient";
18
- var commandName = "ListCallAnalyticsCategoriesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TranscribeClient";
15
+ const commandName = "ListCallAnalyticsCategoriesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListCallAnalyticsCategoriesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListCallAnalyticsCategoriesResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListCallAnalyticsCategoriesCommand(input, context);
33
- };
34
- ListCallAnalyticsCategoriesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListCallAnalyticsCategoriesCommand(output, context);
36
- };
37
- return ListCallAnalyticsCategoriesCommand;
38
- }($Command));
39
- export { ListCallAnalyticsCategoriesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListCallAnalyticsJobsRequestFilterSensitiveLog, ListCallAnalyticsJobsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListCallAnalyticsJobsCommand, serializeAws_json1_1ListCallAnalyticsJobsCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class ListCallAnalyticsJobsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListCallAnalyticsJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "TranscribeClient";
18
- var commandName = "ListCallAnalyticsJobsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TranscribeClient";
15
+ const commandName = "ListCallAnalyticsJobsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListCallAnalyticsJobsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListCallAnalyticsJobsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListCallAnalyticsJobsCommand(input, context);
33
- };
34
- ListCallAnalyticsJobsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListCallAnalyticsJobsCommand(output, context);
36
- };
37
- return ListCallAnalyticsJobsCommand;
38
- }($Command));
39
- export { ListCallAnalyticsJobsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListLanguageModelsRequestFilterSensitiveLog, ListLanguageModelsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListLanguageModelsCommand, serializeAws_json1_1ListLanguageModelsCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class ListLanguageModelsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListLanguageModelsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "TranscribeClient";
18
- var commandName = "ListLanguageModelsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TranscribeClient";
15
+ const commandName = "ListLanguageModelsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListLanguageModelsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListLanguageModelsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListLanguageModelsCommand(input, context);
33
- };
34
- ListLanguageModelsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListLanguageModelsCommand(output, context);
36
- };
37
- return ListLanguageModelsCommand;
38
- }($Command));
39
- export { ListLanguageModelsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListMedicalTranscriptionJobsRequestFilterSensitiveLog, ListMedicalTranscriptionJobsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListMedicalTranscriptionJobsCommand, serializeAws_json1_1ListMedicalTranscriptionJobsCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class ListMedicalTranscriptionJobsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListMedicalTranscriptionJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "TranscribeClient";
18
- var commandName = "ListMedicalTranscriptionJobsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TranscribeClient";
15
+ const commandName = "ListMedicalTranscriptionJobsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListMedicalTranscriptionJobsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListMedicalTranscriptionJobsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListMedicalTranscriptionJobsCommand(input, context);
33
- };
34
- ListMedicalTranscriptionJobsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListMedicalTranscriptionJobsCommand(output, context);
36
- };
37
- return ListMedicalTranscriptionJobsCommand;
38
- }($Command));
39
- export { ListMedicalTranscriptionJobsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListMedicalVocabulariesRequestFilterSensitiveLog, ListMedicalVocabulariesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListMedicalVocabulariesCommand, serializeAws_json1_1ListMedicalVocabulariesCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class ListMedicalVocabulariesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListMedicalVocabulariesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "TranscribeClient";
18
- var commandName = "ListMedicalVocabulariesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TranscribeClient";
15
+ const commandName = "ListMedicalVocabulariesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListMedicalVocabulariesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListMedicalVocabulariesResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListMedicalVocabulariesCommand(input, context);
33
- };
34
- ListMedicalVocabulariesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListMedicalVocabulariesCommand(output, context);
36
- };
37
- return ListMedicalVocabulariesCommand;
38
- }($Command));
39
- export { ListMedicalVocabulariesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "TranscribeClient";
18
- var commandName = "ListTagsForResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TranscribeClient";
15
+ const commandName = "ListTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListTagsForResourceCommand(input, context);
33
- };
34
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
36
- };
37
- return ListTagsForResourceCommand;
38
- }($Command));
39
- export { ListTagsForResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListTranscriptionJobsRequestFilterSensitiveLog, ListTranscriptionJobsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListTranscriptionJobsCommand, serializeAws_json1_1ListTranscriptionJobsCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class ListTranscriptionJobsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTranscriptionJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "TranscribeClient";
18
- var commandName = "ListTranscriptionJobsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TranscribeClient";
15
+ const commandName = "ListTranscriptionJobsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTranscriptionJobsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTranscriptionJobsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListTranscriptionJobsCommand(input, context);
33
- };
34
- ListTranscriptionJobsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListTranscriptionJobsCommand(output, context);
36
- };
37
- return ListTranscriptionJobsCommand;
38
- }($Command));
39
- export { ListTranscriptionJobsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListVocabulariesRequestFilterSensitiveLog, ListVocabulariesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListVocabulariesCommand, serializeAws_json1_1ListVocabulariesCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class ListVocabulariesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListVocabulariesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "TranscribeClient";
18
- var commandName = "ListVocabulariesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "TranscribeClient";
15
+ const commandName = "ListVocabulariesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListVocabulariesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListVocabulariesResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListVocabulariesCommand(input, context);
33
- };
34
- ListVocabulariesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListVocabulariesCommand(output, context);
36
- };
37
- return ListVocabulariesCommand;
38
- }($Command));
39
- export { ListVocabulariesCommand };
31
+ }
32
+ }