@aws-sdk/client-voice-id 3.35.0 → 3.38.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 +47 -0
- package/dist-cjs/VoiceID.js +0 -6
- package/dist-cjs/VoiceIDClient.js +0 -11
- package/dist-cjs/commands/CreateDomainCommand.js +0 -27
- package/dist-cjs/commands/DeleteDomainCommand.js +0 -25
- package/dist-cjs/commands/DeleteFraudsterCommand.js +0 -25
- package/dist-cjs/commands/DeleteSpeakerCommand.js +0 -25
- package/dist-cjs/commands/DescribeDomainCommand.js +0 -25
- package/dist-cjs/commands/DescribeFraudsterCommand.js +0 -25
- package/dist-cjs/commands/DescribeFraudsterRegistrationJobCommand.js +0 -25
- package/dist-cjs/commands/DescribeSpeakerCommand.js +0 -25
- package/dist-cjs/commands/DescribeSpeakerEnrollmentJobCommand.js +0 -25
- package/dist-cjs/commands/EvaluateSessionCommand.js +0 -26
- package/dist-cjs/commands/ListDomainsCommand.js +0 -26
- package/dist-cjs/commands/ListFraudsterRegistrationJobsCommand.js +0 -28
- package/dist-cjs/commands/ListSpeakerEnrollmentJobsCommand.js +0 -27
- package/dist-cjs/commands/ListSpeakersCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/OptOutSpeakerCommand.js +0 -29
- package/dist-cjs/commands/StartFraudsterRegistrationJobCommand.js +0 -25
- package/dist-cjs/commands/StartSpeakerEnrollmentJobCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateDomainCommand.js +0 -26
- package/dist-cjs/commands/index.js +24 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -29
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -211
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListDomainsPaginator.js +0 -11
- package/dist-cjs/pagination/ListFraudsterRegistrationJobsPaginator.js +0 -11
- package/dist-cjs/pagination/ListSpeakerEnrollmentJobsPaginator.js +0 -11
- package/dist-cjs/pagination/ListSpeakersPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_json1_0.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- 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/commands/index.js +21 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -29
- 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/pagination/index.js +5 -0
- 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/dist-types/commands/index.d.ts +21 -0
- package/dist-types/index.d.ts +4 -28
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/VoiceID.d.ts +22 -82
- package/dist-types/ts3.4/VoiceIDClient.d.ts +24 -91
- package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteFraudsterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteSpeakerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeFraudsterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeFraudsterRegistrationJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeSpeakerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeSpeakerEnrollmentJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/EvaluateSessionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListFraudsterRegistrationJobsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListSpeakerEnrollmentJobsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListSpeakersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/OptOutSpeakerCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/StartFraudsterRegistrationJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartSpeakerEnrollmentJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateDomainCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/index.d.ts +21 -0
- package/dist-types/ts3.4/index.d.ts +4 -28
- package/dist-types/ts3.4/models/models_0.d.ts +293 -1041
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- 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,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 { StartFraudsterRegistrationJobRequest, StartFraudsterRegistrationJobResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_0StartFraudsterRegistrationJobCommand,
|
|
17
|
-
serializeAws_json1_0StartFraudsterRegistrationJobCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_0";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
|
|
20
|
-
|
|
21
|
-
export interface StartFraudsterRegistrationJobCommandInput extends StartFraudsterRegistrationJobRequest {}
|
|
22
|
-
export interface StartFraudsterRegistrationJobCommandOutput
|
|
23
|
-
extends StartFraudsterRegistrationJobResponse,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Starts a new batch fraudster registration job using provided details.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { VoiceIDClient, StartFraudsterRegistrationJobCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
|
|
32
|
-
* // const { VoiceIDClient, StartFraudsterRegistrationJobCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
|
|
33
|
-
* const client = new VoiceIDClient(config);
|
|
34
|
-
* const command = new StartFraudsterRegistrationJobCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link StartFraudsterRegistrationJobCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link StartFraudsterRegistrationJobCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link VoiceIDClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class StartFraudsterRegistrationJobCommand extends $Command<
|
|
44
|
-
StartFraudsterRegistrationJobCommandInput,
|
|
45
|
-
StartFraudsterRegistrationJobCommandOutput,
|
|
46
|
-
VoiceIDClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: StartFraudsterRegistrationJobCommandInput) {
|
|
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<StartFraudsterRegistrationJobCommandInput, StartFraudsterRegistrationJobCommandOutput> {
|
|
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 = "StartFraudsterRegistrationJobCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: StartFraudsterRegistrationJobRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: StartFraudsterRegistrationJobResponse.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: StartFraudsterRegistrationJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_0StartFraudsterRegistrationJobCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(
|
|
92
|
-
output: __HttpResponse,
|
|
93
|
-
context: __SerdeContext
|
|
94
|
-
): Promise<StartFraudsterRegistrationJobCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_0StartFraudsterRegistrationJobCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,98 +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 { StartSpeakerEnrollmentJobRequest, StartSpeakerEnrollmentJobResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_0StartSpeakerEnrollmentJobCommand,
|
|
17
|
-
serializeAws_json1_0StartSpeakerEnrollmentJobCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_0";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
|
|
20
|
-
|
|
21
|
-
export interface StartSpeakerEnrollmentJobCommandInput extends StartSpeakerEnrollmentJobRequest {}
|
|
22
|
-
export interface StartSpeakerEnrollmentJobCommandOutput extends StartSpeakerEnrollmentJobResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Starts a new batch speaker enrollment job using specified details.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { VoiceIDClient, StartSpeakerEnrollmentJobCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
|
|
30
|
-
* // const { VoiceIDClient, StartSpeakerEnrollmentJobCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
|
|
31
|
-
* const client = new VoiceIDClient(config);
|
|
32
|
-
* const command = new StartSpeakerEnrollmentJobCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link StartSpeakerEnrollmentJobCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link StartSpeakerEnrollmentJobCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link VoiceIDClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class StartSpeakerEnrollmentJobCommand extends $Command<
|
|
42
|
-
StartSpeakerEnrollmentJobCommandInput,
|
|
43
|
-
StartSpeakerEnrollmentJobCommandOutput,
|
|
44
|
-
VoiceIDClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: StartSpeakerEnrollmentJobCommandInput) {
|
|
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<StartSpeakerEnrollmentJobCommandInput, StartSpeakerEnrollmentJobCommandOutput> {
|
|
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 = "StartSpeakerEnrollmentJobCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: StartSpeakerEnrollmentJobRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: StartSpeakerEnrollmentJobResponse.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: StartSpeakerEnrollmentJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_0StartSpeakerEnrollmentJobCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(
|
|
90
|
-
output: __HttpResponse,
|
|
91
|
-
context: __SerdeContext
|
|
92
|
-
): Promise<StartSpeakerEnrollmentJobCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_0StartSpeakerEnrollmentJobCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_0TagResourceCommand,
|
|
17
|
-
serializeAws_json1_0TagResourceCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_0";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
|
|
20
|
-
|
|
21
|
-
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
22
|
-
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Tags an Amazon Connect Voice ID resource with the provided list of tags.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { VoiceIDClient, TagResourceCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
|
|
30
|
-
* // const { VoiceIDClient, TagResourceCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
|
|
31
|
-
* const client = new VoiceIDClient(config);
|
|
32
|
-
* const command = new TagResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link VoiceIDClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class TagResourceCommand extends $Command<
|
|
42
|
-
TagResourceCommandInput,
|
|
43
|
-
TagResourceCommandOutput,
|
|
44
|
-
VoiceIDClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: TagResourceCommandInput) {
|
|
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<TagResourceCommandInput, TagResourceCommandOutput> {
|
|
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 = "TagResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: TagResourceResponse.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: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_0TagResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_0TagResourceCommand(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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_0UntagResourceCommand,
|
|
17
|
-
serializeAws_json1_0UntagResourceCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_0";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
|
|
20
|
-
|
|
21
|
-
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
22
|
-
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Removes specified tags from a specified Amazon Connect Voice ID resource.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { VoiceIDClient, UntagResourceCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
|
|
30
|
-
* // const { VoiceIDClient, UntagResourceCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
|
|
31
|
-
* const client = new VoiceIDClient(config);
|
|
32
|
-
* const command = new UntagResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link VoiceIDClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UntagResourceCommand extends $Command<
|
|
42
|
-
UntagResourceCommandInput,
|
|
43
|
-
UntagResourceCommandOutput,
|
|
44
|
-
VoiceIDClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UntagResourceCommandInput) {
|
|
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<UntagResourceCommandInput, UntagResourceCommandOutput> {
|
|
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 = "UntagResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UntagResourceResponse.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: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_0UntagResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_0UntagResourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -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 { UpdateDomainRequest, UpdateDomainResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_0UpdateDomainCommand,
|
|
17
|
-
serializeAws_json1_0UpdateDomainCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_0";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
|
|
20
|
-
|
|
21
|
-
export interface UpdateDomainCommandInput extends UpdateDomainRequest {}
|
|
22
|
-
export interface UpdateDomainCommandOutput extends UpdateDomainResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates the specified domain. This API has clobber behavior, and clears and replaces all attributes.
|
|
26
|
-
* If an optional field, such as 'Description' is not provided, it is removed from the domain.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { VoiceIDClient, UpdateDomainCommand } from "@aws-sdk/client-voice-id"; // ES Modules import
|
|
31
|
-
* // const { VoiceIDClient, UpdateDomainCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import
|
|
32
|
-
* const client = new VoiceIDClient(config);
|
|
33
|
-
* const command = new UpdateDomainCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link UpdateDomainCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link UpdateDomainCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link VoiceIDClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class UpdateDomainCommand extends $Command<
|
|
43
|
-
UpdateDomainCommandInput,
|
|
44
|
-
UpdateDomainCommandOutput,
|
|
45
|
-
VoiceIDClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: UpdateDomainCommandInput) {
|
|
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<UpdateDomainCommandInput, UpdateDomainCommandOutput> {
|
|
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 = "UpdateDomainCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: UpdateDomainRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: UpdateDomainResponse.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: UpdateDomainCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_0UpdateDomainCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateDomainCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_0UpdateDomainCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
package/src/endpoints.ts
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
|
|
2
|
-
import { RegionInfoProvider } from "@aws-sdk/types";
|
|
3
|
-
|
|
4
|
-
const regionHash: RegionHash = {};
|
|
5
|
-
|
|
6
|
-
const partitionHash: PartitionHash = {
|
|
7
|
-
aws: {
|
|
8
|
-
regions: [
|
|
9
|
-
"af-south-1",
|
|
10
|
-
"ap-east-1",
|
|
11
|
-
"ap-northeast-1",
|
|
12
|
-
"ap-northeast-2",
|
|
13
|
-
"ap-northeast-3",
|
|
14
|
-
"ap-south-1",
|
|
15
|
-
"ap-southeast-1",
|
|
16
|
-
"ap-southeast-2",
|
|
17
|
-
"ca-central-1",
|
|
18
|
-
"eu-central-1",
|
|
19
|
-
"eu-north-1",
|
|
20
|
-
"eu-south-1",
|
|
21
|
-
"eu-west-1",
|
|
22
|
-
"eu-west-2",
|
|
23
|
-
"eu-west-3",
|
|
24
|
-
"me-south-1",
|
|
25
|
-
"sa-east-1",
|
|
26
|
-
"us-east-1",
|
|
27
|
-
"us-east-2",
|
|
28
|
-
"us-west-1",
|
|
29
|
-
"us-west-2",
|
|
30
|
-
],
|
|
31
|
-
hostname: "voiceid.{region}.amazonaws.com",
|
|
32
|
-
},
|
|
33
|
-
"aws-cn": {
|
|
34
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
35
|
-
hostname: "voiceid.{region}.amazonaws.com.cn",
|
|
36
|
-
},
|
|
37
|
-
"aws-iso": {
|
|
38
|
-
regions: ["us-iso-east-1"],
|
|
39
|
-
hostname: "voiceid.{region}.c2s.ic.gov",
|
|
40
|
-
},
|
|
41
|
-
"aws-iso-b": {
|
|
42
|
-
regions: ["us-isob-east-1"],
|
|
43
|
-
hostname: "voiceid.{region}.sc2s.sgov.gov",
|
|
44
|
-
},
|
|
45
|
-
"aws-us-gov": {
|
|
46
|
-
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
47
|
-
hostname: "voiceid.{region}.amazonaws.com",
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
|
|
52
|
-
getRegionInfo(region, {
|
|
53
|
-
...options,
|
|
54
|
-
signingService: "voiceid",
|
|
55
|
-
regionHash,
|
|
56
|
-
partitionHash,
|
|
57
|
-
});
|
package/src/index.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export * from "./VoiceIDClient";
|
|
2
|
-
export * from "./VoiceID";
|
|
3
|
-
export * from "./commands/CreateDomainCommand";
|
|
4
|
-
export * from "./commands/DeleteDomainCommand";
|
|
5
|
-
export * from "./commands/DeleteFraudsterCommand";
|
|
6
|
-
export * from "./commands/DeleteSpeakerCommand";
|
|
7
|
-
export * from "./commands/DescribeDomainCommand";
|
|
8
|
-
export * from "./commands/DescribeFraudsterCommand";
|
|
9
|
-
export * from "./commands/DescribeFraudsterRegistrationJobCommand";
|
|
10
|
-
export * from "./commands/DescribeSpeakerCommand";
|
|
11
|
-
export * from "./commands/DescribeSpeakerEnrollmentJobCommand";
|
|
12
|
-
export * from "./commands/EvaluateSessionCommand";
|
|
13
|
-
export * from "./commands/ListDomainsCommand";
|
|
14
|
-
export * from "./pagination/ListDomainsPaginator";
|
|
15
|
-
export * from "./commands/ListFraudsterRegistrationJobsCommand";
|
|
16
|
-
export * from "./pagination/ListFraudsterRegistrationJobsPaginator";
|
|
17
|
-
export * from "./commands/ListSpeakerEnrollmentJobsCommand";
|
|
18
|
-
export * from "./pagination/ListSpeakerEnrollmentJobsPaginator";
|
|
19
|
-
export * from "./commands/ListSpeakersCommand";
|
|
20
|
-
export * from "./pagination/ListSpeakersPaginator";
|
|
21
|
-
export * from "./commands/ListTagsForResourceCommand";
|
|
22
|
-
export * from "./commands/OptOutSpeakerCommand";
|
|
23
|
-
export * from "./commands/StartFraudsterRegistrationJobCommand";
|
|
24
|
-
export * from "./commands/StartSpeakerEnrollmentJobCommand";
|
|
25
|
-
export * from "./commands/TagResourceCommand";
|
|
26
|
-
export * from "./commands/UntagResourceCommand";
|
|
27
|
-
export * from "./commands/UpdateDomainCommand";
|
|
28
|
-
export * from "./pagination/Interfaces";
|
|
29
|
-
export * from "./models/index";
|
package/src/models/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|