@aws-sdk/client-frauddetector 3.927.0 → 3.929.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 (97) hide show
  1. package/dist-cjs/index.js +1968 -2499
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/FraudDetectorClient.js +2 -0
  4. package/dist-es/commands/BatchCreateVariableCommand.js +3 -9
  5. package/dist-es/commands/BatchGetVariableCommand.js +3 -9
  6. package/dist-es/commands/CancelBatchImportJobCommand.js +3 -9
  7. package/dist-es/commands/CancelBatchPredictionJobCommand.js +3 -9
  8. package/dist-es/commands/CreateBatchImportJobCommand.js +3 -9
  9. package/dist-es/commands/CreateBatchPredictionJobCommand.js +3 -9
  10. package/dist-es/commands/CreateDetectorVersionCommand.js +3 -9
  11. package/dist-es/commands/CreateListCommand.js +3 -10
  12. package/dist-es/commands/CreateModelCommand.js +3 -9
  13. package/dist-es/commands/CreateModelVersionCommand.js +3 -9
  14. package/dist-es/commands/CreateRuleCommand.js +3 -10
  15. package/dist-es/commands/CreateVariableCommand.js +3 -9
  16. package/dist-es/commands/DeleteBatchImportJobCommand.js +3 -9
  17. package/dist-es/commands/DeleteBatchPredictionJobCommand.js +3 -9
  18. package/dist-es/commands/DeleteDetectorCommand.js +3 -9
  19. package/dist-es/commands/DeleteDetectorVersionCommand.js +3 -9
  20. package/dist-es/commands/DeleteEntityTypeCommand.js +3 -9
  21. package/dist-es/commands/DeleteEventCommand.js +3 -9
  22. package/dist-es/commands/DeleteEventTypeCommand.js +3 -9
  23. package/dist-es/commands/DeleteEventsByEventTypeCommand.js +3 -9
  24. package/dist-es/commands/DeleteExternalModelCommand.js +3 -9
  25. package/dist-es/commands/DeleteLabelCommand.js +3 -9
  26. package/dist-es/commands/DeleteListCommand.js +3 -9
  27. package/dist-es/commands/DeleteModelCommand.js +3 -9
  28. package/dist-es/commands/DeleteModelVersionCommand.js +3 -9
  29. package/dist-es/commands/DeleteOutcomeCommand.js +3 -9
  30. package/dist-es/commands/DeleteRuleCommand.js +3 -9
  31. package/dist-es/commands/DeleteVariableCommand.js +3 -9
  32. package/dist-es/commands/DescribeDetectorCommand.js +3 -9
  33. package/dist-es/commands/DescribeModelVersionsCommand.js +3 -9
  34. package/dist-es/commands/GetBatchImportJobsCommand.js +3 -9
  35. package/dist-es/commands/GetBatchPredictionJobsCommand.js +3 -9
  36. package/dist-es/commands/GetDeleteEventsByEventTypeStatusCommand.js +3 -9
  37. package/dist-es/commands/GetDetectorVersionCommand.js +3 -9
  38. package/dist-es/commands/GetDetectorsCommand.js +3 -9
  39. package/dist-es/commands/GetEntityTypesCommand.js +3 -9
  40. package/dist-es/commands/GetEventCommand.js +3 -10
  41. package/dist-es/commands/GetEventPredictionCommand.js +3 -10
  42. package/dist-es/commands/GetEventPredictionMetadataCommand.js +3 -10
  43. package/dist-es/commands/GetEventTypesCommand.js +3 -10
  44. package/dist-es/commands/GetExternalModelsCommand.js +3 -9
  45. package/dist-es/commands/GetKMSEncryptionKeyCommand.js +3 -9
  46. package/dist-es/commands/GetLabelsCommand.js +3 -9
  47. package/dist-es/commands/GetListElementsCommand.js +3 -10
  48. package/dist-es/commands/GetListsMetadataCommand.js +3 -9
  49. package/dist-es/commands/GetModelVersionCommand.js +3 -9
  50. package/dist-es/commands/GetModelsCommand.js +3 -9
  51. package/dist-es/commands/GetOutcomesCommand.js +3 -9
  52. package/dist-es/commands/GetRulesCommand.js +3 -10
  53. package/dist-es/commands/GetVariablesCommand.js +3 -9
  54. package/dist-es/commands/ListEventPredictionsCommand.js +3 -9
  55. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  56. package/dist-es/commands/PutDetectorCommand.js +3 -9
  57. package/dist-es/commands/PutEntityTypeCommand.js +3 -9
  58. package/dist-es/commands/PutEventTypeCommand.js +3 -9
  59. package/dist-es/commands/PutExternalModelCommand.js +3 -9
  60. package/dist-es/commands/PutKMSEncryptionKeyCommand.js +3 -9
  61. package/dist-es/commands/PutLabelCommand.js +3 -9
  62. package/dist-es/commands/PutOutcomeCommand.js +3 -9
  63. package/dist-es/commands/SendEventCommand.js +3 -10
  64. package/dist-es/commands/TagResourceCommand.js +3 -9
  65. package/dist-es/commands/UntagResourceCommand.js +3 -9
  66. package/dist-es/commands/UpdateDetectorVersionCommand.js +3 -9
  67. package/dist-es/commands/UpdateDetectorVersionMetadataCommand.js +3 -9
  68. package/dist-es/commands/UpdateDetectorVersionStatusCommand.js +3 -9
  69. package/dist-es/commands/UpdateEventLabelCommand.js +3 -9
  70. package/dist-es/commands/UpdateListCommand.js +3 -10
  71. package/dist-es/commands/UpdateModelCommand.js +3 -9
  72. package/dist-es/commands/UpdateModelVersionCommand.js +3 -9
  73. package/dist-es/commands/UpdateModelVersionStatusCommand.js +3 -9
  74. package/dist-es/commands/UpdateRuleMetadataCommand.js +3 -9
  75. package/dist-es/commands/UpdateRuleVersionCommand.js +3 -10
  76. package/dist-es/commands/UpdateVariableCommand.js +3 -9
  77. package/dist-es/models/models_0.js +0 -85
  78. package/dist-es/runtimeConfig.shared.js +7 -0
  79. package/dist-es/schemas/schemas_0.js +1808 -0
  80. package/dist-types/FraudDetectorClient.d.ts +10 -1
  81. package/dist-types/models/models_0.d.ts +0 -72
  82. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  83. package/dist-types/runtimeConfig.d.ts +1 -0
  84. package/dist-types/runtimeConfig.native.d.ts +1 -0
  85. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  86. package/dist-types/schemas/schemas_0.d.ts +357 -0
  87. package/dist-types/ts3.4/FraudDetectorClient.d.ts +4 -0
  88. package/dist-types/ts3.4/models/models_0.d.ts +0 -46
  89. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  90. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  91. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  92. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  93. package/dist-types/ts3.4/schemas/schemas_0.d.ts +364 -0
  94. package/package.json +5 -5
  95. package/dist-es/protocols/Aws_json1_1.js +0 -1869
  96. package/dist-types/protocols/Aws_json1_1.d.ts +0 -659
  97. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -881
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.frauddetector",
32
+ serviceTarget: "AWSHawksNestServiceFacade",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "FraudDetector",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class FraudDetectorClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchCreateVariableCommand, se_BatchCreateVariableCommand } from "../protocols/Aws_json1_1";
4
+ import { BatchCreateVariable } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchCreateVariableCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "BatchCreateVariable", {})
17
13
  .n("FraudDetectorClient", "BatchCreateVariableCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchCreateVariableCommand)
20
- .de(de_BatchCreateVariableCommand)
14
+ .sc(BatchCreateVariable)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchGetVariableCommand, se_BatchGetVariableCommand } from "../protocols/Aws_json1_1";
4
+ import { BatchGetVariable } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetVariableCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "BatchGetVariable", {})
17
13
  .n("FraudDetectorClient", "BatchGetVariableCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetVariableCommand)
20
- .de(de_BatchGetVariableCommand)
14
+ .sc(BatchGetVariable)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CancelBatchImportJobCommand, se_CancelBatchImportJobCommand } from "../protocols/Aws_json1_1";
4
+ import { CancelBatchImportJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelBatchImportJobCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "CancelBatchImportJob", {})
17
13
  .n("FraudDetectorClient", "CancelBatchImportJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelBatchImportJobCommand)
20
- .de(de_CancelBatchImportJobCommand)
14
+ .sc(CancelBatchImportJob)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CancelBatchPredictionJobCommand, se_CancelBatchPredictionJobCommand } from "../protocols/Aws_json1_1";
4
+ import { CancelBatchPredictionJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelBatchPredictionJobCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "CancelBatchPredictionJob", {})
17
13
  .n("FraudDetectorClient", "CancelBatchPredictionJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelBatchPredictionJobCommand)
20
- .de(de_CancelBatchPredictionJobCommand)
14
+ .sc(CancelBatchPredictionJob)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateBatchImportJobCommand, se_CreateBatchImportJobCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateBatchImportJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateBatchImportJobCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "CreateBatchImportJob", {})
17
13
  .n("FraudDetectorClient", "CreateBatchImportJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateBatchImportJobCommand)
20
- .de(de_CreateBatchImportJobCommand)
14
+ .sc(CreateBatchImportJob)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateBatchPredictionJobCommand, se_CreateBatchPredictionJobCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateBatchPredictionJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateBatchPredictionJobCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "CreateBatchPredictionJob", {})
17
13
  .n("FraudDetectorClient", "CreateBatchPredictionJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateBatchPredictionJobCommand)
20
- .de(de_CreateBatchPredictionJobCommand)
14
+ .sc(CreateBatchPredictionJob)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateDetectorVersionCommand, se_CreateDetectorVersionCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateDetectorVersion } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDetectorVersionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "CreateDetectorVersion", {})
17
13
  .n("FraudDetectorClient", "CreateDetectorVersionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDetectorVersionCommand)
20
- .de(de_CreateDetectorVersionCommand)
14
+ .sc(CreateDetectorVersion)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateListRequestFilterSensitiveLog } from "../models/models_0";
6
- import { de_CreateListCommand, se_CreateListCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateList } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateListCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSHawksNestServiceFacade", "CreateList", {})
18
13
  .n("FraudDetectorClient", "CreateListCommand")
