@aws-sdk/client-voice-id 3.35.0 → 3.36.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 (191) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/VoiceID.js +0 -1
  3. package/dist-cjs/VoiceIDClient.js +0 -1
  4. package/dist-cjs/commands/CreateDomainCommand.js +0 -1
  5. package/dist-cjs/commands/DeleteDomainCommand.js +0 -1
  6. package/dist-cjs/commands/DeleteFraudsterCommand.js +0 -1
  7. package/dist-cjs/commands/DeleteSpeakerCommand.js +0 -1
  8. package/dist-cjs/commands/DescribeDomainCommand.js +0 -1
  9. package/dist-cjs/commands/DescribeFraudsterCommand.js +0 -1
  10. package/dist-cjs/commands/DescribeFraudsterRegistrationJobCommand.js +0 -1
  11. package/dist-cjs/commands/DescribeSpeakerCommand.js +0 -1
  12. package/dist-cjs/commands/DescribeSpeakerEnrollmentJobCommand.js +0 -1
  13. package/dist-cjs/commands/EvaluateSessionCommand.js +0 -1
  14. package/dist-cjs/commands/ListDomainsCommand.js +0 -1
  15. package/dist-cjs/commands/ListFraudsterRegistrationJobsCommand.js +0 -1
  16. package/dist-cjs/commands/ListSpeakerEnrollmentJobsCommand.js +0 -1
  17. package/dist-cjs/commands/ListSpeakersCommand.js +0 -1
  18. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  19. package/dist-cjs/commands/OptOutSpeakerCommand.js +0 -1
  20. package/dist-cjs/commands/StartFraudsterRegistrationJobCommand.js +0 -1
  21. package/dist-cjs/commands/StartSpeakerEnrollmentJobCommand.js +0 -1
  22. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  23. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  24. package/dist-cjs/commands/UpdateDomainCommand.js +0 -1
  25. package/dist-cjs/endpoints.js +0 -1
  26. package/dist-cjs/index.js +0 -1
  27. package/dist-cjs/models/index.js +0 -1
  28. package/dist-cjs/models/models_0.js +0 -1
  29. package/dist-cjs/pagination/Interfaces.js +0 -1
  30. package/dist-cjs/pagination/ListDomainsPaginator.js +0 -1
  31. package/dist-cjs/pagination/ListFraudsterRegistrationJobsPaginator.js +0 -1
  32. package/dist-cjs/pagination/ListSpeakerEnrollmentJobsPaginator.js +0 -1
  33. package/dist-cjs/pagination/ListSpeakersPaginator.js +0 -1
  34. package/dist-cjs/protocols/Aws_json1_0.js +0 -1
  35. package/dist-cjs/runtimeConfig.browser.js +2 -3
  36. package/dist-cjs/runtimeConfig.js +3 -4
  37. package/dist-cjs/runtimeConfig.native.js +0 -1
  38. package/dist-cjs/runtimeConfig.shared.js +0 -1
  39. package/dist-es/VoiceID.js +0 -1
  40. package/dist-es/VoiceIDClient.js +0 -1
  41. package/dist-es/commands/CreateDomainCommand.js +0 -1
  42. package/dist-es/commands/DeleteDomainCommand.js +0 -1
  43. package/dist-es/commands/DeleteFraudsterCommand.js +0 -1
  44. package/dist-es/commands/DeleteSpeakerCommand.js +0 -1
  45. package/dist-es/commands/DescribeDomainCommand.js +0 -1
  46. package/dist-es/commands/DescribeFraudsterCommand.js +0 -1
  47. package/dist-es/commands/DescribeFraudsterRegistrationJobCommand.js +0 -1
  48. package/dist-es/commands/DescribeSpeakerCommand.js +0 -1
  49. package/dist-es/commands/DescribeSpeakerEnrollmentJobCommand.js +0 -1
  50. package/dist-es/commands/EvaluateSessionCommand.js +0 -1
  51. package/dist-es/commands/ListDomainsCommand.js +0 -1
  52. package/dist-es/commands/ListFraudsterRegistrationJobsCommand.js +0 -1
  53. package/dist-es/commands/ListSpeakerEnrollmentJobsCommand.js +0 -1
  54. package/dist-es/commands/ListSpeakersCommand.js +0 -1
  55. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  56. package/dist-es/commands/OptOutSpeakerCommand.js +0 -1
  57. package/dist-es/commands/StartFraudsterRegistrationJobCommand.js +0 -1
  58. package/dist-es/commands/StartSpeakerEnrollmentJobCommand.js +0 -1
  59. package/dist-es/commands/TagResourceCommand.js +0 -1
  60. package/dist-es/commands/UntagResourceCommand.js +0 -1
  61. package/dist-es/commands/UpdateDomainCommand.js +0 -1
  62. package/dist-es/endpoints.js +0 -1
  63. package/dist-es/index.js +0 -1
  64. package/dist-es/models/index.js +0 -1
  65. package/dist-es/models/models_0.js +0 -1
  66. package/dist-es/pagination/Interfaces.js +0 -1
  67. package/dist-es/pagination/ListDomainsPaginator.js +0 -1
  68. package/dist-es/pagination/ListFraudsterRegistrationJobsPaginator.js +0 -1
  69. package/dist-es/pagination/ListSpeakerEnrollmentJobsPaginator.js +0 -1
  70. package/dist-es/pagination/ListSpeakersPaginator.js +0 -1
  71. package/dist-es/protocols/Aws_json1_0.js +0 -1
  72. package/dist-es/runtimeConfig.browser.js +1 -2
  73. package/dist-es/runtimeConfig.js +2 -3
  74. package/dist-es/runtimeConfig.native.js +0 -1
  75. package/dist-es/runtimeConfig.shared.js +0 -1
  76. package/package.json +33 -30
  77. package/dist-cjs/VoiceID.js.map +0 -1
  78. package/dist-cjs/VoiceIDClient.js.map +0 -1
  79. package/dist-cjs/commands/CreateDomainCommand.js.map +0 -1
  80. package/dist-cjs/commands/DeleteDomainCommand.js.map +0 -1
  81. package/dist-cjs/commands/DeleteFraudsterCommand.js.map +0 -1
  82. package/dist-cjs/commands/DeleteSpeakerCommand.js.map +0 -1
  83. package/dist-cjs/commands/DescribeDomainCommand.js.map +0 -1
  84. package/dist-cjs/commands/DescribeFraudsterCommand.js.map +0 -1
  85. package/dist-cjs/commands/DescribeFraudsterRegistrationJobCommand.js.map +0 -1
  86. package/dist-cjs/commands/DescribeSpeakerCommand.js.map +0 -1
  87. package/dist-cjs/commands/DescribeSpeakerEnrollmentJobCommand.js.map +0 -1
  88. package/dist-cjs/commands/EvaluateSessionCommand.js.map +0 -1
  89. package/dist-cjs/commands/ListDomainsCommand.js.map +0 -1
  90. package/dist-cjs/commands/ListFraudsterRegistrationJobsCommand.js.map +0 -1
  91. package/dist-cjs/commands/ListSpeakerEnrollmentJobsCommand.js.map +0 -1
  92. package/dist-cjs/commands/ListSpeakersCommand.js.map +0 -1
  93. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  94. package/dist-cjs/commands/OptOutSpeakerCommand.js.map +0 -1
  95. package/dist-cjs/commands/StartFraudsterRegistrationJobCommand.js.map +0 -1
  96. package/dist-cjs/commands/StartSpeakerEnrollmentJobCommand.js.map +0 -1
  97. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  98. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  99. package/dist-cjs/commands/UpdateDomainCommand.js.map +0 -1
  100. package/dist-cjs/endpoints.js.map +0 -1
  101. package/dist-cjs/index.js.map +0 -1
  102. package/dist-cjs/models/index.js.map +0 -1
  103. package/dist-cjs/models/models_0.js.map +0 -1
  104. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  105. package/dist-cjs/pagination/ListDomainsPaginator.js.map +0 -1
  106. package/dist-cjs/pagination/ListFraudsterRegistrationJobsPaginator.js.map +0 -1
  107. package/dist-cjs/pagination/ListSpeakerEnrollmentJobsPaginator.js.map +0 -1
  108. package/dist-cjs/pagination/ListSpeakersPaginator.js.map +0 -1
  109. package/dist-cjs/protocols/Aws_json1_0.js.map +0 -1
  110. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  111. package/dist-cjs/runtimeConfig.js.map +0 -1
  112. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  113. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  114. package/dist-es/VoiceID.js.map +0 -1
  115. package/dist-es/VoiceIDClient.js.map +0 -1
  116. package/dist-es/commands/CreateDomainCommand.js.map +0 -1
  117. package/dist-es/commands/DeleteDomainCommand.js.map +0 -1
  118. package/dist-es/commands/DeleteFraudsterCommand.js.map +0 -1
  119. package/dist-es/commands/DeleteSpeakerCommand.js.map +0 -1
  120. package/dist-es/commands/DescribeDomainCommand.js.map +0 -1
  121. package/dist-es/commands/DescribeFraudsterCommand.js.map +0 -1
  122. package/dist-es/commands/DescribeFraudsterRegistrationJobCommand.js.map +0 -1
  123. package/dist-es/commands/DescribeSpeakerCommand.js.map +0 -1
  124. package/dist-es/commands/DescribeSpeakerEnrollmentJobCommand.js.map +0 -1
  125. package/dist-es/commands/EvaluateSessionCommand.js.map +0 -1
  126. package/dist-es/commands/ListDomainsCommand.js.map +0 -1
  127. package/dist-es/commands/ListFraudsterRegistrationJobsCommand.js.map +0 -1
  128. package/dist-es/commands/ListSpeakerEnrollmentJobsCommand.js.map +0 -1
  129. package/dist-es/commands/ListSpeakersCommand.js.map +0 -1
  130. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  131. package/dist-es/commands/OptOutSpeakerCommand.js.map +0 -1
  132. package/dist-es/commands/StartFraudsterRegistrationJobCommand.js.map +0 -1
  133. package/dist-es/commands/StartSpeakerEnrollmentJobCommand.js.map +0 -1
  134. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  135. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  136. package/dist-es/commands/UpdateDomainCommand.js.map +0 -1
  137. package/dist-es/endpoints.js.map +0 -1
  138. package/dist-es/index.js.map +0 -1
  139. package/dist-es/models/index.js.map +0 -1
  140. package/dist-es/models/models_0.js.map +0 -1
  141. package/dist-es/pagination/Interfaces.js.map +0 -1
  142. package/dist-es/pagination/ListDomainsPaginator.js.map +0 -1
  143. package/dist-es/pagination/ListFraudsterRegistrationJobsPaginator.js.map +0 -1
  144. package/dist-es/pagination/ListSpeakerEnrollmentJobsPaginator.js.map +0 -1
  145. package/dist-es/pagination/ListSpeakersPaginator.js.map +0 -1
  146. package/dist-es/protocols/Aws_json1_0.js.map +0 -1
  147. package/dist-es/runtimeConfig.browser.js.map +0 -1
  148. package/dist-es/runtimeConfig.js.map +0 -1
  149. package/dist-es/runtimeConfig.native.js.map +0 -1
  150. package/dist-es/runtimeConfig.shared.js.map +0 -1
  151. package/jest.config.js +0 -4
  152. package/src/VoiceID.ts +0 -769
  153. package/src/VoiceIDClient.ts +0 -322
  154. package/src/commands/CreateDomainCommand.ts +0 -97
  155. package/src/commands/DeleteDomainCommand.ts +0 -95
  156. package/src/commands/DeleteFraudsterCommand.ts +0 -95
  157. package/src/commands/DeleteSpeakerCommand.ts +0 -95
  158. package/src/commands/DescribeDomainCommand.ts +0 -95
  159. package/src/commands/DescribeFraudsterCommand.ts +0 -95
  160. package/src/commands/DescribeFraudsterRegistrationJobCommand.ts +0 -103
  161. package/src/commands/DescribeSpeakerCommand.ts +0 -95
  162. package/src/commands/DescribeSpeakerEnrollmentJobCommand.ts +0 -100
  163. package/src/commands/EvaluateSessionCommand.ts +0 -96
  164. package/src/commands/ListDomainsCommand.ts +0 -96
  165. package/src/commands/ListFraudsterRegistrationJobsCommand.ts +0 -103
  166. package/src/commands/ListSpeakerEnrollmentJobsCommand.ts +0 -100
  167. package/src/commands/ListSpeakersCommand.ts +0 -95
  168. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  169. package/src/commands/OptOutSpeakerCommand.ts +0 -99
  170. package/src/commands/StartFraudsterRegistrationJobCommand.ts +0 -100
  171. package/src/commands/StartSpeakerEnrollmentJobCommand.ts +0 -98
  172. package/src/commands/TagResourceCommand.ts +0 -95
  173. package/src/commands/UntagResourceCommand.ts +0 -95
  174. package/src/commands/UpdateDomainCommand.ts +0 -96
  175. package/src/endpoints.ts +0 -57
  176. package/src/index.ts +0 -29
  177. package/src/models/index.ts +0 -1
  178. package/src/models/models_0.ts +0 -2153
  179. package/src/pagination/Interfaces.ts +0 -8
  180. package/src/pagination/ListDomainsPaginator.ts +0 -55
  181. package/src/pagination/ListFraudsterRegistrationJobsPaginator.ts +0 -59
  182. package/src/pagination/ListSpeakerEnrollmentJobsPaginator.ts +0 -59
  183. package/src/pagination/ListSpeakersPaginator.ts +0 -59
  184. package/src/protocols/Aws_json1_0.ts +0 -3488
  185. package/src/runtimeConfig.browser.ts +0 -41
  186. package/src/runtimeConfig.native.ts +0 -17
  187. package/src/runtimeConfig.shared.ts +0 -17
  188. package/src/runtimeConfig.ts +0 -46
  189. package/tsconfig.es.json +0 -10
  190. package/tsconfig.json +0 -33
  191. package/tsconfig.types.json +0 -9
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DeleteSpeakerRequest } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_0DeleteSpeakerCommand,
17
- serializeAws_json1_0DeleteSpeakerCommand,
18
- } from "../protocols/Aws_json1_0";
19
- import { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
20
-
21
- export interface DeleteSpeakerCommandInput extends DeleteSpeakerRequest {}
22
- export interface DeleteSpeakerCommandOutput extends __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes the specified speaker from the Amazon Connect Voice ID system.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { VoiceIDClient, DeleteSpeakerCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
30
- * // const { VoiceIDClient, DeleteSpeakerCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
31
- * const client = new VoiceIDClient(config);
32
- * const command = new DeleteSpeakerCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteSpeakerCommandInput} for command's `input` shape.
37
- * @see {@link DeleteSpeakerCommandOutput} for command's `response` shape.
38
- * @see {@link VoiceIDClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteSpeakerCommand extends $Command<
42
- DeleteSpeakerCommandInput,
43
- DeleteSpeakerCommandOutput,
44
- VoiceIDClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteSpeakerCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: VoiceIDClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DeleteSpeakerCommandInput, DeleteSpeakerCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "VoiceIDClient";
69
- const commandName = "DeleteSpeakerCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteSpeakerRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: (output: any) => output,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DeleteSpeakerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_0DeleteSpeakerCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteSpeakerCommandOutput> {
90
- return deserializeAws_json1_0DeleteSpeakerCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DescribeDomainRequest, DescribeDomainResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_0DescribeDomainCommand,
17
- serializeAws_json1_0DescribeDomainCommand,
18
- } from "../protocols/Aws_json1_0";
19
- import { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
20
-
21
- export interface DescribeDomainCommandInput extends DescribeDomainRequest {}
22
- export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Describes the specified domain.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { VoiceIDClient, DescribeDomainCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
30
- * // const { VoiceIDClient, DescribeDomainCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
31
- * const client = new VoiceIDClient(config);
32
- * const command = new DescribeDomainCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeDomainCommandInput} for command's `input` shape.
37
- * @see {@link DescribeDomainCommandOutput} for command's `response` shape.
38
- * @see {@link VoiceIDClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeDomainCommand extends $Command<
42
- DescribeDomainCommandInput,
43
- DescribeDomainCommandOutput,
44
- VoiceIDClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeDomainCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: VoiceIDClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribeDomainCommandInput, DescribeDomainCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "VoiceIDClient";
69
- const commandName = "DescribeDomainCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeDomainRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeDomainResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DescribeDomainCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_0DescribeDomainCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeDomainCommandOutput> {
90
- return deserializeAws_json1_0DescribeDomainCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DescribeFraudsterRequest, DescribeFraudsterResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_0DescribeFraudsterCommand,
17
- serializeAws_json1_0DescribeFraudsterCommand,
18
- } from "../protocols/Aws_json1_0";
19
- import { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
20
-
21
- export interface DescribeFraudsterCommandInput extends DescribeFraudsterRequest {}
22
- export interface DescribeFraudsterCommandOutput extends DescribeFraudsterResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Describes the specified fraudster.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { VoiceIDClient, DescribeFraudsterCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
30
- * // const { VoiceIDClient, DescribeFraudsterCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
31
- * const client = new VoiceIDClient(config);
32
- * const command = new DescribeFraudsterCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeFraudsterCommandInput} for command's `input` shape.
37
- * @see {@link DescribeFraudsterCommandOutput} for command's `response` shape.
38
- * @see {@link VoiceIDClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeFraudsterCommand extends $Command<
42
- DescribeFraudsterCommandInput,
43
- DescribeFraudsterCommandOutput,
44
- VoiceIDClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeFraudsterCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: VoiceIDClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribeFraudsterCommandInput, DescribeFraudsterCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "VoiceIDClient";
69
- const commandName = "DescribeFraudsterCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeFraudsterRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeFraudsterResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DescribeFraudsterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_0DescribeFraudsterCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeFraudsterCommandOutput> {
90
- return deserializeAws_json1_0DescribeFraudsterCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,103 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DescribeFraudsterRegistrationJobRequest, DescribeFraudsterRegistrationJobResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_0DescribeFraudsterRegistrationJobCommand,
17
- serializeAws_json1_0DescribeFraudsterRegistrationJobCommand,
18
- } from "../protocols/Aws_json1_0";
19
- import { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
20
-
21
- export interface DescribeFraudsterRegistrationJobCommandInput extends DescribeFraudsterRegistrationJobRequest {}
22
- export interface DescribeFraudsterRegistrationJobCommandOutput
23
- extends DescribeFraudsterRegistrationJobResponse,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>Describes the specified fraudster registration job.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { VoiceIDClient, DescribeFraudsterRegistrationJobCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
32
- * // const { VoiceIDClient, DescribeFraudsterRegistrationJobCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
33
- * const client = new VoiceIDClient(config);
34
- * const command = new DescribeFraudsterRegistrationJobCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DescribeFraudsterRegistrationJobCommandInput} for command's `input` shape.
39
- * @see {@link DescribeFraudsterRegistrationJobCommandOutput} for command's `response` shape.
40
- * @see {@link VoiceIDClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DescribeFraudsterRegistrationJobCommand extends $Command<
44
- DescribeFraudsterRegistrationJobCommandInput,
45
- DescribeFraudsterRegistrationJobCommandOutput,
46
- VoiceIDClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DescribeFraudsterRegistrationJobCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: VoiceIDClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DescribeFraudsterRegistrationJobCommandInput, DescribeFraudsterRegistrationJobCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "VoiceIDClient";
71
- const commandName = "DescribeFraudsterRegistrationJobCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DescribeFraudsterRegistrationJobRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: DescribeFraudsterRegistrationJobResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(
88
- input: DescribeFraudsterRegistrationJobCommandInput,
89
- context: __SerdeContext
90
- ): Promise<__HttpRequest> {
91
- return serializeAws_json1_0DescribeFraudsterRegistrationJobCommand(input, context);
92
- }
93
-
94
- private deserialize(
95
- output: __HttpResponse,
96
- context: __SerdeContext
97
- ): Promise<DescribeFraudsterRegistrationJobCommandOutput> {
98
- return deserializeAws_json1_0DescribeFraudsterRegistrationJobCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DescribeSpeakerRequest, DescribeSpeakerResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_0DescribeSpeakerCommand,
17
- serializeAws_json1_0DescribeSpeakerCommand,
18
- } from "../protocols/Aws_json1_0";
19
- import { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
20
-
21
- export interface DescribeSpeakerCommandInput extends DescribeSpeakerRequest {}
22
- export interface DescribeSpeakerCommandOutput extends DescribeSpeakerResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Describes the specified speaker.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { VoiceIDClient, DescribeSpeakerCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
30
- * // const { VoiceIDClient, DescribeSpeakerCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
31
- * const client = new VoiceIDClient(config);
32
- * const command = new DescribeSpeakerCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeSpeakerCommandInput} for command's `input` shape.
37
- * @see {@link DescribeSpeakerCommandOutput} for command's `response` shape.
38
- * @see {@link VoiceIDClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeSpeakerCommand extends $Command<
42
- DescribeSpeakerCommandInput,
43
- DescribeSpeakerCommandOutput,
44
- VoiceIDClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeSpeakerCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: VoiceIDClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribeSpeakerCommandInput, DescribeSpeakerCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "VoiceIDClient";
69
- const commandName = "DescribeSpeakerCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeSpeakerRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeSpeakerResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DescribeSpeakerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_0DescribeSpeakerCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeSpeakerCommandOutput> {
90
- return deserializeAws_json1_0DescribeSpeakerCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,100 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DescribeSpeakerEnrollmentJobRequest, DescribeSpeakerEnrollmentJobResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_0DescribeSpeakerEnrollmentJobCommand,
17
- serializeAws_json1_0DescribeSpeakerEnrollmentJobCommand,
18
- } from "../protocols/Aws_json1_0";
19
- import { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
20
-
21
- export interface DescribeSpeakerEnrollmentJobCommandInput extends DescribeSpeakerEnrollmentJobRequest {}
22
- export interface DescribeSpeakerEnrollmentJobCommandOutput
23
- extends DescribeSpeakerEnrollmentJobResponse,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>Describes the specified speaker enrollment job.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { VoiceIDClient, DescribeSpeakerEnrollmentJobCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
32
- * // const { VoiceIDClient, DescribeSpeakerEnrollmentJobCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
33
- * const client = new VoiceIDClient(config);
34
- * const command = new DescribeSpeakerEnrollmentJobCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DescribeSpeakerEnrollmentJobCommandInput} for command's `input` shape.
39
- * @see {@link DescribeSpeakerEnrollmentJobCommandOutput} for command's `response` shape.
40
- * @see {@link VoiceIDClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DescribeSpeakerEnrollmentJobCommand extends $Command<
44
- DescribeSpeakerEnrollmentJobCommandInput,
45
- DescribeSpeakerEnrollmentJobCommandOutput,
46
- VoiceIDClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DescribeSpeakerEnrollmentJobCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: VoiceIDClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DescribeSpeakerEnrollmentJobCommandInput, DescribeSpeakerEnrollmentJobCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "VoiceIDClient";
71
- const commandName = "DescribeSpeakerEnrollmentJobCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DescribeSpeakerEnrollmentJobRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: DescribeSpeakerEnrollmentJobResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: DescribeSpeakerEnrollmentJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_0DescribeSpeakerEnrollmentJobCommand(input, context);
89
- }
90
-
91
- private deserialize(
92
- output: __HttpResponse,
93
- context: __SerdeContext
94
- ): Promise<DescribeSpeakerEnrollmentJobCommandOutput> {
95
- return deserializeAws_json1_0DescribeSpeakerEnrollmentJobCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { EvaluateSessionRequest, EvaluateSessionResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_0EvaluateSessionCommand,
17
- serializeAws_json1_0EvaluateSessionCommand,
18
- } from "../protocols/Aws_json1_0";
19
- import { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
20
-
21
- export interface EvaluateSessionCommandInput extends EvaluateSessionRequest {}
22
- export interface EvaluateSessionCommandOutput extends EvaluateSessionResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Evaluates a specified session based on audio data accumulated during a streaming Amazon Connect Voice
26
- * ID call.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { VoiceIDClient, EvaluateSessionCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
31
- * // const { VoiceIDClient, EvaluateSessionCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
32
- * const client = new VoiceIDClient(config);
33
- * const command = new EvaluateSessionCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link EvaluateSessionCommandInput} for command's `input` shape.
38
- * @see {@link EvaluateSessionCommandOutput} for command's `response` shape.
39
- * @see {@link VoiceIDClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class EvaluateSessionCommand extends $Command<
43
- EvaluateSessionCommandInput,
44
- EvaluateSessionCommandOutput,
45
- VoiceIDClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: EvaluateSessionCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: VoiceIDClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<EvaluateSessionCommandInput, EvaluateSessionCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "VoiceIDClient";
70
- const commandName = "EvaluateSessionCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: EvaluateSessionRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: EvaluateSessionResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: EvaluateSessionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_0EvaluateSessionCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<EvaluateSessionCommandOutput> {
91
- return deserializeAws_json1_0EvaluateSessionCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }