@aws-sdk/client-frauddetector 3.47.0 → 3.49.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 (36) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist-cjs/FraudDetector.js +30 -0
  3. package/dist-cjs/commands/GetEventPredictionMetadataCommand.js +36 -0
  4. package/dist-cjs/commands/ListEventPredictionsCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +101 -2
  7. package/dist-cjs/pagination/ListEventPredictionsPaginator.js +35 -0
  8. package/dist-cjs/pagination/index.js +1 -0
  9. package/dist-cjs/protocols/Aws_json1_1.js +408 -3
  10. package/dist-es/FraudDetector.js +30 -0
  11. package/dist-es/commands/GetEventPredictionMetadataCommand.js +39 -0
  12. package/dist-es/commands/ListEventPredictionsCommand.js +39 -0
  13. package/dist-es/commands/index.js +2 -0
  14. package/dist-es/models/models_0.js +62 -0
  15. package/dist-es/pagination/ListEventPredictionsPaginator.js +74 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_json1_1.js +405 -0
  18. package/dist-types/FraudDetector.d.ts +29 -0
  19. package/dist-types/FraudDetectorClient.d.ts +4 -2
  20. package/dist-types/commands/GetEventPredictionMetadataCommand.d.ts +37 -0
  21. package/dist-types/commands/ListEventPredictionsCommand.d.ts +48 -0
  22. package/dist-types/commands/index.d.ts +2 -0
  23. package/dist-types/models/models_0.d.ts +551 -0
  24. package/dist-types/pagination/ListEventPredictionsPaginator.d.ts +4 -0
  25. package/dist-types/pagination/index.d.ts +1 -0
  26. package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
  27. package/dist-types/ts3.4/FraudDetector.d.ts +10 -0
  28. package/dist-types/ts3.4/FraudDetectorClient.d.ts +4 -2
  29. package/dist-types/ts3.4/commands/GetEventPredictionMetadataCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/ListEventPredictionsCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  32. package/dist-types/ts3.4/models/models_0.d.ts +224 -0
  33. package/dist-types/ts3.4/pagination/ListEventPredictionsPaginator.d.ts +4 -0
  34. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  35. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
  36. package/package.json +40 -34
@@ -397,6 +397,17 @@ export var serializeAws_json1_1GetEventPredictionCommand = function (input, cont
397
397
  return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
398
398
  });
399
399
  }); };
400
+ export var serializeAws_json1_1GetEventPredictionMetadataCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
401
+ var headers, body;
402
+ return __generator(this, function (_a) {
403
+ headers = {
404
+ "content-type": "application/x-amz-json-1.1",
405
+ "x-amz-target": "AWSHawksNestServiceFacade.GetEventPredictionMetadata",
406
+ };
407
+ body = JSON.stringify(serializeAws_json1_1GetEventPredictionMetadataRequest(input, context));
408
+ return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
409
+ });
410
+ }); };
400
411
  export var serializeAws_json1_1GetEventTypesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
401
412
  var headers, body;
402
413
  return __generator(this, function (_a) {
@@ -496,6 +507,17 @@ export var serializeAws_json1_1GetVariablesCommand = function (input, context) {
496
507
  return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
497
508
  });
498
509
  }); };
510
+ export var serializeAws_json1_1ListEventPredictionsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
511
+ var headers, body;
512
+ return __generator(this, function (_a) {
513
+ headers = {
514
+ "content-type": "application/x-amz-json-1.1",
515
+ "x-amz-target": "AWSHawksNestServiceFacade.ListEventPredictions",
516
+ };
517
+ body = JSON.stringify(serializeAws_json1_1ListEventPredictionsRequest(input, context));
518
+ return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
519
+ });
520
+ }); };
499
521
  export var serializeAws_json1_1ListTagsForResourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
500
522
  var headers, body;
501
523
  return __generator(this, function (_a) {
@@ -3855,6 +3877,94 @@ var deserializeAws_json1_1GetEventPredictionCommandError = function (output, con
3855
3877
  }
3856
3878
  });
3857
3879
  }); };
