@aws-sdk/client-frauddetector 3.267.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.
Files changed (61) hide show
  1. package/dist-cjs/FraudDetector.js +75 -0
  2. package/dist-cjs/commands/CreateListCommand.js +46 -0
  3. package/dist-cjs/commands/DeleteListCommand.js +46 -0
  4. package/dist-cjs/commands/GetListElementsCommand.js +46 -0
  5. package/dist-cjs/commands/GetListsMetadataCommand.js +46 -0
  6. package/dist-cjs/commands/UpdateListCommand.js +46 -0
  7. package/dist-cjs/commands/index.js +5 -0
  8. package/dist-cjs/endpoint/ruleset.js +3 -3
  9. package/dist-cjs/models/models_0.js +58 -5
  10. package/dist-cjs/pagination/GetListElementsPaginator.js +36 -0
  11. package/dist-cjs/pagination/GetListsMetadataPaginator.js +36 -0
  12. package/dist-cjs/pagination/index.js +3 -1
  13. package/dist-cjs/protocols/Aws_json1_1.js +380 -3
  14. package/dist-es/FraudDetector.js +75 -0
  15. package/dist-es/commands/CreateListCommand.js +42 -0
  16. package/dist-es/commands/DeleteListCommand.js +42 -0
  17. package/dist-es/commands/GetListElementsCommand.js +42 -0
  18. package/dist-es/commands/GetListsMetadataCommand.js +42 -0
  19. package/dist-es/commands/UpdateListCommand.js +42 -0
  20. package/dist-es/commands/index.js +5 -0
  21. package/dist-es/endpoint/ruleset.js +3 -3
  22. package/dist-es/models/models_0.js +42 -0
  23. package/dist-es/pagination/GetListElementsPaginator.js +32 -0
  24. package/dist-es/pagination/GetListsMetadataPaginator.js +32 -0
  25. package/dist-es/pagination/index.js +3 -1
  26. package/dist-es/protocols/Aws_json1_1.js +367 -0
  27. package/dist-types/FraudDetector.d.ts +48 -0
  28. package/dist-types/FraudDetectorClient.d.ts +22 -17
  29. package/dist-types/commands/CreateListCommand.d.ts +41 -0
  30. package/dist-types/commands/DeleteListCommand.d.ts +40 -0
  31. package/dist-types/commands/GetListElementsCommand.d.ts +39 -0
  32. package/dist-types/commands/GetListsMetadataCommand.d.ts +39 -0
  33. package/dist-types/commands/UpdateListCommand.d.ts +39 -0
  34. package/dist-types/commands/index.d.ts +5 -0
  35. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  36. package/dist-types/models/models_0.d.ts +254 -0
  37. package/dist-types/pagination/GetListElementsPaginator.d.ts +4 -0
  38. package/dist-types/pagination/GetListsMetadataPaginator.d.ts +4 -0
  39. package/dist-types/pagination/index.d.ts +3 -1
  40. package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
  41. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  42. package/dist-types/runtimeConfig.d.ts +1 -1
  43. package/dist-types/runtimeConfig.native.d.ts +4 -4
  44. package/dist-types/ts3.4/FraudDetector.d.ts +85 -0
  45. package/dist-types/ts3.4/FraudDetectorClient.d.ts +34 -4
  46. package/dist-types/ts3.4/commands/CreateListCommand.d.ts +34 -0
  47. package/dist-types/ts3.4/commands/DeleteListCommand.d.ts +34 -0
  48. package/dist-types/ts3.4/commands/GetListElementsCommand.d.ts +37 -0
  49. package/dist-types/ts3.4/commands/GetListsMetadataCommand.d.ts +37 -0
  50. package/dist-types/ts3.4/commands/UpdateListCommand.d.ts +34 -0
  51. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  52. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  53. package/dist-types/ts3.4/models/models_0.d.ts +84 -0
  54. package/dist-types/ts3.4/pagination/GetListElementsPaginator.d.ts +11 -0
  55. package/dist-types/ts3.4/pagination/GetListsMetadataPaginator.d.ts +11 -0
  56. package/dist-types/ts3.4/pagination/index.d.ts +3 -1
  57. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  58. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  59. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  60. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
  61. package/package.json +29 -29
