@aws-sdk/client-frauddetector 3.181.0 → 3.183.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 (94) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/FraudDetector.js +274 -281
  3. package/dist-es/FraudDetectorClient.js +22 -28
  4. package/dist-es/commands/BatchCreateVariableCommand.js +21 -28
  5. package/dist-es/commands/BatchGetVariableCommand.js +21 -28
  6. package/dist-es/commands/CancelBatchImportJobCommand.js +21 -28
  7. package/dist-es/commands/CancelBatchPredictionJobCommand.js +21 -28
  8. package/dist-es/commands/CreateBatchImportJobCommand.js +21 -28
  9. package/dist-es/commands/CreateBatchPredictionJobCommand.js +21 -28
  10. package/dist-es/commands/CreateDetectorVersionCommand.js +21 -28
  11. package/dist-es/commands/CreateModelCommand.js +21 -28
  12. package/dist-es/commands/CreateModelVersionCommand.js +21 -28
  13. package/dist-es/commands/CreateRuleCommand.js +21 -28
  14. package/dist-es/commands/CreateVariableCommand.js +21 -28
  15. package/dist-es/commands/DeleteBatchImportJobCommand.js +21 -28
  16. package/dist-es/commands/DeleteBatchPredictionJobCommand.js +21 -28
  17. package/dist-es/commands/DeleteDetectorCommand.js +21 -28
  18. package/dist-es/commands/DeleteDetectorVersionCommand.js +21 -28
  19. package/dist-es/commands/DeleteEntityTypeCommand.js +21 -28
  20. package/dist-es/commands/DeleteEventCommand.js +21 -28
  21. package/dist-es/commands/DeleteEventTypeCommand.js +21 -28
  22. package/dist-es/commands/DeleteEventsByEventTypeCommand.js +21 -28
  23. package/dist-es/commands/DeleteExternalModelCommand.js +21 -28
  24. package/dist-es/commands/DeleteLabelCommand.js +21 -28
  25. package/dist-es/commands/DeleteModelCommand.js +21 -28
  26. package/dist-es/commands/DeleteModelVersionCommand.js +21 -28
  27. package/dist-es/commands/DeleteOutcomeCommand.js +21 -28
  28. package/dist-es/commands/DeleteRuleCommand.js +21 -28
  29. package/dist-es/commands/DeleteVariableCommand.js +21 -28
  30. package/dist-es/commands/DescribeDetectorCommand.js +21 -28
  31. package/dist-es/commands/DescribeModelVersionsCommand.js +21 -28
  32. package/dist-es/commands/GetBatchImportJobsCommand.js +21 -28
  33. package/dist-es/commands/GetBatchPredictionJobsCommand.js +21 -28
  34. package/dist-es/commands/GetDeleteEventsByEventTypeStatusCommand.js +21 -28
  35. package/dist-es/commands/GetDetectorVersionCommand.js +21 -28
  36. package/dist-es/commands/GetDetectorsCommand.js +21 -28
  37. package/dist-es/commands/GetEntityTypesCommand.js +21 -28
  38. package/dist-es/commands/GetEventCommand.js +21 -28
  39. package/dist-es/commands/GetEventPredictionCommand.js +21 -28
  40. package/dist-es/commands/GetEventPredictionMetadataCommand.js +21 -28
  41. package/dist-es/commands/GetEventTypesCommand.js +21 -28
  42. package/dist-es/commands/GetExternalModelsCommand.js +21 -28
  43. package/dist-es/commands/GetKMSEncryptionKeyCommand.js +22 -29
  44. package/dist-es/commands/GetLabelsCommand.js +21 -28
  45. package/dist-es/commands/GetModelVersionCommand.js +21 -28
  46. package/dist-es/commands/GetModelsCommand.js +21 -28
  47. package/dist-es/commands/GetOutcomesCommand.js +21 -28
  48. package/dist-es/commands/GetRulesCommand.js +21 -28
  49. package/dist-es/commands/GetVariablesCommand.js +21 -28
  50. package/dist-es/commands/ListEventPredictionsCommand.js +21 -28
  51. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  52. package/dist-es/commands/PutDetectorCommand.js +21 -28
  53. package/dist-es/commands/PutEntityTypeCommand.js +21 -28
  54. package/dist-es/commands/PutEventTypeCommand.js +21 -28
  55. package/dist-es/commands/PutExternalModelCommand.js +21 -28
  56. package/dist-es/commands/PutKMSEncryptionKeyCommand.js +21 -28
  57. package/dist-es/commands/PutLabelCommand.js +21 -28
  58. package/dist-es/commands/PutOutcomeCommand.js +21 -28
  59. package/dist-es/commands/SendEventCommand.js +21 -28
  60. package/dist-es/commands/TagResourceCommand.js +21 -28
  61. package/dist-es/commands/UntagResourceCommand.js +21 -28
  62. package/dist-es/commands/UpdateDetectorVersionCommand.js +21 -28
  63. package/dist-es/commands/UpdateDetectorVersionMetadataCommand.js +21 -28
  64. package/dist-es/commands/UpdateDetectorVersionStatusCommand.js +21 -28
  65. package/dist-es/commands/UpdateEventLabelCommand.js +21 -28
  66. package/dist-es/commands/UpdateModelCommand.js +21 -28
  67. package/dist-es/commands/UpdateModelVersionCommand.js +21 -28
  68. package/dist-es/commands/UpdateModelVersionStatusCommand.js +21 -28
  69. package/dist-es/commands/UpdateRuleMetadataCommand.js +21 -28
  70. package/dist-es/commands/UpdateRuleVersionCommand.js +21 -28
  71. package/dist-es/commands/UpdateVariableCommand.js +21 -28
  72. package/dist-es/endpoints.js +8 -8
  73. package/dist-es/models/FraudDetectorServiceException.js +5 -10
  74. package/dist-es/models/models_0.js +710 -284
  75. package/dist-es/pagination/DescribeModelVersionsPaginator.js +25 -68
  76. package/dist-es/pagination/GetBatchImportJobsPaginator.js +25 -68
  77. package/dist-es/pagination/GetBatchPredictionJobsPaginator.js +25 -68
  78. package/dist-es/pagination/GetDetectorsPaginator.js +25 -68
  79. package/dist-es/pagination/GetEntityTypesPaginator.js +25 -68
  80. package/dist-es/pagination/GetEventTypesPaginator.js +25 -68
  81. package/dist-es/pagination/GetExternalModelsPaginator.js +25 -68
  82. package/dist-es/pagination/GetLabelsPaginator.js +25 -68
  83. package/dist-es/pagination/GetModelsPaginator.js +25 -68
  84. package/dist-es/pagination/GetOutcomesPaginator.js +25 -68
  85. package/dist-es/pagination/GetRulesPaginator.js +25 -68
  86. package/dist-es/pagination/GetVariablesPaginator.js +25 -68
  87. package/dist-es/pagination/ListEventPredictionsPaginator.js +25 -68
  88. package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
  89. package/dist-es/protocols/Aws_json1_1.js +4746 -6042
  90. package/dist-es/runtimeConfig.browser.js +26 -12
  91. package/dist-es/runtimeConfig.js +30 -12
  92. package/dist-es/runtimeConfig.native.js +8 -5
  93. package/dist-es/runtimeConfig.shared.js +8 -11
  94. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PutEntityTypeRequestFilterSensitiveLog, PutEntityTypeResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1PutEntityTypeCommand, serializeAws_json1_1PutEntityTypeCommand, } from "../protocols/Aws_json1_1";