3880
+ export var deserializeAws_json1_1GetEventPredictionMetadataCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
3881
+ var data, contents, response;
3882
+ return __generator(this, function (_a) {
3883
+ switch (_a.label) {
3884
+ case 0:
3885
+ if (output.statusCode >= 300) {
3886
+ return [2, deserializeAws_json1_1GetEventPredictionMetadataCommandError(output, context)];
3887
+ }
3888
+ return [4, parseBody(output.body, context)];
3889
+ case 1:
3890
+ data = _a.sent();
3891
+ contents = {};
3892
+ contents = deserializeAws_json1_1GetEventPredictionMetadataResult(data, context);
3893
+ response = __assign({ $metadata: deserializeMetadata(output) }, contents);
3894
+ return [2, Promise.resolve(response)];
3895
+ }
3896
+ });
3897
+ }); };
3898
+ var deserializeAws_json1_1GetEventPredictionMetadataCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
3899
+ var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, parsedBody, message;
3900
+ var _h;
3901
+ return __generator(this, function (_j) {
3902
+ switch (_j.label) {
3903
+ case 0:
3904
+ _a = [__assign({}, output)];
3905
+ _h = {};
3906
+ return [4, parseBody(output.body, context)];
3907
+ case 1:
3908
+ parsedOutput = __assign.apply(void 0, _a.concat([(_h.body = _j.sent(), _h)]));
3909
+ errorCode = "UnknownError";
3910
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3911
+ _b = errorCode;
3912
+ switch (_b) {
3913
+ case "AccessDeniedException": return [3, 2];
3914
+ case "com.amazonaws.frauddetector#AccessDeniedException": return [3, 2];
3915
+ case "InternalServerException": return [3, 4];
3916
+ case "com.amazonaws.frauddetector#InternalServerException": return [3, 4];
3917
+ case "ResourceNotFoundException": return [3, 6];
3918
+ case "com.amazonaws.frauddetector#ResourceNotFoundException": return [3, 6];
3919
+ case "ThrottlingException": return [3, 8];
3920
+ case "com.amazonaws.frauddetector#ThrottlingException": return [3, 8];
3921
+ case "ValidationException": return [3, 10];
3922
+ case "com.amazonaws.frauddetector#ValidationException": return [3, 10];
3923
+ }
3924
+ return [3, 12];
3925
+ case 2:
3926
+ _c = [{}];
3927
+ return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
3928
+ case 3:
3929
+ response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
3930
+ return [3, 13];
3931
+ case 4:
3932
+ _d = [{}];
3933
+ return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
3934
+ case 5:
3935
+ response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
3936
+ return [3, 13];
3937
+ case 6:
3938
+ _e = [{}];
3939
+ return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
3940
+ case 7:
3941
+ response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
3942
+ return [3, 13];
3943
+ case 8:
3944
+ _f = [{}];
3945
+ return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
3946
+ case 9:
3947
+ response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
3948
+ return [3, 13];
3949
+ case 10:
3950
+ _g = [{}];
3951
+ return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
3952
+ case 11:
3953
+ response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
3954
+ return [3, 13];
3955
+ case 12:
3956
+ parsedBody = parsedOutput.body;
3957
+ errorCode = parsedBody.code || parsedBody.Code || errorCode;
3958
+ response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
3959
+ _j.label = 13;
3960
+ case 13:
3961
+ message = response.message || response.Message || errorCode;
3962
+ response.message = message;
3963
+ delete response.Message;
3964
+ return [2, Promise.reject(Object.assign(new Error(message), response))];
3965
+ }
3966
+ });
3967
+ }); };
3858
3968
  export var deserializeAws_json1_1GetEventTypesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
3859
3969
  var data, contents, response;
3860
3970
  return __generator(this, function (_a) {
@@ -4639,6 +4749,86 @@ var deserializeAws_json1_1GetVariablesCommandError = function (output, context)
4639
4749
  }
4640
4750
  });
4641
4751
  }); };
4752
+ export var deserializeAws_json1_1ListEventPredictionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4753
+ var data, contents, response;
4754
+ return __generator(this, function (_a) {
4755
+ switch (_a.label) {
4756
+ case 0:
4757
+ if (output.statusCode >= 300) {
4758
+ return [2, deserializeAws_json1_1ListEventPredictionsCommandError(output, context)];
4759
+ }
4760
+ return [4, parseBody(output.body, context)];
4761
+ case 1:
4762
+ data = _a.sent();
4763
+ contents = {};
4764
+ contents = deserializeAws_json1_1ListEventPredictionsResult(data, context);
4765
+ response = __assign({ $metadata: deserializeMetadata(output) }, contents);
4766
+ return [2, Promise.resolve(response)];
4767
+ }
4768
+ });
4769
+ }); };
4770
+ var deserializeAws_json1_1ListEventPredictionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4771
+ var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, parsedBody, message;
4772
+ var _g;
4773
+ return __generator(this, function (_h) {
4774
+ switch (_h.label) {
4775
+ case 0:
4776
+ _a = [__assign({}, output)];
4777
+ _g = {};
4778
+ return [4, parseBody(output.body, context)];
4779
+ case 1:
4780
+ parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
4781
+ errorCode = "UnknownError";
4782
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4783
+ _b = errorCode;
4784
+ switch (_b) {
4785
+ case "AccessDeniedException": return [3, 2];
4786
+ case "com.amazonaws.frauddetector#AccessDeniedException": return [3, 2];
4787
+ case "InternalServerException": return [3, 4];
4788
+ case "com.amazonaws.frauddetector#InternalServerException": return [3, 4];
4789
+ case "ThrottlingException": return [3, 6];
4790
+ case "com.amazonaws.frauddetector#ThrottlingException": return [3, 6];
4791
+ case "ValidationException": return [3, 8];
4792
+ case "com.amazonaws.frauddetector#ValidationException": return [3, 8];
4793
+ }
4794
+ return [3, 10];
4795
+ case 2:
4796
+ _c = [{}];
4797
+ return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
4798
+ case 3:
4799
+ response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4800
+ return [3, 11];
4801
+ case 4:
4802
+ _d = [{}];
4803
+ return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
4804
+ case 5:
4805
+ response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4806
+ return [3, 11];
4807
+ case 6:
4808
+ _e = [{}];
4809
+ return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
4810
+ case 7:
4811
+ response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4812
+ return [3, 11];
4813
+ case 8:
4814
+ _f = [{}];
4815
+ return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
4816
+ case 9:
4817
+ response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4818
+ return [3, 11];
4819
+ case 10:
4820
+ parsedBody = parsedOutput.body;
4821
+ errorCode = parsedBody.code || parsedBody.Code || errorCode;
4822
+ response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
4823
+ _h.label = 11;
4824
+ case 11:
4825
+ message = response.message || response.Message || errorCode;
4826
+ response.message = message;
4827
+ delete response.Message;
4828
+ return [2, Promise.reject(Object.assign(new Error(message), response))];
4829
+ }
4830
+ });
4831
+ }); };
4642
4832
  export var deserializeAws_json1_1ListTagsForResourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4643
