@aws-sdk/client-frauddetector 3.344.0 → 3.346.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/models/models_0.js +1 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-types/commands/BatchGetVariableCommand.d.ts +1 -1
- package/dist-types/commands/CreateVariableCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventCommand.d.ts +2 -1
- package/dist-types/commands/GetVariablesCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +3 -2
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +6 -6
|
@@ -41,7 +41,7 @@ export interface BatchGetVariableCommandOutput extends BatchGetVariableResult, _
|
|
|
41
41
|
* // variables: [ // VariableList
|
|
42
42
|
* // { // Variable
|
|
43
43
|
* // name: "STRING_VALUE",
|
|
44
|
-
* // dataType: "STRING" || "INTEGER" || "FLOAT" || "BOOLEAN",
|
|
44
|
+
* // dataType: "STRING" || "INTEGER" || "FLOAT" || "BOOLEAN" || "DATETIME",
|
|
45
45
|
* // dataSource: "EVENT" || "MODEL_SCORE" || "EXTERNAL_MODEL_SCORE",
|
|
46
46
|
* // defaultValue: "STRING_VALUE",
|
|
47
47
|
* // description: "STRING_VALUE",
|
|
@@ -32,7 +32,7 @@ export interface CreateVariableCommandOutput extends CreateVariableResult, __Met
|
|
|
32
32
|
* const client = new FraudDetectorClient(config);
|
|
33
33
|
* const input = { // CreateVariableRequest
|
|
34
34
|
* name: "STRING_VALUE", // required
|
|
35
|
-
* dataType: "STRING" || "INTEGER" || "FLOAT" || "BOOLEAN", // required
|
|
35
|
+
* dataType: "STRING" || "INTEGER" || "FLOAT" || "BOOLEAN" || "DATETIME", // required
|
|
36
36
|
* dataSource: "EVENT" || "MODEL_SCORE" || "EXTERNAL_MODEL_SCORE", // required
|
|
37
37
|
* defaultValue: "STRING_VALUE", // required
|
|
38
38
|
* description: "STRING_VALUE",
|
|
@@ -24,7 +24,8 @@ export interface DeleteEventCommandOutput extends DeleteEventResult, __MetadataB
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Deletes the specified event.</p>
|
|
27
|
-
* <p>When you delete an event, Amazon Fraud Detector permanently deletes that event and the event data is no longer stored in Amazon Fraud Detector
|
|
27
|
+
* <p>When you delete an event, Amazon Fraud Detector permanently deletes that event and the event data is no longer stored in Amazon Fraud Detector.
|
|
28
|
+
* If <code>deleteAuditHistory</code> is <code>True</code>, event data is available through search for up to 30 seconds after the delete operation is completed.</p>
|
|
28
29
|
* @example
|
|
29
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
31
|
* ```javascript
|
|
@@ -46,7 +46,7 @@ export interface GetVariablesCommandOutput extends GetVariablesResult, __Metadat
|
|
|
46
46
|
* // variables: [ // VariableList
|
|
47
47
|
* // { // Variable
|
|
48
48
|
* // name: "STRING_VALUE",
|
|
49
|
-
* // dataType: "STRING" || "INTEGER" || "FLOAT" || "BOOLEAN",
|
|
49
|
+
* // dataType: "STRING" || "INTEGER" || "FLOAT" || "BOOLEAN" || "DATETIME",
|
|
50
50
|
* // dataSource: "EVENT" || "MODEL_SCORE" || "EXTERNAL_MODEL_SCORE",
|
|
51
51
|
* // defaultValue: "STRING_VALUE",
|
|
52
52
|
* // description: "STRING_VALUE",
|
|
@@ -384,6 +384,7 @@ export type DataSource = (typeof DataSource)[keyof typeof DataSource];
|
|
|
384
384
|
*/
|
|
385
385
|
export declare const DataType: {
|
|
386
386
|
readonly BOOLEAN: "BOOLEAN";
|
|
387
|
+
readonly DATETIME: "DATETIME";
|
|
387
388
|
readonly FLOAT: "FLOAT";
|
|
388
389
|
readonly INTEGER: "INTEGER";
|
|
389
390
|
readonly STRING: "STRING";
|
|
@@ -999,7 +1000,7 @@ export interface CreateVariableRequest {
|
|
|
999
1000
|
*/
|
|
1000
1001
|
name: string | undefined;
|
|
1001
1002
|
/**
|
|
1002
|
-
* <p>The data type.</p>
|
|
1003
|
+
* <p>The data type of the variable.</p>
|
|
1003
1004
|
*/
|
|
1004
1005
|
dataType: DataType | string | undefined;
|
|
1005
1006
|
/**
|
|
@@ -1130,7 +1131,7 @@ export interface DeleteEventRequest {
|
|
|
1130
1131
|
*/
|
|
1131
1132
|
eventTypeName: string | undefined;
|
|
1132
1133
|
/**
|
|
1133
|
-
* <p>Specifies whether or not to delete any predictions associated with the event
|
|
1134
|
+
* <p>Specifies whether or not to delete any predictions associated with the event. If set to <code>True</code>, </p>
|
|
1134
1135
|
*/
|
|
1135
1136
|
deleteAuditHistory?: boolean;
|
|
1136
1137
|
}
|
|
@@ -111,6 +111,7 @@ export declare const DataSource: {
|
|
|
111
111
|
export type DataSource = (typeof DataSource)[keyof typeof DataSource];
|
|
112
112
|
export declare const DataType: {
|
|
113
113
|
readonly BOOLEAN: "BOOLEAN";
|
|
114
|
+
readonly DATETIME: "DATETIME";
|
|
114
115
|
readonly FLOAT: "FLOAT";
|
|
115
116
|
readonly INTEGER: "INTEGER";
|
|
116
117
|
readonly STRING: "STRING";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-frauddetector",
|
|
3
3
|
"description": "AWS SDK for JavaScript Frauddetector Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.346.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.345.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.342.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.345.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.342.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.344.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.342.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.342.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.342.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.342.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.345.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.342.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.344.0",
|
|
42
42
|
"@aws-sdk/smithy-client": "3.342.0",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"@aws-sdk/util-defaults-mode-node": "3.342.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.342.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.342.0",
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.345.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.345.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|