@aws-sdk/client-frauddetector 3.271.0 → 3.276.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/FraudDetector.js +75 -0
- package/dist-cjs/commands/CreateListCommand.js +46 -0
- package/dist-cjs/commands/DeleteListCommand.js +46 -0
- package/dist-cjs/commands/GetListElementsCommand.js +46 -0
- package/dist-cjs/commands/GetListsMetadataCommand.js +46 -0
- package/dist-cjs/commands/UpdateListCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +58 -5
- package/dist-cjs/pagination/GetListElementsPaginator.js +36 -0
- package/dist-cjs/pagination/GetListsMetadataPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +3 -1
- package/dist-cjs/protocols/Aws_json1_1.js +380 -3
- package/dist-es/FraudDetector.js +75 -0
- package/dist-es/commands/CreateListCommand.js +42 -0
- package/dist-es/commands/DeleteListCommand.js +42 -0
- package/dist-es/commands/GetListElementsCommand.js +42 -0
- package/dist-es/commands/GetListsMetadataCommand.js +42 -0
- package/dist-es/commands/UpdateListCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +42 -0
- package/dist-es/pagination/GetListElementsPaginator.js +32 -0
- package/dist-es/pagination/GetListsMetadataPaginator.js +32 -0
- package/dist-es/pagination/index.js +3 -1
- package/dist-es/protocols/Aws_json1_1.js +367 -0
- package/dist-types/FraudDetector.d.ts +48 -0
- package/dist-types/FraudDetectorClient.d.ts +7 -2
- package/dist-types/commands/CreateListCommand.d.ts +41 -0
- package/dist-types/commands/DeleteListCommand.d.ts +40 -0
- package/dist-types/commands/GetListElementsCommand.d.ts +39 -0
- package/dist-types/commands/GetListsMetadataCommand.d.ts +39 -0
- package/dist-types/commands/UpdateListCommand.d.ts +39 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +254 -0
- package/dist-types/pagination/GetListElementsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetListsMetadataPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
- package/dist-types/ts3.4/FraudDetector.d.ts +85 -0
- package/dist-types/ts3.4/FraudDetectorClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateListCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteListCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetListElementsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetListsMetadataCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateListCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +84 -0
- package/dist-types/ts3.4/pagination/GetListElementsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetListsMetadataPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +29 -29
|
@@ -65,6 +65,15 @@ export const serializeAws_json1_1CreateDetectorVersionCommand = async (input, co
|
|
|
65
65
|
body = JSON.stringify(serializeAws_json1_1CreateDetectorVersionRequest(input, context));
|
|
66
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
67
|
};
|
|
68
|
+
export const serializeAws_json1_1CreateListCommand = async (input, context) => {
|
|
69
|
+
const headers = {
|
|
70
|
+
"content-type": "application/x-amz-json-1.1",
|
|
71
|
+
"x-amz-target": "AWSHawksNestServiceFacade.CreateList",
|
|
72
|
+
};
|
|
73
|
+
let body;
|
|
74
|
+
body = JSON.stringify(serializeAws_json1_1CreateListRequest(input, context));
|
|
75
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
|
+
};
|
|
68
77
|
export const serializeAws_json1_1CreateModelCommand = async (input, context) => {
|
|
69
78
|
const headers = {
|
|
70
79
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -191,6 +200,15 @@ export const serializeAws_json1_1DeleteLabelCommand = async (input, context) =>
|
|
|
191
200
|
body = JSON.stringify(serializeAws_json1_1DeleteLabelRequest(input, context));
|
|
192
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
193
202
|
};
|
|
203
|
+
export const serializeAws_json1_1DeleteListCommand = async (input, context) => {
|
|
204
|
+
const headers = {
|
|
205
|
+
"content-type": "application/x-amz-json-1.1",
|
|
206
|
+
"x-amz-target": "AWSHawksNestServiceFacade.DeleteList",
|
|
207
|
+
};
|
|
208
|
+
let body;
|
|
209
|
+
body = JSON.stringify(serializeAws_json1_1DeleteListRequest(input, context));
|
|
210
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
211
|
+
};
|
|
194
212
|
export const serializeAws_json1_1DeleteModelCommand = async (input, context) => {
|
|
195
213
|
const headers = {
|
|
196
214
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -370,6 +388,24 @@ export const serializeAws_json1_1GetLabelsCommand = async (input, context) => {
|
|
|
370
388
|
body = JSON.stringify(serializeAws_json1_1GetLabelsRequest(input, context));
|
|
371
389
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
372
390
|
};
|
|
391
|
+
export const serializeAws_json1_1GetListElementsCommand = async (input, context) => {
|
|
392
|
+
const headers = {
|
|
393
|
+
"content-type": "application/x-amz-json-1.1",
|
|
394
|
+
"x-amz-target": "AWSHawksNestServiceFacade.GetListElements",
|
|
395
|
+
};
|
|
396
|
+
let body;
|
|
397
|
+
body = JSON.stringify(serializeAws_json1_1GetListElementsRequest(input, context));
|
|
398
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
399
|
+
};
|
|
400
|
+
export const serializeAws_json1_1GetListsMetadataCommand = async (input, context) => {
|
|
401
|
+
const headers = {
|
|
402
|
+
"content-type": "application/x-amz-json-1.1",
|
|
403
|
+
"x-amz-target": "AWSHawksNestServiceFacade.GetListsMetadata",
|
|
404
|
+
};
|
|
405
|
+
let body;
|
|
406
|
+
body = JSON.stringify(serializeAws_json1_1GetListsMetadataRequest(input, context));
|
|
407
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
408
|
+
};
|
|
373
409
|
export const serializeAws_json1_1GetModelsCommand = async (input, context) => {
|
|
374
410
|
const headers = {
|
|
375
411
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -559,6 +595,15 @@ export const serializeAws_json1_1UpdateEventLabelCommand = async (input, context
|
|
|
559
595
|
body = JSON.stringify(serializeAws_json1_1UpdateEventLabelRequest(input, context));
|
|
560
596
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
561
597
|
};
|
|
598
|
+
export const serializeAws_json1_1UpdateListCommand = async (input, context) => {
|
|
599
|
+
const headers = {
|
|
600
|
+
"content-type": "application/x-amz-json-1.1",
|
|
601
|
+
"x-amz-target": "AWSHawksNestServiceFacade.UpdateList",
|
|
602
|
+
};
|
|
603
|
+
let body;
|
|
604
|
+
body = JSON.stringify(serializeAws_json1_1UpdateListRequest(input, context));
|
|
605
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
606
|
+
};
|
|
562
607
|
export const serializeAws_json1_1UpdateModelCommand = async (input, context) => {
|
|
563
608
|
const headers = {
|
|
564
609
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -922,6 +967,48 @@ const deserializeAws_json1_1CreateDetectorVersionCommandError = async (output, c
|
|
|
922
967
|
});
|
|
923
968
|
}
|
|
924
969
|
};
|
|
970
|
+
export const deserializeAws_json1_1CreateListCommand = async (output, context) => {
|
|
971
|
+
if (output.statusCode >= 300) {
|
|
972
|
+
return deserializeAws_json1_1CreateListCommandError(output, context);
|
|
973
|
+
}
|
|
974
|
+
const data = await parseBody(output.body, context);
|
|
975
|
+
let contents = {};
|
|
976
|
+
contents = deserializeAws_json1_1CreateListResult(data, context);
|
|
977
|
+
const response = {
|
|
978
|
+
$metadata: deserializeMetadata(output),
|
|
979
|
+
...contents,
|
|
980
|
+
};
|
|
981
|
+
return Promise.resolve(response);
|
|
982
|
+
};
|
|
983
|
+
const deserializeAws_json1_1CreateListCommandError = async (output, context) => {
|
|
984
|
+
const parsedOutput = {
|
|
985
|
+
...output,
|
|
986
|
+
body: await parseErrorBody(output.body, context),
|
|
987
|
+
};
|
|
988
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
989
|
+
switch (errorCode) {
|
|
990
|
+
case "AccessDeniedException":
|
|
991
|
+
case "com.amazonaws.frauddetector#AccessDeniedException":
|
|
992
|
+
throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
993
|
+
case "InternalServerException":
|
|
994
|
+
case "com.amazonaws.frauddetector#InternalServerException":
|
|
995
|
+
throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
|
|
996
|
+
case "ThrottlingException":
|
|
997
|
+
case "com.amazonaws.frauddetector#ThrottlingException":
|
|
998
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
999
|
+
case "ValidationException":
|
|
1000
|
+
case "com.amazonaws.frauddetector#ValidationException":
|
|
1001
|
+
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1002
|
+
default:
|
|
1003
|
+
const parsedBody = parsedOutput.body;
|
|
1004
|
+
throwDefaultError({
|
|
1005
|
+
output,
|
|
1006
|
+
parsedBody,
|
|
1007
|
+
exceptionCtor: __BaseException,
|
|
1008
|
+
errorCode,
|
|
1009
|
+
});
|
|
1010
|
+
}
|
|
1011
|
+
};
|
|
925
1012
|
export const deserializeAws_json1_1CreateModelCommand = async (output, context) => {
|
|
926
1013
|
if (output.statusCode >= 300) {
|
|
927
1014
|
return deserializeAws_json1_1CreateModelCommandError(output, context);
|
|
@@ -1537,6 +1624,51 @@ const deserializeAws_json1_1DeleteLabelCommandError = async (output, context) =>
|
|
|
1537
1624
|
});
|
|
1538
1625
|
}
|
|
1539
1626
|
};
|
|
1627
|
+
export const deserializeAws_json1_1DeleteListCommand = async (output, context) => {
|
|
1628
|
+
if (output.statusCode >= 300) {
|
|
1629
|
+
return deserializeAws_json1_1DeleteListCommandError(output, context);
|
|
1630
|
+
}
|
|
1631
|
+
const data = await parseBody(output.body, context);
|
|
1632
|
+
let contents = {};
|
|
1633
|
+
contents = deserializeAws_json1_1DeleteListResult(data, context);
|
|
1634
|
+
const response = {
|
|
1635
|
+
$metadata: deserializeMetadata(output),
|
|
1636
|
+
...contents,
|
|
1637
|
+
};
|
|
1638
|
+
return Promise.resolve(response);
|
|
1639
|
+
};
|
|
1640
|
+
const deserializeAws_json1_1DeleteListCommandError = async (output, context) => {
|
|
1641
|
+
const parsedOutput = {
|
|
1642
|
+
...output,
|
|
1643
|
+
body: await parseErrorBody(output.body, context),
|
|
1644
|
+
};
|
|
1645
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1646
|
+
switch (errorCode) {
|
|
1647
|
+
case "AccessDeniedException":
|
|
1648
|
+
case "com.amazonaws.frauddetector#AccessDeniedException":
|
|
1649
|
+
throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
1650
|
+
case "ConflictException":
|
|
1651
|
+
case "com.amazonaws.frauddetector#ConflictException":
|
|
1652
|
+
throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
|
|
1653
|
+
case "InternalServerException":
|
|
1654
|
+
case "com.amazonaws.frauddetector#InternalServerException":
|
|
1655
|
+
throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
|
|
1656
|
+
case "ThrottlingException":
|
|
1657
|
+
case "com.amazonaws.frauddetector#ThrottlingException":
|
|
1658
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1659
|
+
case "ValidationException":
|
|
1660
|
+
case "com.amazonaws.frauddetector#ValidationException":
|
|
1661
|
+
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1662
|
+
default:
|
|
1663
|
+
const parsedBody = parsedOutput.body;
|
|
1664
|
+
throwDefaultError({
|
|
1665
|
+
output,
|
|
1666
|
+
parsedBody,
|
|
1667
|
+
exceptionCtor: __BaseException,
|
|
1668
|
+
errorCode,
|
|
1669
|
+
});
|
|
1670
|
+
}
|
|
1671
|
+
};
|
|
1540
1672
|
export const deserializeAws_json1_1DeleteModelCommand = async (output, context) => {
|
|
1541
1673
|
if (output.statusCode >= 300) {
|
|
1542
1674
|
return deserializeAws_json1_1DeleteModelCommandError(output, context);
|
|
@@ -2440,6 +2572,96 @@ const deserializeAws_json1_1GetLabelsCommandError = async (output, context) => {
|
|
|
2440
2572
|
});
|
|
2441
2573
|
}
|
|
2442
2574
|
};
|
|
2575
|
+
export const deserializeAws_json1_1GetListElementsCommand = async (output, context) => {
|
|
2576
|
+
if (output.statusCode >= 300) {
|
|
2577
|
+
return deserializeAws_json1_1GetListElementsCommandError(output, context);
|
|
2578
|
+
}
|
|
2579
|
+
const data = await parseBody(output.body, context);
|
|
2580
|
+
let contents = {};
|
|
2581
|
+
contents = deserializeAws_json1_1GetListElementsResult(data, context);
|
|
2582
|
+
const response = {
|
|
2583
|
+
$metadata: deserializeMetadata(output),
|
|
2584
|
+
...contents,
|
|
2585
|
+
};
|
|
2586
|
+
return Promise.resolve(response);
|
|
2587
|
+
};
|
|
2588
|
+
const deserializeAws_json1_1GetListElementsCommandError = async (output, context) => {
|
|
2589
|
+
const parsedOutput = {
|
|
2590
|
+
...output,
|
|
2591
|
+
body: await parseErrorBody(output.body, context),
|
|
2592
|
+
};
|
|
2593
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2594
|
+
switch (errorCode) {
|
|
2595
|
+
case "AccessDeniedException":
|
|
2596
|
+
case "com.amazonaws.frauddetector#AccessDeniedException":
|
|
2597
|
+
throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2598
|
+
case "InternalServerException":
|
|
2599
|
+
case "com.amazonaws.frauddetector#InternalServerException":
|
|
2600
|
+
throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
|
|
2601
|
+
case "ResourceNotFoundException":
|
|
2602
|
+
case "com.amazonaws.frauddetector#ResourceNotFoundException":
|
|
2603
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2604
|
+
case "ThrottlingException":
|
|
2605
|
+
case "com.amazonaws.frauddetector#ThrottlingException":
|
|
2606
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2607
|
+
case "ValidationException":
|
|
2608
|
+
case "com.amazonaws.frauddetector#ValidationException":
|
|
2609
|
+
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2610
|
+
default:
|
|
2611
|
+
const parsedBody = parsedOutput.body;
|
|
2612
|
+
throwDefaultError({
|
|
2613
|
+
output,
|
|
2614
|
+
parsedBody,
|
|
2615
|
+
exceptionCtor: __BaseException,
|
|
2616
|
+
errorCode,
|
|
2617
|
+
});
|
|
2618
|
+
}
|
|
2619
|
+
};
|
|
2620
|
+
export const deserializeAws_json1_1GetListsMetadataCommand = async (output, context) => {
|
|
2621
|
+
if (output.statusCode >= 300) {
|
|
2622
|
+
return deserializeAws_json1_1GetListsMetadataCommandError(output, context);
|
|
2623
|
+
}
|
|
2624
|
+
const data = await parseBody(output.body, context);
|
|
2625
|
+
let contents = {};
|
|
2626
|
+
contents = deserializeAws_json1_1GetListsMetadataResult(data, context);
|
|
2627
|
+
const response = {
|
|
2628
|
+
$metadata: deserializeMetadata(output),
|
|
2629
|
+
...contents,
|
|
2630
|
+
};
|
|
2631
|
+
return Promise.resolve(response);
|
|
2632
|
+
};
|
|
2633
|
+
const deserializeAws_json1_1GetListsMetadataCommandError = async (output, context) => {
|
|
2634
|
+
const parsedOutput = {
|
|
2635
|
+
...output,
|
|
2636
|
+
body: await parseErrorBody(output.body, context),
|
|
2637
|
+
};
|
|
2638
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2639
|
+
switch (errorCode) {
|
|
2640
|
+
case "AccessDeniedException":
|
|
2641
|
+
case "com.amazonaws.frauddetector#AccessDeniedException":
|
|
2642
|
+
throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2643
|
+
case "InternalServerException":
|
|
2644
|
+
case "com.amazonaws.frauddetector#InternalServerException":
|
|
2645
|
+
throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
|
|
2646
|
+
case "ResourceNotFoundException":
|
|
2647
|
+
case "com.amazonaws.frauddetector#ResourceNotFoundException":
|
|
2648
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2649
|
+
case "ThrottlingException":
|
|
2650
|
+
case "com.amazonaws.frauddetector#ThrottlingException":
|
|
2651
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2652
|
+
case "ValidationException":
|
|
2653
|
+
case "com.amazonaws.frauddetector#ValidationException":
|
|
2654
|
+
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2655
|
+
default:
|
|
2656
|
+
const parsedBody = parsedOutput.body;
|
|
2657
|
+
throwDefaultError({
|
|
2658
|
+
output,
|
|
2659
|
+
parsedBody,
|
|
2660
|
+
exceptionCtor: __BaseException,
|
|
2661
|
+
errorCode,
|
|
2662
|
+
});
|
|
2663
|
+
}
|
|
2664
|
+
};
|
|
2443
2665
|
export const deserializeAws_json1_1GetModelsCommand = async (output, context) => {
|
|
2444
2666
|
if (output.statusCode >= 300) {
|
|
2445
2667
|
return deserializeAws_json1_1GetModelsCommandError(output, context);
|
|
@@ -3388,6 +3610,54 @@ const deserializeAws_json1_1UpdateEventLabelCommandError = async (output, contex
|
|
|
3388
3610
|
});
|
|
3389
3611
|
}
|
|
3390
3612
|
};
|
|
3613
|
+
export const deserializeAws_json1_1UpdateListCommand = async (output, context) => {
|
|
3614
|
+
if (output.statusCode >= 300) {
|
|
3615
|
+
return deserializeAws_json1_1UpdateListCommandError(output, context);
|
|
3616
|
+
}
|
|
3617
|
+
const data = await parseBody(output.body, context);
|
|
3618
|
+
let contents = {};
|
|
3619
|
+
contents = deserializeAws_json1_1UpdateListResult(data, context);
|
|
3620
|
+
const response = {
|
|
3621
|
+
$metadata: deserializeMetadata(output),
|
|
3622
|
+
...contents,
|
|
3623
|
+
};
|
|
3624
|
+
return Promise.resolve(response);
|
|
3625
|
+
};
|
|
3626
|
+
const deserializeAws_json1_1UpdateListCommandError = async (output, context) => {
|
|
3627
|
+
const parsedOutput = {
|
|
3628
|
+
...output,
|
|
3629
|
+
body: await parseErrorBody(output.body, context),
|
|
3630
|
+
};
|
|
3631
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3632
|
+
switch (errorCode) {
|
|
3633
|
+
case "AccessDeniedException":
|
|
3634
|
+
case "com.amazonaws.frauddetector#AccessDeniedException":
|
|
3635
|
+
throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
3636
|
+
case "ConflictException":
|
|
3637
|
+
case "com.amazonaws.frauddetector#ConflictException":
|
|
3638
|
+
throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
|
|
3639
|
+
case "InternalServerException":
|
|
3640
|
+
case "com.amazonaws.frauddetector#InternalServerException":
|
|
3641
|
+
throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
|
|
3642
|
+
case "ResourceNotFoundException":
|
|
3643
|
+
case "com.amazonaws.frauddetector#ResourceNotFoundException":
|
|
3644
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3645
|
+
case "ThrottlingException":
|
|
3646
|
+
case "com.amazonaws.frauddetector#ThrottlingException":
|
|
3647
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3648
|
+
case "ValidationException":
|
|
3649
|
+
case "com.amazonaws.frauddetector#ValidationException":
|
|
3650
|
+
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3651
|
+
default:
|
|
3652
|
+
const parsedBody = parsedOutput.body;
|
|
3653
|
+
throwDefaultError({
|
|
3654
|
+
output,
|
|
3655
|
+
parsedBody,
|
|
3656
|
+
exceptionCtor: __BaseException,
|
|
3657
|
+
errorCode,
|
|
3658
|
+
});
|
|
3659
|
+
}
|
|
3660
|
+
};
|
|
3391
3661
|
export const deserializeAws_json1_1UpdateModelCommand = async (output, context) => {
|
|
3392
3662
|
if (output.statusCode >= 300) {
|
|
3393
3663
|
return deserializeAws_json1_1UpdateModelCommandError(output, context);
|
|
@@ -3799,6 +4069,15 @@ const serializeAws_json1_1CreateDetectorVersionRequest = (input, context) => {
|
|
|
3799
4069
|
...(input.tags != null && { tags: serializeAws_json1_1tagList(input.tags, context) }),
|
|
3800
4070
|
};
|
|
3801
4071
|
};
|
|
4072
|
+
const serializeAws_json1_1CreateListRequest = (input, context) => {
|
|
4073
|
+
return {
|
|
4074
|
+
...(input.description != null && { description: input.description }),
|
|
4075
|
+
...(input.elements != null && { elements: serializeAws_json1_1ElementsList(input.elements, context) }),
|
|
4076
|
+
...(input.name != null && { name: input.name }),
|
|
4077
|
+
...(input.tags != null && { tags: serializeAws_json1_1tagList(input.tags, context) }),
|
|
4078
|
+
...(input.variableType != null && { variableType: input.variableType }),
|
|
4079
|
+
};
|
|
4080
|
+
};
|
|
3802
4081
|
const serializeAws_json1_1CreateModelRequest = (input, context) => {
|
|
3803
4082
|
return {
|
|
3804
4083
|
...(input.description != null && { description: input.description }),
|
|
@@ -3909,6 +4188,11 @@ const serializeAws_json1_1DeleteLabelRequest = (input, context) => {
|
|
|
3909
4188
|
...(input.name != null && { name: input.name }),
|
|
3910
4189
|
};
|
|
3911
4190
|
};
|
|
4191
|
+
const serializeAws_json1_1DeleteListRequest = (input, context) => {
|
|
4192
|
+
return {
|
|
4193
|
+
...(input.name != null && { name: input.name }),
|
|
4194
|
+
};
|
|
4195
|
+
};
|
|
3912
4196
|
const serializeAws_json1_1DeleteModelRequest = (input, context) => {
|
|
3913
4197
|
return {
|
|
3914
4198
|
...(input.modelId != null && { modelId: input.modelId }),
|
|
@@ -3953,6 +4237,13 @@ const serializeAws_json1_1DescribeModelVersionsRequest = (input, context) => {
|
|
|
3953
4237
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3954
4238
|
};
|
|
3955
4239
|
};
|
|
4240
|
+
const serializeAws_json1_1ElementsList = (input, context) => {
|
|
4241
|
+
return input
|
|
4242
|
+
.filter((e) => e != null)
|
|
4243
|
+
.map((entry) => {
|
|
4244
|
+
return entry;
|
|
4245
|
+
});
|
|
4246
|
+
};
|
|
3956
4247
|
const serializeAws_json1_1Entity = (input, context) => {
|
|
3957
4248
|
return {
|
|
3958
4249
|
...(input.entityId != null && { entityId: input.entityId }),
|
|
@@ -4079,6 +4370,20 @@ const serializeAws_json1_1GetLabelsRequest = (input, context) => {
|
|
|
4079
4370
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4080
4371
|
};
|
|
4081
4372
|
};
|
|
4373
|
+
const serializeAws_json1_1GetListElementsRequest = (input, context) => {
|
|
4374
|
+
return {
|
|
4375
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
4376
|
+
...(input.name != null && { name: input.name }),
|
|
4377
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4378
|
+
};
|
|
4379
|
+
};
|
|
4380
|
+
const serializeAws_json1_1GetListsMetadataRequest = (input, context) => {
|
|
4381
|
+
return {
|
|
4382
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
4383
|
+
...(input.name != null && { name: input.name }),
|
|
4384
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4385
|
+
};
|
|
4386
|
+
};
|
|
4082
4387
|
const serializeAws_json1_1GetModelsRequest = (input, context) => {
|
|
4083
4388
|
return {
|
|
4084
4389
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
@@ -4419,6 +4724,15 @@ const serializeAws_json1_1UpdateEventLabelRequest = (input, context) => {
|
|
|
4419
4724
|
...(input.labelTimestamp != null && { labelTimestamp: input.labelTimestamp }),
|
|
4420
4725
|
};
|
|
4421
4726
|
};
|
|
4727
|
+
const serializeAws_json1_1UpdateListRequest = (input, context) => {
|
|
4728
|
+
return {
|
|
4729
|
+
...(input.description != null && { description: input.description }),
|
|
4730
|
+
...(input.elements != null && { elements: serializeAws_json1_1ElementsList(input.elements, context) }),
|
|
4731
|
+
...(input.name != null && { name: input.name }),
|
|
4732
|
+
...(input.updateMode != null && { updateMode: input.updateMode }),
|
|
4733
|
+
...(input.variableType != null && { variableType: input.variableType }),
|
|
4734
|
+
};
|
|
4735
|
+
};
|
|
4422
4736
|
const serializeAws_json1_1UpdateModelRequest = (input, context) => {
|
|
4423
4737
|
return {
|
|
4424
4738
|
...(input.description != null && { description: input.description }),
|
|
@@ -4516,6 +4830,27 @@ const deserializeAws_json1_1AggregatedVariablesImportanceMetrics = (output, cont
|
|
|
4516
4830
|
: undefined,
|
|
4517
4831
|
};
|
|
4518
4832
|
};
|
|
4833
|
+
const deserializeAws_json1_1AllowDenyList = (output, context) => {
|
|
4834
|
+
return {
|
|
4835
|
+
arn: __expectString(output.arn),
|
|
4836
|
+
createdTime: __expectString(output.createdTime),
|
|
4837
|
+
description: __expectString(output.description),
|
|
4838
|
+
name: __expectString(output.name),
|
|
4839
|
+
updatedTime: __expectString(output.updatedTime),
|
|
4840
|
+
variableType: __expectString(output.variableType),
|
|
4841
|
+
};
|
|
4842
|
+
};
|
|
4843
|
+
const deserializeAws_json1_1AllowDenyLists = (output, context) => {
|
|
4844
|
+
const retVal = (output || [])
|
|
4845
|
+
.filter((e) => e != null)
|
|
4846
|
+
.map((entry) => {
|
|
4847
|
+
if (entry === null) {
|
|
4848
|
+
return null;
|
|
4849
|
+
}
|
|
4850
|
+
return deserializeAws_json1_1AllowDenyList(entry, context);
|
|
4851
|
+
});
|
|
4852
|
+
return retVal;
|
|
4853
|
+
};
|
|
4519
4854
|
const deserializeAws_json1_1ATIMetricDataPoint = (output, context) => {
|
|
4520
4855
|
return {
|
|
4521
4856
|
adr: __limitedParseFloat32(output.adr),
|
|
@@ -4679,6 +5014,9 @@ const deserializeAws_json1_1CreateDetectorVersionResult = (output, context) => {
|
|
|
4679
5014
|
status: __expectString(output.status),
|
|
4680
5015
|
};
|
|
4681
5016
|
};
|
|
5017
|
+
const deserializeAws_json1_1CreateListResult = (output, context) => {
|
|
5018
|
+
return {};
|
|
5019
|
+
};
|
|
4682
5020
|
const deserializeAws_json1_1CreateModelResult = (output, context) => {
|
|
4683
5021
|
return {};
|
|
4684
5022
|
};
|
|
@@ -4750,6 +5088,9 @@ const deserializeAws_json1_1DeleteExternalModelResult = (output, context) => {
|
|
|
4750
5088
|
const deserializeAws_json1_1DeleteLabelResult = (output, context) => {
|
|
4751
5089
|
return {};
|
|
4752
5090
|
};
|
|
5091
|
+
const deserializeAws_json1_1DeleteListResult = (output, context) => {
|
|
5092
|
+
return {};
|
|
5093
|
+
};
|
|
4753
5094
|
const deserializeAws_json1_1DeleteModelResult = (output, context) => {
|
|
4754
5095
|
return {};
|
|
4755
5096
|
};
|
|
@@ -4823,6 +5164,17 @@ const deserializeAws_json1_1DetectorVersionSummaryList = (output, context) => {
|
|
|
4823
5164
|
});
|
|
4824
5165
|
return retVal;
|
|
4825
5166
|
};
|
|
5167
|
+
const deserializeAws_json1_1ElementsList = (output, context) => {
|
|
5168
|
+
const retVal = (output || [])
|
|
5169
|
+
.filter((e) => e != null)
|
|
5170
|
+
.map((entry) => {
|
|
5171
|
+
if (entry === null) {
|
|
5172
|
+
return null;
|
|
5173
|
+
}
|
|
5174
|
+
return __expectString(entry);
|
|
5175
|
+
});
|
|
5176
|
+
return retVal;
|
|
5177
|
+
};
|
|
4826
5178
|
const deserializeAws_json1_1Entity = (output, context) => {
|
|
4827
5179
|
return {
|
|
4828
5180
|
entityId: __expectString(output.entityId),
|
|
@@ -5165,6 +5517,18 @@ const deserializeAws_json1_1GetLabelsResult = (output, context) => {
|
|
|
5165
5517
|
nextToken: __expectString(output.nextToken),
|
|
5166
5518
|
};
|
|
5167
5519
|
};
|
|
5520
|
+
const deserializeAws_json1_1GetListElementsResult = (output, context) => {
|
|
5521
|
+
return {
|
|
5522
|
+
elements: output.elements != null ? deserializeAws_json1_1ElementsList(output.elements, context) : undefined,
|
|
5523
|
+
nextToken: __expectString(output.nextToken),
|
|
5524
|
+
};
|
|
5525
|
+
};
|
|
5526
|
+
const deserializeAws_json1_1GetListsMetadataResult = (output, context) => {
|
|
5527
|
+
return {
|
|
5528
|
+
lists: output.lists != null ? deserializeAws_json1_1AllowDenyLists(output.lists, context) : undefined,
|
|
5529
|
+
nextToken: __expectString(output.nextToken),
|
|
5530
|
+
};
|
|
5531
|
+
};
|
|
5168
5532
|
const deserializeAws_json1_1GetModelsResult = (output, context) => {
|
|
5169
5533
|
return {
|
|
5170
5534
|
models: output.models != null ? deserializeAws_json1_1modelList(output.models, context) : undefined,
|
|
@@ -5902,6 +6266,9 @@ const deserializeAws_json1_1UpdateDetectorVersionStatusResult = (output, context
|
|
|
5902
6266
|
const deserializeAws_json1_1UpdateEventLabelResult = (output, context) => {
|
|
5903
6267
|
return {};
|
|
5904
6268
|
};
|
|
6269
|
+
const deserializeAws_json1_1UpdateListResult = (output, context) => {
|
|
6270
|
+
return {};
|
|
6271
|
+
};
|
|
5905
6272
|
const deserializeAws_json1_1UpdateModelResult = (output, context) => {
|
|
5906
6273
|
return {};
|
|
5907
6274
|
};
|
|
@@ -6,6 +6,7 @@ import { CancelBatchPredictionJobCommandInput, CancelBatchPredictionJobCommandOu
|
|
|
6
6
|
import { CreateBatchImportJobCommandInput, CreateBatchImportJobCommandOutput } from "./commands/CreateBatchImportJobCommand";
|
|
7
7
|
import { CreateBatchPredictionJobCommandInput, CreateBatchPredictionJobCommandOutput } from "./commands/CreateBatchPredictionJobCommand";
|
|
8
8
|
import { CreateDetectorVersionCommandInput, CreateDetectorVersionCommandOutput } from "./commands/CreateDetectorVersionCommand";
|
|
9
|
+
import { CreateListCommandInput, CreateListCommandOutput } from "./commands/CreateListCommand";
|
|
9
10
|
import { CreateModelCommandInput, CreateModelCommandOutput } from "./commands/CreateModelCommand";
|
|
10
11
|
import { CreateModelVersionCommandInput, CreateModelVersionCommandOutput } from "./commands/CreateModelVersionCommand";
|
|
11
12
|
import { CreateRuleCommandInput, CreateRuleCommandOutput } from "./commands/CreateRuleCommand";
|
|
@@ -20,6 +21,7 @@ import { DeleteEventsByEventTypeCommandInput, DeleteEventsByEventTypeCommandOutp
|
|
|
20
21
|
import { DeleteEventTypeCommandInput, DeleteEventTypeCommandOutput } from "./commands/DeleteEventTypeCommand";
|
|
21
22
|
import { DeleteExternalModelCommandInput, DeleteExternalModelCommandOutput } from "./commands/DeleteExternalModelCommand";
|
|
22
23
|
import { DeleteLabelCommandInput, DeleteLabelCommandOutput } from "./commands/DeleteLabelCommand";
|
|
24
|
+
import { DeleteListCommandInput, DeleteListCommandOutput } from "./commands/DeleteListCommand";
|
|
23
25
|
import { DeleteModelCommandInput, DeleteModelCommandOutput } from "./commands/DeleteModelCommand";
|
|
24
26
|
import { DeleteModelVersionCommandInput, DeleteModelVersionCommandOutput } from "./commands/DeleteModelVersionCommand";
|
|
25
27
|
import { DeleteOutcomeCommandInput, DeleteOutcomeCommandOutput } from "./commands/DeleteOutcomeCommand";
|
|
@@ -40,6 +42,8 @@ import { GetEventTypesCommandInput, GetEventTypesCommandOutput } from "./command
|
|
|
40
42
|
import { GetExternalModelsCommandInput, GetExternalModelsCommandOutput } from "./commands/GetExternalModelsCommand";
|
|
41
43
|
import { GetKMSEncryptionKeyCommandInput, GetKMSEncryptionKeyCommandOutput } from "./commands/GetKMSEncryptionKeyCommand";
|
|
42
44
|
import { GetLabelsCommandInput, GetLabelsCommandOutput } from "./commands/GetLabelsCommand";
|
|
45
|
+
import { GetListElementsCommandInput, GetListElementsCommandOutput } from "./commands/GetListElementsCommand";
|
|
46
|
+
import { GetListsMetadataCommandInput, GetListsMetadataCommandOutput } from "./commands/GetListsMetadataCommand";
|
|
43
47
|
import { GetModelsCommandInput, GetModelsCommandOutput } from "./commands/GetModelsCommand";
|
|
44
48
|
import { GetModelVersionCommandInput, GetModelVersionCommandOutput } from "./commands/GetModelVersionCommand";
|
|
45
49
|
import { GetOutcomesCommandInput, GetOutcomesCommandOutput } from "./commands/GetOutcomesCommand";
|
|
@@ -61,6 +65,7 @@ import { UpdateDetectorVersionCommandInput, UpdateDetectorVersionCommandOutput }
|
|
|
61
65
|
import { UpdateDetectorVersionMetadataCommandInput, UpdateDetectorVersionMetadataCommandOutput } from "./commands/UpdateDetectorVersionMetadataCommand";
|
|
62
66
|
import { UpdateDetectorVersionStatusCommandInput, UpdateDetectorVersionStatusCommandOutput } from "./commands/UpdateDetectorVersionStatusCommand";
|
|
63
67
|
import { UpdateEventLabelCommandInput, UpdateEventLabelCommandOutput } from "./commands/UpdateEventLabelCommand";
|
|
68
|
+
import { UpdateListCommandInput, UpdateListCommandOutput } from "./commands/UpdateListCommand";
|
|
64
69
|
import { UpdateModelCommandInput, UpdateModelCommandOutput } from "./commands/UpdateModelCommand";
|
|
65
70
|
import { UpdateModelVersionCommandInput, UpdateModelVersionCommandOutput } from "./commands/UpdateModelVersionCommand";
|
|
66
71
|
import { UpdateModelVersionStatusCommandInput, UpdateModelVersionStatusCommandOutput } from "./commands/UpdateModelVersionStatusCommand";
|
|
@@ -122,6 +127,16 @@ export declare class FraudDetector extends FraudDetectorClient {
|
|
|
122
127
|
createDetectorVersion(args: CreateDetectorVersionCommandInput, options?: __HttpHandlerOptions): Promise<CreateDetectorVersionCommandOutput>;
|
|
123
128
|
createDetectorVersion(args: CreateDetectorVersionCommandInput, cb: (err: any, data?: CreateDetectorVersionCommandOutput) => void): void;
|
|
124
129
|
createDetectorVersion(args: CreateDetectorVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDetectorVersionCommandOutput) => void): void;
|
|
130
|
+
/**
|
|
131
|
+
* <p>
|
|
132
|
+
* Creates a list.
|
|
133
|
+
* </p>
|
|
134
|
+
* <p>List is a set of input data for a variable in your event dataset. You use the input data in a rule that's associated with your detector.
|
|
135
|
+
* For more information, see <a href="https://docs.aws.amazon.com/frauddetector/latest/ug/lists.html">Lists</a>.</p>
|
|
136
|
+
*/
|
|
137
|
+
createList(args: CreateListCommandInput, options?: __HttpHandlerOptions): Promise<CreateListCommandOutput>;
|
|
138
|
+
createList(args: CreateListCommandInput, cb: (err: any, data?: CreateListCommandOutput) => void): void;
|
|
139
|
+
createList(args: CreateListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateListCommandOutput) => void): void;
|
|
125
140
|
/**
|
|
126
141
|
* <p>Creates a model using the specified model type.</p>
|
|
127
142
|
*/
|
|
@@ -218,6 +233,15 @@ export declare class FraudDetector extends FraudDetectorClient {
|
|
|
218
233
|
deleteLabel(args: DeleteLabelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLabelCommandOutput>;
|
|
219
234
|
deleteLabel(args: DeleteLabelCommandInput, cb: (err: any, data?: DeleteLabelCommandOutput) => void): void;
|
|
220
235
|
deleteLabel(args: DeleteLabelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLabelCommandOutput) => void): void;
|
|
236
|
+
/**
|
|
237
|
+
* <p>
|
|
238
|
+
* Deletes the list, provided it is not used in a rule.
|
|
239
|
+
* </p>
|
|
240
|
+
* <p> When you delete a list, Amazon Fraud Detector permanently deletes that list and the elements in the list.</p>
|
|
241
|
+
*/
|
|
242
|
+
deleteList(args: DeleteListCommandInput, options?: __HttpHandlerOptions): Promise<DeleteListCommandOutput>;
|
|
243
|
+
deleteList(args: DeleteListCommandInput, cb: (err: any, data?: DeleteListCommandOutput) => void): void;
|
|
244
|
+
deleteList(args: DeleteListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteListCommandOutput) => void): void;
|
|
221
245
|
/**
|
|
222
246
|
* <p>Deletes a model.</p>
|
|
223
247
|
* <p>You can delete models and model versions in Amazon Fraud Detector, provided that they are not associated with a detector version.</p>
|
|
@@ -378,6 +402,22 @@ export declare class FraudDetector extends FraudDetectorClient {
|
|
|
378
402
|
getLabels(args: GetLabelsCommandInput, options?: __HttpHandlerOptions): Promise<GetLabelsCommandOutput>;
|
|
379
403
|
getLabels(args: GetLabelsCommandInput, cb: (err: any, data?: GetLabelsCommandOutput) => void): void;
|
|
380
404
|
getLabels(args: GetLabelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLabelsCommandOutput) => void): void;
|
|
405
|
+
/**
|
|
406
|
+
* <p>
|
|
407
|
+
* Gets all the elements in the specified list.
|
|
408
|
+
* </p>
|
|
409
|
+
*/
|
|
410
|
+
getListElements(args: GetListElementsCommandInput, options?: __HttpHandlerOptions): Promise<GetListElementsCommandOutput>;
|
|
411
|
+
getListElements(args: GetListElementsCommandInput, cb: (err: any, data?: GetListElementsCommandOutput) => void): void;
|
|
412
|
+
getListElements(args: GetListElementsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetListElementsCommandOutput) => void): void;
|
|
413
|
+
/**
|
|
414
|
+
* <p>
|
|
415
|
+
* Gets the metadata of either all the lists under the account or the specified list.
|
|
416
|
+
* </p>
|
|
417
|
+
*/
|
|
418
|
+
getListsMetadata(args: GetListsMetadataCommandInput, options?: __HttpHandlerOptions): Promise<GetListsMetadataCommandOutput>;
|
|
419
|
+
getListsMetadata(args: GetListsMetadataCommandInput, cb: (err: any, data?: GetListsMetadataCommandOutput) => void): void;
|
|
420
|
+
getListsMetadata(args: GetListsMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetListsMetadataCommandOutput) => void): void;
|
|
381
421
|
/**
|
|
382
422
|
* <p>Gets one or more models. Gets all models for the Amazon Web Services account if no model type and no model id provided. Gets all models for the Amazon Web Services account and model type, if the model type is specified but model id is not provided. Gets a specific model if (model type, model id) tuple is specified. </p>
|
|
383
423
|
* <p>This is a paginated API. If you
|
|
@@ -536,6 +576,14 @@ export declare class FraudDetector extends FraudDetectorClient {
|
|
|
536
576
|
updateEventLabel(args: UpdateEventLabelCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEventLabelCommandOutput>;
|
|
537
577
|
updateEventLabel(args: UpdateEventLabelCommandInput, cb: (err: any, data?: UpdateEventLabelCommandOutput) => void): void;
|
|
538
578
|
updateEventLabel(args: UpdateEventLabelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEventLabelCommandOutput) => void): void;
|
|
579
|
+
/**
|
|
580
|
+
* <p>
|
|
581
|
+
* Updates a list.
|
|
582
|
+
* </p>
|
|
583
|
+
*/
|
|
584
|
+
updateList(args: UpdateListCommandInput, options?: __HttpHandlerOptions): Promise<UpdateListCommandOutput>;
|
|
585
|
+
updateList(args: UpdateListCommandInput, cb: (err: any, data?: UpdateListCommandOutput) => void): void;
|
|
586
|
+
updateList(args: UpdateListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateListCommandOutput) => void): void;
|
|
539
587
|
/**
|
|
540
588
|
* <p>Updates model description.</p>
|
|
541
589
|
*/
|
|
@@ -14,6 +14,7 @@ import { CancelBatchPredictionJobCommandInput, CancelBatchPredictionJobCommandOu
|
|
|
14
14
|
import { CreateBatchImportJobCommandInput, CreateBatchImportJobCommandOutput } from "./commands/CreateBatchImportJobCommand";
|
|
15
15
|
import { CreateBatchPredictionJobCommandInput, CreateBatchPredictionJobCommandOutput } from "./commands/CreateBatchPredictionJobCommand";
|
|
16
16
|
import { CreateDetectorVersionCommandInput, CreateDetectorVersionCommandOutput } from "./commands/CreateDetectorVersionCommand";
|
|
17
|
+
import { CreateListCommandInput, CreateListCommandOutput } from "./commands/CreateListCommand";
|
|
17
18
|
import { CreateModelCommandInput, CreateModelCommandOutput } from "./commands/CreateModelCommand";
|
|
18
19
|
import { CreateModelVersionCommandInput, CreateModelVersionCommandOutput } from "./commands/CreateModelVersionCommand";
|
|
19
20
|
import { CreateRuleCommandInput, CreateRuleCommandOutput } from "./commands/CreateRuleCommand";
|
|
@@ -28,6 +29,7 @@ import { DeleteEventsByEventTypeCommandInput, DeleteEventsByEventTypeCommandOutp
|
|
|
28
29
|
import { DeleteEventTypeCommandInput, DeleteEventTypeCommandOutput } from "./commands/DeleteEventTypeCommand";
|
|
29
30
|
import { DeleteExternalModelCommandInput, DeleteExternalModelCommandOutput } from "./commands/DeleteExternalModelCommand";
|
|
30
31
|
import { DeleteLabelCommandInput, DeleteLabelCommandOutput } from "./commands/DeleteLabelCommand";
|
|
32
|
+
import { DeleteListCommandInput, DeleteListCommandOutput } from "./commands/DeleteListCommand";
|
|
31
33
|
import { DeleteModelCommandInput, DeleteModelCommandOutput } from "./commands/DeleteModelCommand";
|
|
32
34
|
import { DeleteModelVersionCommandInput, DeleteModelVersionCommandOutput } from "./commands/DeleteModelVersionCommand";
|
|
33
35
|
import { DeleteOutcomeCommandInput, DeleteOutcomeCommandOutput } from "./commands/DeleteOutcomeCommand";
|
|
@@ -48,6 +50,8 @@ import { GetEventTypesCommandInput, GetEventTypesCommandOutput } from "./command
|
|
|
48
50
|
import { GetExternalModelsCommandInput, GetExternalModelsCommandOutput } from "./commands/GetExternalModelsCommand";
|
|
49
51
|
import { GetKMSEncryptionKeyCommandInput, GetKMSEncryptionKeyCommandOutput } from "./commands/GetKMSEncryptionKeyCommand";
|
|
50
52
|
import { GetLabelsCommandInput, GetLabelsCommandOutput } from "./commands/GetLabelsCommand";
|
|
53
|
+
import { GetListElementsCommandInput, GetListElementsCommandOutput } from "./commands/GetListElementsCommand";
|
|
54
|
+
import { GetListsMetadataCommandInput, GetListsMetadataCommandOutput } from "./commands/GetListsMetadataCommand";
|
|
51
55
|
import { GetModelsCommandInput, GetModelsCommandOutput } from "./commands/GetModelsCommand";
|
|
52
56
|
import { GetModelVersionCommandInput, GetModelVersionCommandOutput } from "./commands/GetModelVersionCommand";
|
|
53
57
|
import { GetOutcomesCommandInput, GetOutcomesCommandOutput } from "./commands/GetOutcomesCommand";
|
|
@@ -69,6 +73,7 @@ import { UpdateDetectorVersionCommandInput, UpdateDetectorVersionCommandOutput }
|
|
|
69
73
|
import { UpdateDetectorVersionMetadataCommandInput, UpdateDetectorVersionMetadataCommandOutput } from "./commands/UpdateDetectorVersionMetadataCommand";
|
|
70
74
|
import { UpdateDetectorVersionStatusCommandInput, UpdateDetectorVersionStatusCommandOutput } from "./commands/UpdateDetectorVersionStatusCommand";
|
|
71
75
|
import { UpdateEventLabelCommandInput, UpdateEventLabelCommandOutput } from "./commands/UpdateEventLabelCommand";
|
|
76
|
+
import { UpdateListCommandInput, UpdateListCommandOutput } from "./commands/UpdateListCommand";
|
|
72
77
|
import { UpdateModelCommandInput, UpdateModelCommandOutput } from "./commands/UpdateModelCommand";
|
|
73
78
|
import { UpdateModelVersionCommandInput, UpdateModelVersionCommandOutput } from "./commands/UpdateModelVersionCommand";
|
|
74
79
|
import { UpdateModelVersionStatusCommandInput, UpdateModelVersionStatusCommandOutput } from "./commands/UpdateModelVersionStatusCommand";
|
|
@@ -76,8 +81,8 @@ import { UpdateRuleMetadataCommandInput, UpdateRuleMetadataCommandOutput } from
|
|
|
76
81
|
import { UpdateRuleVersionCommandInput, UpdateRuleVersionCommandOutput } from "./commands/UpdateRuleVersionCommand";
|
|
77
82
|
import { UpdateVariableCommandInput, UpdateVariableCommandOutput } from "./commands/UpdateVariableCommand";
|
|
78
83
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
79
|
-
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;
|
|
80
|
-
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;
|
|
84
|
+
export declare type ServiceInputTypes = BatchCreateVariableCommandInput | BatchGetVariableCommandInput | CancelBatchImportJobCommandInput | CancelBatchPredictionJobCommandInput | CreateBatchImportJobCommandInput | CreateBatchPredictionJobCommandInput | CreateDetectorVersionCommandInput | CreateListCommandInput | CreateModelCommandInput | CreateModelVersionCommandInput | CreateRuleCommandInput | CreateVariableCommandInput | DeleteBatchImportJobCommandInput | DeleteBatchPredictionJobCommandInput | DeleteDetectorCommandInput | DeleteDetectorVersionCommandInput | DeleteEntityTypeCommandInput | DeleteEventCommandInput | DeleteEventTypeCommandInput | DeleteEventsByEventTypeCommandInput | DeleteExternalModelCommandInput | DeleteLabelCommandInput | DeleteListCommandInput | DeleteModelCommandInput | DeleteModelVersionCommandInput | DeleteOutcomeCommandInput | DeleteRuleCommandInput | DeleteVariableCommandInput | DescribeDetectorCommandInput | DescribeModelVersionsCommandInput | GetBatchImportJobsCommandInput | GetBatchPredictionJobsCommandInput | GetDeleteEventsByEventTypeStatusCommandInput | GetDetectorVersionCommandInput | GetDetectorsCommandInput | GetEntityTypesCommandInput | GetEventCommandInput | GetEventPredictionCommandInput | GetEventPredictionMetadataCommandInput | GetEventTypesCommandInput | GetExternalModelsCommandInput | GetKMSEncryptionKeyCommandInput | GetLabelsCommandInput | GetListElementsCommandInput | GetListsMetadataCommandInput | GetModelVersionCommandInput | GetModelsCommandInput | GetOutcomesCommandInput | GetRulesCommandInput | GetVariablesCommandInput | ListEventPredictionsCommandInput | ListTagsForResourceCommandInput | PutDetectorCommandInput | PutEntityTypeCommandInput | PutEventTypeCommandInput | PutExternalModelCommandInput | PutKMSEncryptionKeyCommandInput | PutLabelCommandInput | PutOutcomeCommandInput | SendEventCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDetectorVersionCommandInput | UpdateDetectorVersionMetadataCommandInput | UpdateDetectorVersionStatusCommandInput | UpdateEventLabelCommandInput | UpdateListCommandInput | UpdateModelCommandInput | UpdateModelVersionCommandInput | UpdateModelVersionStatusCommandInput | UpdateRuleMetadataCommandInput | UpdateRuleVersionCommandInput | UpdateVariableCommandInput;
|
|
85
|
+
export declare type ServiceOutputTypes = BatchCreateVariableCommandOutput | BatchGetVariableCommandOutput | CancelBatchImportJobCommandOutput | CancelBatchPredictionJobCommandOutput | CreateBatchImportJobCommandOutput | CreateBatchPredictionJobCommandOutput | CreateDetectorVersionCommandOutput | CreateListCommandOutput | CreateModelCommandOutput | CreateModelVersionCommandOutput | CreateRuleCommandOutput | CreateVariableCommandOutput | DeleteBatchImportJobCommandOutput | DeleteBatchPredictionJobCommandOutput | DeleteDetectorCommandOutput | DeleteDetectorVersionCommandOutput | DeleteEntityTypeCommandOutput | DeleteEventCommandOutput | DeleteEventTypeCommandOutput | DeleteEventsByEventTypeCommandOutput | DeleteExternalModelCommandOutput | DeleteLabelCommandOutput | DeleteListCommandOutput | DeleteModelCommandOutput | DeleteModelVersionCommandOutput | DeleteOutcomeCommandOutput | DeleteRuleCommandOutput | DeleteVariableCommandOutput | DescribeDetectorCommandOutput | DescribeModelVersionsCommandOutput | GetBatchImportJobsCommandOutput | GetBatchPredictionJobsCommandOutput | GetDeleteEventsByEventTypeStatusCommandOutput | GetDetectorVersionCommandOutput | GetDetectorsCommandOutput | GetEntityTypesCommandOutput | GetEventCommandOutput | GetEventPredictionCommandOutput | GetEventPredictionMetadataCommandOutput | GetEventTypesCommandOutput | GetExternalModelsCommandOutput | GetKMSEncryptionKeyCommandOutput | GetLabelsCommandOutput | GetListElementsCommandOutput | GetListsMetadataCommandOutput | GetModelVersionCommandOutput | GetModelsCommandOutput | GetOutcomesCommandOutput | GetRulesCommandOutput | GetVariablesCommandOutput | ListEventPredictionsCommandOutput | ListTagsForResourceCommandOutput | PutDetectorCommandOutput | PutEntityTypeCommandOutput | PutEventTypeCommandOutput | PutExternalModelCommandOutput | PutKMSEncryptionKeyCommandOutput | PutLabelCommandOutput | PutOutcomeCommandOutput | SendEventCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDetectorVersionCommandOutput | UpdateDetectorVersionMetadataCommandOutput | UpdateDetectorVersionStatusCommandOutput | UpdateEventLabelCommandOutput | UpdateListCommandOutput | UpdateModelCommandOutput | UpdateModelVersionCommandOutput | UpdateModelVersionStatusCommandOutput | UpdateRuleMetadataCommandOutput | UpdateRuleVersionCommandOutput | UpdateVariableCommandOutput;
|
|
81
86
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
82
87
|
/**
|
|
83
88
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|