4833
  var data, contents, response;
4644
4834
  return __generator(this, function (_a) {
@@ -6763,6 +6953,9 @@ var serializeAws_json1_1ExternalModelEndpointDataBlobMap = function (input, cont
6763
6953
  return __assign(__assign({}, acc), (_b = {}, _b[key] = serializeAws_json1_1ModelEndpointDataBlob(value, context), _b));
6764
6954
  }, {});
6765
6955
  };
6956
+ var serializeAws_json1_1FilterCondition = function (input, context) {
6957
+ return __assign({}, (input.value !== undefined && input.value !== null && { value: input.value }));
6958
+ };
6766
6959
  var serializeAws_json1_1GetBatchImportJobsRequest = function (input, context) {
6767
6960
  return __assign(__assign(__assign({}, (input.jobId !== undefined && input.jobId !== null && { jobId: input.jobId })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
6768
6961
  };
@@ -6782,6 +6975,11 @@ var serializeAws_json1_1GetDetectorVersionRequest = function (input, context) {
6782
6975
  var serializeAws_json1_1GetEntityTypesRequest = function (input, context) {
6783
6976
  return __assign(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
6784
6977
  };
6978
+ var serializeAws_json1_1GetEventPredictionMetadataRequest = function (input, context) {
6979
+ return __assign(__assign(__assign(__assign(__assign({}, (input.detectorId !== undefined && input.detectorId !== null && { detectorId: input.detectorId })), (input.detectorVersionId !== undefined &&
6980
+ input.detectorVersionId !== null && { detectorVersionId: input.detectorVersionId })), (input.eventId !== undefined && input.eventId !== null && { eventId: input.eventId })), (input.eventTypeName !== undefined && input.eventTypeName !== null && { eventTypeName: input.eventTypeName })), (input.predictionTimestamp !== undefined &&
6981
+ input.predictionTimestamp !== null && { predictionTimestamp: input.predictionTimestamp }));
6982
+ };
6785
6983
  var serializeAws_json1_1GetEventPredictionRequest = function (input, context) {
6786
6984
  return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.detectorId !== undefined && input.detectorId !== null && { detectorId: input.detectorId })), (input.detectorVersionId !== undefined &&
6787
6985
  input.detectorVersionId !== null && { detectorVersionId: input.detectorVersionId })), (input.entities !== undefined &&
@@ -6856,6 +7054,18 @@ var serializeAws_json1_1LabelSchema = function (input, context) {
6856
7054
  input.labelMapper !== null && { labelMapper: serializeAws_json1_1labelMapper(input.labelMapper, context) })), (input.unlabeledEventsTreatment !== undefined &&
6857
7055
  input.unlabeledEventsTreatment !== null && { unlabeledEventsTreatment: input.unlabeledEventsTreatment }));
6858
7056
  };
7057
+ var serializeAws_json1_1ListEventPredictionsRequest = function (input, context) {
7058
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.detectorId !== undefined &&
7059
+ input.detectorId !== null && { detectorId: serializeAws_json1_1FilterCondition(input.detectorId, context) })), (input.detectorVersionId !== undefined &&
7060
+ input.detectorVersionId !== null && {
7061
+ detectorVersionId: serializeAws_json1_1FilterCondition(input.detectorVersionId, context),
7062
+ })), (input.eventId !== undefined &&
7063
+ input.eventId !== null && { eventId: serializeAws_json1_1FilterCondition(input.eventId, context) })), (input.eventType !== undefined &&
7064
+ input.eventType !== null && { eventType: serializeAws_json1_1FilterCondition(input.eventType, context) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.predictionTimeRange !== undefined &&
7065
+ input.predictionTimeRange !== null && {
7066
+ predictionTimeRange: serializeAws_json1_1PredictionTimeRange(input.predictionTimeRange, context),
7067
+ }));
7068
+ };
6859
7069
  var serializeAws_json1_1listOfEntities = function (input, context) {
6860
7070
  return input
6861
7071
  .filter(function (e) { return e != null; })
@@ -6932,6 +7142,9 @@ var serializeAws_json1_1NonEmptyListOfStrings = function (input, context) {
6932
7142
  return entry;
6933
7143
  });
6934
7144
  };
