@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,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var FraudDetectorClient = (function (_super) {
|
|
13
|
+
__extends(FraudDetectorClient, _super);
|
|
14
|
+
function FraudDetectorClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
FraudDetectorClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return FraudDetectorClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { FraudDetectorClient };
|
|
@@ -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 { BatchCreateVariableRequestFilterSensitiveLog, BatchCreateVariableResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1BatchCreateVariableCommand, serializeAws_json1_1BatchCreateVariableCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var BatchCreateVariableCommand = (function (_super) {
|
|
7
|
+
__extends(BatchCreateVariableCommand, _super);
|
|
8
|
+
function BatchCreateVariableCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
BatchCreateVariableCommand.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 = "BatchCreateVariableCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: BatchCreateVariableRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: BatchCreateVariableResultFilterSensitiveLog,
|
|
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
|
+
BatchCreateVariableCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1BatchCreateVariableCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
BatchCreateVariableCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1BatchCreateVariableCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return BatchCreateVariableCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { BatchCreateVariableCommand };
|
|
@@ -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 { BatchGetVariableRequestFilterSensitiveLog, BatchGetVariableResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1BatchGetVariableCommand, serializeAws_json1_1BatchGetVariableCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var BatchGetVariableCommand = (function (_super) {
|
|
7
|
+
__extends(BatchGetVariableCommand, _super);
|
|
8
|
+
function BatchGetVariableCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
BatchGetVariableCommand.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 = "BatchGetVariableCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: BatchGetVariableRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: BatchGetVariableResultFilterSensitiveLog,
|
|
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
|
+
BatchGetVariableCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1BatchGetVariableCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
BatchGetVariableCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1BatchGetVariableCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return BatchGetVariableCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { BatchGetVariableCommand };
|
|
@@ -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 { CancelBatchImportJobRequestFilterSensitiveLog, CancelBatchImportJobResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CancelBatchImportJobCommand, serializeAws_json1_1CancelBatchImportJobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CancelBatchImportJobCommand = (function (_super) {
|
|
7
|
+
__extends(CancelBatchImportJobCommand, _super);
|
|
8
|
+
function CancelBatchImportJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CancelBatchImportJobCommand.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 = "CancelBatchImportJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CancelBatchImportJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CancelBatchImportJobResultFilterSensitiveLog,
|
|
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
|
+
CancelBatchImportJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CancelBatchImportJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CancelBatchImportJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CancelBatchImportJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CancelBatchImportJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CancelBatchImportJobCommand };
|
|
@@ -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 { CancelBatchPredictionJobRequestFilterSensitiveLog, CancelBatchPredictionJobResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CancelBatchPredictionJobCommand, serializeAws_json1_1CancelBatchPredictionJobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CancelBatchPredictionJobCommand = (function (_super) {
|
|
7
|
+
__extends(CancelBatchPredictionJobCommand, _super);
|
|
8
|
+
function CancelBatchPredictionJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CancelBatchPredictionJobCommand.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 = "CancelBatchPredictionJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CancelBatchPredictionJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CancelBatchPredictionJobResultFilterSensitiveLog,
|
|
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
|
+
CancelBatchPredictionJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CancelBatchPredictionJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CancelBatchPredictionJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CancelBatchPredictionJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CancelBatchPredictionJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CancelBatchPredictionJobCommand };
|
|
@@ -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 { CreateBatchImportJobRequestFilterSensitiveLog, CreateBatchImportJobResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateBatchImportJobCommand, serializeAws_json1_1CreateBatchImportJobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateBatchImportJobCommand = (function (_super) {
|
|
7
|
+
__extends(CreateBatchImportJobCommand, _super);
|
|
8
|
+
function CreateBatchImportJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateBatchImportJobCommand.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 = "CreateBatchImportJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateBatchImportJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateBatchImportJobResultFilterSensitiveLog,
|
|
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
|
+
CreateBatchImportJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateBatchImportJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateBatchImportJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateBatchImportJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateBatchImportJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateBatchImportJobCommand };
|
|
@@ -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 { CreateBatchPredictionJobRequestFilterSensitiveLog, CreateBatchPredictionJobResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateBatchPredictionJobCommand, serializeAws_json1_1CreateBatchPredictionJobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateBatchPredictionJobCommand = (function (_super) {
|
|
7
|
+
__extends(CreateBatchPredictionJobCommand, _super);
|
|
8
|
+
function CreateBatchPredictionJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateBatchPredictionJobCommand.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 = "CreateBatchPredictionJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateBatchPredictionJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateBatchPredictionJobResultFilterSensitiveLog,
|
|
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
|
+
CreateBatchPredictionJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateBatchPredictionJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateBatchPredictionJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateBatchPredictionJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateBatchPredictionJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateBatchPredictionJobCommand };
|
|
@@ -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 { CreateDetectorVersionRequestFilterSensitiveLog, CreateDetectorVersionResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateDetectorVersionCommand, serializeAws_json1_1CreateDetectorVersionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateDetectorVersionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateDetectorVersionCommand, _super);
|
|
8
|
+
function CreateDetectorVersionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateDetectorVersionCommand.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 = "CreateDetectorVersionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateDetectorVersionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateDetectorVersionResultFilterSensitiveLog,
|
|
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
|
+
CreateDetectorVersionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateDetectorVersionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateDetectorVersionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateDetectorVersionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateDetectorVersionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateDetectorVersionCommand };
|
|
@@ -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 { CreateModelRequestFilterSensitiveLog, CreateModelResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateModelCommand, serializeAws_json1_1CreateModelCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateModelCommand = (function (_super) {
|
|
7
|
+
__extends(CreateModelCommand, _super);
|
|
8
|
+
function CreateModelCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateModelCommand.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 = "CreateModelCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateModelRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateModelResultFilterSensitiveLog,
|
|
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
|
+
CreateModelCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateModelCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateModelCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateModelCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateModelCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateModelCommand };
|
|
@@ -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 { CreateModelVersionRequestFilterSensitiveLog, CreateModelVersionResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateModelVersionCommand, serializeAws_json1_1CreateModelVersionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateModelVersionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateModelVersionCommand, _super);
|
|
8
|
+
function CreateModelVersionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateModelVersionCommand.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 = "CreateModelVersionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateModelVersionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateModelVersionResultFilterSensitiveLog,
|
|
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
|
+
CreateModelVersionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateModelVersionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateModelVersionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateModelVersionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateModelVersionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateModelVersionCommand };
|