@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,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class TranscribeClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var TranscribeClient = (function (_super) {
13
+ __extends(TranscribeClient, _super);
14
+ function TranscribeClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ TranscribeClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return TranscribeClient;
38
+ }(__Client));
39
+ export { TranscribeClient };
@@ -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 { CreateCallAnalyticsCategoryRequestFilterSensitiveLog, CreateCallAnalyticsCategoryResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateCallAnalyticsCategoryCommand, serializeAws_json1_1CreateCallAnalyticsCategoryCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateCallAnalyticsCategoryCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateCallAnalyticsCategoryCommand = (function (_super) {
7
+ __extends(CreateCallAnalyticsCategoryCommand, _super);
8
+ function CreateCallAnalyticsCategoryCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateCallAnalyticsCategoryCommand.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 = "CreateCallAnalyticsCategoryCommand";
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 = "CreateCallAnalyticsCategoryCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateCallAnalyticsCategoryRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateCallAnalyticsCategoryResponseFilterSensitiveLog,
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
+ CreateCallAnalyticsCategoryCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateCallAnalyticsCategoryCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateCallAnalyticsCategoryCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateCallAnalyticsCategoryCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateCallAnalyticsCategoryCommand;
38
+ }($Command));
39
+ export { CreateCallAnalyticsCategoryCommand };
@@ -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 { CreateLanguageModelRequestFilterSensitiveLog, CreateLanguageModelResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateLanguageModelCommand, serializeAws_json1_1CreateLanguageModelCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateLanguageModelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateLanguageModelCommand = (function (_super) {
7
+ __extends(CreateLanguageModelCommand, _super);
8
+ function CreateLanguageModelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateLanguageModelCommand.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 = "CreateLanguageModelCommand";
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 = "CreateLanguageModelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateLanguageModelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateLanguageModelResponseFilterSensitiveLog,
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
+ CreateLanguageModelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateLanguageModelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateLanguageModelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateLanguageModelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateLanguageModelCommand;
38
+ }($Command));
39
+ export { CreateLanguageModelCommand };
@@ -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 { CreateMedicalVocabularyRequestFilterSensitiveLog, CreateMedicalVocabularyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateMedicalVocabularyCommand, serializeAws_json1_1CreateMedicalVocabularyCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateMedicalVocabularyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateMedicalVocabularyCommand = (function (_super) {
7
+ __extends(CreateMedicalVocabularyCommand, _super);
8
+ function CreateMedicalVocabularyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateMedicalVocabularyCommand.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 = "CreateMedicalVocabularyCommand";
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 = "CreateMedicalVocabularyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateMedicalVocabularyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateMedicalVocabularyResponseFilterSensitiveLog,
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
+ CreateMedicalVocabularyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateMedicalVocabularyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateMedicalVocabularyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateMedicalVocabularyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateMedicalVocabularyCommand;
38
+ }($Command));
39
+ export { CreateMedicalVocabularyCommand };
@@ -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 { CreateVocabularyRequestFilterSensitiveLog, CreateVocabularyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateVocabularyCommand, serializeAws_json1_1CreateVocabularyCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateVocabularyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateVocabularyCommand = (function (_super) {
7
+ __extends(CreateVocabularyCommand, _super);
8
+ function CreateVocabularyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateVocabularyCommand.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 = "CreateVocabularyCommand";
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 = "CreateVocabularyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateVocabularyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateVocabularyResponseFilterSensitiveLog,
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
+ CreateVocabularyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateVocabularyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateVocabularyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateVocabularyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateVocabularyCommand;
38
+ }($Command));
39
+ export { CreateVocabularyCommand };
@@ -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 { CreateVocabularyFilterRequestFilterSensitiveLog, CreateVocabularyFilterResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateVocabularyFilterCommand, serializeAws_json1_1CreateVocabularyFilterCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateVocabularyFilterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateVocabularyFilterCommand = (function (_super) {
7
+ __extends(CreateVocabularyFilterCommand, _super);
8
+ function CreateVocabularyFilterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateVocabularyFilterCommand.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 = "CreateVocabularyFilterCommand";
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 = "CreateVocabularyFilterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateVocabularyFilterRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateVocabularyFilterResponseFilterSensitiveLog,
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
+ CreateVocabularyFilterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateVocabularyFilterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateVocabularyFilterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateVocabularyFilterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateVocabularyFilterCommand;
38
+ }($Command));
39
+ export { CreateVocabularyFilterCommand };
@@ -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 { DeleteCallAnalyticsCategoryRequestFilterSensitiveLog, DeleteCallAnalyticsCategoryResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteCallAnalyticsCategoryCommand, serializeAws_json1_1DeleteCallAnalyticsCategoryCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteCallAnalyticsCategoryCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteCallAnalyticsCategoryCommand = (function (_super) {
7
+ __extends(DeleteCallAnalyticsCategoryCommand, _super);
8
+ function DeleteCallAnalyticsCategoryCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteCallAnalyticsCategoryCommand.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 = "DeleteCallAnalyticsCategoryCommand";
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 = "DeleteCallAnalyticsCategoryCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteCallAnalyticsCategoryRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteCallAnalyticsCategoryResponseFilterSensitiveLog,
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
+ DeleteCallAnalyticsCategoryCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteCallAnalyticsCategoryCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteCallAnalyticsCategoryCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteCallAnalyticsCategoryCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteCallAnalyticsCategoryCommand;
38
+ }($Command));
39
+ export { DeleteCallAnalyticsCategoryCommand };
@@ -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 { DeleteCallAnalyticsJobRequestFilterSensitiveLog, DeleteCallAnalyticsJobResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteCallAnalyticsJobCommand, serializeAws_json1_1DeleteCallAnalyticsJobCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteCallAnalyticsJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteCallAnalyticsJobCommand = (function (_super) {
7
+ __extends(DeleteCallAnalyticsJobCommand, _super);
8
+ function DeleteCallAnalyticsJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteCallAnalyticsJobCommand.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 = "DeleteCallAnalyticsJobCommand";
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 = "DeleteCallAnalyticsJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteCallAnalyticsJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteCallAnalyticsJobResponseFilterSensitiveLog,
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
+ DeleteCallAnalyticsJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteCallAnalyticsJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteCallAnalyticsJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteCallAnalyticsJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteCallAnalyticsJobCommand;
38
+ }($Command));
39
+ export { DeleteCallAnalyticsJobCommand };
@@ -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 { DeleteLanguageModelRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteLanguageModelCommand, serializeAws_json1_1DeleteLanguageModelCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteLanguageModelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteLanguageModelCommand = (function (_super) {
7
+ __extends(DeleteLanguageModelCommand, _super);
8
+ function DeleteLanguageModelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteLanguageModelCommand.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 = "DeleteLanguageModelCommand";
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 = "DeleteLanguageModelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteLanguageModelRequestFilterSensitiveLog,
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
+ DeleteLanguageModelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteLanguageModelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteLanguageModelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteLanguageModelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteLanguageModelCommand;
38
+ }($Command));
39
+ export { DeleteLanguageModelCommand };
@@ -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 { DeleteMedicalTranscriptionJobRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteMedicalTranscriptionJobCommand, serializeAws_json1_1DeleteMedicalTranscriptionJobCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteMedicalTranscriptionJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteMedicalTranscriptionJobCommand = (function (_super) {
7
+ __extends(DeleteMedicalTranscriptionJobCommand, _super);
8
+ function DeleteMedicalTranscriptionJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteMedicalTranscriptionJobCommand.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 = "DeleteMedicalTranscriptionJobCommand";
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 = "DeleteMedicalTranscriptionJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteMedicalTranscriptionJobRequestFilterSensitiveLog,
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
+ DeleteMedicalTranscriptionJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteMedicalTranscriptionJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteMedicalTranscriptionJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteMedicalTranscriptionJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteMedicalTranscriptionJobCommand;
38
+ }($Command));
39
+ export { DeleteMedicalTranscriptionJobCommand };