7145
+ var serializeAws_json1_1PredictionTimeRange = function (input, context) {
7146
+ return __assign(__assign({}, (input.endTime !== undefined && input.endTime !== null && { endTime: input.endTime })), (input.startTime !== undefined && input.startTime !== null && { startTime: input.startTime }));
7147
+ };
6935
7148
  var serializeAws_json1_1PutDetectorRequest = function (input, context) {
6936
7149
  return __assign(__assign(__assign(__assign({}, (input.description !== undefined && input.description !== null && { description: input.description })), (input.detectorId !== undefined && input.detectorId !== null && { detectorId: input.detectorId })), (input.eventTypeName !== undefined && input.eventTypeName !== null && { eventTypeName: input.eventTypeName })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1tagList(input.tags, context) }));
6937
7150
  };
@@ -7397,6 +7610,51 @@ var deserializeAws_json1_1entityTypeList = function (output, context) {
7397
7610
  return deserializeAws_json1_1EntityType(entry, context);
7398
7611
  });
7399
7612
  };
7613
+ var deserializeAws_json1_1EvaluatedExternalModel = function (output, context) {
7614
+ return {
7615
+ inputVariables: output.inputVariables !== undefined && output.inputVariables !== null
7616
+ ? deserializeAws_json1_1MapOfStrings(output.inputVariables, context)
7617
+ : undefined,
7618
+ modelEndpoint: __expectString(output.modelEndpoint),
7619
+ outputVariables: output.outputVariables !== undefined && output.outputVariables !== null
7620
+ ? deserializeAws_json1_1MapOfStrings(output.outputVariables, context)
7621
+ : undefined,
7622
+ useEventVariables: __expectBoolean(output.useEventVariables),
7623
+ };
7624
+ };
7625
+ var deserializeAws_json1_1EvaluatedModelVersion = function (output, context) {
7626
+ return {
7627
+ evaluations: output.evaluations !== undefined && output.evaluations !== null
7628
+ ? deserializeAws_json1_1ListOfModelVersionEvaluations(output.evaluations, context)
7629
+ : undefined,
7630
+ modelId: __expectString(output.modelId),
7631
+ modelType: __expectString(output.modelType),
7632
+ modelVersion: __expectString(output.modelVersion),
7633
+ };
7634
+ };
7635
+ var deserializeAws_json1_1EvaluatedRule = function (output, context) {
7636
+ return {
7637
+ evaluated: __expectBoolean(output.evaluated),
7638
+ expression: __expectString(output.expression),
7639
+ expressionWithValues: __expectString(output.expressionWithValues),
7640
+ matched: __expectBoolean(output.matched),
7641
+ outcomes: output.outcomes !== undefined && output.outcomes !== null
7642
+ ? deserializeAws_json1_1ListOfStrings(output.outcomes, context)
7643
+ : undefined,
7644
+ ruleId: __expectString(output.ruleId),
7645
+ ruleVersion: __expectString(output.ruleVersion),
7646
+ };
7647
+ };
7648
+ var deserializeAws_json1_1EvaluatedRuleList = function (output, context) {
7649
+ return (output || [])
7650
+ .filter(function (e) { return e != null; })
7651
+ .map(function (entry) {
7652
+ if (entry === null) {
7653
+ return null;
7654
+ }
7655
+ return deserializeAws_json1_1EvaluatedRule(entry, context);
7656
+ });
7657
+ };
7400
7658
  var deserializeAws_json1_1Event = function (output, context) {
7401
7659
  return {
7402
7660
  currentLabel: __expectString(output.currentLabel),
@@ -7422,6 +7680,16 @@ var deserializeAws_json1_1EventAttributeMap = function (output, context) {
7422
7680
  return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
7423
7681
  }, {});
7424
7682
  };
7683
+ var deserializeAws_json1_1EventPredictionSummary = function (output, context) {
7684
+ return {
7685
+ detectorId: __expectString(output.detectorId),
7686
+ detectorVersionId: __expectString(output.detectorVersionId),
7687
+ eventId: __expectString(output.eventId),
7688
+ eventTimestamp: __expectString(output.eventTimestamp),
7689
+ eventTypeName: __expectString(output.eventTypeName),
7690
+ predictionTimestamp: __expectString(output.predictionTimestamp),
7691
+ };
7692
+ };
7425
7693
  var deserializeAws_json1_1EventType = function (output, context) {
7426
7694
  return {
7427
7695
  arn: __expectString(output.arn),
@@ -7454,6 +7722,13 @@ var deserializeAws_json1_1eventTypeList = function (output, context) {
7454
7722
  return deserializeAws_json1_1EventType(entry, context);
7455
7723
  });
7456
7724
  };