19
- .f(CreateListRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreateListCommand)
21
- .de(de_CreateListCommand)
14
+ .sc(CreateList)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateModelCommand, se_CreateModelCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateModel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateModelCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "CreateModel", {})
17
13
  .n("FraudDetectorClient", "CreateModelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateModelCommand)
20
- .de(de_CreateModelCommand)
14
+ .sc(CreateModel)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateModelVersionCommand, se_CreateModelVersionCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateModelVersion } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateModelVersionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "CreateModelVersion", {})
17
13
  .n("FraudDetectorClient", "CreateModelVersionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateModelVersionCommand)
20
- .de(de_CreateModelVersionCommand)
14
+ .sc(CreateModelVersion)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateRuleRequestFilterSensitiveLog } from "../models/models_0";
6
- import { de_CreateRuleCommand, se_CreateRuleCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateRule } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateRuleCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSHawksNestServiceFacade", "CreateRule", {})
18
13
  .n("FraudDetectorClient", "CreateRuleCommand")
19
- .f(CreateRuleRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreateRuleCommand)
21
- .de(de_CreateRuleCommand)
14
+ .sc(CreateRule)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateVariableCommand, se_CreateVariableCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateVariable } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateVariableCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "CreateVariable", {})
17
13
  .n("FraudDetectorClient", "CreateVariableCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateVariableCommand)
20
- .de(de_CreateVariableCommand)
14
+ .sc(CreateVariable)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBatchImportJobCommand, se_DeleteBatchImportJobCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteBatchImportJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBatchImportJobCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "DeleteBatchImportJob", {})
17
13
  .n("FraudDetectorClient", "DeleteBatchImportJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteBatchImportJobCommand)
20
- .de(de_DeleteBatchImportJobCommand)
14
+ .sc(DeleteBatchImportJob)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBatchPredictionJobCommand, se_DeleteBatchPredictionJobCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteBatchPredictionJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBatchPredictionJobCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "DeleteBatchPredictionJob", {})
17
13
  .n("FraudDetectorClient", "DeleteBatchPredictionJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteBatchPredictionJobCommand)
20
- .de(de_DeleteBatchPredictionJobCommand)
14
+ .sc(DeleteBatchPredictionJob)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteDetectorCommand, se_DeleteDetectorCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteDetector } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDetectorCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "DeleteDetector", {})
17
13
  .n("FraudDetectorClient", "DeleteDetectorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDetectorCommand)
20
- .de(de_DeleteDetectorCommand)
14
+ .sc(DeleteDetector)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteDetectorVersionCommand, se_DeleteDetectorVersionCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteDetectorVersion } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDetectorVersionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "DeleteDetectorVersion", {})
17
13
  .n("FraudDetectorClient", "DeleteDetectorVersionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDetectorVersionCommand)
20
- .de(de_DeleteDetectorVersionCommand)
14
+ .sc(DeleteDetectorVersion)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteEntityTypeCommand, se_DeleteEntityTypeCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteEntityType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteEntityTypeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "DeleteEntityType", {})
17
13
  .n("FraudDetectorClient", "DeleteEntityTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteEntityTypeCommand)
20
- .de(de_DeleteEntityTypeCommand)
14
+ .sc(DeleteEntityType)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteEventCommand, se_DeleteEventCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteEvent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteEventCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "DeleteEvent", {})
17
13
  .n("FraudDetectorClient", "DeleteEventCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteEventCommand)
20
- .de(de_DeleteEventCommand)
14
+ .sc(DeleteEvent)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteEventTypeCommand, se_DeleteEventTypeCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteEventType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteEventTypeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "DeleteEventType", {})
17
13
  .n("FraudDetectorClient", "DeleteEventTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteEventTypeCommand)
20
- .de(de_DeleteEventTypeCommand)
14
+ .sc(DeleteEventType)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteEventsByEventTypeCommand, se_DeleteEventsByEventTypeCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteEventsByEventType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteEventsByEventTypeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "DeleteEventsByEventType", {})
17
13
  .n("FraudDetectorClient", "DeleteEventsByEventTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteEventsByEventTypeCommand)
20
- .de(de_DeleteEventsByEventTypeCommand)
14
+ .sc(DeleteEventsByEventType)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteExternalModelCommand, se_DeleteExternalModelCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteExternalModel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteExternalModelCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "DeleteExternalModel", {})
17
13
  .n("FraudDetectorClient", "DeleteExternalModelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteExternalModelCommand)
20
- .de(de_DeleteExternalModelCommand)
14
+ .sc(DeleteExternalModel)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteLabelCommand, se_DeleteLabelCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteLabel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteLabelCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHawksNestServiceFacade", "DeleteLabel", {})
17
13
  .n("FraudDetectorClient", "DeleteLabelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteLabelCommand)
20
- .de(de_DeleteLabelCommand)
14
+ .sc(DeleteLabel)
21
15
  .build() {
22
16
  }