@aws-sdk/client-voice-id 3.183.0 → 3.186.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 +19 -0
  2. package/dist-cjs/protocols/Aws_json1_0.js +2 -2
  3. package/dist-es/VoiceID.js +93 -86
  4. package/dist-es/VoiceIDClient.js +28 -22
  5. package/dist-es/commands/CreateDomainCommand.js +28 -21
  6. package/dist-es/commands/DeleteDomainCommand.js +29 -22
  7. package/dist-es/commands/DeleteFraudsterCommand.js +29 -22
  8. package/dist-es/commands/DeleteSpeakerCommand.js +29 -22
  9. package/dist-es/commands/DescribeDomainCommand.js +28 -21
  10. package/dist-es/commands/DescribeFraudsterCommand.js +28 -21
  11. package/dist-es/commands/DescribeFraudsterRegistrationJobCommand.js +28 -21
  12. package/dist-es/commands/DescribeSpeakerCommand.js +28 -21
  13. package/dist-es/commands/DescribeSpeakerEnrollmentJobCommand.js +28 -21
  14. package/dist-es/commands/EvaluateSessionCommand.js +28 -21
  15. package/dist-es/commands/ListDomainsCommand.js +28 -21
  16. package/dist-es/commands/ListFraudsterRegistrationJobsCommand.js +28 -21
  17. package/dist-es/commands/ListSpeakerEnrollmentJobsCommand.js +28 -21
  18. package/dist-es/commands/ListSpeakersCommand.js +28 -21
  19. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  20. package/dist-es/commands/OptOutSpeakerCommand.js +28 -21
  21. package/dist-es/commands/StartFraudsterRegistrationJobCommand.js +28 -21
  22. package/dist-es/commands/StartSpeakerEnrollmentJobCommand.js +28 -21
  23. package/dist-es/commands/TagResourceCommand.js +28 -21
  24. package/dist-es/commands/UntagResourceCommand.js +28 -21
  25. package/dist-es/commands/UpdateDomainCommand.js +28 -21
  26. package/dist-es/endpoints.js +8 -8
  27. package/dist-es/models/VoiceIDServiceException.js +10 -5
  28. package/dist-es/models/models_0.js +162 -333
  29. package/dist-es/pagination/ListDomainsPaginator.js +68 -25
  30. package/dist-es/pagination/ListFraudsterRegistrationJobsPaginator.js +68 -25
  31. package/dist-es/pagination/ListSpeakerEnrollmentJobsPaginator.js +68 -25
  32. package/dist-es/pagination/ListSpeakersPaginator.js +68 -25
  33. package/dist-es/protocols/Aws_json1_0.js +1984 -1529
  34. package/dist-es/runtimeConfig.browser.js +12 -26
  35. package/dist-es/runtimeConfig.js +12 -30
  36. package/dist-es/runtimeConfig.native.js +5 -8
  37. package/dist-es/runtimeConfig.shared.js +11 -8
  38. package/package.json +33 -33