7725
+ var deserializeAws_json1_1EventVariableSummary = function (output, context) {
7726
+ return {
7727
+ name: __expectString(output.name),
7728
+ source: __expectString(output.source),
7729
+ value: __expectString(output.value),
7730
+ };
7731
+ };
7457
7732
  var deserializeAws_json1_1ExternalEventsDetail = function (output, context) {
7458
7733
  return {
7459
7734
  dataAccessRoleArn: __expectString(output.dataAccessRoleArn),
@@ -7608,6 +7883,35 @@ var deserializeAws_json1_1GetEntityTypesResult = function (output, context) {
7608
7883
  nextToken: __expectString(output.nextToken),
7609
7884
  };
7610
7885
  };
7886
+ var deserializeAws_json1_1GetEventPredictionMetadataResult = function (output, context) {
7887
+ return {
7888
+ detectorId: __expectString(output.detectorId),
7889
+ detectorVersionId: __expectString(output.detectorVersionId),
7890
+ detectorVersionStatus: __expectString(output.detectorVersionStatus),
7891
+ entityId: __expectString(output.entityId),
7892
+ entityType: __expectString(output.entityType),
7893
+ evaluatedExternalModels: output.evaluatedExternalModels !== undefined && output.evaluatedExternalModels !== null
7894
+ ? deserializeAws_json1_1ListOfEvaluatedExternalModels(output.evaluatedExternalModels, context)
7895
+ : undefined,
7896
+ evaluatedModelVersions: output.evaluatedModelVersions !== undefined && output.evaluatedModelVersions !== null
7897
+ ? deserializeAws_json1_1ListOfEvaluatedModelVersions(output.evaluatedModelVersions, context)
7898
+ : undefined,
7899
+ eventId: __expectString(output.eventId),
7900
+ eventTimestamp: __expectString(output.eventTimestamp),
7901
+ eventTypeName: __expectString(output.eventTypeName),
7902
+ eventVariables: output.eventVariables !== undefined && output.eventVariables !== null
7903
+ ? deserializeAws_json1_1ListOfEventVariableSummaries(output.eventVariables, context)
7904
+ : undefined,
7905
+ outcomes: output.outcomes !== undefined && output.outcomes !== null
7906
+ ? deserializeAws_json1_1ListOfStrings(output.outcomes, context)
7907
+ : undefined,
7908
+ predictionTimestamp: __expectString(output.predictionTimestamp),
7909
+ ruleExecutionMode: __expectString(output.ruleExecutionMode),
7910
+ rules: output.rules !== undefined && output.rules !== null
7911
+ ? deserializeAws_json1_1EvaluatedRuleList(output.rules, context)
7912
+ : undefined,
7913
+ };
7914
+ };
7611
7915
  var deserializeAws_json1_1GetEventPredictionResult = function (output, context) {
7612
7916
  return {
7613
7917
  externalModelOutputs: output.externalModelOutputs !== undefined && output.externalModelOutputs !== null
@@ -7789,6 +8093,14 @@ var deserializeAws_json1_1LabelSchema = function (output, context) {
7789
8093
  unlabeledEventsTreatment: __expectString(output.unlabeledEventsTreatment),
7790
8094
  };
7791
8095
  };
8096
+ var deserializeAws_json1_1ListEventPredictionsResult = function (output, context) {
8097
+ return {
8098
+ eventPredictionSummaries: output.eventPredictionSummaries !== undefined && output.eventPredictionSummaries !== null
8099
+ ? deserializeAws_json1_1ListOfEventPredictionSummaries(output.eventPredictionSummaries, context)
8100
+ : undefined,
8101
+ nextToken: __expectString(output.nextToken),
8102
+ };
8103
+ };
7792
8104
  var deserializeAws_json1_1listOfEntities = function (output, context) {
7793
8105
  return (output || [])
7794
8106
  .filter(function (e) { return e != null; })
@@ -7799,6 +8111,46 @@ var deserializeAws_json1_1listOfEntities = function (output, context) {
7799
8111
  return deserializeAws_json1_1Entity(entry, context);
7800
8112
  });
7801
8113
  };
8114
+ var deserializeAws_json1_1ListOfEvaluatedExternalModels = function (output, context) {
8115
+ return (output || [])
8116
+ .filter(function (e) { return e != null; })
8117
+ .map(function (entry) {
8118
+ if (entry === null) {
8119
+ return null;
8120
+ }
8121
+ return deserializeAws_json1_1EvaluatedExternalModel(entry, context);
8122
+ });
8123
+ };
8124
+ var deserializeAws_json1_1ListOfEvaluatedModelVersions = function (output, context) {
8125
+ return (output || [])
8126
+ .filter(function (e) { return e != null; })
8127
+ .map(function (entry) {
8128
+ if (entry === null) {
8129
+ return null;
8130
+ }
8131
+ return deserializeAws_json1_1EvaluatedModelVersion(entry, context);
8132
+ });
8133
+ };
8134
+ var deserializeAws_json1_1ListOfEventPredictionSummaries = function (output, context) {
8135
+ return (output || [])
8136
+ .filter(function (e) { return e != null; })
8137
+ .map(function (entry) {
8138
+ if (entry === null) {
8139
+ return null;
8140
+ }
8141
+ return deserializeAws_json1_1EventPredictionSummary(entry, context);
8142
+ });
8143
+ };
8144
+ var deserializeAws_json1_1ListOfEventVariableSummaries = function (output, context) {
8145
+ return (output || [])
8146
+ .filter(function (e) { return e != null; })
8147
+ .map(function (entry) {
8148
+ if (entry === null) {
8149
+ return null;
8150
+ }
8151
+ return deserializeAws_json1_1EventVariableSummary(entry, context);
8152
+ });
8153
+ };
7802
8154
  var deserializeAws_json1_1ListOfExternalModelOutputs = function (output, context) {
7803
8155
  return (output || [])
7804
8156
  .filter(function (e) { return e != null; })
@@ -7829,6 +8181,16 @@ var deserializeAws_json1_1ListOfModelScores = function (output, context) {
7829
8181
  return deserializeAws_json1_1ModelScores(entry, context);
7830
8182
  });
7831
8183
  };
