@aws-sdk/client-frauddetector 3.271.0 → 3.272.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/dist-cjs/FraudDetector.js +75 -0
- package/dist-cjs/commands/CreateListCommand.js +46 -0
- package/dist-cjs/commands/DeleteListCommand.js +46 -0
- package/dist-cjs/commands/GetListElementsCommand.js +46 -0
- package/dist-cjs/commands/GetListsMetadataCommand.js +46 -0
- package/dist-cjs/commands/UpdateListCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +58 -5
- package/dist-cjs/pagination/GetListElementsPaginator.js +36 -0
- package/dist-cjs/pagination/GetListsMetadataPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +3 -1
- package/dist-cjs/protocols/Aws_json1_1.js +380 -3
- package/dist-es/FraudDetector.js +75 -0
- package/dist-es/commands/CreateListCommand.js +42 -0
- package/dist-es/commands/DeleteListCommand.js +42 -0
- package/dist-es/commands/GetListElementsCommand.js +42 -0
- package/dist-es/commands/GetListsMetadataCommand.js +42 -0
- package/dist-es/commands/UpdateListCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +42 -0
- package/dist-es/pagination/GetListElementsPaginator.js +32 -0
- package/dist-es/pagination/GetListsMetadataPaginator.js +32 -0
- package/dist-es/pagination/index.js +3 -1
- package/dist-es/protocols/Aws_json1_1.js +367 -0
- package/dist-types/FraudDetector.d.ts +48 -0
- package/dist-types/FraudDetectorClient.d.ts +7 -2
- package/dist-types/commands/CreateListCommand.d.ts +41 -0
- package/dist-types/commands/DeleteListCommand.d.ts +40 -0
- package/dist-types/commands/GetListElementsCommand.d.ts +39 -0
- package/dist-types/commands/GetListsMetadataCommand.d.ts +39 -0
- package/dist-types/commands/UpdateListCommand.d.ts +39 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +254 -0
- package/dist-types/pagination/GetListElementsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetListsMetadataPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
- package/dist-types/ts3.4/FraudDetector.d.ts +85 -0
- package/dist-types/ts3.4/FraudDetectorClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateListCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteListCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetListElementsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetListsMetadataCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateListCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +84 -0
- package/dist-types/ts3.4/pagination/GetListElementsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetListsMetadataPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +29 -29
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { FraudDetectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FraudDetectorClient";
|
|
5
|
+
import { CreateListRequest, CreateListResult } from "../models/models_0";
|
|
6
|
+
export interface CreateListCommandInput extends CreateListRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface CreateListCommandOutput extends CreateListResult, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>
|
|
12
|
+
* Creates a list.
|
|
13
|
+
* </p>
|
|
14
|
+
* <p>List is a set of input data for a variable in your event dataset. You use the input data in a rule that's associated with your detector.
|
|
15
|
+
* For more information, see <a href="https://docs.aws.amazon.com/frauddetector/latest/ug/lists.html">Lists</a>.</p>
|
|
16
|
+
* @example
|
|
17
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
+
* ```javascript
|
|
19
|
+
* import { FraudDetectorClient, CreateListCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
20
|
+
* // const { FraudDetectorClient, CreateListCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
21
|
+
* const client = new FraudDetectorClient(config);
|
|
22
|
+
* const command = new CreateListCommand(input);
|
|
23
|
+
* const response = await client.send(command);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @see {@link CreateListCommandInput} for command's `input` shape.
|
|
27
|
+
* @see {@link CreateListCommandOutput} for command's `response` shape.
|
|
28
|
+
* @see {@link FraudDetectorClientResolvedConfig | config} for FraudDetectorClient's `config` shape.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
export declare class CreateListCommand extends $Command<CreateListCommandInput, CreateListCommandOutput, FraudDetectorClientResolvedConfig> {
|
|
32
|
+
readonly input: CreateListCommandInput;
|
|
33
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
34
|
+
constructor(input: CreateListCommandInput);
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateListCommandInput, CreateListCommandOutput>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { FraudDetectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FraudDetectorClient";
|
|
5
|
+
import { DeleteListRequest, DeleteListResult } from "../models/models_0";
|
|
6
|
+
export interface DeleteListCommandInput extends DeleteListRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteListCommandOutput extends DeleteListResult, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>
|
|
12
|
+
* Deletes the list, provided it is not used in a rule.
|
|
13
|
+
* </p>
|
|
14
|
+
* <p> When you delete a list, Amazon Fraud Detector permanently deletes that list and the elements in the list.</p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { FraudDetectorClient, DeleteListCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
19
|
+
* // const { FraudDetectorClient, DeleteListCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
20
|
+
* const client = new FraudDetectorClient(config);
|
|
21
|
+
* const command = new DeleteListCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DeleteListCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DeleteListCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link FraudDetectorClientResolvedConfig | config} for FraudDetectorClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class DeleteListCommand extends $Command<DeleteListCommandInput, DeleteListCommandOutput, FraudDetectorClientResolvedConfig> {
|
|
31
|
+
readonly input: DeleteListCommandInput;
|
|
32
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
|
+
constructor(input: DeleteListCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteListCommandInput, DeleteListCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { FraudDetectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FraudDetectorClient";
|
|
5
|
+
import { GetListElementsRequest, GetListElementsResult } from "../models/models_0";
|
|
6
|
+
export interface GetListElementsCommandInput extends GetListElementsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface GetListElementsCommandOutput extends GetListElementsResult, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>
|
|
12
|
+
* Gets all the elements in the specified list.
|
|
13
|
+
* </p>
|
|
14
|
+
* @example
|
|
15
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
+
* ```javascript
|
|
17
|
+
* import { FraudDetectorClient, GetListElementsCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
18
|
+
* // const { FraudDetectorClient, GetListElementsCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
19
|
+
* const client = new FraudDetectorClient(config);
|
|
20
|
+
* const command = new GetListElementsCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link GetListElementsCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link GetListElementsCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link FraudDetectorClientResolvedConfig | config} for FraudDetectorClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class GetListElementsCommand extends $Command<GetListElementsCommandInput, GetListElementsCommandOutput, FraudDetectorClientResolvedConfig> {
|
|
30
|
+
readonly input: GetListElementsCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
|
+
constructor(input: GetListElementsCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetListElementsCommandInput, GetListElementsCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { FraudDetectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FraudDetectorClient";
|
|
5
|
+
import { GetListsMetadataRequest, GetListsMetadataResult } from "../models/models_0";
|
|
6
|
+
export interface GetListsMetadataCommandInput extends GetListsMetadataRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface GetListsMetadataCommandOutput extends GetListsMetadataResult, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>
|
|
12
|
+
* Gets the metadata of either all the lists under the account or the specified list.
|
|
13
|
+
* </p>
|
|
14
|
+
* @example
|
|
15
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
+
* ```javascript
|
|
17
|
+
* import { FraudDetectorClient, GetListsMetadataCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
18
|
+
* // const { FraudDetectorClient, GetListsMetadataCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
19
|
+
* const client = new FraudDetectorClient(config);
|
|
20
|
+
* const command = new GetListsMetadataCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link GetListsMetadataCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link GetListsMetadataCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link FraudDetectorClientResolvedConfig | config} for FraudDetectorClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class GetListsMetadataCommand extends $Command<GetListsMetadataCommandInput, GetListsMetadataCommandOutput, FraudDetectorClientResolvedConfig> {
|
|
30
|
+
readonly input: GetListsMetadataCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
|
+
constructor(input: GetListsMetadataCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetListsMetadataCommandInput, GetListsMetadataCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { FraudDetectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FraudDetectorClient";
|
|
5
|
+
import { UpdateListRequest, UpdateListResult } from "../models/models_0";
|
|
6
|
+
export interface UpdateListCommandInput extends UpdateListRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateListCommandOutput extends UpdateListResult, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>
|
|
12
|
+
* Updates a list.
|
|
13
|
+
* </p>
|
|
14
|
+
* @example
|
|
15
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
+
* ```javascript
|
|
17
|
+
* import { FraudDetectorClient, UpdateListCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
18
|
+
* // const { FraudDetectorClient, UpdateListCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
19
|
+
* const client = new FraudDetectorClient(config);
|
|
20
|
+
* const command = new UpdateListCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link UpdateListCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link UpdateListCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link FraudDetectorClientResolvedConfig | config} for FraudDetectorClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class UpdateListCommand extends $Command<UpdateListCommandInput, UpdateListCommandOutput, FraudDetectorClientResolvedConfig> {
|
|
30
|
+
readonly input: UpdateListCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
|
+
constructor(input: UpdateListCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateListCommandInput, UpdateListCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -5,6 +5,7 @@ export * from "./CancelBatchPredictionJobCommand";
|
|
|
5
5
|
export * from "./CreateBatchImportJobCommand";
|
|
6
6
|
export * from "./CreateBatchPredictionJobCommand";
|
|
7
7
|
export * from "./CreateDetectorVersionCommand";
|
|
8
|
+
export * from "./CreateListCommand";
|
|
8
9
|
export * from "./CreateModelCommand";
|
|
9
10
|
export * from "./CreateModelVersionCommand";
|
|
10
11
|
export * from "./CreateRuleCommand";
|
|
@@ -19,6 +20,7 @@ export * from "./DeleteEventTypeCommand";
|
|
|
19
20
|
export * from "./DeleteEventsByEventTypeCommand";
|
|
20
21
|
export * from "./DeleteExternalModelCommand";
|
|
21
22
|
export * from "./DeleteLabelCommand";
|
|
23
|
+
export * from "./DeleteListCommand";
|
|
22
24
|
export * from "./DeleteModelCommand";
|
|
23
25
|
export * from "./DeleteModelVersionCommand";
|
|
24
26
|
export * from "./DeleteOutcomeCommand";
|
|
@@ -39,6 +41,8 @@ export * from "./GetEventTypesCommand";
|
|
|
39
41
|
export * from "./GetExternalModelsCommand";
|
|
40
42
|
export * from "./GetKMSEncryptionKeyCommand";
|
|
41
43
|
export * from "./GetLabelsCommand";
|
|
44
|
+
export * from "./GetListElementsCommand";
|
|
45
|
+
export * from "./GetListsMetadataCommand";
|
|
42
46
|
export * from "./GetModelVersionCommand";
|
|
43
47
|
export * from "./GetModelsCommand";
|
|
44
48
|
export * from "./GetOutcomesCommand";
|
|
@@ -60,6 +64,7 @@ export * from "./UpdateDetectorVersionCommand";
|
|
|
60
64
|
export * from "./UpdateDetectorVersionMetadataCommand";
|
|
61
65
|
export * from "./UpdateDetectorVersionStatusCommand";
|
|
62
66
|
export * from "./UpdateEventLabelCommand";
|
|
67
|
+
export * from "./UpdateListCommand";
|
|
63
68
|
export * from "./UpdateModelCommand";
|
|
64
69
|
export * from "./UpdateModelVersionCommand";
|
|
65
70
|
export * from "./UpdateModelVersionStatusCommand";
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -79,6 +79,49 @@ export interface AggregatedVariablesImportanceMetrics {
|
|
|
79
79
|
*/
|
|
80
80
|
logOddsMetrics?: AggregatedLogOddsMetric[];
|
|
81
81
|
}
|
|
82
|
+
/**
|
|
83
|
+
* <p>
|
|
84
|
+
* The metadata of a list.
|
|
85
|
+
* </p>
|
|
86
|
+
*/
|
|
87
|
+
export interface AllowDenyList {
|
|
88
|
+
/**
|
|
89
|
+
* <p>
|
|
90
|
+
* The name of the list.
|
|
91
|
+
* </p>
|
|
92
|
+
*/
|
|
93
|
+
name: string | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* <p>
|
|
96
|
+
* The description of the list.
|
|
97
|
+
* </p>
|
|
98
|
+
*/
|
|
99
|
+
description?: string;
|
|
100
|
+
/**
|
|
101
|
+
* <p>
|
|
102
|
+
* The variable type of the list.
|
|
103
|
+
* </p>
|
|
104
|
+
*/
|
|
105
|
+
variableType?: string;
|
|
106
|
+
/**
|
|
107
|
+
* <p>
|
|
108
|
+
* The time the list was created.
|
|
109
|
+
* </p>
|
|
110
|
+
*/
|
|
111
|
+
createdTime?: string;
|
|
112
|
+
/**
|
|
113
|
+
* <p>
|
|
114
|
+
* The time the list was last updated.
|
|
115
|
+
* </p>
|
|
116
|
+
*/
|
|
117
|
+
updatedTime?: string;
|
|
118
|
+
/**
|
|
119
|
+
* <p>
|
|
120
|
+
* The ARN of the list.
|
|
121
|
+
* </p>
|
|
122
|
+
*/
|
|
123
|
+
arn?: string;
|
|
124
|
+
}
|
|
82
125
|
export declare enum AsyncJobStatus {
|
|
83
126
|
CANCELED = "CANCELED",
|
|
84
127
|
CANCEL_IN_PROGRESS = "CANCEL_IN_PROGRESS",
|
|
@@ -552,6 +595,41 @@ export interface CreateDetectorVersionResult {
|
|
|
552
595
|
*/
|
|
553
596
|
status?: DetectorVersionStatus | string;
|
|
554
597
|
}
|
|
598
|
+
export interface CreateListRequest {
|
|
599
|
+
/**
|
|
600
|
+
* <p>
|
|
601
|
+
* The name of the list.
|
|
602
|
+
* </p>
|
|
603
|
+
*/
|
|
604
|
+
name: string | undefined;
|
|
605
|
+
/**
|
|
606
|
+
* <p>
|
|
607
|
+
* The names of the elements, if providing. You can also create an empty list and add elements later using the <a href="https://docs.aws.amazon.com/frauddetector/latest/api/API_Updatelist.html">UpdateList</a> API.
|
|
608
|
+
* </p>
|
|
609
|
+
*/
|
|
610
|
+
elements?: string[];
|
|
611
|
+
/**
|
|
612
|
+
* <p>
|
|
613
|
+
* The variable type of the list. You can only assign the variable type with String data type. For more information, see
|
|
614
|
+
* <a href="https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types">Variable types</a>.
|
|
615
|
+
* </p>
|
|
616
|
+
*/
|
|
617
|
+
variableType?: string;
|
|
618
|
+
/**
|
|
619
|
+
* <p>
|
|
620
|
+
* The description of the list.
|
|
621
|
+
* </p>
|
|
622
|
+
*/
|
|
623
|
+
description?: string;
|
|
624
|
+
/**
|
|
625
|
+
* <p>
|
|
626
|
+
* A collection of the key and value pairs.
|
|
627
|
+
* </p>
|
|
628
|
+
*/
|
|
629
|
+
tags?: Tag[];
|
|
630
|
+
}
|
|
631
|
+
export interface CreateListResult {
|
|
632
|
+
}
|
|
555
633
|
export interface CreateModelRequest {
|
|
556
634
|
/**
|
|
557
635
|
* <p>The model ID.</p>
|
|
@@ -896,6 +974,16 @@ export interface DeleteLabelRequest {
|
|
|
896
974
|
}
|
|
897
975
|
export interface DeleteLabelResult {
|
|
898
976
|
}
|
|
977
|
+
export interface DeleteListRequest {
|
|
978
|
+
/**
|
|
979
|
+
* <p>
|
|
980
|
+
* The name of the list to delete.
|
|
981
|
+
* </p>
|
|
982
|
+
*/
|
|
983
|
+
name: string | undefined;
|
|
984
|
+
}
|
|
985
|
+
export interface DeleteListResult {
|
|
986
|
+
}
|
|
899
987
|
export interface DeleteModelRequest {
|
|
900
988
|
/**
|
|
901
989
|
* <p>The model ID of the model to delete.</p>
|
|
@@ -2615,6 +2703,74 @@ export interface GetLabelsResult {
|
|
|
2615
2703
|
*/
|
|
2616
2704
|
nextToken?: string;
|
|
2617
2705
|
}
|
|
2706
|
+
export interface GetListElementsRequest {
|
|
2707
|
+
/**
|
|
2708
|
+
* <p>
|
|
2709
|
+
* The name of the list.
|
|
2710
|
+
* </p>
|
|
2711
|
+
*/
|
|
2712
|
+
name: string | undefined;
|
|
2713
|
+
/**
|
|
2714
|
+
* <p>
|
|
2715
|
+
* The next token for the subsequent request.
|
|
2716
|
+
* </p>
|
|
2717
|
+
*/
|
|
2718
|
+
nextToken?: string;
|
|
2719
|
+
/**
|
|
2720
|
+
* <p>
|
|
2721
|
+
* The maximum number of objects to return for the request.
|
|
2722
|
+
* </p>
|
|
2723
|
+
*/
|
|
2724
|
+
maxResults?: number;
|
|
2725
|
+
}
|
|
2726
|
+
export interface GetListElementsResult {
|
|
2727
|
+
/**
|
|
2728
|
+
* <p>
|
|
2729
|
+
* The list elements.
|
|
2730
|
+
* </p>
|
|
2731
|
+
*/
|
|
2732
|
+
elements?: string[];
|
|
2733
|
+
/**
|
|
2734
|
+
* <p>
|
|
2735
|
+
* The next page token.
|
|
2736
|
+
* </p>
|
|
2737
|
+
*/
|
|
2738
|
+
nextToken?: string;
|
|
2739
|
+
}
|
|
2740
|
+
export interface GetListsMetadataRequest {
|
|
2741
|
+
/**
|
|
2742
|
+
* <p>
|
|
2743
|
+
* The name of the list.
|
|
2744
|
+
* </p>
|
|
2745
|
+
*/
|
|
2746
|
+
name?: string;
|
|
2747
|
+
/**
|
|
2748
|
+
* <p>
|
|
2749
|
+
* The next token for the subsequent request.
|
|
2750
|
+
* </p>
|
|
2751
|
+
*/
|
|
2752
|
+
nextToken?: string;
|
|
2753
|
+
/**
|
|
2754
|
+
* <p>
|
|
2755
|
+
* The maximum number of objects to return for the request.
|
|
2756
|
+
* </p>
|
|
2757
|
+
*/
|
|
2758
|
+
maxResults?: number;
|
|
2759
|
+
}
|
|
2760
|
+
export interface GetListsMetadataResult {
|
|
2761
|
+
/**
|
|
2762
|
+
* <p>
|
|
2763
|
+
* The metadata of the specified list or all lists under the account.
|
|
2764
|
+
* </p>
|
|
2765
|
+
*/
|
|
2766
|
+
lists?: AllowDenyList[];
|
|
2767
|
+
/**
|
|
2768
|
+
* <p>
|
|
2769
|
+
* The next page token.
|
|
2770
|
+
* </p>
|
|
2771
|
+
*/
|
|
2772
|
+
nextToken?: string;
|
|
2773
|
+
}
|
|
2618
2774
|
export interface GetModelsRequest {
|
|
2619
2775
|
/**
|
|
2620
2776
|
* <p>The model ID.</p>
|
|
@@ -3372,6 +3528,60 @@ export interface UpdateEventLabelRequest {
|
|
|
3372
3528
|
}
|
|
3373
3529
|
export interface UpdateEventLabelResult {
|
|
3374
3530
|
}
|
|
3531
|
+
export declare enum ListUpdateMode {
|
|
3532
|
+
APPEND = "APPEND",
|
|
3533
|
+
REMOVE = "REMOVE",
|
|
3534
|
+
REPLACE = "REPLACE"
|
|
3535
|
+
}
|
|
3536
|
+
export interface UpdateListRequest {
|
|
3537
|
+
/**
|
|
3538
|
+
* <p>
|
|
3539
|
+
* The name of the list to update.
|
|
3540
|
+
* </p>
|
|
3541
|
+
*/
|
|
3542
|
+
name: string | undefined;
|
|
3543
|
+
/**
|
|
3544
|
+
* <p>
|
|
3545
|
+
* One or more list elements to add or replace. If you are providing the elements, make sure to specify the <code>updateMode</code> to use.
|
|
3546
|
+
* </p>
|
|
3547
|
+
* <p>If you are deleting all elements from the list, use <code>REPLACE</code> for the <code>updateMode</code> and provide an empty list (0 elements).</p>
|
|
3548
|
+
*/
|
|
3549
|
+
elements?: string[];
|
|
3550
|
+
/**
|
|
3551
|
+
* <p>
|
|
3552
|
+
* The new description.
|
|
3553
|
+
* </p>
|
|
3554
|
+
*/
|
|
3555
|
+
description?: string;
|
|
3556
|
+
/**
|
|
3557
|
+
* <p>
|
|
3558
|
+
* The update mode (type).
|
|
3559
|
+
* </p>
|
|
3560
|
+
* <ul>
|
|
3561
|
+
* <li>
|
|
3562
|
+
* <p>Use <code>APPEND</code> if you are adding elements to the list.</p>
|
|
3563
|
+
* </li>
|
|
3564
|
+
* <li>
|
|
3565
|
+
* <p>Use <code>REPLACE</code> if you replacing existing elements in the list.</p>
|
|
3566
|
+
* </li>
|
|
3567
|
+
* <li>
|
|
3568
|
+
* <p>Use <code>REMOVE</code> if you are removing elements from the list.</p>
|
|
3569
|
+
* </li>
|
|
3570
|
+
* </ul>
|
|
3571
|
+
*/
|
|
3572
|
+
updateMode?: ListUpdateMode | string;
|
|
3573
|
+
/**
|
|
3574
|
+
* <p>
|
|
3575
|
+
* The variable type you want to assign to the list.
|
|
3576
|
+
* </p>
|
|
3577
|
+
* <note>
|
|
3578
|
+
* <p>You cannot update a variable type of a list that already has a variable type assigned to it. You can assign a variable type to a list only if the list does not already have a variable type.</p>
|
|
3579
|
+
* </note>
|
|
3580
|
+
*/
|
|
3581
|
+
variableType?: string;
|
|
3582
|
+
}
|
|
3583
|
+
export interface UpdateListResult {
|
|
3584
|
+
}
|
|
3375
3585
|
export interface UpdateModelRequest {
|
|
3376
3586
|
/**
|
|
3377
3587
|
* <p>The model ID.</p>
|
|
@@ -3533,6 +3743,10 @@ export declare const AggregatedVariablesImpactExplanationFilterSensitiveLog: (ob
|
|
|
3533
3743
|
* @internal
|
|
3534
3744
|
*/
|
|
3535
3745
|
export declare const AggregatedVariablesImportanceMetricsFilterSensitiveLog: (obj: AggregatedVariablesImportanceMetrics) => any;
|
|
3746
|
+
/**
|
|
3747
|
+
* @internal
|
|
3748
|
+
*/
|
|
3749
|
+
export declare const AllowDenyListFilterSensitiveLog: (obj: AllowDenyList) => any;
|
|
3536
3750
|
/**
|
|
3537
3751
|
* @internal
|
|
3538
3752
|
*/
|
|
@@ -3629,6 +3843,14 @@ export declare const CreateDetectorVersionRequestFilterSensitiveLog: (obj: Creat
|
|
|
3629
3843
|
* @internal
|
|
3630
3844
|
*/
|
|
3631
3845
|
export declare const CreateDetectorVersionResultFilterSensitiveLog: (obj: CreateDetectorVersionResult) => any;
|
|
3846
|
+
/**
|
|
3847
|
+
* @internal
|
|
3848
|
+
*/
|
|
3849
|
+
export declare const CreateListRequestFilterSensitiveLog: (obj: CreateListRequest) => any;
|
|
3850
|
+
/**
|
|
3851
|
+
* @internal
|
|
3852
|
+
*/
|
|
3853
|
+
export declare const CreateListResultFilterSensitiveLog: (obj: CreateListResult) => any;
|
|
3632
3854
|
/**
|
|
3633
3855
|
* @internal
|
|
3634
3856
|
*/
|
|
@@ -3761,6 +3983,14 @@ export declare const DeleteLabelRequestFilterSensitiveLog: (obj: DeleteLabelRequ
|
|
|
3761
3983
|
* @internal
|
|
3762
3984
|
*/
|
|
3763
3985
|
export declare const DeleteLabelResultFilterSensitiveLog: (obj: DeleteLabelResult) => any;
|
|
3986
|
+
/**
|
|
3987
|
+
* @internal
|
|
3988
|
+
*/
|
|
3989
|
+
export declare const DeleteListRequestFilterSensitiveLog: (obj: DeleteListRequest) => any;
|
|
3990
|
+
/**
|
|
3991
|
+
* @internal
|
|
3992
|
+
*/
|
|
3993
|
+
export declare const DeleteListResultFilterSensitiveLog: (obj: DeleteListResult) => any;
|
|
3764
3994
|
/**
|
|
3765
3995
|
* @internal
|
|
3766
3996
|
*/
|
|
@@ -4093,6 +4323,22 @@ export declare const LabelFilterSensitiveLog: (obj: Label) => any;
|
|
|
4093
4323
|
* @internal
|
|
4094
4324
|
*/
|
|
4095
4325
|
export declare const GetLabelsResultFilterSensitiveLog: (obj: GetLabelsResult) => any;
|
|
4326
|
+
/**
|
|
4327
|
+
* @internal
|
|
4328
|
+
*/
|
|
4329
|
+
export declare const GetListElementsRequestFilterSensitiveLog: (obj: GetListElementsRequest) => any;
|
|
4330
|
+
/**
|
|
4331
|
+
* @internal
|
|
4332
|
+
*/
|
|
4333
|
+
export declare const GetListElementsResultFilterSensitiveLog: (obj: GetListElementsResult) => any;
|
|
4334
|
+
/**
|
|
4335
|
+
* @internal
|
|
4336
|
+
*/
|
|
4337
|
+
export declare const GetListsMetadataRequestFilterSensitiveLog: (obj: GetListsMetadataRequest) => any;
|
|
4338
|
+
/**
|
|
4339
|
+
* @internal
|
|
4340
|
+
*/
|
|
4341
|
+
export declare const GetListsMetadataResultFilterSensitiveLog: (obj: GetListsMetadataResult) => any;
|
|
4096
4342
|
/**
|
|
4097
4343
|
* @internal
|
|
4098
4344
|
*/
|
|
@@ -4285,6 +4531,14 @@ export declare const UpdateEventLabelRequestFilterSensitiveLog: (obj: UpdateEven
|
|
|
4285
4531
|
* @internal
|
|
4286
4532
|
*/
|
|
4287
4533
|
export declare const UpdateEventLabelResultFilterSensitiveLog: (obj: UpdateEventLabelResult) => any;
|
|
4534
|
+
/**
|
|
4535
|
+
* @internal
|
|
4536
|
+
*/
|
|
4537
|
+
export declare const UpdateListRequestFilterSensitiveLog: (obj: UpdateListRequest) => any;
|
|
4538
|
+
/**
|
|
4539
|
+
* @internal
|
|
4540
|
+
*/
|
|
4541
|
+
export declare const UpdateListResultFilterSensitiveLog: (obj: UpdateListResult) => any;
|
|
4288
4542
|
/**
|
|
4289
4543
|
* @internal
|
|
4290
4544
|
*/
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { GetListElementsCommandInput, GetListElementsCommandOutput } from "../commands/GetListElementsCommand";
|
|
3
|
+
import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateGetListElements(config: FraudDetectorPaginationConfiguration, input: GetListElementsCommandInput, ...additionalArguments: any): Paginator<GetListElementsCommandOutput>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { GetListsMetadataCommandInput, GetListsMetadataCommandOutput } from "../commands/GetListsMetadataCommand";
|
|
3
|
+
import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateGetListsMetadata(config: FraudDetectorPaginationConfiguration, input: GetListsMetadataCommandInput, ...additionalArguments: any): Paginator<GetListsMetadataCommandOutput>;
|
|
@@ -6,9 +6,11 @@ export * from "./GetEntityTypesPaginator";
|
|
|
6
6
|
export * from "./GetEventTypesPaginator";
|
|
7
7
|
export * from "./GetExternalModelsPaginator";
|
|
8
8
|
export * from "./GetLabelsPaginator";
|
|
9
|
+
export * from "./GetListElementsPaginator";
|
|
10
|
+
export * from "./GetListsMetadataPaginator";
|
|
11
|
+
export * from "./Interfaces";
|
|
9
12
|
export * from "./GetModelsPaginator";
|
|
10
13
|
export * from "./GetOutcomesPaginator";
|
|
11
|
-
export * from "./Interfaces";
|
|
12
14
|
export * from "./GetRulesPaginator";
|
|
13
15
|
export * from "./GetVariablesPaginator";
|
|
14
16
|
export * from "./ListEventPredictionsPaginator";
|