@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 { CreateRuleRequestFilterSensitiveLog, CreateRuleResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateRuleCommand, serializeAws_json1_1CreateRuleCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateRuleCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateRuleCommand = (function (_super) {
7
+ __extends(CreateRuleCommand, _super);
8
+ function CreateRuleCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateRuleCommand.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 = "CreateRuleCommand";
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 = "CreateRuleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateRuleRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateRuleResultFilterSensitiveLog,
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
+ CreateRuleCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateRuleCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateRuleCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateRuleCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateRuleCommand;
38
+ }($Command));
39
+ export { CreateRuleCommand };
@@ -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 { CreateVariableRequestFilterSensitiveLog, CreateVariableResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateVariableCommand, serializeAws_json1_1CreateVariableCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateVariableCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateVariableCommand = (function (_super) {
7
+ __extends(CreateVariableCommand, _super);
8
+ function CreateVariableCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateVariableCommand.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 = "CreateVariableCommand";
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 = "CreateVariableCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateVariableRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateVariableResultFilterSensitiveLog,
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
+ CreateVariableCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateVariableCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateVariableCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateVariableCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateVariableCommand;
38
+ }($Command));
39
+ export { CreateVariableCommand };
@@ -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 { DeleteBatchImportJobRequestFilterSensitiveLog, DeleteBatchImportJobResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteBatchImportJobCommand, serializeAws_json1_1DeleteBatchImportJobCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteBatchImportJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteBatchImportJobCommand = (function (_super) {
7
+ __extends(DeleteBatchImportJobCommand, _super);
8
+ function DeleteBatchImportJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteBatchImportJobCommand.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 = "DeleteBatchImportJobCommand";
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 = "DeleteBatchImportJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteBatchImportJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteBatchImportJobResultFilterSensitiveLog,
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
+ DeleteBatchImportJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteBatchImportJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteBatchImportJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteBatchImportJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteBatchImportJobCommand;
38
+ }($Command));
39
+ export { DeleteBatchImportJobCommand };
@@ -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 { DeleteBatchPredictionJobRequestFilterSensitiveLog, DeleteBatchPredictionJobResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteBatchPredictionJobCommand, serializeAws_json1_1DeleteBatchPredictionJobCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteBatchPredictionJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteBatchPredictionJobCommand = (function (_super) {
7
+ __extends(DeleteBatchPredictionJobCommand, _super);
8
+ function DeleteBatchPredictionJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteBatchPredictionJobCommand.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 = "DeleteBatchPredictionJobCommand";
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 = "DeleteBatchPredictionJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteBatchPredictionJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteBatchPredictionJobResultFilterSensitiveLog,
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
+ DeleteBatchPredictionJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteBatchPredictionJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteBatchPredictionJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteBatchPredictionJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteBatchPredictionJobCommand;
38
+ }($Command));
39
+ export { DeleteBatchPredictionJobCommand };
@@ -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 { DeleteDetectorRequestFilterSensitiveLog, DeleteDetectorResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteDetectorCommand, serializeAws_json1_1DeleteDetectorCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteDetectorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteDetectorCommand = (function (_super) {
7
+ __extends(DeleteDetectorCommand, _super);
8
+ function DeleteDetectorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteDetectorCommand.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 = "DeleteDetectorCommand";
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 = "DeleteDetectorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteDetectorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteDetectorResultFilterSensitiveLog,
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
+ DeleteDetectorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteDetectorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteDetectorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteDetectorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteDetectorCommand;
38
+ }($Command));
39
+ export { DeleteDetectorCommand };
@@ -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 { DeleteDetectorVersionRequestFilterSensitiveLog, DeleteDetectorVersionResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteDetectorVersionCommand, serializeAws_json1_1DeleteDetectorVersionCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteDetectorVersionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteDetectorVersionCommand = (function (_super) {
7
+ __extends(DeleteDetectorVersionCommand, _super);
8
+ function DeleteDetectorVersionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteDetectorVersionCommand.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 = "DeleteDetectorVersionCommand";
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 = "DeleteDetectorVersionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteDetectorVersionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteDetectorVersionResultFilterSensitiveLog,
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
+ DeleteDetectorVersionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteDetectorVersionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteDetectorVersionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteDetectorVersionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteDetectorVersionCommand;
38
+ }($Command));
39
+ export { DeleteDetectorVersionCommand };
@@ -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 { DeleteEntityTypeRequestFilterSensitiveLog, DeleteEntityTypeResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteEntityTypeCommand, serializeAws_json1_1DeleteEntityTypeCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteEntityTypeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteEntityTypeCommand = (function (_super) {
7
+ __extends(DeleteEntityTypeCommand, _super);
8
+ function DeleteEntityTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteEntityTypeCommand.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 = "DeleteEntityTypeCommand";
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 = "DeleteEntityTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteEntityTypeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteEntityTypeResultFilterSensitiveLog,
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
+ DeleteEntityTypeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteEntityTypeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteEntityTypeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteEntityTypeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteEntityTypeCommand;
38
+ }($Command));
39
+ export { DeleteEntityTypeCommand };
@@ -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 { DeleteEventRequestFilterSensitiveLog, DeleteEventResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteEventCommand, serializeAws_json1_1DeleteEventCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteEventCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteEventCommand = (function (_super) {
7
+ __extends(DeleteEventCommand, _super);
8
+ function DeleteEventCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteEventCommand.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 = "DeleteEventCommand";
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 = "DeleteEventCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteEventRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteEventResultFilterSensitiveLog,
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
+ DeleteEventCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteEventCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteEventCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteEventCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteEventCommand;
38
+ }($Command));
39
+ export { DeleteEventCommand };
@@ -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 { DeleteEventTypeRequestFilterSensitiveLog, DeleteEventTypeResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteEventTypeCommand, serializeAws_json1_1DeleteEventTypeCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteEventTypeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteEventTypeCommand = (function (_super) {
7
+ __extends(DeleteEventTypeCommand, _super);
8
+ function DeleteEventTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteEventTypeCommand.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 = "DeleteEventTypeCommand";
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 = "DeleteEventTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteEventTypeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteEventTypeResultFilterSensitiveLog,
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
+ DeleteEventTypeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteEventTypeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteEventTypeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteEventTypeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteEventTypeCommand;
38
+ }($Command));
39
+ export { DeleteEventTypeCommand };
@@ -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 { DeleteEventsByEventTypeRequestFilterSensitiveLog, DeleteEventsByEventTypeResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteEventsByEventTypeCommand, serializeAws_json1_1DeleteEventsByEventTypeCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteEventsByEventTypeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteEventsByEventTypeCommand = (function (_super) {
7
+ __extends(DeleteEventsByEventTypeCommand, _super);
8
+ function DeleteEventsByEventTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteEventsByEventTypeCommand.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 = "DeleteEventsByEventTypeCommand";
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 = "DeleteEventsByEventTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteEventsByEventTypeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteEventsByEventTypeResultFilterSensitiveLog,
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
+ DeleteEventsByEventTypeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteEventsByEventTypeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteEventsByEventTypeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteEventsByEventTypeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteEventsByEventTypeCommand;
38
+ }($Command));
39
+ export { DeleteEventsByEventTypeCommand };