8184
+ var deserializeAws_json1_1ListOfModelVersionEvaluations = function (output, context) {
8185
+ return (output || [])
8186
+ .filter(function (e) { return e != null; })
8187
+ .map(function (entry) {
8188
+ if (entry === null) {
8189
+ return null;
8190
+ }
8191
+ return deserializeAws_json1_1ModelVersionEvaluation(entry, context);
8192
+ });
8193
+ };
7832
8194
  var deserializeAws_json1_1ListOfModelVersions = function (output, context) {
7833
8195
  return (output || [])
7834
8196
  .filter(function (e) { return e != null; })
@@ -7859,6 +8221,16 @@ var deserializeAws_json1_1ListOfStrings = function (output, context) {
7859
8221
  return __expectString(entry);
7860
8222
  });
7861
8223
  };
8224
+ var deserializeAws_json1_1listOfVariableImpactExplanations = function (output, context) {
8225
+ return (output || [])
8226
+ .filter(function (e) { return e != null; })
8227
+ .map(function (entry) {
8228
+ if (entry === null) {
8229
+ return null;
8230
+ }
8231
+ return deserializeAws_json1_1VariableImpactExplanation(entry, context);
8232
+ });
8233
+ };
7862
8234
  var deserializeAws_json1_1ListTagsForResourceResult = function (output, context) {
7863
8235
  return {
7864
8236
  nextToken: __expectString(output.nextToken),
@@ -7874,6 +8246,16 @@ var deserializeAws_json1_1LogOddsMetric = function (output, context) {
7874
8246
  variableType: __expectString(output.variableType),
7875
8247
  };
7876
8248
  };
8249
+ var deserializeAws_json1_1MapOfStrings = function (output, context) {
8250
+ return Object.entries(output).reduce(function (acc, _a) {
8251
+ var _b;
8252
+ var _c = __read(_a, 2), key = _c[0], value = _c[1];
8253
+ if (value === null) {
8254
+ return acc;
8255
+ }
8256
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
8257
+ }, {});
8258
+ };
7877
8259
  var deserializeAws_json1_1MetricDataPoint = function (output, context) {
7878
8260
  return {
7879
8261
  fpr: __limitedParseFloat32(output.fpr),
@@ -7995,6 +8377,15 @@ var deserializeAws_json1_1modelVersionDetailList = function (output, context) {
7995
8377
  return deserializeAws_json1_1ModelVersionDetail(entry, context);
7996
8378
  });
7997
8379
  };
8380
+ var deserializeAws_json1_1ModelVersionEvaluation = function (output, context) {
8381
+ return {
8382
+ evaluationScore: __expectString(output.evaluationScore),
8383
+ outputVariableName: __expectString(output.outputVariableName),
8384
+ predictionExplanations: output.predictionExplanations !== undefined && output.predictionExplanations !== null
8385
+ ? deserializeAws_json1_1PredictionExplanations(output.predictionExplanations, context)
8386
+ : undefined,
8387
+ };
8388
+ };
7998
8389
  var deserializeAws_json1_1NonEmptyListOfStrings = function (output, context) {
7999
8390
  return (output || [])
8000
8391
  .filter(function (e) { return e != null; })
@@ -8024,6 +8415,13 @@ var deserializeAws_json1_1OutcomeList = function (output, context) {
8024
8415
  return deserializeAws_json1_1Outcome(entry, context);
8025
8416
  });
8026
8417
  };
8418
+ var deserializeAws_json1_1PredictionExplanations = function (output, context) {
8419
+ return {
8420
+ variableImpactExplanations: output.variableImpactExplanations !== undefined && output.variableImpactExplanations !== null
8421
+ ? deserializeAws_json1_1listOfVariableImpactExplanations(output.variableImpactExplanations, context)
8422
+ : undefined,
8423
+ };
8424
+ };
8027
8425
  var deserializeAws_json1_1PutDetectorResult = function (output, context) {
8028
8426
  return {};
8029
8427
  };
@@ -8222,6 +8620,13 @@ var deserializeAws_json1_1Variable = function (output, context) {
8222
8620
  variableType: __expectString(output.variableType),
8223
8621
  };
8224
8622
  };
