@aws-sdk/client-frauddetector 3.183.0 → 3.185.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/FraudDetector.js +281 -274
  4. package/dist-es/FraudDetectorClient.js +28 -22
  5. package/dist-es/commands/BatchCreateVariableCommand.js +28 -21
  6. package/dist-es/commands/BatchGetVariableCommand.js +28 -21
  7. package/dist-es/commands/CancelBatchImportJobCommand.js +28 -21
  8. package/dist-es/commands/CancelBatchPredictionJobCommand.js +28 -21
  9. package/dist-es/commands/CreateBatchImportJobCommand.js +28 -21
  10. package/dist-es/commands/CreateBatchPredictionJobCommand.js +28 -21
  11. package/dist-es/commands/CreateDetectorVersionCommand.js +28 -21
  12. package/dist-es/commands/CreateModelCommand.js +28 -21
  13. package/dist-es/commands/CreateModelVersionCommand.js +28 -21
  14. package/dist-es/commands/CreateRuleCommand.js +28 -21
  15. package/dist-es/commands/CreateVariableCommand.js +28 -21
  16. package/dist-es/commands/DeleteBatchImportJobCommand.js +28 -21
  17. package/dist-es/commands/DeleteBatchPredictionJobCommand.js +28 -21
  18. package/dist-es/commands/DeleteDetectorCommand.js +28 -21
  19. package/dist-es/commands/DeleteDetectorVersionCommand.js +28 -21
  20. package/dist-es/commands/DeleteEntityTypeCommand.js +28 -21
  21. package/dist-es/commands/DeleteEventCommand.js +28 -21
  22. package/dist-es/commands/DeleteEventTypeCommand.js +28 -21
  23. package/dist-es/commands/DeleteEventsByEventTypeCommand.js +28 -21
  24. package/dist-es/commands/DeleteExternalModelCommand.js +28 -21
  25. package/dist-es/commands/DeleteLabelCommand.js +28 -21
  26. package/dist-es/commands/DeleteModelCommand.js +28 -21
  27. package/dist-es/commands/DeleteModelVersionCommand.js +28 -21
  28. package/dist-es/commands/DeleteOutcomeCommand.js +28 -21
  29. package/dist-es/commands/DeleteRuleCommand.js +28 -21
  30. package/dist-es/commands/DeleteVariableCommand.js +28 -21
  31. package/dist-es/commands/DescribeDetectorCommand.js +28 -21
  32. package/dist-es/commands/DescribeModelVersionsCommand.js +28 -21
  33. package/dist-es/commands/GetBatchImportJobsCommand.js +28 -21
  34. package/dist-es/commands/GetBatchPredictionJobsCommand.js +28 -21
  35. package/dist-es/commands/GetDeleteEventsByEventTypeStatusCommand.js +28 -21
  36. package/dist-es/commands/GetDetectorVersionCommand.js +28 -21
  37. package/dist-es/commands/GetDetectorsCommand.js +28 -21
  38. package/dist-es/commands/GetEntityTypesCommand.js +28 -21
  39. package/dist-es/commands/GetEventCommand.js +28 -21
  40. package/dist-es/commands/GetEventPredictionCommand.js +28 -21
  41. package/dist-es/commands/GetEventPredictionMetadataCommand.js +28 -21
  42. package/dist-es/commands/GetEventTypesCommand.js +28 -21
  43. package/dist-es/commands/GetExternalModelsCommand.js +28 -21
  44. package/dist-es/commands/GetKMSEncryptionKeyCommand.js +29 -22
  45. package/dist-es/commands/GetLabelsCommand.js +28 -21
  46. package/dist-es/commands/GetModelVersionCommand.js +28 -21
  47. package/dist-es/commands/GetModelsCommand.js +28 -21
  48. package/dist-es/commands/GetOutcomesCommand.js +28 -21
  49. package/dist-es/commands/GetRulesCommand.js +28 -21
  50. package/dist-es/commands/GetVariablesCommand.js +28 -21
  51. package/dist-es/commands/ListEventPredictionsCommand.js +28 -21
  52. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  53. package/dist-es/commands/PutDetectorCommand.js +28 -21
  54. package/dist-es/commands/PutEntityTypeCommand.js +28 -21
  55. package/dist-es/commands/PutEventTypeCommand.js +28 -21
  56. package/dist-es/commands/PutExternalModelCommand.js +28 -21
  57. package/dist-es/commands/PutKMSEncryptionKeyCommand.js +28 -21
  58. package/dist-es/commands/PutLabelCommand.js +28 -21
  59. package/dist-es/commands/PutOutcomeCommand.js +28 -21
  60. package/dist-es/commands/SendEventCommand.js +28 -21
  61. package/dist-es/commands/TagResourceCommand.js +28 -21
  62. package/dist-es/commands/UntagResourceCommand.js +28 -21
  63. package/dist-es/commands/UpdateDetectorVersionCommand.js +28 -21
  64. package/dist-es/commands/UpdateDetectorVersionMetadataCommand.js +28 -21
  65. package/dist-es/commands/UpdateDetectorVersionStatusCommand.js +28 -21
  66. package/dist-es/commands/UpdateEventLabelCommand.js +28 -21
  67. package/dist-es/commands/UpdateModelCommand.js +28 -21
  68. package/dist-es/commands/UpdateModelVersionCommand.js +28 -21
  69. package/dist-es/commands/UpdateModelVersionStatusCommand.js +28 -21
  70. package/dist-es/commands/UpdateRuleMetadataCommand.js +28 -21
  71. package/dist-es/commands/UpdateRuleVersionCommand.js +28 -21
  72. package/dist-es/commands/UpdateVariableCommand.js +28 -21
  73. package/dist-es/endpoints.js +8 -8
  74. package/dist-es/models/FraudDetectorServiceException.js +10 -5
  75. package/dist-es/models/models_0.js +284 -710
  76. package/dist-es/pagination/DescribeModelVersionsPaginator.js +68 -25
  77. package/dist-es/pagination/GetBatchImportJobsPaginator.js +68 -25
  78. package/dist-es/pagination/GetBatchPredictionJobsPaginator.js +68 -25
  79. package/dist-es/pagination/GetDetectorsPaginator.js +68 -25
  80. package/dist-es/pagination/GetEntityTypesPaginator.js +68 -25
  81. package/dist-es/pagination/GetEventTypesPaginator.js +68 -25
  82. package/dist-es/pagination/GetExternalModelsPaginator.js +68 -25
  83. package/dist-es/pagination/GetLabelsPaginator.js +68 -25
  84. package/dist-es/pagination/GetModelsPaginator.js +68 -25
  85. package/dist-es/pagination/GetOutcomesPaginator.js +68 -25
  86. package/dist-es/pagination/GetRulesPaginator.js +68 -25
  87. package/dist-es/pagination/GetVariablesPaginator.js +68 -25
  88. package/dist-es/pagination/ListEventPredictionsPaginator.js +68 -25
  89. package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
  90. package/dist-es/protocols/Aws_json1_1.js +6042 -4746
  91. package/dist-es/runtimeConfig.browser.js +12 -26
  92. package/dist-es/runtimeConfig.js +12 -30
  93. package/dist-es/runtimeConfig.native.js +5 -8
  94. package/dist-es/runtimeConfig.shared.js +11 -8
  95. package/package.json +5 -5