6
- var PutEntityTypeCommand = (function (_super) {
7
- __extends(PutEntityTypeCommand, _super);
8
- function PutEntityTypeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutEntityTypeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutEntityTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FraudDetectorClient";
18
- var commandName = "PutEntityTypeCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FraudDetectorClient";
15
+ const commandName = "PutEntityTypeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutEntityTypeRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PutEntityTypeResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PutEntityTypeCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1PutEntityTypeCommand(input, context);
33
- };
34
- PutEntityTypeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1PutEntityTypeCommand(output, context);
36
- };
37
- return PutEntityTypeCommand;
38
- }($Command));
39
- export { PutEntityTypeCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PutEventTypeRequestFilterSensitiveLog, PutEventTypeResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1PutEventTypeCommand, serializeAws_json1_1PutEventTypeCommand, } from "../protocols/Aws_json1_1";
6
- var PutEventTypeCommand = (function (_super) {
7
- __extends(PutEventTypeCommand, _super);
8
- function PutEventTypeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutEventTypeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutEventTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FraudDetectorClient";
18
- var commandName = "PutEventTypeCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FraudDetectorClient";
15
+ const commandName = "PutEventTypeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutEventTypeRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PutEventTypeResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PutEventTypeCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1PutEventTypeCommand(input, context);
33
- };
34
- PutEventTypeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1PutEventTypeCommand(output, context);
36
- };
37
- return PutEventTypeCommand;
38
- }($Command));
39
- export { PutEventTypeCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PutExternalModelRequestFilterSensitiveLog, PutExternalModelResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1PutExternalModelCommand, serializeAws_json1_1PutExternalModelCommand, } from "../protocols/Aws_json1_1";
6
- var PutExternalModelCommand = (function (_super) {
7
- __extends(PutExternalModelCommand, _super);
8
- function PutExternalModelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutExternalModelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutExternalModelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FraudDetectorClient";
18
- var commandName = "PutExternalModelCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FraudDetectorClient";
15
+ const commandName = "PutExternalModelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutExternalModelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PutExternalModelResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PutExternalModelCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1PutExternalModelCommand(input, context);
33
- };
34
- PutExternalModelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1PutExternalModelCommand(output, context);
36
- };
37
- return PutExternalModelCommand;
38
- }($Command));
39
- export { PutExternalModelCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PutKMSEncryptionKeyRequestFilterSensitiveLog, PutKMSEncryptionKeyResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1PutKMSEncryptionKeyCommand, serializeAws_json1_1PutKMSEncryptionKeyCommand, } from "../protocols/Aws_json1_1";
6
- var PutKMSEncryptionKeyCommand = (function (_super) {
7
- __extends(PutKMSEncryptionKeyCommand, _super);
8
- function PutKMSEncryptionKeyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutKMSEncryptionKeyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutKMSEncryptionKeyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FraudDetectorClient";
18
- var commandName = "PutKMSEncryptionKeyCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FraudDetectorClient";
15
+ const commandName = "PutKMSEncryptionKeyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutKMSEncryptionKeyRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PutKMSEncryptionKeyResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PutKMSEncryptionKeyCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1PutKMSEncryptionKeyCommand(input, context);
33
- };
34
- PutKMSEncryptionKeyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1PutKMSEncryptionKeyCommand(output, context);
36
- };
37
- return PutKMSEncryptionKeyCommand;
38
- }($Command));
39
- export { PutKMSEncryptionKeyCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PutLabelRequestFilterSensitiveLog, PutLabelResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1PutLabelCommand, serializeAws_json1_1PutLabelCommand } from "../protocols/Aws_json1_1";
6
- var PutLabelCommand = (function (_super) {
7
- __extends(PutLabelCommand, _super);
8
- function PutLabelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutLabelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutLabelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FraudDetectorClient";
18
- var commandName = "PutLabelCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FraudDetectorClient";
15
+ const commandName = "PutLabelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutLabelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PutLabelResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PutLabelCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1PutLabelCommand(input, context);
33
- };
34
- PutLabelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1PutLabelCommand(output, context);
36
- };
37
- return PutLabelCommand;
38
- }($Command));
39
- export { PutLabelCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PutOutcomeRequestFilterSensitiveLog, PutOutcomeResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1PutOutcomeCommand, serializeAws_json1_1PutOutcomeCommand, } from "../protocols/Aws_json1_1";
6
- var PutOutcomeCommand = (function (_super) {
7
- __extends(PutOutcomeCommand, _super);
8
- function PutOutcomeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutOutcomeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutOutcomeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FraudDetectorClient";
18
- var commandName = "PutOutcomeCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FraudDetectorClient";
15
+ const commandName = "PutOutcomeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutOutcomeRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PutOutcomeResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PutOutcomeCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1PutOutcomeCommand(input, context);
33
- };
34
- PutOutcomeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1PutOutcomeCommand(output, context);
36
- };
37
- return PutOutcomeCommand;
38
- }($Command));
39
- export { PutOutcomeCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { SendEventRequestFilterSensitiveLog, SendEventResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1SendEventCommand, serializeAws_json1_1SendEventCommand } from "../protocols/Aws_json1_1";
6
- var SendEventCommand = (function (_super) {
7
- __extends(SendEventCommand, _super);
8
- function SendEventCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SendEventCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SendEventCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FraudDetectorClient";
18
- var commandName = "SendEventCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FraudDetectorClient";
15
+ const commandName = "SendEventCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SendEventRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SendEventResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- SendEventCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1SendEventCommand(input, context);
33
- };
34
- SendEventCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1SendEventCommand(output, context);
36
- };
37
- return SendEventCommand;
38
- }($Command));
39
- export { SendEventCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { TagResourceRequestFilterSensitiveLog, TagResourceResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
6
- var TagResourceCommand = (function (_super) {
7
- __extends(TagResourceCommand, _super);
8
- function TagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class TagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FraudDetectorClient";
18
- var commandName = "TagResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FraudDetectorClient";
15
+ const commandName = "TagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: TagResourceResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- TagResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1TagResourceCommand(input, context);
33
- };
34
- TagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1TagResourceCommand(output, context);
36
- };
37
- return TagResourceCommand;
38
- }($Command));
39
- export { TagResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UntagResourceRequestFilterSensitiveLog, UntagResourceResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
6
- var UntagResourceCommand = (function (_super) {
7
- __extends(UntagResourceCommand, _super);
8
- function UntagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UntagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FraudDetectorClient";
18
- var commandName = "UntagResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FraudDetectorClient";
15
+ const commandName = "UntagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UntagResourceResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UntagResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1UntagResourceCommand(input, context);
33
- };
34
- UntagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UntagResourceCommand(output, context);
36
- };
37
- return UntagResourceCommand;
38
- }($Command));
39
- export { UntagResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateDetectorVersionRequestFilterSensitiveLog, UpdateDetectorVersionResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateDetectorVersionCommand, serializeAws_json1_1UpdateDetectorVersionCommand, } from "../protocols/Aws_json1_1";
6
- var UpdateDetectorVersionCommand = (function (_super) {
7
- __extends(UpdateDetectorVersionCommand, _super);
8
- function UpdateDetectorVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateDetectorVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateDetectorVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FraudDetectorClient";
18
- var commandName = "UpdateDetectorVersionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FraudDetectorClient";
15
+ const commandName = "UpdateDetectorVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateDetectorVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateDetectorVersionResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateDetectorVersionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1UpdateDetectorVersionCommand(input, context);
33
- };
34
- UpdateDetectorVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdateDetectorVersionCommand(output, context);
36
- };
37
- return UpdateDetectorVersionCommand;
38
- }($Command));
39
- export { UpdateDetectorVersionCommand };
31
+ }
32
+ }