@aws-sdk/client-frauddetector 3.183.0 → 3.186.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/CHANGELOG.md +19 -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 +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateDetectorVersionMetadataRequestFilterSensitiveLog, UpdateDetectorVersionMetadataResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateDetectorVersionMetadataCommand, serializeAws_json1_1UpdateDetectorVersionMetadataCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateDetectorVersionMetadataCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateDetectorVersionMetadataCommand = (function (_super) {
7
+ __extends(UpdateDetectorVersionMetadataCommand, _super);
8
+ function UpdateDetectorVersionMetadataCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateDetectorVersionMetadataCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "UpdateDetectorVersionMetadataCommand";
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 = "UpdateDetectorVersionMetadataCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateDetectorVersionMetadataRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateDetectorVersionMetadataResultFilterSensitiveLog,
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
+ UpdateDetectorVersionMetadataCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateDetectorVersionMetadataCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateDetectorVersionMetadataCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateDetectorVersionMetadataCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateDetectorVersionMetadataCommand;
38
+ }($Command));
39
+ export { UpdateDetectorVersionMetadataCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateDetectorVersionStatusRequestFilterSensitiveLog, UpdateDetectorVersionStatusResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateDetectorVersionStatusCommand, serializeAws_json1_1UpdateDetectorVersionStatusCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateDetectorVersionStatusCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateDetectorVersionStatusCommand = (function (_super) {
7
+ __extends(UpdateDetectorVersionStatusCommand, _super);
8
+ function UpdateDetectorVersionStatusCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateDetectorVersionStatusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "UpdateDetectorVersionStatusCommand";
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 = "UpdateDetectorVersionStatusCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateDetectorVersionStatusRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateDetectorVersionStatusResultFilterSensitiveLog,
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
+ UpdateDetectorVersionStatusCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateDetectorVersionStatusCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateDetectorVersionStatusCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateDetectorVersionStatusCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateDetectorVersionStatusCommand;
38
+ }($Command));
39
+ export { UpdateDetectorVersionStatusCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateEventLabelRequestFilterSensitiveLog, UpdateEventLabelResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateEventLabelCommand, serializeAws_json1_1UpdateEventLabelCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateEventLabelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateEventLabelCommand = (function (_super) {
7
+ __extends(UpdateEventLabelCommand, _super);
8
+ function UpdateEventLabelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateEventLabelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "UpdateEventLabelCommand";
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 = "UpdateEventLabelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateEventLabelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateEventLabelResultFilterSensitiveLog,
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
+ UpdateEventLabelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateEventLabelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateEventLabelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateEventLabelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateEventLabelCommand;
38
+ }($Command));
39
+ export { UpdateEventLabelCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateModelRequestFilterSensitiveLog, UpdateModelResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateModelCommand, serializeAws_json1_1UpdateModelCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateModelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateModelCommand = (function (_super) {
7
+ __extends(UpdateModelCommand, _super);
8
+ function UpdateModelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateModelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "UpdateModelCommand";
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 = "UpdateModelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateModelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateModelResultFilterSensitiveLog,
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
+ UpdateModelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateModelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateModelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateModelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateModelCommand;
38
+ }($Command));
39
+ export { UpdateModelCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateModelVersionRequestFilterSensitiveLog, UpdateModelVersionResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateModelVersionCommand, serializeAws_json1_1UpdateModelVersionCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateModelVersionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateModelVersionCommand = (function (_super) {
7
+ __extends(UpdateModelVersionCommand, _super);
8
+ function UpdateModelVersionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateModelVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "UpdateModelVersionCommand";
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 = "UpdateModelVersionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateModelVersionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateModelVersionResultFilterSensitiveLog,
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
+ UpdateModelVersionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateModelVersionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateModelVersionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateModelVersionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateModelVersionCommand;
38
+ }($Command));
39
+ export { UpdateModelVersionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateModelVersionStatusRequestFilterSensitiveLog, UpdateModelVersionStatusResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateModelVersionStatusCommand, serializeAws_json1_1UpdateModelVersionStatusCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateModelVersionStatusCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateModelVersionStatusCommand = (function (_super) {
7
+ __extends(UpdateModelVersionStatusCommand, _super);
8
+ function UpdateModelVersionStatusCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateModelVersionStatusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "UpdateModelVersionStatusCommand";
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 = "UpdateModelVersionStatusCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateModelVersionStatusRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateModelVersionStatusResultFilterSensitiveLog,
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
+ UpdateModelVersionStatusCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateModelVersionStatusCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateModelVersionStatusCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateModelVersionStatusCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateModelVersionStatusCommand;
38
+ }($Command));
39
+ export { UpdateModelVersionStatusCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateRuleMetadataRequestFilterSensitiveLog, UpdateRuleMetadataResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateRuleMetadataCommand, serializeAws_json1_1UpdateRuleMetadataCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateRuleMetadataCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateRuleMetadataCommand = (function (_super) {
7
+ __extends(UpdateRuleMetadataCommand, _super);
8
+ function UpdateRuleMetadataCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateRuleMetadataCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "UpdateRuleMetadataCommand";
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 = "UpdateRuleMetadataCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateRuleMetadataRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateRuleMetadataResultFilterSensitiveLog,
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
+ UpdateRuleMetadataCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateRuleMetadataCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateRuleMetadataCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateRuleMetadataCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateRuleMetadataCommand;
38
+ }($Command));
39
+ export { UpdateRuleMetadataCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateRuleVersionRequestFilterSensitiveLog, UpdateRuleVersionResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateRuleVersionCommand, serializeAws_json1_1UpdateRuleVersionCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateRuleVersionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateRuleVersionCommand = (function (_super) {
7
+ __extends(UpdateRuleVersionCommand, _super);
8
+ function UpdateRuleVersionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateRuleVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "UpdateRuleVersionCommand";
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 = "UpdateRuleVersionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateRuleVersionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateRuleVersionResultFilterSensitiveLog,
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
+ UpdateRuleVersionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateRuleVersionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateRuleVersionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateRuleVersionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateRuleVersionCommand;
38
+ }($Command));
39
+ export { UpdateRuleVersionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateVariableRequestFilterSensitiveLog, UpdateVariableResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateVariableCommand, serializeAws_json1_1UpdateVariableCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateVariableCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateVariableCommand = (function (_super) {
7
+ __extends(UpdateVariableCommand, _super);
8
+ function UpdateVariableCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateVariableCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FraudDetectorClient";
15
- const commandName = "UpdateVariableCommand";
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 = "UpdateVariableCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateVariableRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateVariableResultFilterSensitiveLog,
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
+ UpdateVariableCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateVariableCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateVariableCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateVariableCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateVariableCommand;
38
+ }($Command));
39
+ export { UpdateVariableCommand };
@@ -1,6 +1,7 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
1
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {};
3
- const partitionHash = {
3
+ var regionHash = {};
4
+ var partitionHash = {
4
5
  aws: {
5
6
  regions: [
6
7
  "af-south-1",
@@ -120,9 +121,8 @@ const partitionHash = {
120
121
  ],
121
122
  },
122
123
  };
123
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
124
- ...options,
125
- signingService: "frauddetector",
126
- regionHash,
127
- partitionHash,
128
- });
124
+ export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
125
+ return __generator(this, function (_a) {
126
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "frauddetector", regionHash: regionHash, partitionHash: partitionHash }))];
127
+ });
128
+ }); };
@@ -1,7 +1,12 @@
1
+ import { __extends } from "tslib";
1
2
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
- export class FraudDetectorServiceException extends __ServiceException {
3
- constructor(options) {
4
- super(options);
5
- Object.setPrototypeOf(this, FraudDetectorServiceException.prototype);
3
+ var FraudDetectorServiceException = (function (_super) {
4
+ __extends(FraudDetectorServiceException, _super);
5
+ function FraudDetectorServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, FraudDetectorServiceException.prototype);
8
+ return _this;
6
9
  }
7
- }
10
+ return FraudDetectorServiceException;
11
+ }(__ServiceException));
12
+ export { FraudDetectorServiceException };