@aws-sdk/client-voice-id 3.180.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 (38) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist-cjs/protocols/Aws_json1_0.js +27 -21
  3. package/dist-es/VoiceID.js +86 -93
  4. package/dist-es/VoiceIDClient.js +22 -28
  5. package/dist-es/commands/CreateDomainCommand.js +21 -28
  6. package/dist-es/commands/DeleteDomainCommand.js +22 -29
  7. package/dist-es/commands/DeleteFraudsterCommand.js +22 -29
  8. package/dist-es/commands/DeleteSpeakerCommand.js +22 -29
  9. package/dist-es/commands/DescribeDomainCommand.js +21 -28
  10. package/dist-es/commands/DescribeFraudsterCommand.js +21 -28
  11. package/dist-es/commands/DescribeFraudsterRegistrationJobCommand.js +21 -28
  12. package/dist-es/commands/DescribeSpeakerCommand.js +21 -28
  13. package/dist-es/commands/DescribeSpeakerEnrollmentJobCommand.js +21 -28
  14. package/dist-es/commands/EvaluateSessionCommand.js +21 -28
  15. package/dist-es/commands/ListDomainsCommand.js +21 -28
  16. package/dist-es/commands/ListFraudsterRegistrationJobsCommand.js +21 -28
  17. package/dist-es/commands/ListSpeakerEnrollmentJobsCommand.js +21 -28
  18. package/dist-es/commands/ListSpeakersCommand.js +21 -28
  19. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  20. package/dist-es/commands/OptOutSpeakerCommand.js +21 -28
  21. package/dist-es/commands/StartFraudsterRegistrationJobCommand.js +21 -28
  22. package/dist-es/commands/StartSpeakerEnrollmentJobCommand.js +21 -28
  23. package/dist-es/commands/TagResourceCommand.js +21 -28
  24. package/dist-es/commands/UntagResourceCommand.js +21 -28
  25. package/dist-es/commands/UpdateDomainCommand.js +21 -28
  26. package/dist-es/endpoints.js +8 -8
  27. package/dist-es/models/VoiceIDServiceException.js +5 -10
  28. package/dist-es/models/models_0.js +333 -162
  29. package/dist-es/pagination/ListDomainsPaginator.js +25 -68
  30. package/dist-es/pagination/ListFraudsterRegistrationJobsPaginator.js +25 -68
  31. package/dist-es/pagination/ListSpeakerEnrollmentJobsPaginator.js +25 -68
  32. package/dist-es/pagination/ListSpeakersPaginator.js +25 -68
  33. package/dist-es/protocols/Aws_json1_0.js +1529 -1971
  34. package/dist-es/runtimeConfig.browser.js +26 -12
  35. package/dist-es/runtimeConfig.js +30 -12
  36. package/dist-es/runtimeConfig.native.js +8 -5
  37. package/dist-es/runtimeConfig.shared.js +8 -11
  38. package/package.json +33 -33
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var VoiceIDClient = (function (_super) {
13
- __extends(VoiceIDClient, _super);
14
- function VoiceIDClient(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;
11
+ export class VoiceIDClient 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));
33
29
  }
