@aws-sdk/client-voice-id 3.299.0 → 3.301.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/README.md +73 -9
- package/dist-cjs/VoiceID.js +120 -0
- package/dist-cjs/commands/AssociateFraudsterCommand.js +46 -0
- package/dist-cjs/commands/CreateWatchlistCommand.js +46 -0
- package/dist-cjs/commands/DeleteWatchlistCommand.js +45 -0
- package/dist-cjs/commands/DescribeWatchlistCommand.js +46 -0
- package/dist-cjs/commands/DisassociateFraudsterCommand.js +46 -0
- package/dist-cjs/commands/ListFraudstersCommand.js +45 -0
- package/dist-cjs/commands/ListWatchlistsCommand.js +46 -0
- package/dist-cjs/commands/UpdateWatchlistCommand.js +46 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +83 -24
- package/dist-cjs/pagination/ListFraudstersPaginator.js +29 -0
- package/dist-cjs/pagination/ListWatchlistsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_0.js +722 -29
- package/dist-es/VoiceID.js +120 -0
- package/dist-es/commands/AssociateFraudsterCommand.js +42 -0
- package/dist-es/commands/CreateWatchlistCommand.js +42 -0
- package/dist-es/commands/DeleteWatchlistCommand.js +41 -0
- package/dist-es/commands/DescribeWatchlistCommand.js +42 -0
- package/dist-es/commands/DisassociateFraudsterCommand.js +42 -0
- package/dist-es/commands/ListFraudstersCommand.js +41 -0
- package/dist-es/commands/ListWatchlistsCommand.js +42 -0
- package/dist-es/commands/UpdateWatchlistCommand.js +42 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +71 -22
- package/dist-es/pagination/ListFraudstersPaginator.js +25 -0
- package/dist-es/pagination/ListWatchlistsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_0.js +707 -31
- package/dist-types/VoiceID.d.ts +74 -4
- package/dist-types/VoiceIDClient.d.ts +12 -4
- package/dist-types/commands/AssociateFraudsterCommand.d.ts +93 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +15 -1
- package/dist-types/commands/CreateWatchlistCommand.d.ts +94 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +3 -0
- package/dist-types/commands/DeleteFraudsterCommand.d.ts +5 -1
- package/dist-types/commands/DeleteSpeakerCommand.d.ts +4 -0
- package/dist-types/commands/DeleteWatchlistCommand.d.ts +91 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +3 -0
- package/dist-types/commands/DescribeFraudsterCommand.d.ts +4 -0
- package/dist-types/commands/DescribeFraudsterRegistrationJobCommand.d.ts +4 -0
- package/dist-types/commands/DescribeSpeakerCommand.d.ts +4 -0
- package/dist-types/commands/DescribeSpeakerEnrollmentJobCommand.d.ts +4 -0
- package/dist-types/commands/DescribeWatchlistCommand.d.ts +85 -0
- package/dist-types/commands/DisassociateFraudsterCommand.d.ts +93 -0
- package/dist-types/commands/EvaluateSessionCommand.d.ts +4 -0
- package/dist-types/commands/ListDomainsCommand.d.ts +4 -0
- package/dist-types/commands/ListFraudsterRegistrationJobsCommand.d.ts +6 -0
- package/dist-types/commands/ListFraudstersCommand.d.ts +87 -0
- package/dist-types/commands/ListSpeakerEnrollmentJobsCommand.d.ts +6 -0
- package/dist-types/commands/ListSpeakersCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListWatchlistsCommand.d.ts +86 -0
- package/dist-types/commands/OptOutSpeakerCommand.d.ts +4 -0
- package/dist-types/commands/StartFraudsterRegistrationJobCommand.d.ts +20 -0
- package/dist-types/commands/StartSpeakerEnrollmentJobCommand.d.ts +23 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDomainCommand.d.ts +8 -0
- package/dist-types/commands/UpdateWatchlistCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +621 -214
- package/dist-types/pagination/ListFraudstersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWatchlistsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +24 -0
- package/dist-types/ts3.4/VoiceID.d.ts +136 -0
- package/dist-types/ts3.4/VoiceIDClient.d.ts +50 -2
- package/dist-types/ts3.4/commands/AssociateFraudsterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateWatchlistCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteWatchlistCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/DescribeWatchlistCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DisassociateFraudsterCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListFraudstersCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListWatchlistsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateWatchlistCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +197 -69
- package/dist-types/ts3.4/pagination/ListFraudstersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWatchlistsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +96 -0
- package/package.json +8 -8
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
DisassociateFraudsterRequest,
|
|
11
|
+
DisassociateFraudsterResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
ServiceInputTypes,
|
|
15
|
+
ServiceOutputTypes,
|
|
16
|
+
VoiceIDClientResolvedConfig,
|
|
17
|
+
} from "../VoiceIDClient";
|
|
18
|
+
export interface DisassociateFraudsterCommandInput
|
|
19
|
+
extends DisassociateFraudsterRequest {}
|
|
20
|
+
export interface DisassociateFraudsterCommandOutput
|
|
21
|
+
extends DisassociateFraudsterResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class DisassociateFraudsterCommand extends $Command<
|
|
24
|
+
DisassociateFraudsterCommandInput,
|
|
25
|
+
DisassociateFraudsterCommandOutput,
|
|
26
|
+
VoiceIDClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: DisassociateFraudsterCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: DisassociateFraudsterCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: VoiceIDClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
DisassociateFraudsterCommandInput,
|
|
37
|
+
DisassociateFraudsterCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ListFraudstersRequest,
|
|
11
|
+
ListFraudstersResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
ServiceInputTypes,
|
|
15
|
+
ServiceOutputTypes,
|
|
16
|
+
VoiceIDClientResolvedConfig,
|
|
17
|
+
} from "../VoiceIDClient";
|
|
18
|
+
export interface ListFraudstersCommandInput extends ListFraudstersRequest {}
|
|
19
|
+
export interface ListFraudstersCommandOutput
|
|
20
|
+
extends ListFraudstersResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class ListFraudstersCommand extends $Command<
|
|
23
|
+
ListFraudstersCommandInput,
|
|
24
|
+
ListFraudstersCommandOutput,
|
|
25
|
+
VoiceIDClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: ListFraudstersCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
|
+
constructor(input: ListFraudstersCommandInput);
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: VoiceIDClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<ListFraudstersCommandInput, ListFraudstersCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ListWatchlistsRequest,
|
|
11
|
+
ListWatchlistsResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
ServiceInputTypes,
|
|
15
|
+
ServiceOutputTypes,
|
|
16
|
+
VoiceIDClientResolvedConfig,
|
|
17
|
+
} from "../VoiceIDClient";
|
|
18
|
+
export interface ListWatchlistsCommandInput extends ListWatchlistsRequest {}
|
|
19
|
+
export interface ListWatchlistsCommandOutput
|
|
20
|
+
extends ListWatchlistsResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class ListWatchlistsCommand extends $Command<
|
|
23
|
+
ListWatchlistsCommandInput,
|
|
24
|
+
ListWatchlistsCommandOutput,
|
|
25
|
+
VoiceIDClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: ListWatchlistsCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
|
+
constructor(input: ListWatchlistsCommandInput);
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: VoiceIDClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<ListWatchlistsCommandInput, ListWatchlistsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
UpdateWatchlistRequest,
|
|
11
|
+
UpdateWatchlistResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
ServiceInputTypes,
|
|
15
|
+
ServiceOutputTypes,
|
|
16
|
+
VoiceIDClientResolvedConfig,
|
|
17
|
+
} from "../VoiceIDClient";
|
|
18
|
+
export interface UpdateWatchlistCommandInput extends UpdateWatchlistRequest {}
|
|
19
|
+
export interface UpdateWatchlistCommandOutput
|
|
20
|
+
extends UpdateWatchlistResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class UpdateWatchlistCommand extends $Command<
|
|
23
|
+
UpdateWatchlistCommandInput,
|
|
24
|
+
UpdateWatchlistCommandOutput,
|
|
25
|
+
VoiceIDClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: UpdateWatchlistCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
|
+
constructor(input: UpdateWatchlistCommandInput);
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: VoiceIDClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<UpdateWatchlistCommandInput, UpdateWatchlistCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -1,21 +1,29 @@
|
|
|
1
|
+
export * from "./AssociateFraudsterCommand";
|
|
1
2
|
export * from "./CreateDomainCommand";
|
|
3
|
+
export * from "./CreateWatchlistCommand";
|
|
2
4
|
export * from "./DeleteDomainCommand";
|
|
3
5
|
export * from "./DeleteFraudsterCommand";
|
|
4
6
|
export * from "./DeleteSpeakerCommand";
|
|
7
|
+
export * from "./DeleteWatchlistCommand";
|
|
5
8
|
export * from "./DescribeDomainCommand";
|
|
6
9
|
export * from "./DescribeFraudsterCommand";
|
|
7
10
|
export * from "./DescribeFraudsterRegistrationJobCommand";
|
|
8
11
|
export * from "./DescribeSpeakerCommand";
|
|
9
12
|
export * from "./DescribeSpeakerEnrollmentJobCommand";
|
|
13
|
+
export * from "./DescribeWatchlistCommand";
|
|
14
|
+
export * from "./DisassociateFraudsterCommand";
|
|
10
15
|
export * from "./EvaluateSessionCommand";
|
|
11
16
|
export * from "./ListDomainsCommand";
|
|
12
17
|
export * from "./ListFraudsterRegistrationJobsCommand";
|
|
18
|
+
export * from "./ListFraudstersCommand";
|
|
13
19
|
export * from "./ListSpeakerEnrollmentJobsCommand";
|
|
14
20
|
export * from "./ListSpeakersCommand";
|
|
15
21
|
export * from "./ListTagsForResourceCommand";
|
|
22
|
+
export * from "./ListWatchlistsCommand";
|
|
16
23
|
export * from "./OptOutSpeakerCommand";
|
|
17
24
|
export * from "./StartFraudsterRegistrationJobCommand";
|
|
18
25
|
export * from "./StartSpeakerEnrollmentJobCommand";
|
|
19
26
|
export * from "./TagResourceCommand";
|
|
20
27
|
export * from "./UntagResourceCommand";
|
|
21
28
|
export * from "./UpdateDomainCommand";
|
|
29
|
+
export * from "./UpdateWatchlistCommand";
|
|
@@ -8,6 +8,89 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
8
8
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
+
export interface AssociateFraudsterRequest {
|
|
12
|
+
DomainId: string | undefined;
|
|
13
|
+
WatchlistId: string | undefined;
|
|
14
|
+
FraudsterId: string | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface Fraudster {
|
|
17
|
+
DomainId?: string;
|
|
18
|
+
GeneratedFraudsterId?: string;
|
|
19
|
+
CreatedAt?: Date;
|
|
20
|
+
WatchlistIds?: string[];
|
|
21
|
+
}
|
|
22
|
+
export interface AssociateFraudsterResponse {
|
|
23
|
+
Fraudster?: Fraudster;
|
|
24
|
+
}
|
|
25
|
+
export declare enum ConflictType {
|
|
26
|
+
ANOTHER_ACTIVE_STREAM = "ANOTHER_ACTIVE_STREAM",
|
|
27
|
+
CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT = "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT",
|
|
28
|
+
CANNOT_DELETE_NON_EMPTY_WATCHLIST = "CANNOT_DELETE_NON_EMPTY_WATCHLIST",
|
|
29
|
+
CONCURRENT_CHANGES = "CONCURRENT_CHANGES",
|
|
30
|
+
DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES = "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES",
|
|
31
|
+
DOMAIN_NOT_ACTIVE = "DOMAIN_NOT_ACTIVE",
|
|
32
|
+
ENROLLMENT_ALREADY_EXISTS = "ENROLLMENT_ALREADY_EXISTS",
|
|
33
|
+
FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST = "FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST",
|
|
34
|
+
SPEAKER_NOT_SET = "SPEAKER_NOT_SET",
|
|
35
|
+
SPEAKER_OPTED_OUT = "SPEAKER_OPTED_OUT",
|
|
36
|
+
}
|
|
37
|
+
export declare class ConflictException extends __BaseException {
|
|
38
|
+
readonly name: "ConflictException";
|
|
39
|
+
readonly $fault: "client";
|
|
40
|
+
Message?: string;
|
|
41
|
+
ConflictType?: ConflictType | string;
|
|
42
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
43
|
+
}
|
|
44
|
+
export declare class InternalServerException extends __BaseException {
|
|
45
|
+
readonly name: "InternalServerException";
|
|
46
|
+
readonly $fault: "server";
|
|
47
|
+
Message?: string;
|
|
48
|
+
constructor(
|
|
49
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export declare enum ResourceType {
|
|
53
|
+
BATCH_JOB = "BATCH_JOB",
|
|
54
|
+
COMPLIANCE_CONSENT = "COMPLIANCE_CONSENT",
|
|
55
|
+
DOMAIN = "DOMAIN",
|
|
56
|
+
FRAUDSTER = "FRAUDSTER",
|
|
57
|
+
SESSION = "SESSION",
|
|
58
|
+
SPEAKER = "SPEAKER",
|
|
59
|
+
WATCHLIST = "WATCHLIST",
|
|
60
|
+
}
|
|
61
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
62
|
+
readonly name: "ResourceNotFoundException";
|
|
63
|
+
readonly $fault: "client";
|
|
64
|
+
Message?: string;
|
|
65
|
+
ResourceType?: ResourceType | string;
|
|
66
|
+
constructor(
|
|
67
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
71
|
+
readonly name: "ServiceQuotaExceededException";
|
|
72
|
+
readonly $fault: "client";
|
|
73
|
+
Message?: string;
|
|
74
|
+
constructor(
|
|
75
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
export declare class ThrottlingException extends __BaseException {
|
|
79
|
+
readonly name: "ThrottlingException";
|
|
80
|
+
readonly $fault: "client";
|
|
81
|
+
Message?: string;
|
|
82
|
+
constructor(
|
|
83
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
export declare class ValidationException extends __BaseException {
|
|
87
|
+
readonly name: "ValidationException";
|
|
88
|
+
readonly $fault: "client";
|
|
89
|
+
Message?: string;
|
|
90
|
+
constructor(
|
|
91
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
92
|
+
);
|
|
93
|
+
}
|
|
11
94
|
export interface AuthenticationConfiguration {
|
|
12
95
|
AcceptanceThreshold: number | undefined;
|
|
13
96
|
}
|
|
@@ -30,23 +113,6 @@ export interface AuthenticationResult {
|
|
|
30
113
|
Score?: number;
|
|
31
114
|
Configuration?: AuthenticationConfiguration;
|
|
32
115
|
}
|
|
33
|
-
export declare enum ConflictType {
|
|
34
|
-
ANOTHER_ACTIVE_STREAM = "ANOTHER_ACTIVE_STREAM",
|
|
35
|
-
CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT = "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT",
|
|
36
|
-
CONCURRENT_CHANGES = "CONCURRENT_CHANGES",
|
|
37
|
-
DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES = "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES",
|
|
38
|
-
DOMAIN_NOT_ACTIVE = "DOMAIN_NOT_ACTIVE",
|
|
39
|
-
ENROLLMENT_ALREADY_EXISTS = "ENROLLMENT_ALREADY_EXISTS",
|
|
40
|
-
SPEAKER_NOT_SET = "SPEAKER_NOT_SET",
|
|
41
|
-
SPEAKER_OPTED_OUT = "SPEAKER_OPTED_OUT",
|
|
42
|
-
}
|
|
43
|
-
export declare class ConflictException extends __BaseException {
|
|
44
|
-
readonly name: "ConflictException";
|
|
45
|
-
readonly $fault: "client";
|
|
46
|
-
Message?: string;
|
|
47
|
-
ConflictType?: ConflictType | string;
|
|
48
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
49
|
-
}
|
|
50
116
|
export interface ServerSideEncryptionConfiguration {
|
|
51
117
|
KmsKeyId: string | undefined;
|
|
52
118
|
}
|
|
@@ -78,6 +144,9 @@ export interface ServerSideEncryptionUpdateDetails {
|
|
|
78
144
|
UpdateStatus?: ServerSideEncryptionUpdateStatus | string;
|
|
79
145
|
Message?: string;
|
|
80
146
|
}
|
|
147
|
+
export interface WatchlistDetails {
|
|
148
|
+
DefaultWatchlistId: string | undefined;
|
|
149
|
+
}
|
|
81
150
|
export interface Domain {
|
|
82
151
|
DomainId?: string;
|
|
83
152
|
Arn?: string;
|
|
@@ -88,58 +157,28 @@ export interface Domain {
|
|
|
88
157
|
CreatedAt?: Date;
|
|
89
158
|
UpdatedAt?: Date;
|
|
90
159
|
ServerSideEncryptionUpdateDetails?: ServerSideEncryptionUpdateDetails;
|
|
160
|
+
WatchlistDetails?: WatchlistDetails;
|
|
91
161
|
}
|
|
92
162
|
export interface CreateDomainResponse {
|
|
93
163
|
Domain?: Domain;
|
|
94
164
|
}
|
|
95
|
-
export
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
export declare enum ResourceType {
|
|
104
|
-
BATCH_JOB = "BATCH_JOB",
|
|
105
|
-
COMPLIANCE_CONSENT = "COMPLIANCE_CONSENT",
|
|
106
|
-
DOMAIN = "DOMAIN",
|
|
107
|
-
FRAUDSTER = "FRAUDSTER",
|
|
108
|
-
SESSION = "SESSION",
|
|
109
|
-
SPEAKER = "SPEAKER",
|
|
110
|
-
}
|
|
111
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
112
|
-
readonly name: "ResourceNotFoundException";
|
|
113
|
-
readonly $fault: "client";
|
|
114
|
-
Message?: string;
|
|
115
|
-
ResourceType?: ResourceType | string;
|
|
116
|
-
constructor(
|
|
117
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
118
|
-
);
|
|
119
|
-
}
|
|
120
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
121
|
-
readonly name: "ServiceQuotaExceededException";
|
|
122
|
-
readonly $fault: "client";
|
|
123
|
-
Message?: string;
|
|
124
|
-
constructor(
|
|
125
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
126
|
-
);
|
|
165
|
+
export interface CreateWatchlistRequest {
|
|
166
|
+
DomainId: string | undefined;
|
|
167
|
+
Name: string | undefined;
|
|
168
|
+
Description?: string;
|
|
169
|
+
ClientToken?: string;
|
|
127
170
|
}
|
|
128
|
-
export
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
171
|
+
export interface Watchlist {
|
|
172
|
+
DomainId?: string;
|
|
173
|
+
WatchlistId?: string;
|
|
174
|
+
Name?: string;
|
|
175
|
+
Description?: string;
|
|
176
|
+
DefaultWatchlist?: boolean;
|
|
177
|
+
CreatedAt?: Date;
|
|
178
|
+
UpdatedAt?: Date;
|
|
135
179
|
}
|
|
136
|
-
export
|
|
137
|
-
|
|
138
|
-
readonly $fault: "client";
|
|
139
|
-
Message?: string;
|
|
140
|
-
constructor(
|
|
141
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
142
|
-
);
|
|
180
|
+
export interface CreateWatchlistResponse {
|
|
181
|
+
Watchlist?: Watchlist;
|
|
143
182
|
}
|
|
144
183
|
export interface DeleteDomainRequest {
|
|
145
184
|
DomainId: string | undefined;
|
|
@@ -152,6 +191,10 @@ export interface DeleteSpeakerRequest {
|
|
|
152
191
|
DomainId: string | undefined;
|
|
153
192
|
SpeakerId: string | undefined;
|
|
154
193
|
}
|
|
194
|
+
export interface DeleteWatchlistRequest {
|
|
195
|
+
DomainId: string | undefined;
|
|
196
|
+
WatchlistId: string | undefined;
|
|
197
|
+
}
|
|
155
198
|
export interface DescribeDomainRequest {
|
|
156
199
|
DomainId: string | undefined;
|
|
157
200
|
}
|
|
@@ -162,11 +205,6 @@ export interface DescribeFraudsterRequest {
|
|
|
162
205
|
DomainId: string | undefined;
|
|
163
206
|
FraudsterId: string | undefined;
|
|
164
207
|
}
|
|
165
|
-
export interface Fraudster {
|
|
166
|
-
DomainId?: string;
|
|
167
|
-
GeneratedFraudsterId?: string;
|
|
168
|
-
CreatedAt?: Date;
|
|
169
|
-
}
|
|
170
208
|
export interface DescribeFraudsterResponse {
|
|
171
209
|
Fraudster?: Fraudster;
|
|
172
210
|
}
|
|
@@ -202,6 +240,7 @@ export declare enum DuplicateRegistrationAction {
|
|
|
202
240
|
export interface RegistrationConfig {
|
|
203
241
|
DuplicateRegistrationAction?: DuplicateRegistrationAction | string;
|
|
204
242
|
FraudsterSimilarityThreshold?: number;
|
|
243
|
+
WatchlistIds?: string[];
|
|
205
244
|
}
|
|
206
245
|
export interface FraudsterRegistrationJob {
|
|
207
246
|
JobName?: string;
|
|
@@ -257,6 +296,7 @@ export declare enum FraudDetectionAction {
|
|
|
257
296
|
export interface EnrollmentJobFraudDetectionConfig {
|
|
258
297
|
FraudDetectionAction?: FraudDetectionAction | string;
|
|
259
298
|
RiskThreshold?: number;
|
|
299
|
+
WatchlistIds?: string[];
|
|
260
300
|
}
|
|
261
301
|
export interface EnrollmentConfig {
|
|
262
302
|
ExistingEnrollmentAction?: ExistingEnrollmentAction | string;
|
|
@@ -286,6 +326,21 @@ export interface SpeakerEnrollmentJob {
|
|
|
286
326
|
export interface DescribeSpeakerEnrollmentJobResponse {
|
|
287
327
|
Job?: SpeakerEnrollmentJob;
|
|
288
328
|
}
|
|
329
|
+
export interface DescribeWatchlistRequest {
|
|
330
|
+
DomainId: string | undefined;
|
|
331
|
+
WatchlistId: string | undefined;
|
|
332
|
+
}
|
|
333
|
+
export interface DescribeWatchlistResponse {
|
|
334
|
+
Watchlist?: Watchlist;
|
|
335
|
+
}
|
|
336
|
+
export interface DisassociateFraudsterRequest {
|
|
337
|
+
DomainId: string | undefined;
|
|
338
|
+
WatchlistId: string | undefined;
|
|
339
|
+
FraudsterId: string | undefined;
|
|
340
|
+
}
|
|
341
|
+
export interface DisassociateFraudsterResponse {
|
|
342
|
+
Fraudster?: Fraudster;
|
|
343
|
+
}
|
|
289
344
|
export interface ListDomainsRequest {
|
|
290
345
|
MaxResults?: number;
|
|
291
346
|
NextToken?: string;
|
|
@@ -300,6 +355,7 @@ export interface DomainSummary {
|
|
|
300
355
|
CreatedAt?: Date;
|
|
301
356
|
UpdatedAt?: Date;
|
|
302
357
|
ServerSideEncryptionUpdateDetails?: ServerSideEncryptionUpdateDetails;
|
|
358
|
+
WatchlistDetails?: WatchlistDetails;
|
|
303
359
|
}
|
|
304
360
|
export interface ListDomainsResponse {
|
|
305
361
|
DomainSummaries?: DomainSummary[];
|
|
@@ -321,7 +377,8 @@ export interface EvaluateSessionRequest {
|
|
|
321
377
|
SessionNameOrId: string | undefined;
|
|
322
378
|
}
|
|
323
379
|
export interface FraudDetectionConfiguration {
|
|
324
|
-
RiskThreshold
|
|
380
|
+
RiskThreshold?: number;
|
|
381
|
+
WatchlistId?: string;
|
|
325
382
|
}
|
|
326
383
|
export declare enum FraudDetectionDecision {
|
|
327
384
|
HIGH_RISK = "HIGH_RISK",
|
|
@@ -375,6 +432,12 @@ export interface FraudsterRegistrationJobSummary {
|
|
|
375
432
|
FailureDetails?: FailureDetails;
|
|
376
433
|
JobProgress?: JobProgress;
|
|
377
434
|
}
|
|
435
|
+
export interface FraudsterSummary {
|
|
436
|
+
DomainId?: string;
|
|
437
|
+
GeneratedFraudsterId?: string;
|
|
438
|
+
CreatedAt?: Date;
|
|
439
|
+
WatchlistIds?: string[];
|
|
440
|
+
}
|
|
378
441
|
export interface ListFraudsterRegistrationJobsRequest {
|
|
379
442
|
DomainId: string | undefined;
|
|
380
443
|
JobStatus?: FraudsterRegistrationJobStatus | string;
|
|
@@ -385,6 +448,16 @@ export interface ListFraudsterRegistrationJobsResponse {
|
|
|
385
448
|
JobSummaries?: FraudsterRegistrationJobSummary[];
|
|
386
449
|
NextToken?: string;
|
|
387
450
|
}
|
|
451
|
+
export interface ListFraudstersRequest {
|
|
452
|
+
DomainId: string | undefined;
|
|
453
|
+
WatchlistId?: string;
|
|
454
|
+
MaxResults?: number;
|
|
455
|
+
NextToken?: string;
|
|
456
|
+
}
|
|
457
|
+
export interface ListFraudstersResponse {
|
|
458
|
+
FraudsterSummaries?: FraudsterSummary[];
|
|
459
|
+
NextToken?: string;
|
|
460
|
+
}
|
|
388
461
|
export interface ListSpeakerEnrollmentJobsRequest {
|
|
389
462
|
DomainId: string | undefined;
|
|
390
463
|
JobStatus?: SpeakerEnrollmentJobStatus | string;
|
|
@@ -429,6 +502,24 @@ export interface ListTagsForResourceRequest {
|
|
|
429
502
|
export interface ListTagsForResourceResponse {
|
|
430
503
|
Tags?: Tag[];
|
|
431
504
|
}
|
|
505
|
+
export interface ListWatchlistsRequest {
|
|
506
|
+
DomainId: string | undefined;
|
|
507
|
+
MaxResults?: number;
|
|
508
|
+
NextToken?: string;
|
|
509
|
+
}
|
|
510
|
+
export interface WatchlistSummary {
|
|
511
|
+
DomainId?: string;
|
|
512
|
+
WatchlistId?: string;
|
|
513
|
+
Name?: string;
|
|
514
|
+
Description?: string;
|
|
515
|
+
DefaultWatchlist?: boolean;
|
|
516
|
+
CreatedAt?: Date;
|
|
517
|
+
UpdatedAt?: Date;
|
|
518
|
+
}
|
|
519
|
+
export interface ListWatchlistsResponse {
|
|
520
|
+
WatchlistSummaries?: WatchlistSummary[];
|
|
521
|
+
NextToken?: string;
|
|
522
|
+
}
|
|
432
523
|
export interface OptOutSpeakerRequest {
|
|
433
524
|
DomainId: string | undefined;
|
|
434
525
|
SpeakerId: string | undefined;
|
|
@@ -470,6 +561,18 @@ export interface UntagResourceRequest {
|
|
|
470
561
|
TagKeys: string[] | undefined;
|
|
471
562
|
}
|
|
472
563
|
export interface UntagResourceResponse {}
|
|
564
|
+
export interface UpdateWatchlistRequest {
|
|
565
|
+
DomainId: string | undefined;
|
|
566
|
+
WatchlistId: string | undefined;
|
|
567
|
+
Name?: string;
|
|
568
|
+
Description?: string;
|
|
569
|
+
}
|
|
570
|
+
export interface UpdateWatchlistResponse {
|
|
571
|
+
Watchlist?: Watchlist;
|
|
572
|
+
}
|
|
573
|
+
export declare const AssociateFraudsterRequestFilterSensitiveLog: (
|
|
574
|
+
obj: AssociateFraudsterRequest
|
|
575
|
+
) => any;
|
|
473
576
|
export declare const AuthenticationResultFilterSensitiveLog: (
|
|
474
577
|
obj: AuthenticationResult
|
|
475
578
|
) => any;
|
|
@@ -481,6 +584,13 @@ export declare const DomainFilterSensitiveLog: (obj: Domain) => any;
|
|
|
481
584
|
export declare const CreateDomainResponseFilterSensitiveLog: (
|
|
482
585
|
obj: CreateDomainResponse
|
|
483
586
|
) => any;
|
|
587
|
+
export declare const CreateWatchlistRequestFilterSensitiveLog: (
|
|
588
|
+
obj: CreateWatchlistRequest
|
|
589
|
+
) => any;
|
|
590
|
+
export declare const WatchlistFilterSensitiveLog: (obj: Watchlist) => any;
|
|
591
|
+
export declare const CreateWatchlistResponseFilterSensitiveLog: (
|
|
592
|
+
obj: CreateWatchlistResponse
|
|
593
|
+
) => any;
|
|
484
594
|
export declare const DeleteFraudsterRequestFilterSensitiveLog: (
|
|
485
595
|
obj: DeleteFraudsterRequest
|
|
486
596
|
) => any;
|
|
@@ -512,6 +622,12 @@ export declare const SpeakerEnrollmentJobFilterSensitiveLog: (
|
|
|
512
622
|
export declare const DescribeSpeakerEnrollmentJobResponseFilterSensitiveLog: (
|
|
513
623
|
obj: DescribeSpeakerEnrollmentJobResponse
|
|
514
624
|
) => any;
|
|
625
|
+
export declare const DescribeWatchlistResponseFilterSensitiveLog: (
|
|
626
|
+
obj: DescribeWatchlistResponse
|
|
627
|
+
) => any;
|
|
628
|
+
export declare const DisassociateFraudsterRequestFilterSensitiveLog: (
|
|
629
|
+
obj: DisassociateFraudsterRequest
|
|
630
|
+
) => any;
|
|
515
631
|
export declare const DomainSummaryFilterSensitiveLog: (
|
|
516
632
|
obj: DomainSummary
|
|
517
633
|
) => any;
|
|
@@ -548,6 +664,12 @@ export declare const ListSpeakersResponseFilterSensitiveLog: (
|
|
|
548
664
|
export declare const ListTagsForResourceResponseFilterSensitiveLog: (
|
|
549
665
|
obj: ListTagsForResourceResponse
|
|
550
666
|
) => any;
|
|
667
|
+
export declare const WatchlistSummaryFilterSensitiveLog: (
|
|
668
|
+
obj: WatchlistSummary
|
|
669
|
+
) => any;
|
|
670
|
+
export declare const ListWatchlistsResponseFilterSensitiveLog: (
|
|
671
|
+
obj: ListWatchlistsResponse
|
|
672
|
+
) => any;
|
|
551
673
|
export declare const OptOutSpeakerRequestFilterSensitiveLog: (
|
|
552
674
|
obj: OptOutSpeakerRequest
|
|
553
675
|
) => any;
|
|
@@ -572,3 +694,9 @@ export declare const TagResourceRequestFilterSensitiveLog: (
|
|
|
572
694
|
export declare const UntagResourceRequestFilterSensitiveLog: (
|
|
573
695
|
obj: UntagResourceRequest
|
|
574
696
|
) => any;
|
|
697
|
+
export declare const UpdateWatchlistRequestFilterSensitiveLog: (
|
|
698
|
+
obj: UpdateWatchlistRequest
|
|
699
|
+
) => any;
|
|
700
|
+
export declare const UpdateWatchlistResponseFilterSensitiveLog: (
|
|
701
|
+
obj: UpdateWatchlistResponse
|
|
702
|
+
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListFraudstersCommandInput,
|
|
4
|
+
ListFraudstersCommandOutput,
|
|
5
|
+
} from "../commands/ListFraudstersCommand";
|
|
6
|
+
import { VoiceIDPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListFraudsters(
|
|
8
|
+
config: VoiceIDPaginationConfiguration,
|
|
9
|
+
input: ListFraudstersCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListFraudstersCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListWatchlistsCommandInput,
|
|
4
|
+
ListWatchlistsCommandOutput,
|
|
5
|
+
} from "../commands/ListWatchlistsCommand";
|
|
6
|
+
import { VoiceIDPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListWatchlists(
|
|
8
|
+
config: VoiceIDPaginationConfiguration,
|
|
9
|
+
input: ListWatchlistsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListWatchlistsCommandOutput>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListDomainsPaginator";
|
|
3
3
|
export * from "./ListFraudsterRegistrationJobsPaginator";
|
|
4
|
+
export * from "./ListFraudstersPaginator";
|
|
4
5
|
export * from "./ListSpeakerEnrollmentJobsPaginator";
|
|
5
6
|
export * from "./ListSpeakersPaginator";
|
|
7
|
+
export * from "./ListWatchlistsPaginator";
|