@@ -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 { DeleteFraudsterRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DeleteFraudsterCommand, serializeAws_json1_0DeleteFraudsterCommand, } from "../protocols/Aws_json1_0";
5
- export class DeleteFraudsterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteFraudsterCommand.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 = "VoiceIDClient";
15
- const commandName = "DeleteFraudsterCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: DeleteFraudsterRequestFilterSensitiveLog,
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
+ DeleteFraudsterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DeleteFraudsterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteFraudsterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DeleteFraudsterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteFraudsterCommand;
38
+ }($Command));
39
+ export { DeleteFraudsterCommand };
@@ -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 { DeleteSpeakerRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DeleteSpeakerCommand, serializeAws_json1_0DeleteSpeakerCommand, } from "../protocols/Aws_json1_0";
5
- export class DeleteSpeakerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteSpeakerCommand.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 = "VoiceIDClient";
15
- const commandName = "DeleteSpeakerCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: DeleteSpeakerRequestFilterSensitiveLog,
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
+ DeleteSpeakerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DeleteSpeakerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteSpeakerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DeleteSpeakerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteSpeakerCommand;
38
+ }($Command));
39
+ export { DeleteSpeakerCommand };
@@ -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 { DescribeDomainRequestFilterSensitiveLog, DescribeDomainResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DescribeDomainCommand, serializeAws_json1_0DescribeDomainCommand, } from "../protocols/Aws_json1_0";
5
- export class DescribeDomainCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeDomainCommand.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 = "VoiceIDClient";
15
- const commandName = "DescribeDomainCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: DescribeDomainRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeDomainResponseFilterSensitiveLog,
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
+ DescribeDomainCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DescribeDomainCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeDomainCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DescribeDomainCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeDomainCommand;
38
+ }($Command));
39
+ export { DescribeDomainCommand };
@@ -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 { DescribeFraudsterRequestFilterSensitiveLog, DescribeFraudsterResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DescribeFraudsterCommand, serializeAws_json1_0DescribeFraudsterCommand, } from "../protocols/Aws_json1_0";
5
- export class DescribeFraudsterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeFraudsterCommand.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 = "VoiceIDClient";
15
- const commandName = "DescribeFraudsterCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: DescribeFraudsterRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeFraudsterResponseFilterSensitiveLog,
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
+ DescribeFraudsterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DescribeFraudsterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeFraudsterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DescribeFraudsterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeFraudsterCommand;
38
+ }($Command));
39
+ export { DescribeFraudsterCommand };
@@ -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 { DescribeFraudsterRegistrationJobRequestFilterSensitiveLog, DescribeFraudsterRegistrationJobResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DescribeFraudsterRegistrationJobCommand, serializeAws_json1_0DescribeFraudsterRegistrationJobCommand, } from "../protocols/Aws_json1_0";
5
- export class DescribeFraudsterRegistrationJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeFraudsterRegistrationJobCommand.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 = "VoiceIDClient";
15
- const commandName = "DescribeFraudsterRegistrationJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: DescribeFraudsterRegistrationJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeFraudsterRegistrationJobResponseFilterSensitiveLog,
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
+ DescribeFraudsterRegistrationJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DescribeFraudsterRegistrationJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeFraudsterRegistrationJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DescribeFraudsterRegistrationJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeFraudsterRegistrationJobCommand;
38
+ }($Command));
39
+ export { DescribeFraudsterRegistrationJobCommand };
@@ -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 { DescribeSpeakerRequestFilterSensitiveLog, DescribeSpeakerResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DescribeSpeakerCommand, serializeAws_json1_0DescribeSpeakerCommand, } from "../protocols/Aws_json1_0";
5
- export class DescribeSpeakerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeSpeakerCommand.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 = "VoiceIDClient";
15
- const commandName = "DescribeSpeakerCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: DescribeSpeakerRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeSpeakerResponseFilterSensitiveLog,
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
+ DescribeSpeakerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DescribeSpeakerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeSpeakerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DescribeSpeakerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeSpeakerCommand;
38
+ }($Command));
39
+ export { DescribeSpeakerCommand };
@@ -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 { DescribeSpeakerEnrollmentJobRequestFilterSensitiveLog, DescribeSpeakerEnrollmentJobResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DescribeSpeakerEnrollmentJobCommand, serializeAws_json1_0DescribeSpeakerEnrollmentJobCommand, } from "../protocols/Aws_json1_0";
5
- export class DescribeSpeakerEnrollmentJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeSpeakerEnrollmentJobCommand.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 = "VoiceIDClient";
15
- const commandName = "DescribeSpeakerEnrollmentJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: DescribeSpeakerEnrollmentJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeSpeakerEnrollmentJobResponseFilterSensitiveLog,
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
+ DescribeSpeakerEnrollmentJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DescribeSpeakerEnrollmentJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeSpeakerEnrollmentJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DescribeSpeakerEnrollmentJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeSpeakerEnrollmentJobCommand;
38
+ }($Command));
39
+ export { DescribeSpeakerEnrollmentJobCommand };
@@ -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 { EvaluateSessionRequestFilterSensitiveLog, EvaluateSessionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0EvaluateSessionCommand, serializeAws_json1_0EvaluateSessionCommand, } from "../protocols/Aws_json1_0";
5
- export class EvaluateSessionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var EvaluateSessionCommand = (function (_super) {
7
+ __extends(EvaluateSessionCommand, _super);
8
+ function EvaluateSessionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ EvaluateSessionCommand.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 = "VoiceIDClient";
15
- const commandName = "EvaluateSessionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "VoiceIDClient";
18
+ var commandName = "EvaluateSessionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: EvaluateSessionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: EvaluateSessionResponseFilterSensitiveLog,
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
+ EvaluateSessionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0EvaluateSessionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ EvaluateSessionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0EvaluateSessionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return EvaluateSessionCommand;
38
+ }($Command));
39
+ export { EvaluateSessionCommand };
@@ -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 { ListDomainsRequestFilterSensitiveLog, ListDomainsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0ListDomainsCommand, serializeAws_json1_0ListDomainsCommand, } from "../protocols/Aws_json1_0";
5
- export class ListDomainsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDomainsCommand = (function (_super) {
7
+ __extends(ListDomainsCommand, _super);
8
+ function ListDomainsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDomainsCommand.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 = "VoiceIDClient";
15
- const commandName = "ListDomainsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "VoiceIDClient";
18
+ var commandName = "ListDomainsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDomainsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDomainsResponseFilterSensitiveLog,
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
+ ListDomainsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0ListDomainsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDomainsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0ListDomainsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDomainsCommand;
38
+ }($Command));
39
+ export { ListDomainsCommand };
@@ -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 { ListFraudsterRegistrationJobsRequestFilterSensitiveLog, ListFraudsterRegistrationJobsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0ListFraudsterRegistrationJobsCommand, serializeAws_json1_0ListFraudsterRegistrationJobsCommand, } from "../protocols/Aws_json1_0";
5
- export class ListFraudsterRegistrationJobsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListFraudsterRegistrationJobsCommand = (function (_super) {
7
+ __extends(ListFraudsterRegistrationJobsCommand, _super);
8
+ function ListFraudsterRegistrationJobsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListFraudsterRegistrationJobsCommand.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 = "VoiceIDClient";
15
- const commandName = "ListFraudsterRegistrationJobsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "VoiceIDClient";
18
+ var commandName = "ListFraudsterRegistrationJobsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListFraudsterRegistrationJobsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListFraudsterRegistrationJobsResponseFilterSensitiveLog,
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
+ ListFraudsterRegistrationJobsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0ListFraudsterRegistrationJobsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListFraudsterRegistrationJobsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0ListFraudsterRegistrationJobsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListFraudsterRegistrationJobsCommand;
38
+ }($Command));
39
+ export { ListFraudsterRegistrationJobsCommand };