@aws-sdk/client-frauddetector 3.180.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 (95) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +74 -68
  3. package/dist-es/FraudDetector.js +274 -281
  4. package/dist-es/FraudDetectorClient.js +22 -28
  5. package/dist-es/commands/BatchCreateVariableCommand.js +21 -28
  6. package/dist-es/commands/BatchGetVariableCommand.js +21 -28
  7. package/dist-es/commands/CancelBatchImportJobCommand.js +21 -28
  8. package/dist-es/commands/CancelBatchPredictionJobCommand.js +21 -28
  9. package/dist-es/commands/CreateBatchImportJobCommand.js +21 -28
  10. package/dist-es/commands/CreateBatchPredictionJobCommand.js +21 -28
  11. package/dist-es/commands/CreateDetectorVersionCommand.js +21 -28
  12. package/dist-es/commands/CreateModelCommand.js +21 -28
  13. package/dist-es/commands/CreateModelVersionCommand.js +21 -28
  14. package/dist-es/commands/CreateRuleCommand.js +21 -28
  15. package/dist-es/commands/CreateVariableCommand.js +21 -28
  16. package/dist-es/commands/DeleteBatchImportJobCommand.js +21 -28
  17. package/dist-es/commands/DeleteBatchPredictionJobCommand.js +21 -28
  18. package/dist-es/commands/DeleteDetectorCommand.js +21 -28
  19. package/dist-es/commands/DeleteDetectorVersionCommand.js +21 -28
  20. package/dist-es/commands/DeleteEntityTypeCommand.js +21 -28
  21. package/dist-es/commands/DeleteEventCommand.js +21 -28
  22. package/dist-es/commands/DeleteEventTypeCommand.js +21 -28
  23. package/dist-es/commands/DeleteEventsByEventTypeCommand.js +21 -28
  24. package/dist-es/commands/DeleteExternalModelCommand.js +21 -28
  25. package/dist-es/commands/DeleteLabelCommand.js +21 -28
  26. package/dist-es/commands/DeleteModelCommand.js +21 -28
  27. package/dist-es/commands/DeleteModelVersionCommand.js +21 -28
  28. package/dist-es/commands/DeleteOutcomeCommand.js +21 -28
  29. package/dist-es/commands/DeleteRuleCommand.js +21 -28
  30. package/dist-es/commands/DeleteVariableCommand.js +21 -28
  31. package/dist-es/commands/DescribeDetectorCommand.js +21 -28
  32. package/dist-es/commands/DescribeModelVersionsCommand.js +21 -28
  33. package/dist-es/commands/GetBatchImportJobsCommand.js +21 -28
  34. package/dist-es/commands/GetBatchPredictionJobsCommand.js +21 -28
  35. package/dist-es/commands/GetDeleteEventsByEventTypeStatusCommand.js +21 -28
  36. package/dist-es/commands/GetDetectorVersionCommand.js +21 -28
  37. package/dist-es/commands/GetDetectorsCommand.js +21 -28
  38. package/dist-es/commands/GetEntityTypesCommand.js +21 -28
  39. package/dist-es/commands/GetEventCommand.js +21 -28
  40. package/dist-es/commands/GetEventPredictionCommand.js +21 -28
  41. package/dist-es/commands/GetEventPredictionMetadataCommand.js +21 -28
  42. package/dist-es/commands/GetEventTypesCommand.js +21 -28
  43. package/dist-es/commands/GetExternalModelsCommand.js +21 -28
  44. package/dist-es/commands/GetKMSEncryptionKeyCommand.js +22 -29
  45. package/dist-es/commands/GetLabelsCommand.js +21 -28
  46. package/dist-es/commands/GetModelVersionCommand.js +21 -28
  47. package/dist-es/commands/GetModelsCommand.js +21 -28
  48. package/dist-es/commands/GetOutcomesCommand.js +21 -28
  49. package/dist-es/commands/GetRulesCommand.js +21 -28
  50. package/dist-es/commands/GetVariablesCommand.js +21 -28
  51. package/dist-es/commands/ListEventPredictionsCommand.js +21 -28
  52. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  53. package/dist-es/commands/PutDetectorCommand.js +21 -28
  54. package/dist-es/commands/PutEntityTypeCommand.js +21 -28
  55. package/dist-es/commands/PutEventTypeCommand.js +21 -28
  56. package/dist-es/commands/PutExternalModelCommand.js +21 -28
  57. package/dist-es/commands/PutKMSEncryptionKeyCommand.js +21 -28
  58. package/dist-es/commands/PutLabelCommand.js +21 -28
  59. package/dist-es/commands/PutOutcomeCommand.js +21 -28
  60. package/dist-es/commands/SendEventCommand.js +21 -28
  61. package/dist-es/commands/TagResourceCommand.js +21 -28
  62. package/dist-es/commands/UntagResourceCommand.js +21 -28
  63. package/dist-es/commands/UpdateDetectorVersionCommand.js +21 -28
  64. package/dist-es/commands/UpdateDetectorVersionMetadataCommand.js +21 -28
  65. package/dist-es/commands/UpdateDetectorVersionStatusCommand.js +21 -28
  66. package/dist-es/commands/UpdateEventLabelCommand.js +21 -28
  67. package/dist-es/commands/UpdateModelCommand.js +21 -28
  68. package/dist-es/commands/UpdateModelVersionCommand.js +21 -28
  69. package/dist-es/commands/UpdateModelVersionStatusCommand.js +21 -28
  70. package/dist-es/commands/UpdateRuleMetadataCommand.js +21 -28
  71. package/dist-es/commands/UpdateRuleVersionCommand.js +21 -28
  72. package/dist-es/commands/UpdateVariableCommand.js +21 -28
  73. package/dist-es/endpoints.js +8 -8
  74. package/dist-es/models/FraudDetectorServiceException.js +5 -10
  75. package/dist-es/models/models_0.js +710 -284
  76. package/dist-es/pagination/DescribeModelVersionsPaginator.js +25 -68
  77. package/dist-es/pagination/GetBatchImportJobsPaginator.js +25 -68
  78. package/dist-es/pagination/GetBatchPredictionJobsPaginator.js +25 -68
  79. package/dist-es/pagination/GetDetectorsPaginator.js +25 -68
  80. package/dist-es/pagination/GetEntityTypesPaginator.js +25 -68
  81. package/dist-es/pagination/GetEventTypesPaginator.js +25 -68
  82. package/dist-es/pagination/GetExternalModelsPaginator.js +25 -68
  83. package/dist-es/pagination/GetLabelsPaginator.js +25 -68
  84. package/dist-es/pagination/GetModelsPaginator.js +25 -68
  85. package/dist-es/pagination/GetOutcomesPaginator.js +25 -68
  86. package/dist-es/pagination/GetRulesPaginator.js +25 -68
  87. package/dist-es/pagination/GetVariablesPaginator.js +25 -68
  88. package/dist-es/pagination/ListEventPredictionsPaginator.js +25 -68
  89. package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
  90. package/dist-es/protocols/Aws_json1_1.js +4746 -6029
  91. package/dist-es/runtimeConfig.browser.js +26 -12
  92. package/dist-es/runtimeConfig.js +30 -12
  93. package/dist-es/runtimeConfig.native.js +8 -5
  94. package/dist-es/runtimeConfig.shared.js +8 -11
  95. 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 { UpdateDetectorVersionMetadataRequestFilterSensitiveLog, UpdateDetectorVersionMetadataResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateDetectorVersionMetadataCommand, serializeAws_json1_1UpdateDetectorVersionMetadataCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class UpdateDetectorVersionMetadataCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateDetectorVersionMetadataCommand.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 = "UpdateDetectorVersionMetadataCommand";
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 = "UpdateDetectorVersionMetadataCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateDetectorVersionMetadataRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateDetectorVersionMetadataResultFilterSensitiveLog,
25
22
  };
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) {
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_1UpdateDetectorVersionMetadataCommand(input, context);
33
- };
34
- UpdateDetectorVersionMetadataCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdateDetectorVersionMetadataCommand(output, context);
36
- };
37
- return UpdateDetectorVersionMetadataCommand;
38
- }($Command));
39
- export { UpdateDetectorVersionMetadataCommand };
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 { UpdateDetectorVersionStatusRequestFilterSensitiveLog, UpdateDetectorVersionStatusResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateDetectorVersionStatusCommand, serializeAws_json1_1UpdateDetectorVersionStatusCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class UpdateDetectorVersionStatusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateDetectorVersionStatusCommand.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 = "UpdateDetectorVersionStatusCommand";
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 = "UpdateDetectorVersionStatusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateDetectorVersionStatusRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateDetectorVersionStatusResultFilterSensitiveLog,
25
22
  };
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) {
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_1UpdateDetectorVersionStatusCommand(input, context);
33
- };
34
- UpdateDetectorVersionStatusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdateDetectorVersionStatusCommand(output, context);
36
- };
37
- return UpdateDetectorVersionStatusCommand;
38
- }($Command));
39
- export { UpdateDetectorVersionStatusCommand };
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 { UpdateEventLabelRequestFilterSensitiveLog, UpdateEventLabelResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateEventLabelCommand, serializeAws_json1_1UpdateEventLabelCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class UpdateEventLabelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateEventLabelCommand.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 = "UpdateEventLabelCommand";
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 = "UpdateEventLabelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateEventLabelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateEventLabelResultFilterSensitiveLog,
25
22
  };
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) {
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_1UpdateEventLabelCommand(input, context);
33
- };
34
- UpdateEventLabelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdateEventLabelCommand(output, context);
36
- };
37
- return UpdateEventLabelCommand;
38
- }($Command));
39
- export { UpdateEventLabelCommand };
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 { UpdateModelRequestFilterSensitiveLog, UpdateModelResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateModelCommand, serializeAws_json1_1UpdateModelCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class UpdateModelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateModelCommand.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 = "UpdateModelCommand";
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 = "UpdateModelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateModelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateModelResultFilterSensitiveLog,
25
22
  };
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) {
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_1UpdateModelCommand(input, context);
33
- };
34
- UpdateModelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdateModelCommand(output, context);
36
- };
37
- return UpdateModelCommand;
38
- }($Command));
39
- export { UpdateModelCommand };
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 { UpdateModelVersionRequestFilterSensitiveLog, UpdateModelVersionResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateModelVersionCommand, serializeAws_json1_1UpdateModelVersionCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class UpdateModelVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateModelVersionCommand.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 = "UpdateModelVersionCommand";
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 = "UpdateModelVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateModelVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateModelVersionResultFilterSensitiveLog,
25
22
  };
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) {
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_1UpdateModelVersionCommand(input, context);
33
- };
34
- UpdateModelVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdateModelVersionCommand(output, context);
36
- };
37
- return UpdateModelVersionCommand;
38
- }($Command));
39
- export { UpdateModelVersionCommand };
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 { UpdateModelVersionStatusRequestFilterSensitiveLog, UpdateModelVersionStatusResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateModelVersionStatusCommand, serializeAws_json1_1UpdateModelVersionStatusCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class UpdateModelVersionStatusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateModelVersionStatusCommand.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 = "UpdateModelVersionStatusCommand";
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 = "UpdateModelVersionStatusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateModelVersionStatusRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateModelVersionStatusResultFilterSensitiveLog,
25
22
  };
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) {
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_1UpdateModelVersionStatusCommand(input, context);
33
- };
34
- UpdateModelVersionStatusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdateModelVersionStatusCommand(output, context);
36
- };
37
- return UpdateModelVersionStatusCommand;
38
- }($Command));
39
- export { UpdateModelVersionStatusCommand };
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 { UpdateRuleMetadataRequestFilterSensitiveLog, UpdateRuleMetadataResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateRuleMetadataCommand, serializeAws_json1_1UpdateRuleMetadataCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class UpdateRuleMetadataCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateRuleMetadataCommand.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 = "UpdateRuleMetadataCommand";
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 = "UpdateRuleMetadataCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateRuleMetadataRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateRuleMetadataResultFilterSensitiveLog,
25
22
  };
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) {
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_1UpdateRuleMetadataCommand(input, context);
33
- };
34
- UpdateRuleMetadataCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdateRuleMetadataCommand(output, context);
36
- };
37
- return UpdateRuleMetadataCommand;
38
- }($Command));
39
- export { UpdateRuleMetadataCommand };
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 { UpdateRuleVersionRequestFilterSensitiveLog, UpdateRuleVersionResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateRuleVersionCommand, serializeAws_json1_1UpdateRuleVersionCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class UpdateRuleVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateRuleVersionCommand.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 = "UpdateRuleVersionCommand";
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 = "UpdateRuleVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateRuleVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateRuleVersionResultFilterSensitiveLog,
25
22
  };
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) {
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_1UpdateRuleVersionCommand(input, context);
33
- };
34
- UpdateRuleVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdateRuleVersionCommand(output, context);
36
- };
37
- return UpdateRuleVersionCommand;
38
- }($Command));
39
- export { UpdateRuleVersionCommand };
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 { UpdateVariableRequestFilterSensitiveLog, UpdateVariableResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateVariableCommand, serializeAws_json1_1UpdateVariableCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class UpdateVariableCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateVariableCommand.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 = "UpdateVariableCommand";
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 = "UpdateVariableCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateVariableRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateVariableResultFilterSensitiveLog,
25
22
  };
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) {
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_1UpdateVariableCommand(input, context);
33
- };
34
- UpdateVariableCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdateVariableCommand(output, context);
36
- };
37
- return UpdateVariableCommand;
38
- }($Command));
39
- export { UpdateVariableCommand };
31
+ }
32
+ }
@@ -1,7 +1,6 @@
1
- import { __assign, __awaiter, __generator } from "tslib";
2
1
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
- var regionHash = {};
4
- var partitionHash = {
2
+ const regionHash = {};
3
+ const partitionHash = {
5
4
  aws: {
6
5
  regions: [
7
6
  "af-south-1",
@@ -121,8 +120,9 @@ var partitionHash = {
121
120
  ],
122
121
  },
123
122
  };
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
- }); };
123
+ export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
124
+ ...options,
125
+ signingService: "frauddetector",
126
+ regionHash,
127
+ partitionHash,
128
+ });
@@ -1,12 +1,7 @@
1
- import { __extends } from "tslib";
2
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
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;
2
+ export class FraudDetectorServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, FraudDetectorServiceException.prototype);
9
6
  }
10
- return FraudDetectorServiceException;
11
- }(__ServiceException));
12
- export { FraudDetectorServiceException };
7
+ }