@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.
- package/CHANGELOG.md +13 -0
- package/dist-cjs/VoiceID.js +0 -1
- package/dist-cjs/VoiceIDClient.js +0 -1
- package/dist-cjs/commands/CreateDomainCommand.js +0 -1
- package/dist-cjs/commands/DeleteDomainCommand.js +0 -1
- package/dist-cjs/commands/DeleteFraudsterCommand.js +0 -1
- package/dist-cjs/commands/DeleteSpeakerCommand.js +0 -1
- package/dist-cjs/commands/DescribeDomainCommand.js +0 -1
- package/dist-cjs/commands/DescribeFraudsterCommand.js +0 -1
- package/dist-cjs/commands/DescribeFraudsterRegistrationJobCommand.js +0 -1
- package/dist-cjs/commands/DescribeSpeakerCommand.js +0 -1
- package/dist-cjs/commands/DescribeSpeakerEnrollmentJobCommand.js +0 -1
- package/dist-cjs/commands/EvaluateSessionCommand.js +0 -1
- package/dist-cjs/commands/ListDomainsCommand.js +0 -1
- package/dist-cjs/commands/ListFraudsterRegistrationJobsCommand.js +0 -1
- package/dist-cjs/commands/ListSpeakerEnrollmentJobsCommand.js +0 -1
- package/dist-cjs/commands/ListSpeakersCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/OptOutSpeakerCommand.js +0 -1
- package/dist-cjs/commands/StartFraudsterRegistrationJobCommand.js +0 -1
- package/dist-cjs/commands/StartSpeakerEnrollmentJobCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateDomainCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListDomainsPaginator.js +0 -1
- package/dist-cjs/pagination/ListFraudsterRegistrationJobsPaginator.js +0 -1
- package/dist-cjs/pagination/ListSpeakerEnrollmentJobsPaginator.js +0 -1
- package/dist-cjs/pagination/ListSpeakersPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_json1_0.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/VoiceID.js +0 -1
- package/dist-es/VoiceIDClient.js +0 -1
- package/dist-es/commands/CreateDomainCommand.js +0 -1
- package/dist-es/commands/DeleteDomainCommand.js +0 -1
- package/dist-es/commands/DeleteFraudsterCommand.js +0 -1
- package/dist-es/commands/DeleteSpeakerCommand.js +0 -1
- package/dist-es/commands/DescribeDomainCommand.js +0 -1
- package/dist-es/commands/DescribeFraudsterCommand.js +0 -1
- package/dist-es/commands/DescribeFraudsterRegistrationJobCommand.js +0 -1
- package/dist-es/commands/DescribeSpeakerCommand.js +0 -1
- package/dist-es/commands/DescribeSpeakerEnrollmentJobCommand.js +0 -1
- package/dist-es/commands/EvaluateSessionCommand.js +0 -1
- package/dist-es/commands/ListDomainsCommand.js +0 -1
- package/dist-es/commands/ListFraudsterRegistrationJobsCommand.js +0 -1
- package/dist-es/commands/ListSpeakerEnrollmentJobsCommand.js +0 -1
- package/dist-es/commands/ListSpeakersCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/OptOutSpeakerCommand.js +0 -1
- package/dist-es/commands/StartFraudsterRegistrationJobCommand.js +0 -1
- package/dist-es/commands/StartSpeakerEnrollmentJobCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateDomainCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListDomainsPaginator.js +0 -1
- package/dist-es/pagination/ListFraudsterRegistrationJobsPaginator.js +0 -1
- package/dist-es/pagination/ListSpeakerEnrollmentJobsPaginator.js +0 -1
- package/dist-es/pagination/ListSpeakersPaginator.js +0 -1
- package/dist-es/protocols/Aws_json1_0.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- package/dist-cjs/VoiceID.js.map +0 -1
- package/dist-cjs/VoiceIDClient.js.map +0 -1
- package/dist-cjs/commands/CreateDomainCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDomainCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFraudsterCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSpeakerCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDomainCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFraudsterCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFraudsterRegistrationJobCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeSpeakerCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeSpeakerEnrollmentJobCommand.js.map +0 -1
- package/dist-cjs/commands/EvaluateSessionCommand.js.map +0 -1
- package/dist-cjs/commands/ListDomainsCommand.js.map +0 -1
- package/dist-cjs/commands/ListFraudsterRegistrationJobsCommand.js.map +0 -1
- package/dist-cjs/commands/ListSpeakerEnrollmentJobsCommand.js.map +0 -1
- package/dist-cjs/commands/ListSpeakersCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/OptOutSpeakerCommand.js.map +0 -1
- package/dist-cjs/commands/StartFraudsterRegistrationJobCommand.js.map +0 -1
- package/dist-cjs/commands/StartSpeakerEnrollmentJobCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDomainCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListDomainsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListFraudsterRegistrationJobsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListSpeakerEnrollmentJobsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListSpeakersPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_0.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/VoiceID.js.map +0 -1
- package/dist-es/VoiceIDClient.js.map +0 -1
- package/dist-es/commands/CreateDomainCommand.js.map +0 -1
- package/dist-es/commands/DeleteDomainCommand.js.map +0 -1
- package/dist-es/commands/DeleteFraudsterCommand.js.map +0 -1
- package/dist-es/commands/DeleteSpeakerCommand.js.map +0 -1
- package/dist-es/commands/DescribeDomainCommand.js.map +0 -1
- package/dist-es/commands/DescribeFraudsterCommand.js.map +0 -1
- package/dist-es/commands/DescribeFraudsterRegistrationJobCommand.js.map +0 -1
- package/dist-es/commands/DescribeSpeakerCommand.js.map +0 -1
- package/dist-es/commands/DescribeSpeakerEnrollmentJobCommand.js.map +0 -1
- package/dist-es/commands/EvaluateSessionCommand.js.map +0 -1
- package/dist-es/commands/ListDomainsCommand.js.map +0 -1
- package/dist-es/commands/ListFraudsterRegistrationJobsCommand.js.map +0 -1
- package/dist-es/commands/ListSpeakerEnrollmentJobsCommand.js.map +0 -1
- package/dist-es/commands/ListSpeakersCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/OptOutSpeakerCommand.js.map +0 -1
- package/dist-es/commands/StartFraudsterRegistrationJobCommand.js.map +0 -1
- package/dist-es/commands/StartSpeakerEnrollmentJobCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateDomainCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListDomainsPaginator.js.map +0 -1
- package/dist-es/pagination/ListFraudsterRegistrationJobsPaginator.js.map +0 -1
- package/dist-es/pagination/ListSpeakerEnrollmentJobsPaginator.js.map +0 -1
- package/dist-es/pagination/ListSpeakersPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_0.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/VoiceID.ts +0 -769
- package/src/VoiceIDClient.ts +0 -322
- package/src/commands/CreateDomainCommand.ts +0 -97
- package/src/commands/DeleteDomainCommand.ts +0 -95
- package/src/commands/DeleteFraudsterCommand.ts +0 -95
- package/src/commands/DeleteSpeakerCommand.ts +0 -95
- package/src/commands/DescribeDomainCommand.ts +0 -95
- package/src/commands/DescribeFraudsterCommand.ts +0 -95
- package/src/commands/DescribeFraudsterRegistrationJobCommand.ts +0 -103
- package/src/commands/DescribeSpeakerCommand.ts +0 -95
- package/src/commands/DescribeSpeakerEnrollmentJobCommand.ts +0 -100
- package/src/commands/EvaluateSessionCommand.ts +0 -96
- package/src/commands/ListDomainsCommand.ts +0 -96
- package/src/commands/ListFraudsterRegistrationJobsCommand.ts +0 -103
- package/src/commands/ListSpeakerEnrollmentJobsCommand.ts +0 -100
- package/src/commands/ListSpeakersCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/OptOutSpeakerCommand.ts +0 -99
- package/src/commands/StartFraudsterRegistrationJobCommand.ts +0 -100
- package/src/commands/StartSpeakerEnrollmentJobCommand.ts +0 -98
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateDomainCommand.ts +0 -96
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -29
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2153
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListDomainsPaginator.ts +0 -55
- package/src/pagination/ListFraudsterRegistrationJobsPaginator.ts +0 -59
- package/src/pagination/ListSpeakerEnrollmentJobsPaginator.ts +0 -59
- package/src/pagination/ListSpeakersPaginator.ts +0 -59
- package/src/protocols/Aws_json1_0.ts +0 -3488
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- 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
|
-
}
|