@aws-sdk/client-frauddetector 3.100.0 → 3.109.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/CHANGELOG.md +27 -0
- package/README.md +7 -0
- package/dist-cjs/FraudDetectorClient.js +2 -0
- package/dist-es/FraudDetectorClient.js +2 -0
- package/dist-types/FraudDetector.d.ts +11 -1
- package/dist-types/FraudDetectorClient.d.ts +7 -0
- package/dist-types/commands/DeleteBatchImportJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateModelVersionStatusCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +15 -37
- package/dist-types/ts3.4/models/models_0.d.ts +11 -33
- package/package.json +29 -28
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-frauddetector
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.108.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.0...v3.108.1) (2022-06-10)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-frauddetector
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-frauddetector
|
package/README.md
CHANGED
|
@@ -13,6 +13,13 @@ AWS SDK for JavaScript FraudDetector Client for Node.js, Browser and React Nativ
|
|
|
13
13
|
detailed information about Amazon Fraud Detector API actions, data types, and errors. For
|
|
14
14
|
more information about Amazon Fraud Detector features, see the <a href="https://docs.aws.amazon.com/frauddetector/latest/ug/">Amazon Fraud Detector User Guide</a>.</p>
|
|
15
15
|
|
|
16
|
+
<p>We provide the Query API as well as AWS software development kits (SDK) for Amazon Fraud Detector in Java and Python programming languages.</p>
|
|
17
|
+
<p>The Amazon Fraud Detector Query API provides HTTPS requests that use the HTTP verb GET or POST and a Query parameter <code>Action</code>. AWS SDK provides libraries,
|
|
18
|
+
sample code, tutorials, and other resources for software developers who prefer to build applications using language-specific APIs instead of submitting a request over
|
|
19
|
+
HTTP or HTTPS. These libraries provide basic functions that automatically take care of tasks such as cryptographically signing your requests, retrying requests, and
|
|
20
|
+
handling error responses, so that it is easier for you to get started. For more information about the AWS SDKs, see <a href="https://docs.aws.amazon.com/https:/aws.amazon.com/tools/">Tools to build on AWS</a>.
|
|
21
|
+
</p>
|
|
22
|
+
|
|
16
23
|
## Installing
|
|
17
24
|
|
|
18
25
|
To install the this package, simply type add or install @aws-sdk/client-frauddetector
|
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class FraudDetectorClient extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
}
|
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var FraudDetectorClient = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
return _this;
|
|
@@ -72,6 +72,13 @@ import { FraudDetectorClient } from "./FraudDetectorClient";
|
|
|
72
72
|
* <p>This is the Amazon Fraud Detector API Reference. This guide is for developers who need
|
|
73
73
|
* detailed information about Amazon Fraud Detector API actions, data types, and errors. For
|
|
74
74
|
* more information about Amazon Fraud Detector features, see the <a href="https://docs.aws.amazon.com/frauddetector/latest/ug/">Amazon Fraud Detector User Guide</a>.</p>
|
|
75
|
+
*
|
|
76
|
+
* <p>We provide the Query API as well as AWS software development kits (SDK) for Amazon Fraud Detector in Java and Python programming languages.</p>
|
|
77
|
+
* <p>The Amazon Fraud Detector Query API provides HTTPS requests that use the HTTP verb GET or POST and a Query parameter <code>Action</code>. AWS SDK provides libraries,
|
|
78
|
+
* sample code, tutorials, and other resources for software developers who prefer to build applications using language-specific APIs instead of submitting a request over
|
|
79
|
+
* HTTP or HTTPS. These libraries provide basic functions that automatically take care of tasks such as cryptographically signing your requests, retrying requests, and
|
|
80
|
+
* handling error responses, so that it is easier for you to get started. For more information about the AWS SDKs, see <a href="https://docs.aws.amazon.com/https:/aws.amazon.com/tools/">Tools to build on AWS</a>.
|
|
81
|
+
* </p>
|
|
75
82
|
*/
|
|
76
83
|
export declare class FraudDetector extends FraudDetectorClient {
|
|
77
84
|
/**
|
|
@@ -142,7 +149,7 @@ export declare class FraudDetector extends FraudDetectorClient {
|
|
|
142
149
|
createVariable(args: CreateVariableCommandInput, cb: (err: any, data?: CreateVariableCommandOutput) => void): void;
|
|
143
150
|
createVariable(args: CreateVariableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVariableCommandOutput) => void): void;
|
|
144
151
|
/**
|
|
145
|
-
* <p>Deletes data that was batch imported
|
|
152
|
+
* <p>Deletes the specified batch import job ID record. This action does not delete the data that was batch imported. </p>
|
|
146
153
|
*/
|
|
147
154
|
deleteBatchImportJob(args: DeleteBatchImportJobCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBatchImportJobCommandOutput>;
|
|
148
155
|
deleteBatchImportJob(args: DeleteBatchImportJobCommandInput, cb: (err: any, data?: DeleteBatchImportJobCommandOutput) => void): void;
|
|
@@ -550,6 +557,9 @@ export declare class FraudDetector extends FraudDetectorClient {
|
|
|
550
557
|
* <p>You can perform the following status updates:</p>
|
|
551
558
|
* <ol>
|
|
552
559
|
* <li>
|
|
560
|
+
* <p>Change the <code>TRAINING_IN_PROGRESS</code> status to <code>TRAINING_CANCELLED</code>.</p>
|
|
561
|
+
* </li>
|
|
562
|
+
* <li>
|
|
553
563
|
* <p>Change the <code>TRAINING_COMPLETE</code> status to <code>ACTIVE</code>.</p>
|
|
554
564
|
* </li>
|
|
555
565
|
* <li>
|
|
@@ -197,6 +197,13 @@ export interface FraudDetectorClientResolvedConfig extends FraudDetectorClientRe
|
|
|
197
197
|
* <p>This is the Amazon Fraud Detector API Reference. This guide is for developers who need
|
|
198
198
|
* detailed information about Amazon Fraud Detector API actions, data types, and errors. For
|
|
199
199
|
* more information about Amazon Fraud Detector features, see the <a href="https://docs.aws.amazon.com/frauddetector/latest/ug/">Amazon Fraud Detector User Guide</a>.</p>
|
|
200
|
+
*
|
|
201
|
+
* <p>We provide the Query API as well as AWS software development kits (SDK) for Amazon Fraud Detector in Java and Python programming languages.</p>
|
|
202
|
+
* <p>The Amazon Fraud Detector Query API provides HTTPS requests that use the HTTP verb GET or POST and a Query parameter <code>Action</code>. AWS SDK provides libraries,
|
|
203
|
+
* sample code, tutorials, and other resources for software developers who prefer to build applications using language-specific APIs instead of submitting a request over
|
|
204
|
+
* HTTP or HTTPS. These libraries provide basic functions that automatically take care of tasks such as cryptographically signing your requests, retrying requests, and
|
|
205
|
+
* handling error responses, so that it is easier for you to get started. For more information about the AWS SDKs, see <a href="https://docs.aws.amazon.com/https:/aws.amazon.com/tools/">Tools to build on AWS</a>.
|
|
206
|
+
* </p>
|
|
200
207
|
*/
|
|
201
208
|
export declare class FraudDetectorClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, FraudDetectorClientResolvedConfig> {
|
|
202
209
|
/**
|
|
@@ -7,7 +7,7 @@ export interface DeleteBatchImportJobCommandInput extends DeleteBatchImportJobRe
|
|
|
7
7
|
export interface DeleteBatchImportJobCommandOutput extends DeleteBatchImportJobResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deletes data that was batch imported
|
|
10
|
+
* <p>Deletes the specified batch import job ID record. This action does not delete the data that was batch imported. </p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -11,6 +11,9 @@ export interface UpdateModelVersionStatusCommandOutput extends UpdateModelVersio
|
|
|
11
11
|
* <p>You can perform the following status updates:</p>
|
|
12
12
|
* <ol>
|
|
13
13
|
* <li>
|
|
14
|
+
* <p>Change the <code>TRAINING_IN_PROGRESS</code> status to <code>TRAINING_CANCELLED</code>.</p>
|
|
15
|
+
* </li>
|
|
16
|
+
* <li>
|
|
14
17
|
* <p>Change the <code>TRAINING_COMPLETE</code> status to <code>ACTIVE</code>.</p>
|
|
15
18
|
* </li>
|
|
16
19
|
* <li>
|
|
@@ -636,9 +636,7 @@ export interface LabelSchema {
|
|
|
636
636
|
* <p>The label mapper maps the Amazon Fraud Detector supported model classification labels (<code>FRAUD</code>, <code>LEGIT</code>) to the appropriate event type labels. For example, if "<code>FRAUD</code>" and "<code>LEGIT</code>" are Amazon Fraud Detector supported labels, this mapper could be: <code>{"FRAUD" => ["0"]</code>, <code>"LEGIT" => ["1"]}</code> or <code>{"FRAUD" => ["false"]</code>, <code>"LEGIT" => ["true"]}</code> or <code>{"FRAUD" => ["fraud", "abuse"]</code>, <code>"LEGIT" => ["legit", "safe"]}</code>. The value part of the mapper is a list, because you may have multiple label variants from your event type for a single Amazon Fraud Detector label.
|
|
637
637
|
* </p>
|
|
638
638
|
*/
|
|
639
|
-
labelMapper:
|
|
640
|
-
[key: string]: string[];
|
|
641
|
-
} | undefined;
|
|
639
|
+
labelMapper: Record<string, string[]> | undefined;
|
|
642
640
|
/**
|
|
643
641
|
* <p>The action to take for unlabeled events.</p>
|
|
644
642
|
*/
|
|
@@ -2027,9 +2025,7 @@ export interface Event {
|
|
|
2027
2025
|
/**
|
|
2028
2026
|
* <p>Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.</p>
|
|
2029
2027
|
*/
|
|
2030
|
-
eventVariables?:
|
|
2031
|
-
[key: string]: string;
|
|
2032
|
-
};
|
|
2028
|
+
eventVariables?: Record<string, string>;
|
|
2033
2029
|
/**
|
|
2034
2030
|
* <p>The label associated with the event.</p>
|
|
2035
2031
|
*/
|
|
@@ -2126,15 +2122,11 @@ export interface GetEventPredictionRequest {
|
|
|
2126
2122
|
* <p>If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules
|
|
2127
2123
|
* will use the default value that is provided for the variable. </p>
|
|
2128
2124
|
*/
|
|
2129
|
-
eventVariables:
|
|
2130
|
-
[key: string]: string;
|
|
2131
|
-
} | undefined;
|
|
2125
|
+
eventVariables: Record<string, string> | undefined;
|
|
2132
2126
|
/**
|
|
2133
2127
|
* <p>The Amazon SageMaker model endpoint input data blobs.</p>
|
|
2134
2128
|
*/
|
|
2135
|
-
externalModelEndpointDataBlobs?:
|
|
2136
|
-
[key: string]: ModelEndpointDataBlob;
|
|
2137
|
-
};
|
|
2129
|
+
externalModelEndpointDataBlobs?: Record<string, ModelEndpointDataBlob>;
|
|
2138
2130
|
}
|
|
2139
2131
|
export declare namespace GetEventPredictionRequest {
|
|
2140
2132
|
/**
|
|
@@ -2175,9 +2167,7 @@ export interface ExternalModelOutputs {
|
|
|
2175
2167
|
/**
|
|
2176
2168
|
* <p>The fraud prediction scores from Amazon SageMaker model.</p>
|
|
2177
2169
|
*/
|
|
2178
|
-
outputs?:
|
|
2179
|
-
[key: string]: string;
|
|
2180
|
-
};
|
|
2170
|
+
outputs?: Record<string, string>;
|
|
2181
2171
|
}
|
|
2182
2172
|
export declare namespace ExternalModelOutputs {
|
|
2183
2173
|
/**
|
|
@@ -2196,9 +2186,7 @@ export interface ModelScores {
|
|
|
2196
2186
|
/**
|
|
2197
2187
|
* <p>The model's fraud prediction scores.</p>
|
|
2198
2188
|
*/
|
|
2199
|
-
scores?:
|
|
2200
|
-
[key: string]: number;
|
|
2201
|
-
};
|
|
2189
|
+
scores?: Record<string, number>;
|
|
2202
2190
|
}
|
|
2203
2191
|
export declare namespace ModelScores {
|
|
2204
2192
|
/**
|
|
@@ -2283,8 +2271,9 @@ export interface GetEventPredictionMetadataRequest {
|
|
|
2283
2271
|
detectorVersionId: string | undefined;
|
|
2284
2272
|
/**
|
|
2285
2273
|
* <p>
|
|
2286
|
-
*
|
|
2287
|
-
* </
|
|
2274
|
+
* The timestamp that defines when the prediction was generated. The timestamp must be specified using ISO 8601 standard in UTC.</p>
|
|
2275
|
+
* <p>We recommend calling <a href="https://docs.aws.amazon.com/frauddetector/latest/api/API_ListEventPredictions.html">ListEventPredictions</a>
|
|
2276
|
+
* first, and using the <code>predictionTimestamp</code> value in the response to provide an accurate prediction timestamp value.</p>
|
|
2288
2277
|
*/
|
|
2289
2278
|
predictionTimestamp: string | undefined;
|
|
2290
2279
|
}
|
|
@@ -2317,17 +2306,13 @@ export interface EvaluatedExternalModel {
|
|
|
2317
2306
|
* Input variables use for generating predictions.
|
|
2318
2307
|
* </p>
|
|
2319
2308
|
*/
|
|
2320
|
-
inputVariables?:
|
|
2321
|
-
[key: string]: string;
|
|
2322
|
-
};
|
|
2309
|
+
inputVariables?: Record<string, string>;
|
|
2323
2310
|
/**
|
|
2324
2311
|
* <p>
|
|
2325
2312
|
* Output variables.
|
|
2326
2313
|
* </p>
|
|
2327
2314
|
*/
|
|
2328
|
-
outputVariables?:
|
|
2329
|
-
[key: string]: string;
|
|
2330
|
-
};
|
|
2315
|
+
outputVariables?: Record<string, string>;
|
|
2331
2316
|
}
|
|
2332
2317
|
export declare namespace EvaluatedExternalModel {
|
|
2333
2318
|
/**
|
|
@@ -2633,8 +2618,7 @@ export interface GetEventPredictionMetadataResult {
|
|
|
2633
2618
|
*/
|
|
2634
2619
|
evaluatedExternalModels?: EvaluatedExternalModel[];
|
|
2635
2620
|
/**
|
|
2636
|
-
* <p>The timestamp that defines when the prediction was generated.
|
|
2637
|
-
* </p>
|
|
2621
|
+
* <p>The timestamp that defines when the prediction was generated. </p>
|
|
2638
2622
|
*/
|
|
2639
2623
|
predictionTimestamp?: string;
|
|
2640
2624
|
}
|
|
@@ -2846,15 +2830,11 @@ export interface ModelOutputConfiguration {
|
|
|
2846
2830
|
/**
|
|
2847
2831
|
* <p>A map of JSON keys in response from SageMaker to the Amazon Fraud Detector variables. </p>
|
|
2848
2832
|
*/
|
|
2849
|
-
jsonKeyToVariableMap?:
|
|
2850
|
-
[key: string]: string;
|
|
2851
|
-
};
|
|
2833
|
+
jsonKeyToVariableMap?: Record<string, string>;
|
|
2852
2834
|
/**
|
|
2853
2835
|
* <p>A map of CSV index values in the SageMaker response to the Amazon Fraud Detector variables. </p>
|
|
2854
2836
|
*/
|
|
2855
|
-
csvIndexToVariableMap?:
|
|
2856
|
-
[key: string]: string;
|
|
2857
|
-
};
|
|
2837
|
+
csvIndexToVariableMap?: Record<string, string>;
|
|
2858
2838
|
}
|
|
2859
2839
|
export declare namespace ModelOutputConfiguration {
|
|
2860
2840
|
/**
|
|
@@ -3850,9 +3830,7 @@ export interface SendEventRequest {
|
|
|
3850
3830
|
/**
|
|
3851
3831
|
* <p>Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.</p>
|
|
3852
3832
|
*/
|
|
3853
|
-
eventVariables:
|
|
3854
|
-
[key: string]: string;
|
|
3855
|
-
} | undefined;
|
|
3833
|
+
eventVariables: Record<string, string> | undefined;
|
|
3856
3834
|
/**
|
|
3857
3835
|
* <p>The label to associate with the event. Required if specifying <code>labelTimestamp</code>.</p>
|
|
3858
3836
|
*/
|
|
@@ -385,9 +385,7 @@ export declare enum UnlabeledEventsTreatment {
|
|
|
385
385
|
|
|
386
386
|
export interface LabelSchema {
|
|
387
387
|
|
|
388
|
-
labelMapper:
|
|
389
|
-
[key: string]: string[];
|
|
390
|
-
} | undefined;
|
|
388
|
+
labelMapper: Record<string, string[]> | undefined;
|
|
391
389
|
|
|
392
390
|
unlabeledEventsTreatment?: UnlabeledEventsTreatment | string;
|
|
393
391
|
}
|
|
@@ -1214,9 +1212,7 @@ export interface Event {
|
|
|
1214
1212
|
|
|
1215
1213
|
eventTimestamp?: string;
|
|
1216
1214
|
|
|
1217
|
-
eventVariables?:
|
|
1218
|
-
[key: string]: string;
|
|
1219
|
-
};
|
|
1215
|
+
eventVariables?: Record<string, string>;
|
|
1220
1216
|
|
|
1221
1217
|
currentLabel?: string;
|
|
1222
1218
|
|
|
@@ -1261,13 +1257,9 @@ export interface GetEventPredictionRequest {
|
|
|
1261
1257
|
|
|
1262
1258
|
eventTimestamp: string | undefined;
|
|
1263
1259
|
|
|
1264
|
-
eventVariables:
|
|
1265
|
-
[key: string]: string;
|
|
1266
|
-
} | undefined;
|
|
1260
|
+
eventVariables: Record<string, string> | undefined;
|
|
1267
1261
|
|
|
1268
|
-
externalModelEndpointDataBlobs?:
|
|
1269
|
-
[key: string]: ModelEndpointDataBlob;
|
|
1270
|
-
};
|
|
1262
|
+
externalModelEndpointDataBlobs?: Record<string, ModelEndpointDataBlob>;
|
|
1271
1263
|
}
|
|
1272
1264
|
export declare namespace GetEventPredictionRequest {
|
|
1273
1265
|
|
|
@@ -1292,9 +1284,7 @@ export interface ExternalModelOutputs {
|
|
|
1292
1284
|
|
|
1293
1285
|
externalModel?: ExternalModelSummary;
|
|
1294
1286
|
|
|
1295
|
-
outputs?:
|
|
1296
|
-
[key: string]: string;
|
|
1297
|
-
};
|
|
1287
|
+
outputs?: Record<string, string>;
|
|
1298
1288
|
}
|
|
1299
1289
|
export declare namespace ExternalModelOutputs {
|
|
1300
1290
|
|
|
@@ -1305,9 +1295,7 @@ export interface ModelScores {
|
|
|
1305
1295
|
|
|
1306
1296
|
modelVersion?: ModelVersion;
|
|
1307
1297
|
|
|
1308
|
-
scores?:
|
|
1309
|
-
[key: string]: number;
|
|
1310
|
-
};
|
|
1298
|
+
scores?: Record<string, number>;
|
|
1311
1299
|
}
|
|
1312
1300
|
export declare namespace ModelScores {
|
|
1313
1301
|
|
|
@@ -1366,13 +1354,9 @@ export interface EvaluatedExternalModel {
|
|
|
1366
1354
|
|
|
1367
1355
|
useEventVariables?: boolean;
|
|
1368
1356
|
|
|
1369
|
-
inputVariables?:
|
|
1370
|
-
[key: string]: string;
|
|
1371
|
-
};
|
|
1357
|
+
inputVariables?: Record<string, string>;
|
|
1372
1358
|
|
|
1373
|
-
outputVariables?:
|
|
1374
|
-
[key: string]: string;
|
|
1375
|
-
};
|
|
1359
|
+
outputVariables?: Record<string, string>;
|
|
1376
1360
|
}
|
|
1377
1361
|
export declare namespace EvaluatedExternalModel {
|
|
1378
1362
|
|
|
@@ -1614,13 +1598,9 @@ export interface ModelOutputConfiguration {
|
|
|
1614
1598
|
|
|
1615
1599
|
format: ModelOutputDataFormat | string | undefined;
|
|
1616
1600
|
|
|
1617
|
-
jsonKeyToVariableMap?:
|
|
1618
|
-
[key: string]: string;
|
|
1619
|
-
};
|
|
1601
|
+
jsonKeyToVariableMap?: Record<string, string>;
|
|
1620
1602
|
|
|
1621
|
-
csvIndexToVariableMap?:
|
|
1622
|
-
[key: string]: string;
|
|
1623
|
-
};
|
|
1603
|
+
csvIndexToVariableMap?: Record<string, string>;
|
|
1624
1604
|
}
|
|
1625
1605
|
export declare namespace ModelOutputConfiguration {
|
|
1626
1606
|
|
|
@@ -2151,9 +2131,7 @@ export interface SendEventRequest {
|
|
|
2151
2131
|
|
|
2152
2132
|
eventTimestamp: string | undefined;
|
|
2153
2133
|
|
|
2154
|
-
eventVariables:
|
|
2155
|
-
[key: string]: string;
|
|
2156
|
-
} | undefined;
|
|
2134
|
+
eventVariables: Record<string, string> | undefined;
|
|
2157
2135
|
|
|
2158
2136
|
assignedLabel?: string;
|
|
2159
2137
|
|
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.109.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",
|
|
@@ -18,36 +18,37 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-
|
|
31
|
-
"@aws-sdk/middleware-
|
|
32
|
-
"@aws-sdk/middleware-
|
|
33
|
-
"@aws-sdk/middleware-
|
|
34
|
-
"@aws-sdk/middleware-
|
|
35
|
-
"@aws-sdk/
|
|
36
|
-
"@aws-sdk/node-
|
|
37
|
-
"@aws-sdk/
|
|
38
|
-
"@aws-sdk/
|
|
39
|
-
"@aws-sdk/
|
|
40
|
-
"@aws-sdk/
|
|
41
|
-
"@aws-sdk/
|
|
21
|
+
"@aws-sdk/client-sts": "3.109.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.109.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.109.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.109.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.109.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.109.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.109.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.109.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.109.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.109.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.109.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.109.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.109.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.109.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.109.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.109.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.109.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.109.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.109.0",
|
|
40
|
+
"@aws-sdk/types": "3.109.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.109.0",
|
|
42
|
+
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
42
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.109.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.109.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.109.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.109.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
51
52
|
"tslib": "^2.3.1"
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|