@aws-sdk/client-frauddetector 3.345.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.
@@ -70,6 +70,7 @@ exports.DataSource = {
70
70
  };
71
71
  exports.DataType = {
72
72
  BOOLEAN: "BOOLEAN",
73
+ DATETIME: "DATETIME",
73
74
  FLOAT: "FLOAT",
74
75
  INTEGER: "INTEGER",
75
76
  STRING: "STRING",
@@ -63,6 +63,7 @@ export const DataSource = {
63
63
  };
64
64
  export const DataType = {
65
65
  BOOLEAN: "BOOLEAN",
66
+ DATETIME: "DATETIME",
66
67
  FLOAT: "FLOAT",
67
68
  INTEGER: "INTEGER",
68
69
  STRING: "STRING",
@@ -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.</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.
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.</p>
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.345.0",
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",