@aws-sdk/client-frauddetector 3.183.0 → 3.186.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/FraudDetector.js +281 -274
- package/dist-es/FraudDetectorClient.js +28 -22
- package/dist-es/commands/BatchCreateVariableCommand.js +28 -21
- package/dist-es/commands/BatchGetVariableCommand.js +28 -21
- package/dist-es/commands/CancelBatchImportJobCommand.js +28 -21
- package/dist-es/commands/CancelBatchPredictionJobCommand.js +28 -21
- package/dist-es/commands/CreateBatchImportJobCommand.js +28 -21
- package/dist-es/commands/CreateBatchPredictionJobCommand.js +28 -21
- package/dist-es/commands/CreateDetectorVersionCommand.js +28 -21
- package/dist-es/commands/CreateModelCommand.js +28 -21
- package/dist-es/commands/CreateModelVersionCommand.js +28 -21
- package/dist-es/commands/CreateRuleCommand.js +28 -21
- package/dist-es/commands/CreateVariableCommand.js +28 -21
- package/dist-es/commands/DeleteBatchImportJobCommand.js +28 -21
- package/dist-es/commands/DeleteBatchPredictionJobCommand.js +28 -21
- package/dist-es/commands/DeleteDetectorCommand.js +28 -21
- package/dist-es/commands/DeleteDetectorVersionCommand.js +28 -21
- package/dist-es/commands/DeleteEntityTypeCommand.js +28 -21
- package/dist-es/commands/DeleteEventCommand.js +28 -21
- package/dist-es/commands/DeleteEventTypeCommand.js +28 -21
- package/dist-es/commands/DeleteEventsByEventTypeCommand.js +28 -21
- package/dist-es/commands/DeleteExternalModelCommand.js +28 -21
- package/dist-es/commands/DeleteLabelCommand.js +28 -21
- package/dist-es/commands/DeleteModelCommand.js +28 -21
- package/dist-es/commands/DeleteModelVersionCommand.js +28 -21
- package/dist-es/commands/DeleteOutcomeCommand.js +28 -21
- package/dist-es/commands/DeleteRuleCommand.js +28 -21
- package/dist-es/commands/DeleteVariableCommand.js +28 -21
- package/dist-es/commands/DescribeDetectorCommand.js +28 -21
- package/dist-es/commands/DescribeModelVersionsCommand.js +28 -21
- package/dist-es/commands/GetBatchImportJobsCommand.js +28 -21
- package/dist-es/commands/GetBatchPredictionJobsCommand.js +28 -21
- package/dist-es/commands/GetDeleteEventsByEventTypeStatusCommand.js +28 -21
- package/dist-es/commands/GetDetectorVersionCommand.js +28 -21
- package/dist-es/commands/GetDetectorsCommand.js +28 -21
- package/dist-es/commands/GetEntityTypesCommand.js +28 -21
- package/dist-es/commands/GetEventCommand.js +28 -21
- package/dist-es/commands/GetEventPredictionCommand.js +28 -21
- package/dist-es/commands/GetEventPredictionMetadataCommand.js +28 -21
- package/dist-es/commands/GetEventTypesCommand.js +28 -21
- package/dist-es/commands/GetExternalModelsCommand.js +28 -21
- package/dist-es/commands/GetKMSEncryptionKeyCommand.js +29 -22
- package/dist-es/commands/GetLabelsCommand.js +28 -21
- package/dist-es/commands/GetModelVersionCommand.js +28 -21
- package/dist-es/commands/GetModelsCommand.js +28 -21
- package/dist-es/commands/GetOutcomesCommand.js +28 -21
- package/dist-es/commands/GetRulesCommand.js +28 -21
- package/dist-es/commands/GetVariablesCommand.js +28 -21
- package/dist-es/commands/ListEventPredictionsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/PutDetectorCommand.js +28 -21
- package/dist-es/commands/PutEntityTypeCommand.js +28 -21
- package/dist-es/commands/PutEventTypeCommand.js +28 -21
- package/dist-es/commands/PutExternalModelCommand.js +28 -21
- package/dist-es/commands/PutKMSEncryptionKeyCommand.js +28 -21
- package/dist-es/commands/PutLabelCommand.js +28 -21
- package/dist-es/commands/PutOutcomeCommand.js +28 -21
- package/dist-es/commands/SendEventCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateDetectorVersionCommand.js +28 -21
- package/dist-es/commands/UpdateDetectorVersionMetadataCommand.js +28 -21
- package/dist-es/commands/UpdateDetectorVersionStatusCommand.js +28 -21
- package/dist-es/commands/UpdateEventLabelCommand.js +28 -21
- package/dist-es/commands/UpdateModelCommand.js +28 -21
- package/dist-es/commands/UpdateModelVersionCommand.js +28 -21
- package/dist-es/commands/UpdateModelVersionStatusCommand.js +28 -21
- package/dist-es/commands/UpdateRuleMetadataCommand.js +28 -21
- package/dist-es/commands/UpdateRuleVersionCommand.js +28 -21
- package/dist-es/commands/UpdateVariableCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/FraudDetectorServiceException.js +10 -5
- package/dist-es/models/models_0.js +284 -710
- package/dist-es/pagination/DescribeModelVersionsPaginator.js +68 -25
- package/dist-es/pagination/GetBatchImportJobsPaginator.js +68 -25
- package/dist-es/pagination/GetBatchPredictionJobsPaginator.js +68 -25
- package/dist-es/pagination/GetDetectorsPaginator.js +68 -25
- package/dist-es/pagination/GetEntityTypesPaginator.js +68 -25
- package/dist-es/pagination/GetEventTypesPaginator.js +68 -25
- package/dist-es/pagination/GetExternalModelsPaginator.js +68 -25
- package/dist-es/pagination/GetLabelsPaginator.js +68 -25
- package/dist-es/pagination/GetModelsPaginator.js +68 -25
- package/dist-es/pagination/GetOutcomesPaginator.js +68 -25
- package/dist-es/pagination/GetRulesPaginator.js +68 -25
- package/dist-es/pagination/GetVariablesPaginator.js +68 -25
- package/dist-es/pagination/ListEventPredictionsPaginator.js +68 -25
- package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +6042 -4746
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +33 -33
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateDetectorVersionMetadataRequestFilterSensitiveLog, UpdateDetectorVersionMetadataResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateDetectorVersionMetadataCommand, serializeAws_json1_1UpdateDetectorVersionMetadataCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateDetectorVersionMetadataCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateDetectorVersionMetadataCommand, _super);
|
|
8
|
+
function UpdateDetectorVersionMetadataCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateDetectorVersionMetadataCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FraudDetectorClient";
|
|
18
|
+
var commandName = "UpdateDetectorVersionMetadataCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateDetectorVersionMetadataRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateDetectorVersionMetadataResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateDetectorVersionMetadataCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateDetectorVersionMetadataCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateDetectorVersionMetadataCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateDetectorVersionMetadataCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateDetectorVersionMetadataCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateDetectorVersionMetadataCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateDetectorVersionStatusRequestFilterSensitiveLog, UpdateDetectorVersionStatusResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateDetectorVersionStatusCommand, serializeAws_json1_1UpdateDetectorVersionStatusCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateDetectorVersionStatusCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateDetectorVersionStatusCommand, _super);
|
|
8
|
+
function UpdateDetectorVersionStatusCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateDetectorVersionStatusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FraudDetectorClient";
|
|
18
|
+
var commandName = "UpdateDetectorVersionStatusCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateDetectorVersionStatusRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateDetectorVersionStatusResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateDetectorVersionStatusCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateDetectorVersionStatusCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateDetectorVersionStatusCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateDetectorVersionStatusCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateDetectorVersionStatusCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateDetectorVersionStatusCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateEventLabelRequestFilterSensitiveLog, UpdateEventLabelResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateEventLabelCommand, serializeAws_json1_1UpdateEventLabelCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateEventLabelCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateEventLabelCommand, _super);
|
|
8
|
+
function UpdateEventLabelCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateEventLabelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FraudDetectorClient";
|
|
18
|
+
var commandName = "UpdateEventLabelCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateEventLabelRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateEventLabelResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateEventLabelCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateEventLabelCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateEventLabelCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateEventLabelCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateEventLabelCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateEventLabelCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateModelRequestFilterSensitiveLog, UpdateModelResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateModelCommand, serializeAws_json1_1UpdateModelCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateModelCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateModelCommand, _super);
|
|
8
|
+
function UpdateModelCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateModelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FraudDetectorClient";
|
|
18
|
+
var commandName = "UpdateModelCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateModelRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateModelResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateModelCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateModelCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateModelCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateModelCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateModelCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateModelCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateModelVersionRequestFilterSensitiveLog, UpdateModelVersionResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateModelVersionCommand, serializeAws_json1_1UpdateModelVersionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateModelVersionCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateModelVersionCommand, _super);
|
|
8
|
+
function UpdateModelVersionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateModelVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FraudDetectorClient";
|
|
18
|
+
var commandName = "UpdateModelVersionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateModelVersionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateModelVersionResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateModelVersionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateModelVersionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateModelVersionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateModelVersionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateModelVersionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateModelVersionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateModelVersionStatusRequestFilterSensitiveLog, UpdateModelVersionStatusResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateModelVersionStatusCommand, serializeAws_json1_1UpdateModelVersionStatusCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateModelVersionStatusCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateModelVersionStatusCommand, _super);
|
|
8
|
+
function UpdateModelVersionStatusCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateModelVersionStatusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FraudDetectorClient";
|
|
18
|
+
var commandName = "UpdateModelVersionStatusCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateModelVersionStatusRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateModelVersionStatusResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateModelVersionStatusCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateModelVersionStatusCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateModelVersionStatusCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateModelVersionStatusCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateModelVersionStatusCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateModelVersionStatusCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateRuleMetadataRequestFilterSensitiveLog, UpdateRuleMetadataResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateRuleMetadataCommand, serializeAws_json1_1UpdateRuleMetadataCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateRuleMetadataCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateRuleMetadataCommand, _super);
|
|
8
|
+
function UpdateRuleMetadataCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateRuleMetadataCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FraudDetectorClient";
|
|
18
|
+
var commandName = "UpdateRuleMetadataCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateRuleMetadataRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateRuleMetadataResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateRuleMetadataCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateRuleMetadataCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateRuleMetadataCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateRuleMetadataCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateRuleMetadataCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateRuleMetadataCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateRuleVersionRequestFilterSensitiveLog, UpdateRuleVersionResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateRuleVersionCommand, serializeAws_json1_1UpdateRuleVersionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateRuleVersionCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateRuleVersionCommand, _super);
|
|
8
|
+
function UpdateRuleVersionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateRuleVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FraudDetectorClient";
|
|
18
|
+
var commandName = "UpdateRuleVersionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateRuleVersionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateRuleVersionResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateRuleVersionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateRuleVersionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateRuleVersionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateRuleVersionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateRuleVersionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateRuleVersionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateVariableRequestFilterSensitiveLog, UpdateVariableResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateVariableCommand, serializeAws_json1_1UpdateVariableCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateVariableCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateVariableCommand, _super);
|
|
8
|
+
function UpdateVariableCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateVariableCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FraudDetectorClient";
|
|
18
|
+
var commandName = "UpdateVariableCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateVariableRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateVariableResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateVariableCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateVariableCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateVariableCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateVariableCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateVariableCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateVariableCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
var regionHash = {};
|
|
4
|
+
var partitionHash = {
|
|
4
5
|
aws: {
|
|
5
6
|
regions: [
|
|
6
7
|
"af-south-1",
|
|
@@ -120,9 +121,8 @@ const partitionHash = {
|
|
|
120
121
|
],
|
|
121
122
|
},
|
|
122
123
|
};
|
|
123
|
-
export
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
});
|
|
124
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
125
|
+
return __generator(this, function (_a) {
|
|
126
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "frauddetector", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
127
|
+
});
|
|
128
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var FraudDetectorServiceException = (function (_super) {
|
|
4
|
+
__extends(FraudDetectorServiceException, _super);
|
|
5
|
+
function FraudDetectorServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, FraudDetectorServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return FraudDetectorServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { FraudDetectorServiceException };
|