@@ -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 { GetKMSEncryptionKeyResultFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetKMSEncryptionKeyCommand, serializeAws_json1_1GetKMSEncryptionKeyCommand, } from "../protocols/Aws_json1_1";
5
- export class GetKMSEncryptionKeyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetKMSEncryptionKeyCommand = (function (_super) {
7
+ __extends(GetKMSEncryptionKeyCommand, _super);
8
+ function GetKMSEncryptionKeyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetKMSEncryptionKeyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "GetKMSEncryptionKeyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
20
- inputFilterSensitiveLog: (input) => input,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FraudDetectorClient";
18
+ var commandName = "GetKMSEncryptionKeyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: function (input) { return input; },
21
24
  outputFilterSensitiveLog: GetKMSEncryptionKeyResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetKMSEncryptionKeyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetKMSEncryptionKeyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetKMSEncryptionKeyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetKMSEncryptionKeyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetKMSEncryptionKeyCommand;
38
+ }($Command));
39
+ export { GetKMSEncryptionKeyCommand };
@@ -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 { GetLabelsRequestFilterSensitiveLog, GetLabelsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetLabelsCommand, serializeAws_json1_1GetLabelsCommand } from "../protocols/Aws_json1_1";
5
- export class GetLabelsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetLabelsCommand = (function (_super) {
7
+ __extends(GetLabelsCommand, _super);
8
+ function GetLabelsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetLabelsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "GetLabelsCommand";
16
- const handlerExecutionContext = {
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 = "GetLabelsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetLabelsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetLabelsResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetLabelsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetLabelsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetLabelsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetLabelsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetLabelsCommand;
38
+ }($Command));
39
+ export { GetLabelsCommand };
@@ -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 { GetModelVersionRequestFilterSensitiveLog, GetModelVersionResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetModelVersionCommand, serializeAws_json1_1GetModelVersionCommand, } from "../protocols/Aws_json1_1";
5
- export class GetModelVersionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetModelVersionCommand = (function (_super) {
7
+ __extends(GetModelVersionCommand, _super);
8
+ function GetModelVersionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetModelVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "GetModelVersionCommand";
16
- const handlerExecutionContext = {
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 = "GetModelVersionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetModelVersionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetModelVersionResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetModelVersionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetModelVersionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetModelVersionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetModelVersionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetModelVersionCommand;
38
+ }($Command));
39
+ export { GetModelVersionCommand };
@@ -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 { GetModelsRequestFilterSensitiveLog, GetModelsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetModelsCommand, serializeAws_json1_1GetModelsCommand } from "../protocols/Aws_json1_1";
5
- export class GetModelsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetModelsCommand = (function (_super) {
7
+ __extends(GetModelsCommand, _super);
8
+ function GetModelsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetModelsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "GetModelsCommand";
16
- const handlerExecutionContext = {
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 = "GetModelsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetModelsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetModelsResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetModelsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetModelsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetModelsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetModelsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetModelsCommand;
38
+ }($Command));
39
+ export { GetModelsCommand };
@@ -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 { GetOutcomesRequestFilterSensitiveLog, GetOutcomesResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetOutcomesCommand, serializeAws_json1_1GetOutcomesCommand, } from "../protocols/Aws_json1_1";
5
- export class GetOutcomesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetOutcomesCommand = (function (_super) {
7
+ __extends(GetOutcomesCommand, _super);
8
+ function GetOutcomesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetOutcomesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "GetOutcomesCommand";
16
- const handlerExecutionContext = {
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 = "GetOutcomesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetOutcomesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetOutcomesResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetOutcomesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetOutcomesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetOutcomesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetOutcomesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetOutcomesCommand;
38
+ }($Command));
39
+ export { GetOutcomesCommand };
@@ -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 { GetRulesRequestFilterSensitiveLog, GetRulesResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetRulesCommand, serializeAws_json1_1GetRulesCommand } from "../protocols/Aws_json1_1";
5
- export class GetRulesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetRulesCommand = (function (_super) {
7
+ __extends(GetRulesCommand, _super);
8
+ function GetRulesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetRulesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "GetRulesCommand";
16
- const handlerExecutionContext = {
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 = "GetRulesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetRulesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetRulesResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetRulesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetRulesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetRulesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetRulesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetRulesCommand;
38
+ }($Command));
39
+ export { GetRulesCommand };
@@ -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 { GetVariablesRequestFilterSensitiveLog, GetVariablesResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetVariablesCommand, serializeAws_json1_1GetVariablesCommand, } from "../protocols/Aws_json1_1";
5
- export class GetVariablesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetVariablesCommand = (function (_super) {
7
+ __extends(GetVariablesCommand, _super);
8
+ function GetVariablesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetVariablesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "GetVariablesCommand";
16
- const handlerExecutionContext = {
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 = "GetVariablesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetVariablesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetVariablesResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetVariablesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetVariablesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetVariablesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetVariablesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetVariablesCommand;
38
+ }($Command));
39
+ export { GetVariablesCommand };
@@ -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 { ListEventPredictionsRequestFilterSensitiveLog, ListEventPredictionsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListEventPredictionsCommand, serializeAws_json1_1ListEventPredictionsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListEventPredictionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListEventPredictionsCommand = (function (_super) {
7
+ __extends(ListEventPredictionsCommand, _super);
8
+ function ListEventPredictionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListEventPredictionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "ListEventPredictionsCommand";
16
- const handlerExecutionContext = {
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 = "ListEventPredictionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListEventPredictionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListEventPredictionsResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListEventPredictionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListEventPredictionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListEventPredictionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListEventPredictionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListEventPredictionsCommand;
38
+ }($Command));
39
+ export { ListEventPredictionsCommand };
@@ -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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
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 = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -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 { PutDetectorRequestFilterSensitiveLog, PutDetectorResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1PutDetectorCommand, serializeAws_json1_1PutDetectorCommand, } from "../protocols/Aws_json1_1";
5
- export class PutDetectorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutDetectorCommand = (function (_super) {
7
+ __extends(PutDetectorCommand, _super);
8
+ function PutDetectorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutDetectorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "PutDetectorCommand";
16
- const handlerExecutionContext = {
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 = "PutDetectorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutDetectorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutDetectorResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PutDetectorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1PutDetectorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutDetectorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1PutDetectorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutDetectorCommand;
38
+ }($Command));
39
+ export { PutDetectorCommand };