@@ -14,6 +14,7 @@ import { CancelBatchPredictionJobCommandInput, CancelBatchPredictionJobCommandOu
14
14
  import { CreateBatchImportJobCommandInput, CreateBatchImportJobCommandOutput } from "./commands/CreateBatchImportJobCommand";
15
15
  import { CreateBatchPredictionJobCommandInput, CreateBatchPredictionJobCommandOutput } from "./commands/CreateBatchPredictionJobCommand";
16
16
  import { CreateDetectorVersionCommandInput, CreateDetectorVersionCommandOutput } from "./commands/CreateDetectorVersionCommand";
17
+ import { CreateListCommandInput, CreateListCommandOutput } from "./commands/CreateListCommand";
17
18
  import { CreateModelCommandInput, CreateModelCommandOutput } from "./commands/CreateModelCommand";
18
19
  import { CreateModelVersionCommandInput, CreateModelVersionCommandOutput } from "./commands/CreateModelVersionCommand";
19
20
  import { CreateRuleCommandInput, CreateRuleCommandOutput } from "./commands/CreateRuleCommand";
@@ -28,6 +29,7 @@ import { DeleteEventsByEventTypeCommandInput, DeleteEventsByEventTypeCommandOutp
28
29
  import { DeleteEventTypeCommandInput, DeleteEventTypeCommandOutput } from "./commands/DeleteEventTypeCommand";
29
30
  import { DeleteExternalModelCommandInput, DeleteExternalModelCommandOutput } from "./commands/DeleteExternalModelCommand";
30
31
  import { DeleteLabelCommandInput, DeleteLabelCommandOutput } from "./commands/DeleteLabelCommand";
32
+ import { DeleteListCommandInput, DeleteListCommandOutput } from "./commands/DeleteListCommand";
31
33
  import { DeleteModelCommandInput, DeleteModelCommandOutput } from "./commands/DeleteModelCommand";
32
34
  import { DeleteModelVersionCommandInput, DeleteModelVersionCommandOutput } from "./commands/DeleteModelVersionCommand";
33
35
  import { DeleteOutcomeCommandInput, DeleteOutcomeCommandOutput } from "./commands/DeleteOutcomeCommand";
@@ -48,6 +50,8 @@ import { GetEventTypesCommandInput, GetEventTypesCommandOutput } from "./command
48
50
  import { GetExternalModelsCommandInput, GetExternalModelsCommandOutput } from "./commands/GetExternalModelsCommand";
49
51
  import { GetKMSEncryptionKeyCommandInput, GetKMSEncryptionKeyCommandOutput } from "./commands/GetKMSEncryptionKeyCommand";
50
52
  import { GetLabelsCommandInput, GetLabelsCommandOutput } from "./commands/GetLabelsCommand";
53
+ import { GetListElementsCommandInput, GetListElementsCommandOutput } from "./commands/GetListElementsCommand";
54
+ import { GetListsMetadataCommandInput, GetListsMetadataCommandOutput } from "./commands/GetListsMetadataCommand";
51
55
  import { GetModelsCommandInput, GetModelsCommandOutput } from "./commands/GetModelsCommand";
52
56
  import { GetModelVersionCommandInput, GetModelVersionCommandOutput } from "./commands/GetModelVersionCommand";
53
57
  import { GetOutcomesCommandInput, GetOutcomesCommandOutput } from "./commands/GetOutcomesCommand";
@@ -69,6 +73,7 @@ import { UpdateDetectorVersionCommandInput, UpdateDetectorVersionCommandOutput }
69
73
  import { UpdateDetectorVersionMetadataCommandInput, UpdateDetectorVersionMetadataCommandOutput } from "./commands/UpdateDetectorVersionMetadataCommand";
70
74
  import { UpdateDetectorVersionStatusCommandInput, UpdateDetectorVersionStatusCommandOutput } from "./commands/UpdateDetectorVersionStatusCommand";
71
75
  import { UpdateEventLabelCommandInput, UpdateEventLabelCommandOutput } from "./commands/UpdateEventLabelCommand";
76
+ import { UpdateListCommandInput, UpdateListCommandOutput } from "./commands/UpdateListCommand";
72
77
  import { UpdateModelCommandInput, UpdateModelCommandOutput } from "./commands/UpdateModelCommand";
73
78
  import { UpdateModelVersionCommandInput, UpdateModelVersionCommandOutput } from "./commands/UpdateModelVersionCommand";
74
79
  import { UpdateModelVersionStatusCommandInput, UpdateModelVersionStatusCommandOutput } from "./commands/UpdateModelVersionStatusCommand";
@@ -76,8 +81,8 @@ import { UpdateRuleMetadataCommandInput, UpdateRuleMetadataCommandOutput } from
76
81
  import { UpdateRuleVersionCommandInput, UpdateRuleVersionCommandOutput } from "./commands/UpdateRuleVersionCommand";
77
82
  import { UpdateVariableCommandInput, UpdateVariableCommandOutput } from "./commands/UpdateVariableCommand";
78
83
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
79
- export declare type ServiceInputTypes = BatchCreateVariableCommandInput | BatchGetVariableCommandInput | CancelBatchImportJobCommandInput | CancelBatchPredictionJobCommandInput | CreateBatchImportJobCommandInput | CreateBatchPredictionJobCommandInput | CreateDetectorVersionCommandInput | CreateModelCommandInput | CreateModelVersionCommandInput | CreateRuleCommandInput | CreateVariableCommandInput | DeleteBatchImportJobCommandInput | DeleteBatchPredictionJobCommandInput | DeleteDetectorCommandInput | DeleteDetectorVersionCommandInput | DeleteEntityTypeCommandInput | DeleteEventCommandInput | DeleteEventTypeCommandInput | DeleteEventsByEventTypeCommandInput | DeleteExternalModelCommandInput | DeleteLabelCommandInput | DeleteModelCommandInput | DeleteModelVersionCommandInput | DeleteOutcomeCommandInput | DeleteRuleCommandInput | DeleteVariableCommandInput | DescribeDetectorCommandInput | DescribeModelVersionsCommandInput | GetBatchImportJobsCommandInput | GetBatchPredictionJobsCommandInput | GetDeleteEventsByEventTypeStatusCommandInput | GetDetectorVersionCommandInput | GetDetectorsCommandInput | GetEntityTypesCommandInput | GetEventCommandInput | GetEventPredictionCommandInput | GetEventPredictionMetadataCommandInput | GetEventTypesCommandInput | GetExternalModelsCommandInput | GetKMSEncryptionKeyCommandInput | GetLabelsCommandInput | GetModelVersionCommandInput | GetModelsCommandInput | GetOutcomesCommandInput | GetRulesCommandInput | GetVariablesCommandInput | ListEventPredictionsCommandInput | ListTagsForResourceCommandInput | PutDetectorCommandInput | PutEntityTypeCommandInput | PutEventTypeCommandInput | PutExternalModelCommandInput | PutKMSEncryptionKeyCommandInput | PutLabelCommandInput | PutOutcomeCommandInput | SendEventCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDetectorVersionCommandInput | UpdateDetectorVersionMetadataCommandInput | UpdateDetectorVersionStatusCommandInput | UpdateEventLabelCommandInput | UpdateModelCommandInput | UpdateModelVersionCommandInput | UpdateModelVersionStatusCommandInput | UpdateRuleMetadataCommandInput | UpdateRuleVersionCommandInput | UpdateVariableCommandInput;
80
- export declare type ServiceOutputTypes = BatchCreateVariableCommandOutput | BatchGetVariableCommandOutput | CancelBatchImportJobCommandOutput | CancelBatchPredictionJobCommandOutput | CreateBatchImportJobCommandOutput | CreateBatchPredictionJobCommandOutput | CreateDetectorVersionCommandOutput | CreateModelCommandOutput | CreateModelVersionCommandOutput | CreateRuleCommandOutput | CreateVariableCommandOutput | DeleteBatchImportJobCommandOutput | DeleteBatchPredictionJobCommandOutput | DeleteDetectorCommandOutput | DeleteDetectorVersionCommandOutput | DeleteEntityTypeCommandOutput | DeleteEventCommandOutput | DeleteEventTypeCommandOutput | DeleteEventsByEventTypeCommandOutput | DeleteExternalModelCommandOutput | DeleteLabelCommandOutput | DeleteModelCommandOutput | DeleteModelVersionCommandOutput | DeleteOutcomeCommandOutput | DeleteRuleCommandOutput | DeleteVariableCommandOutput | DescribeDetectorCommandOutput | DescribeModelVersionsCommandOutput | GetBatchImportJobsCommandOutput | GetBatchPredictionJobsCommandOutput | GetDeleteEventsByEventTypeStatusCommandOutput | GetDetectorVersionCommandOutput | GetDetectorsCommandOutput | GetEntityTypesCommandOutput | GetEventCommandOutput | GetEventPredictionCommandOutput | GetEventPredictionMetadataCommandOutput | GetEventTypesCommandOutput | GetExternalModelsCommandOutput | GetKMSEncryptionKeyCommandOutput | GetLabelsCommandOutput | GetModelVersionCommandOutput | GetModelsCommandOutput | GetOutcomesCommandOutput | GetRulesCommandOutput | GetVariablesCommandOutput | ListEventPredictionsCommandOutput | ListTagsForResourceCommandOutput | PutDetectorCommandOutput | PutEntityTypeCommandOutput | PutEventTypeCommandOutput | PutExternalModelCommandOutput | PutKMSEncryptionKeyCommandOutput | PutLabelCommandOutput | PutOutcomeCommandOutput | SendEventCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDetectorVersionCommandOutput | UpdateDetectorVersionMetadataCommandOutput | UpdateDetectorVersionStatusCommandOutput | UpdateEventLabelCommandOutput | UpdateModelCommandOutput | UpdateModelVersionCommandOutput | UpdateModelVersionStatusCommandOutput | UpdateRuleMetadataCommandOutput | UpdateRuleVersionCommandOutput | UpdateVariableCommandOutput;
84
+ export declare type ServiceInputTypes = BatchCreateVariableCommandInput | BatchGetVariableCommandInput | CancelBatchImportJobCommandInput | CancelBatchPredictionJobCommandInput | CreateBatchImportJobCommandInput | CreateBatchPredictionJobCommandInput | CreateDetectorVersionCommandInput | CreateListCommandInput | CreateModelCommandInput | CreateModelVersionCommandInput | CreateRuleCommandInput | CreateVariableCommandInput | DeleteBatchImportJobCommandInput | DeleteBatchPredictionJobCommandInput | DeleteDetectorCommandInput | DeleteDetectorVersionCommandInput | DeleteEntityTypeCommandInput | DeleteEventCommandInput | DeleteEventTypeCommandInput | DeleteEventsByEventTypeCommandInput | DeleteExternalModelCommandInput | DeleteLabelCommandInput | DeleteListCommandInput | DeleteModelCommandInput | DeleteModelVersionCommandInput | DeleteOutcomeCommandInput | DeleteRuleCommandInput | DeleteVariableCommandInput | DescribeDetectorCommandInput | DescribeModelVersionsCommandInput | GetBatchImportJobsCommandInput | GetBatchPredictionJobsCommandInput | GetDeleteEventsByEventTypeStatusCommandInput | GetDetectorVersionCommandInput | GetDetectorsCommandInput | GetEntityTypesCommandInput | GetEventCommandInput | GetEventPredictionCommandInput | GetEventPredictionMetadataCommandInput | GetEventTypesCommandInput | GetExternalModelsCommandInput | GetKMSEncryptionKeyCommandInput | GetLabelsCommandInput | GetListElementsCommandInput | GetListsMetadataCommandInput | GetModelVersionCommandInput | GetModelsCommandInput | GetOutcomesCommandInput | GetRulesCommandInput | GetVariablesCommandInput | ListEventPredictionsCommandInput | ListTagsForResourceCommandInput | PutDetectorCommandInput | PutEntityTypeCommandInput | PutEventTypeCommandInput | PutExternalModelCommandInput | PutKMSEncryptionKeyCommandInput | PutLabelCommandInput | PutOutcomeCommandInput | SendEventCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDetectorVersionCommandInput | UpdateDetectorVersionMetadataCommandInput | UpdateDetectorVersionStatusCommandInput | UpdateEventLabelCommandInput | UpdateListCommandInput | UpdateModelCommandInput | UpdateModelVersionCommandInput | UpdateModelVersionStatusCommandInput | UpdateRuleMetadataCommandInput | UpdateRuleVersionCommandInput | UpdateVariableCommandInput;
85
+ export declare type ServiceOutputTypes = BatchCreateVariableCommandOutput | BatchGetVariableCommandOutput | CancelBatchImportJobCommandOutput | CancelBatchPredictionJobCommandOutput | CreateBatchImportJobCommandOutput | CreateBatchPredictionJobCommandOutput | CreateDetectorVersionCommandOutput | CreateListCommandOutput | CreateModelCommandOutput | CreateModelVersionCommandOutput | CreateRuleCommandOutput | CreateVariableCommandOutput | DeleteBatchImportJobCommandOutput | DeleteBatchPredictionJobCommandOutput | DeleteDetectorCommandOutput | DeleteDetectorVersionCommandOutput | DeleteEntityTypeCommandOutput | DeleteEventCommandOutput | DeleteEventTypeCommandOutput | DeleteEventsByEventTypeCommandOutput | DeleteExternalModelCommandOutput | DeleteLabelCommandOutput | DeleteListCommandOutput | DeleteModelCommandOutput | DeleteModelVersionCommandOutput | DeleteOutcomeCommandOutput | DeleteRuleCommandOutput | DeleteVariableCommandOutput | DescribeDetectorCommandOutput | DescribeModelVersionsCommandOutput | GetBatchImportJobsCommandOutput | GetBatchPredictionJobsCommandOutput | GetDeleteEventsByEventTypeStatusCommandOutput | GetDetectorVersionCommandOutput | GetDetectorsCommandOutput | GetEntityTypesCommandOutput | GetEventCommandOutput | GetEventPredictionCommandOutput | GetEventPredictionMetadataCommandOutput | GetEventTypesCommandOutput | GetExternalModelsCommandOutput | GetKMSEncryptionKeyCommandOutput | GetLabelsCommandOutput | GetListElementsCommandOutput | GetListsMetadataCommandOutput | GetModelVersionCommandOutput | GetModelsCommandOutput | GetOutcomesCommandOutput | GetRulesCommandOutput | GetVariablesCommandOutput | ListEventPredictionsCommandOutput | ListTagsForResourceCommandOutput | PutDetectorCommandOutput | PutEntityTypeCommandOutput | PutEventTypeCommandOutput | PutExternalModelCommandOutput | PutKMSEncryptionKeyCommandOutput | PutLabelCommandOutput | PutOutcomeCommandOutput | SendEventCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDetectorVersionCommandOutput | UpdateDetectorVersionMetadataCommandOutput | UpdateDetectorVersionStatusCommandOutput | UpdateEventLabelCommandOutput | UpdateListCommandOutput | UpdateModelCommandOutput | UpdateModelVersionCommandOutput | UpdateModelVersionStatusCommandOutput | UpdateRuleMetadataCommandOutput | UpdateRuleVersionCommandOutput | UpdateVariableCommandOutput;
81
86
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
82
87
  /**
83
88
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -135,17 +140,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
135
140
  */
136
141
  disableHostPrefix?: boolean;
137
142
  /**
138
- * Value for how many times a request will be made at most in case of retry.
139
- */
140
- maxAttempts?: number | __Provider<number>;
141
- /**
142
- * Specifies which retry algorithm to use.
143
- */
144
- retryMode?: string | __Provider<string>;
145
- /**
146
- * Optional logger for logging debug/info/warn/error.
143
+ * Unique service identifier.
144
+ * @internal
147
145
  */
148
- logger?: __Logger;
146
+ serviceId?: string;
149
147
  /**
150
148
  * Enables IPv6/IPv4 dualstack endpoint.
151
149
  */
@@ -154,11 +152,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
154
152
  * Enables FIPS compatible endpoints.
155
153
  */
156
154
  useFipsEndpoint?: boolean | __Provider<boolean>;
157
- /**
158
- * Unique service identifier.
159
- * @internal
160
- */
161
- serviceId?: string;
162
155
  /**
163
156
  * The AWS region to which this client will send requests
164
157
  */
@@ -173,6 +166,18 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
173
166
  * @internal
174
167
  */
175
168
  defaultUserAgentProvider?: Provider<__UserAgent>;
169
+ /**
170
+ * Value for how many times a request will be made at most in case of retry.
171
+ */
172
+ maxAttempts?: number | __Provider<number>;
173
+ /**
174
+ * Specifies which retry algorithm to use.
175
+ */
176
+ retryMode?: string | __Provider<string>;
177
+ /**
178
+ * Optional logger for logging debug/info/warn/error.
179
+ */
180
+ logger?: __Logger;
176
181
  /**
177
182
  * The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
178
183
  */
@@ -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: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;