@aws-sdk/client-frauddetector 3.758.0 → 3.774.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 (2) hide show
  1. package/dist-cjs/index.js +35 -35
  2. package/package.json +7 -7
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
25
  AsyncJobStatus: () => AsyncJobStatus,
26
26
  BatchCreateVariableCommand: () => BatchCreateVariableCommand,
@@ -156,7 +156,7 @@ __export(src_exports, {
156
156
  paginateListEventPredictions: () => paginateListEventPredictions,
157
157
  paginateListTagsForResource: () => paginateListTagsForResource
158
158
  });
159
- module.exports = __toCommonJS(src_exports);
159
+ module.exports = __toCommonJS(index_exports);
160
160
 
161
161
  // src/FraudDetectorClient.ts
162
162
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -283,9 +283,9 @@ var FraudDetectorClient = class extends import_smithy_client.Client {
283
283
  this.middlewareStack.use(
284
284
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
285
285
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultFraudDetectorHttpAuthSchemeParametersProvider,
286
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
286
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
287
287
  "aws.auth#sigv4": config.credentials
288
- })
288
+ }), "identityProviderConfigProvider")
289
289
  })
290
290
  );
291
291
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -2122,7 +2122,7 @@ var se_GetEventPredictionRequest = /* @__PURE__ */ __name((input, context) => {
2122
2122
  eventTimestamp: [],
2123
2123
  eventTypeName: [],
2124
2124
  eventVariables: import_smithy_client._json,
2125
- externalModelEndpointDataBlobs: (_) => se_ExternalModelEndpointDataBlobMap(_, context)
2125
+ externalModelEndpointDataBlobs: /* @__PURE__ */ __name((_) => se_ExternalModelEndpointDataBlobMap(_, context), "externalModelEndpointDataBlobs")
2126
2126
  });
2127
2127
  }, "se_GetEventPredictionRequest");