8623
+ var deserializeAws_json1_1VariableImpactExplanation = function (output, context) {
8624
+ return {
8625
+ eventVariableName: __expectString(output.eventVariableName),
8626
+ logOddsImpact: __limitedParseFloat32(output.logOddsImpact),
8627
+ relativeImpact: __expectString(output.relativeImpact),
8628
+ };
8629
+ };
8225
8630
  var deserializeAws_json1_1VariableImportanceMetrics = function (output, context) {
8226
8631
  return {
8227
8632
  logOddsMetrics: output.logOddsMetrics !== undefined && output.logOddsMetrics !== null
@@ -35,6 +35,7 @@ import { GetDetectorVersionCommandInput, GetDetectorVersionCommandOutput } from
35
35
  import { GetEntityTypesCommandInput, GetEntityTypesCommandOutput } from "./commands/GetEntityTypesCommand";
36
36
  import { GetEventCommandInput, GetEventCommandOutput } from "./commands/GetEventCommand";
37
37
  import { GetEventPredictionCommandInput, GetEventPredictionCommandOutput } from "./commands/GetEventPredictionCommand";
38
+ import { GetEventPredictionMetadataCommandInput, GetEventPredictionMetadataCommandOutput } from "./commands/GetEventPredictionMetadataCommand";
38
39
  import { GetEventTypesCommandInput, GetEventTypesCommandOutput } from "./commands/GetEventTypesCommand";
39
40
  import { GetExternalModelsCommandInput, GetExternalModelsCommandOutput } from "./commands/GetExternalModelsCommand";
40
41
  import { GetKMSEncryptionKeyCommandInput, GetKMSEncryptionKeyCommandOutput } from "./commands/GetKMSEncryptionKeyCommand";
@@ -44,6 +45,7 @@ import { GetModelVersionCommandInput, GetModelVersionCommandOutput } from "./com
44
45
  import { GetOutcomesCommandInput, GetOutcomesCommandOutput } from "./commands/GetOutcomesCommand";
45
46
  import { GetRulesCommandInput, GetRulesCommandOutput } from "./commands/GetRulesCommand";
46
47
  import { GetVariablesCommandInput, GetVariablesCommandOutput } from "./commands/GetVariablesCommand";
48
+ import { ListEventPredictionsCommandInput, ListEventPredictionsCommandOutput } from "./commands/ListEventPredictionsCommand";
47
49
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
48
50
  import { PutDetectorCommandInput, PutDetectorCommandOutput } from "./commands/PutDetectorCommand";
49
51
  import { PutEntityTypeCommandInput, PutEntityTypeCommandOutput } from "./commands/PutEntityTypeCommand";
@@ -324,6 +326,14 @@ export declare class FraudDetector extends FraudDetectorClient {
324
326
  getEventPrediction(args: GetEventPredictionCommandInput, options?: __HttpHandlerOptions): Promise<GetEventPredictionCommandOutput>;
325
327
  getEventPrediction(args: GetEventPredictionCommandInput, cb: (err: any, data?: GetEventPredictionCommandOutput) => void): void;
326
328
  getEventPrediction(args: GetEventPredictionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventPredictionCommandOutput) => void): void;
329
+ /**
330
+ * <p>
331
+ * Gets details of the past fraud predictions for the specified event ID, event type, detector ID, and detector version ID that was generated in the specified time period.
332
+ * </p>
333
+ */
334
+ getEventPredictionMetadata(args: GetEventPredictionMetadataCommandInput, options?: __HttpHandlerOptions): Promise<GetEventPredictionMetadataCommandOutput>;
335
+ getEventPredictionMetadata(args: GetEventPredictionMetadataCommandInput, cb: (err: any, data?: GetEventPredictionMetadataCommandOutput) => void): void;
336
+ getEventPredictionMetadata(args: GetEventPredictionMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventPredictionMetadataCommandOutput) => void): void;
327
337
  /**
328
338
  * <p>Gets all event types or a specific event type if name is provided. This is a paginated API. If you
329
339
  * provide a null <code>maxResults</code>, this action retrieves a maximum of 10 records
@@ -410,6 +420,25 @@ export declare class FraudDetector extends FraudDetectorClient {
410
420
  getVariables(args: GetVariablesCommandInput, options?: __HttpHandlerOptions): Promise<GetVariablesCommandOutput>;
411
421
  getVariables(args: GetVariablesCommandInput, cb: (err: any, data?: GetVariablesCommandOutput) => void): void;
412
422
  getVariables(args: GetVariablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetVariablesCommandOutput) => void): void;
423
+ /**
424
+ * <p>Gets a list of past predictions. The list can be filtered by detector ID, detector version ID, event ID, event type, or by specifying a time period.
425
+ * If filter is not specified, the most recent prediction is returned.</p>
426
+ *
427
+ * <p>For example, the following filter lists all past predictions for <code>xyz</code> event type -
428
+ * <code>{
429
+ * "eventType":{
430
+ * "value": "xyz" }”
431
+ * } </code>
432
+ * </p>
433
+ *
434
+ * <p>This is a paginated API. If you provide a null <code>maxResults</code>, this action will retrieve a maximum of 10 records per page.
435
+ * If you provide a <code>maxResults</code>, the value must be between 50 and 100. To get the next page results, provide
436
+ * the <code>nextToken</code> from the response as part of your request. A null <code>nextToken</code> fetches the records from the beginning.
437
+ * </p>
438
+ */
439
+ listEventPredictions(args: ListEventPredictionsCommandInput, options?: __HttpHandlerOptions): Promise<ListEventPredictionsCommandOutput>;
440
+ listEventPredictions(args: ListEventPredictionsCommandInput, cb: (err: any, data?: ListEventPredictionsCommandOutput) => void): void;
441
+ listEventPredictions(args: ListEventPredictionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventPredictionsCommandOutput) => void): void;
413
442
  /**
414
443
  * <p>Lists all tags associated with the resource. This is a paginated API. To get the next page results, provide the pagination token from the
415
444
  * response as part of your request. A null pagination token
@@ -42,6 +42,7 @@ import { GetDetectorVersionCommandInput, GetDetectorVersionCommandOutput } from
42
42
  import { GetEntityTypesCommandInput, GetEntityTypesCommandOutput } from "./commands/GetEntityTypesCommand";
43
43
  import { GetEventCommandInput, GetEventCommandOutput } from "./commands/GetEventCommand";
44
44
  import { GetEventPredictionCommandInput, GetEventPredictionCommandOutput } from "./commands/GetEventPredictionCommand";
45
+ import { GetEventPredictionMetadataCommandInput, GetEventPredictionMetadataCommandOutput } from "./commands/GetEventPredictionMetadataCommand";
45
46
  import { GetEventTypesCommandInput, GetEventTypesCommandOutput } from "./commands/GetEventTypesCommand";
46
47
  import { GetExternalModelsCommandInput, GetExternalModelsCommandOutput } from "./commands/GetExternalModelsCommand";
47
48
  import { GetKMSEncryptionKeyCommandInput, GetKMSEncryptionKeyCommandOutput } from "./commands/GetKMSEncryptionKeyCommand";
@@ -51,6 +52,7 @@ import { GetModelVersionCommandInput, GetModelVersionCommandOutput } from "./com
51
52
  import { GetOutcomesCommandInput, GetOutcomesCommandOutput } from "./commands/GetOutcomesCommand";
52
53
  import { GetRulesCommandInput, GetRulesCommandOutput } from "./commands/GetRulesCommand";
53
54
  import { GetVariablesCommandInput, GetVariablesCommandOutput } from "./commands/GetVariablesCommand";
55
+ import { ListEventPredictionsCommandInput, ListEventPredictionsCommandOutput } from "./commands/ListEventPredictionsCommand";
54
56
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
55
57
  import { PutDetectorCommandInput, PutDetectorCommandOutput } from "./commands/PutDetectorCommand";
56
58
  import { PutEntityTypeCommandInput, PutEntityTypeCommandOutput } from "./commands/PutEntityTypeCommand";
@@ -72,8 +74,8 @@ import { UpdateModelVersionStatusCommandInput, UpdateModelVersionStatusCommandOu
72
74
  import { UpdateRuleMetadataCommandInput, UpdateRuleMetadataCommandOutput } from "./commands/UpdateRuleMetadataCommand";
73
75
  import { UpdateRuleVersionCommandInput, UpdateRuleVersionCommandOutput } from "./commands/UpdateRuleVersionCommand";
74
76
  import { UpdateVariableCommandInput, UpdateVariableCommandOutput } from "./commands/UpdateVariableCommand";
75
- 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 | GetEventTypesCommandInput | GetExternalModelsCommandInput | GetKMSEncryptionKeyCommandInput | GetLabelsCommandInput | GetModelVersionCommandInput | GetModelsCommandInput | GetOutcomesCommandInput | GetRulesCommandInput | GetVariablesCommandInput | ListTagsForResourceCommandInput | PutDetectorCommandInput | PutEntityTypeCommandInput | PutEventTypeCommandInput | PutExternalModelCommandInput | PutKMSEncryptionKeyCommandInput | PutLabelCommandInput | PutOutcomeCommandInput | SendEventCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDetectorVersionCommandInput | UpdateDetectorVersionMetadataCommandInput | UpdateDetectorVersionStatusCommandInput | UpdateEventLabelCommandInput | UpdateModelCommandInput | UpdateModelVersionCommandInput | UpdateModelVersionStatusCommandInput | UpdateRuleMetadataCommandInput | UpdateRuleVersionCommandInput | UpdateVariableCommandInput;
76
- 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 | GetEventTypesCommandOutput | GetExternalModelsCommandOutput | GetKMSEncryptionKeyCommandOutput | GetLabelsCommandOutput | GetModelVersionCommandOutput | GetModelsCommandOutput | GetOutcomesCommandOutput | GetRulesCommandOutput | GetVariablesCommandOutput | ListTagsForResourceCommandOutput | PutDetectorCommandOutput | PutEntityTypeCommandOutput | PutEventTypeCommandOutput | PutExternalModelCommandOutput | PutKMSEncryptionKeyCommandOutput | PutLabelCommandOutput | PutOutcomeCommandOutput | SendEventCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDetectorVersionCommandOutput | UpdateDetectorVersionMetadataCommandOutput | UpdateDetectorVersionStatusCommandOutput | UpdateEventLabelCommandOutput | UpdateModelCommandOutput | UpdateModelVersionCommandOutput | UpdateModelVersionStatusCommandOutput | UpdateRuleMetadataCommandOutput | UpdateRuleVersionCommandOutput | UpdateVariableCommandOutput;
77
+ 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;
78
+ 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;
77
79
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
78
80
  /**
79
81
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.