34
- VoiceIDClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return VoiceIDClient;
38
- }(__Client));
39
- export { VoiceIDClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
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 { CreateDomainRequestFilterSensitiveLog, CreateDomainResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0CreateDomainCommand, serializeAws_json1_0CreateDomainCommand, } from "../protocols/Aws_json1_0";
6
- var CreateDomainCommand = (function (_super) {
7
- __extends(CreateDomainCommand, _super);
8
- function CreateDomainCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateDomainCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateDomainCommand.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 = "VoiceIDClient";
18
- var commandName = "CreateDomainCommand";
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 = "VoiceIDClient";
15
+ const commandName = "CreateDomainCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateDomainRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateDomainResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateDomainCommand.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_0CreateDomainCommand(input, context);
33
- };
34
- CreateDomainCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0CreateDomainCommand(output, context);
36
- };
37
- return CreateDomainCommand;
38
- }($Command));
39
- export { CreateDomainCommand };
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 { DeleteDomainRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteDomainCommand, serializeAws_json1_0DeleteDomainCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteDomainCommand = (function (_super) {
7
- __extends(DeleteDomainCommand, _super);
8
- function DeleteDomainCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteDomainCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteDomainCommand.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 = "VoiceIDClient";
18
- var commandName = "DeleteDomainCommand";
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 = "VoiceIDClient";
15
+ const commandName = "DeleteDomainCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteDomainRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteDomainCommand.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_0DeleteDomainCommand(input, context);
33
- };
34
- DeleteDomainCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteDomainCommand(output, context);
36
- };
37
- return DeleteDomainCommand;
38
- }($Command));
39
- export { DeleteDomainCommand };
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 { DeleteFraudsterRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteFraudsterCommand, serializeAws_json1_0DeleteFraudsterCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteFraudsterCommand = (function (_super) {
7
- __extends(DeleteFraudsterCommand, _super);
8
- function DeleteFraudsterCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteFraudsterCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteFraudsterCommand.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 = "VoiceIDClient";
18
- var commandName = "DeleteFraudsterCommand";
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 = "VoiceIDClient";
15
+ const commandName = "DeleteFraudsterCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteFraudsterRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteFraudsterCommand.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_0DeleteFraudsterCommand(input, context);
33
- };
34
- DeleteFraudsterCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteFraudsterCommand(output, context);
36
- };
37
- return DeleteFraudsterCommand;
38
- }($Command));
39
- export { DeleteFraudsterCommand };
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 { DeleteSpeakerRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteSpeakerCommand, serializeAws_json1_0DeleteSpeakerCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteSpeakerCommand = (function (_super) {
7
- __extends(DeleteSpeakerCommand, _super);
8
- function DeleteSpeakerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteSpeakerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteSpeakerCommand.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 = "VoiceIDClient";
18
- var commandName = "DeleteSpeakerCommand";
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 = "VoiceIDClient";
15
+ const commandName = "DeleteSpeakerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteSpeakerRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteSpeakerCommand.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_0DeleteSpeakerCommand(input, context);
33
- };
34
- DeleteSpeakerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteSpeakerCommand(output, context);
36
- };
37
- return DeleteSpeakerCommand;
38
- }($Command));
39
- export { DeleteSpeakerCommand };
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 { DescribeDomainRequestFilterSensitiveLog, DescribeDomainResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeDomainCommand, serializeAws_json1_0DescribeDomainCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeDomainCommand = (function (_super) {
7
- __extends(DescribeDomainCommand, _super);
8
- function DescribeDomainCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeDomainCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeDomainCommand.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 = "VoiceIDClient";
18
- var commandName = "DescribeDomainCommand";
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 = "VoiceIDClient";
15
+ const commandName = "DescribeDomainCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeDomainRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeDomainResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeDomainCommand.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_0DescribeDomainCommand(input, context);
33
- };
34
- DescribeDomainCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeDomainCommand(output, context);
36
- };
37
- return DescribeDomainCommand;
38
- }($Command));
39
- export { DescribeDomainCommand };
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 { DescribeFraudsterRequestFilterSensitiveLog, DescribeFraudsterResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeFraudsterCommand, serializeAws_json1_0DescribeFraudsterCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeFraudsterCommand = (function (_super) {
7
- __extends(DescribeFraudsterCommand, _super);
8
- function DescribeFraudsterCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeFraudsterCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeFraudsterCommand.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 = "VoiceIDClient";
18
- var commandName = "DescribeFraudsterCommand";
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 = "VoiceIDClient";
15
+ const commandName = "DescribeFraudsterCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeFraudsterRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeFraudsterResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeFraudsterCommand.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_0DescribeFraudsterCommand(input, context);
33
- };
34
- DescribeFraudsterCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeFraudsterCommand(output, context);
36
- };
37
- return DescribeFraudsterCommand;
38
- }($Command));
39
- export { DescribeFraudsterCommand };
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 { DescribeFraudsterRegistrationJobRequestFilterSensitiveLog, DescribeFraudsterRegistrationJobResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeFraudsterRegistrationJobCommand, serializeAws_json1_0DescribeFraudsterRegistrationJobCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeFraudsterRegistrationJobCommand = (function (_super) {
7
- __extends(DescribeFraudsterRegistrationJobCommand, _super);
8
- function DescribeFraudsterRegistrationJobCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeFraudsterRegistrationJobCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeFraudsterRegistrationJobCommand.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 = "VoiceIDClient";
18
- var commandName = "DescribeFraudsterRegistrationJobCommand";
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 = "VoiceIDClient";
15
+ const commandName = "DescribeFraudsterRegistrationJobCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeFraudsterRegistrationJobRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeFraudsterRegistrationJobResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeFraudsterRegistrationJobCommand.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_0DescribeFraudsterRegistrationJobCommand(input, context);
33
- };
34
- DescribeFraudsterRegistrationJobCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeFraudsterRegistrationJobCommand(output, context);
36
- };
37
- return DescribeFraudsterRegistrationJobCommand;
38
- }($Command));
39
- export { DescribeFraudsterRegistrationJobCommand };
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 { DescribeSpeakerRequestFilterSensitiveLog, DescribeSpeakerResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeSpeakerCommand, serializeAws_json1_0DescribeSpeakerCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeSpeakerCommand = (function (_super) {
7
- __extends(DescribeSpeakerCommand, _super);
8
- function DescribeSpeakerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeSpeakerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeSpeakerCommand.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 = "VoiceIDClient";
18
- var commandName = "DescribeSpeakerCommand";
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 = "VoiceIDClient";
15
+ const commandName = "DescribeSpeakerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeSpeakerRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeSpeakerResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeSpeakerCommand.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_0DescribeSpeakerCommand(input, context);
33
- };
34
- DescribeSpeakerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeSpeakerCommand(output, context);
36
- };
37
- return DescribeSpeakerCommand;
38
- }($Command));
39
- export { DescribeSpeakerCommand };
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 { DescribeSpeakerEnrollmentJobRequestFilterSensitiveLog, DescribeSpeakerEnrollmentJobResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeSpeakerEnrollmentJobCommand, serializeAws_json1_0DescribeSpeakerEnrollmentJobCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeSpeakerEnrollmentJobCommand = (function (_super) {
7
- __extends(DescribeSpeakerEnrollmentJobCommand, _super);
8
- function DescribeSpeakerEnrollmentJobCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeSpeakerEnrollmentJobCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeSpeakerEnrollmentJobCommand.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 = "VoiceIDClient";
18
- var commandName = "DescribeSpeakerEnrollmentJobCommand";
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 = "VoiceIDClient";
15
+ const commandName = "DescribeSpeakerEnrollmentJobCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeSpeakerEnrollmentJobRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeSpeakerEnrollmentJobResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeSpeakerEnrollmentJobCommand.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_0DescribeSpeakerEnrollmentJobCommand(input, context);
33
- };
34
- DescribeSpeakerEnrollmentJobCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeSpeakerEnrollmentJobCommand(output, context);
36
- };
37
- return DescribeSpeakerEnrollmentJobCommand;
38
- }($Command));
39
- export { DescribeSpeakerEnrollmentJobCommand };
31
+ }
32
+ }