2128
2128
  var se_ModelEndpointDataBlob = /* @__PURE__ */ __name((input, context) => {
@@ -2146,7 +2146,7 @@ var de_AggregatedVariablesImpactExplanation = /* @__PURE__ */ __name((output, co
2146
2146
  }, "de_AggregatedVariablesImpactExplanation");
2147
2147
  var de_AggregatedVariablesImportanceMetrics = /* @__PURE__ */ __name((output, context) => {
2148
2148
  return (0, import_smithy_client.take)(output, {
2149
- logOddsMetrics: (_) => de_ListOfAggregatedLogOddsMetrics(_, context)
2149
+ logOddsMetrics: /* @__PURE__ */ __name((_) => de_ListOfAggregatedLogOddsMetrics(_, context), "logOddsMetrics")
2150
2150
  });
2151
2151
  }, "de_AggregatedVariablesImportanceMetrics");
2152
2152
  var de_ATIMetricDataPoint = /* @__PURE__ */ __name((output, context) => {
@@ -2170,19 +2170,19 @@ var de_ATIModelPerformance = /* @__PURE__ */ __name((output, context) => {
2170
2170
  }, "de_ATIModelPerformance");
2171
2171
  var de_ATITrainingMetricsValue = /* @__PURE__ */ __name((output, context) => {
2172
2172
  return (0, import_smithy_client.take)(output, {
2173
- metricDataPoints: (_) => de_ATIMetricDataPointsList(_, context),
2174
- modelPerformance: (_) => de_ATIModelPerformance(_, context)
2173
+ metricDataPoints: /* @__PURE__ */ __name((_) => de_ATIMetricDataPointsList(_, context), "metricDataPoints"),
2174
+ modelPerformance: /* @__PURE__ */ __name((_) => de_ATIModelPerformance(_, context), "modelPerformance")
2175
2175
  });
2176
2176
  }, "de_ATITrainingMetricsValue");
2177
2177
  var de_DescribeModelVersionsResult = /* @__PURE__ */ __name((output, context) => {
2178
2178
  return (0, import_smithy_client.take)(output, {
2179
- modelVersionDetails: (_) => de_modelVersionDetailList(_, context),
2179
+ modelVersionDetails: /* @__PURE__ */ __name((_) => de_modelVersionDetailList(_, context), "modelVersionDetails"),
2180
2180
  nextToken: import_smithy_client.expectString
2181
2181
  });
2182
2182
  }, "de_DescribeModelVersionsResult");
2183
2183
  var de_EvaluatedModelVersion = /* @__PURE__ */ __name((output, context) => {
2184
2184
  return (0, import_smithy_client.take)(output, {
2185
- evaluations: (_) => de_ListOfModelVersionEvaluations(_, context),
2185
+ evaluations: /* @__PURE__ */ __name((_) => de_ListOfModelVersionEvaluations(_, context), "evaluations"),
2186
2186
  modelId: import_smithy_client.expectString,
2187
2187
  modelType: import_smithy_client.expectString,
2188
2188
  modelVersion: import_smithy_client.expectString
@@ -2196,7 +2196,7 @@ var de_GetEventPredictionMetadataResult = /* @__PURE__ */ __name((output, contex
2196
2196
  entityId: import_smithy_client.expectString,
2197
2197
  entityType: import_smithy_client.expectString,
2198
2198
  evaluatedExternalModels: import_smithy_client._json,
2199
- evaluatedModelVersions: (_) => de_ListOfEvaluatedModelVersions(_, context),
2199
+ evaluatedModelVersions: /* @__PURE__ */ __name((_) => de_ListOfEvaluatedModelVersions(_, context), "evaluatedModelVersions"),
2200
2200
  eventId: import_smithy_client.expectString,
2201
2201
  eventTimestamp: import_smithy_client.expectString,
2202
2202
  eventTypeName: import_smithy_client.expectString,
@@ -2210,7 +2210,7 @@ var de_GetEventPredictionMetadataResult = /* @__PURE__ */ __name((output, contex
2210
2210
  var de_GetEventPredictionResult = /* @__PURE__ */ __name((output, context) => {
2211
2211
  return (0, import_smithy_client.take)(output, {
2212
2212
  externalModelOutputs: import_smithy_client._json,
2213
- modelScores: (_) => de_ListOfModelScores(_, context),
2213
+ modelScores: /* @__PURE__ */ __name((_) => de_ListOfModelScores(_, context), "modelScores"),
2214
2214
  ruleResults: import_smithy_client._json
2215
2215
  });
2216
2216
  }, "de_GetEventPredictionResult");
@@ -2289,7 +2289,7 @@ var de_ModelPredictionMap = /* @__PURE__ */ __name((output, context) => {
2289
2289
  var de_ModelScores = /* @__PURE__ */ __name((output, context) => {
2290
2290
  return (0, import_smithy_client.take)(output, {
2291
2291
  modelVersion: import_smithy_client._json,
2292
- scores: (_) => de_ModelPredictionMap(_, context)
2292
+ scores: /* @__PURE__ */ __name((_) => de_ModelPredictionMap(_, context), "scores")
2293
2293
  });
2294
2294
  }, "de_ModelScores");
2295
2295
  var de_ModelVersionDetail = /* @__PURE__ */ __name((output, context) => {
@@ -2305,8 +2305,8 @@ var de_ModelVersionDetail = /* @__PURE__ */ __name((output, context) => {
2305
2305
  status: import_smithy_client.expectString,
2306
2306
  trainingDataSchema: import_smithy_client._json,
2307
2307
  trainingDataSource: import_smithy_client.expectString,
2308
- trainingResult: (_) => de_TrainingResult(_, context),
2309
- trainingResultV2: (_) => de_TrainingResultV2(_, context)
2308
+ trainingResult: /* @__PURE__ */ __name((_) => de_TrainingResult(_, context), "trainingResult"),
2309
+ trainingResultV2: /* @__PURE__ */ __name((_) => de_TrainingResultV2(_, context), "trainingResultV2")
2310
2310
  });
2311
2311
  }, "de_ModelVersionDetail");
2312
2312
  var de_modelVersionDetailList = /* @__PURE__ */ __name((output, context) => {
@@ -2319,7 +2319,7 @@ var de_ModelVersionEvaluation = /* @__PURE__ */ __name((output, context) => {
2319
2319
  return (0, import_smithy_client.take)(output, {
2320
2320
  evaluationScore: import_smithy_client.expectString,
2321
2321
  outputVariableName: import_smithy_client.expectString,
2322
- predictionExplanations: (_) => de_PredictionExplanations(_, context)
2322
+ predictionExplanations: /* @__PURE__ */ __name((_) => de_PredictionExplanations(_, context), "predictionExplanations")
2323
2323
  });
2324
2324
  }, "de_ModelVersionEvaluation");
2325
2325
  var de_OFIMetricDataPoint = /* @__PURE__ */ __name((output, context) => {
@@ -2339,19 +2339,19 @@ var de_OFIMetricDataPointsList = /* @__PURE__ */ __name((output, context) => {
2339
2339
  var de_OFIModelPerformance = /* @__PURE__ */ __name((output, context) => {
2340
2340
  return (0, import_smithy_client.take)(output, {
2341
2341
  auc: import_smithy_client.limitedParseFloat32,
2342
- uncertaintyRange: (_) => de_UncertaintyRange(_, context)
2342
+ uncertaintyRange: /* @__PURE__ */ __name((_) => de_UncertaintyRange(_, context), "uncertaintyRange")
2343
2343
  });
2344
2344
  }, "de_OFIModelPerformance");
2345
2345
  var de_OFITrainingMetricsValue = /* @__PURE__ */ __name((output, context) => {
2346
2346
  return (0, import_smithy_client.take)(output, {
2347
- metricDataPoints: (_) => de_OFIMetricDataPointsList(_, context),
2348
- modelPerformance: (_) => de_OFIModelPerformance(_, context)
2347
+ metricDataPoints: /* @__PURE__ */ __name((_) => de_OFIMetricDataPointsList(_, context), "metricDataPoints"),
2348
+ modelPerformance: /* @__PURE__ */ __name((_) => de_OFIModelPerformance(_, context), "modelPerformance")
2349
2349
  });
2350
2350
  }, "de_OFITrainingMetricsValue");
2351
2351
  var de_PredictionExplanations = /* @__PURE__ */ __name((output, context) => {
2352
2352
  return (0, import_smithy_client.take)(output, {
2353
- aggregatedVariablesImpactExplanations: (_) => de_ListOfAggregatedVariablesImpactExplanations(_, context),
2354
- variableImpactExplanations: (_) => de_listOfVariableImpactExplanations(_, context)
2353
+ aggregatedVariablesImpactExplanations: /* @__PURE__ */ __name((_) => de_ListOfAggregatedVariablesImpactExplanations(_, context), "aggregatedVariablesImpactExplanations"),
2354
+ variableImpactExplanations: /* @__PURE__ */ __name((_) => de_listOfVariableImpactExplanations(_, context), "variableImpactExplanations")
2355
2355
  });
2356
2356
  }, "de_PredictionExplanations");
2357
2357
  var de_TFIMetricDataPoint = /* @__PURE__ */ __name((output, context) => {
@@ -2371,41 +2371,41 @@ var de_TFIMetricDataPointsList = /* @__PURE__ */ __name((output, context) => {
2371
2371
  var de_TFIModelPerformance = /* @__PURE__ */ __name((output, context) => {
2372
2372
  return (0, import_smithy_client.take)(output, {
2373
2373
  auc: import_smithy_client.limitedParseFloat32,
2374
- uncertaintyRange: (_) => de_UncertaintyRange(_, context)
2374
+ uncertaintyRange: /* @__PURE__ */ __name((_) => de_UncertaintyRange(_, context), "uncertaintyRange")
2375
2375
  });
2376
2376
  }, "de_TFIModelPerformance");
2377
2377
  var de_TFITrainingMetricsValue = /* @__PURE__ */ __name((output, context) => {
2378
2378
  return (0, import_smithy_client.take)(output, {
2379
- metricDataPoints: (_) => de_TFIMetricDataPointsList(_, context),
2380
- modelPerformance: (_) => de_TFIModelPerformance(_, context)
2379
+ metricDataPoints: /* @__PURE__ */ __name((_) => de_TFIMetricDataPointsList(_, context), "metricDataPoints"),
2380
+ modelPerformance: /* @__PURE__ */ __name((_) => de_TFIModelPerformance(_, context), "modelPerformance")
2381
2381
  });
2382
2382
  }, "de_TFITrainingMetricsValue");
2383
2383
  var de_TrainingMetrics = /* @__PURE__ */ __name((output, context) => {
2384
2384
  return (0, import_smithy_client.take)(output, {
2385
2385
  auc: import_smithy_client.limitedParseFloat32,
2386
- metricDataPoints: (_) => de_metricDataPointsList(_, context)
2386
+ metricDataPoints: /* @__PURE__ */ __name((_) => de_metricDataPointsList(_, context), "metricDataPoints")
2387
2387
  });
2388
2388
  }, "de_TrainingMetrics");
2389
2389
  var de_TrainingMetricsV2 = /* @__PURE__ */ __name((output, context) => {
2390
2390
  return (0, import_smithy_client.take)(output, {
2391
- ati: (_) => de_ATITrainingMetricsValue(_, context),
2392
- ofi: (_) => de_OFITrainingMetricsValue(_, context),
2393
- tfi: (_) => de_TFITrainingMetricsValue(_, context)
2391
+ ati: /* @__PURE__ */ __name((_) => de_ATITrainingMetricsValue(_, context), "ati"),
2392
+ ofi: /* @__PURE__ */ __name((_) => de_OFITrainingMetricsValue(_, context), "ofi"),
2393
+ tfi: /* @__PURE__ */ __name((_) => de_TFITrainingMetricsValue(_, context), "tfi")
2394
2394
  });
2395
2395
  }, "de_TrainingMetricsV2");
2396
2396
  var de_TrainingResult = /* @__PURE__ */ __name((output, context) => {
2397
2397
  return (0, import_smithy_client.take)(output, {
2398
2398
  dataValidationMetrics: import_smithy_client._json,
2399
- trainingMetrics: (_) => de_TrainingMetrics(_, context),
2400
- variableImportanceMetrics: (_) => de_VariableImportanceMetrics(_, context)
2399
+ trainingMetrics: /* @__PURE__ */ __name((_) => de_TrainingMetrics(_, context), "trainingMetrics"),
2400
+ variableImportanceMetrics: /* @__PURE__ */ __name((_) => de_VariableImportanceMetrics(_, context), "variableImportanceMetrics")
2401
2401
  });
2402
2402
  }, "de_TrainingResult");
2403
2403
  var de_TrainingResultV2 = /* @__PURE__ */ __name((output, context) => {
2404
2404
  return (0, import_smithy_client.take)(output, {
2405
- aggregatedVariablesImportanceMetrics: (_) => de_AggregatedVariablesImportanceMetrics(_, context),
2405
+ aggregatedVariablesImportanceMetrics: /* @__PURE__ */ __name((_) => de_AggregatedVariablesImportanceMetrics(_, context), "aggregatedVariablesImportanceMetrics"),
2406
2406
  dataValidationMetrics: import_smithy_client._json,
2407
- trainingMetricsV2: (_) => de_TrainingMetricsV2(_, context),
2408
- variableImportanceMetrics: (_) => de_VariableImportanceMetrics(_, context)
2407
+ trainingMetricsV2: /* @__PURE__ */ __name((_) => de_TrainingMetricsV2(_, context), "trainingMetricsV2"),
2408
+ variableImportanceMetrics: /* @__PURE__ */ __name((_) => de_VariableImportanceMetrics(_, context), "variableImportanceMetrics")
2409
2409
  });
2410
2410
  }, "de_TrainingResultV2");
2411
2411
  var de_UncertaintyRange = /* @__PURE__ */ __name((output, context) => {
@@ -2423,7 +2423,7 @@ var de_VariableImpactExplanation = /* @__PURE__ */ __name((output, context) => {
2423
2423
  }, "de_VariableImpactExplanation");
2424
2424
  var de_VariableImportanceMetrics = /* @__PURE__ */ __name((output, context) => {
2425
2425
  return (0, import_smithy_client.take)(output, {
2426
- logOddsMetrics: (_) => de_ListOfLogOddsMetrics(_, context)
2426
+ logOddsMetrics: /* @__PURE__ */ __name((_) => de_ListOfLogOddsMetrics(_, context), "logOddsMetrics")
2427
2427
  });
2428
2428
  }, "de_VariableImportanceMetrics");
2429
2429
  var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
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.758.0",
4
+ "version": "3.774.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-frauddetector",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
25
- "@aws-sdk/middleware-host-header": "3.734.0",
23
+ "@aws-sdk/core": "3.774.0",
24
+ "@aws-sdk/credential-provider-node": "3.774.0",
25
+ "@aws-sdk/middleware-host-header": "3.774.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
28
- "@aws-sdk/middleware-user-agent": "3.758.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
+ "@aws-sdk/middleware-user-agent": "3.774.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",
31
31
  "@aws-sdk/util-endpoints": "3.743.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.758.0",
33
+ "@aws-sdk/util-user-agent-node": "3.774.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
35
  "@smithy/core": "^3.1.5",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",