@aws-sdk/client-machine-learning 3.478.0 → 3.481.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 (117) hide show
  1. package/dist-cjs/commands/AddTagsCommand.js +18 -41
  2. package/dist-cjs/commands/CreateBatchPredictionCommand.js +18 -41
  3. package/dist-cjs/commands/CreateDataSourceFromRDSCommand.js +18 -41
  4. package/dist-cjs/commands/CreateDataSourceFromRedshiftCommand.js +18 -41
  5. package/dist-cjs/commands/CreateDataSourceFromS3Command.js +18 -41
  6. package/dist-cjs/commands/CreateEvaluationCommand.js +18 -41
  7. package/dist-cjs/commands/CreateMLModelCommand.js +18 -41
  8. package/dist-cjs/commands/CreateRealtimeEndpointCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteBatchPredictionCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteDataSourceCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteEvaluationCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteMLModelCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteRealtimeEndpointCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteTagsCommand.js +18 -41
  15. package/dist-cjs/commands/DescribeBatchPredictionsCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeDataSourcesCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeEvaluationsCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeMLModelsCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeTagsCommand.js +18 -41
  20. package/dist-cjs/commands/GetBatchPredictionCommand.js +18 -41
  21. package/dist-cjs/commands/GetDataSourceCommand.js +18 -41
  22. package/dist-cjs/commands/GetEvaluationCommand.js +18 -41
  23. package/dist-cjs/commands/GetMLModelCommand.js +18 -41
  24. package/dist-cjs/commands/PredictCommand.js +19 -42
  25. package/dist-cjs/commands/UpdateBatchPredictionCommand.js +18 -41
  26. package/dist-cjs/commands/UpdateDataSourceCommand.js +18 -41
  27. package/dist-cjs/commands/UpdateEvaluationCommand.js +18 -41
  28. package/dist-cjs/commands/UpdateMLModelCommand.js +18 -41
  29. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  30. package/dist-es/commands/AddTagsCommand.js +18 -41
  31. package/dist-es/commands/CreateBatchPredictionCommand.js +18 -41
  32. package/dist-es/commands/CreateDataSourceFromRDSCommand.js +18 -41
  33. package/dist-es/commands/CreateDataSourceFromRedshiftCommand.js +18 -41
  34. package/dist-es/commands/CreateDataSourceFromS3Command.js +18 -41
  35. package/dist-es/commands/CreateEvaluationCommand.js +18 -41
  36. package/dist-es/commands/CreateMLModelCommand.js +18 -41
  37. package/dist-es/commands/CreateRealtimeEndpointCommand.js +18 -41
  38. package/dist-es/commands/DeleteBatchPredictionCommand.js +18 -41
  39. package/dist-es/commands/DeleteDataSourceCommand.js +18 -41
  40. package/dist-es/commands/DeleteEvaluationCommand.js +18 -41
  41. package/dist-es/commands/DeleteMLModelCommand.js +18 -41
  42. package/dist-es/commands/DeleteRealtimeEndpointCommand.js +18 -41
  43. package/dist-es/commands/DeleteTagsCommand.js +18 -41
  44. package/dist-es/commands/DescribeBatchPredictionsCommand.js +18 -41
  45. package/dist-es/commands/DescribeDataSourcesCommand.js +18 -41
  46. package/dist-es/commands/DescribeEvaluationsCommand.js +18 -41
  47. package/dist-es/commands/DescribeMLModelsCommand.js +18 -41
  48. package/dist-es/commands/DescribeTagsCommand.js +18 -41
  49. package/dist-es/commands/GetBatchPredictionCommand.js +18 -41
  50. package/dist-es/commands/GetDataSourceCommand.js +18 -41
  51. package/dist-es/commands/GetEvaluationCommand.js +18 -41
  52. package/dist-es/commands/GetMLModelCommand.js +18 -41
  53. package/dist-es/commands/PredictCommand.js +19 -42
  54. package/dist-es/commands/UpdateBatchPredictionCommand.js +18 -41
  55. package/dist-es/commands/UpdateDataSourceCommand.js +18 -41
  56. package/dist-es/commands/UpdateEvaluationCommand.js +18 -41
  57. package/dist-es/commands/UpdateMLModelCommand.js +18 -41
  58. package/dist-es/endpoint/EndpointParameters.js +6 -0
  59. package/dist-types/commands/AddTagsCommand.d.ts +6 -21
  60. package/dist-types/commands/CreateBatchPredictionCommand.d.ts +6 -21
  61. package/dist-types/commands/CreateDataSourceFromRDSCommand.d.ts +6 -21
  62. package/dist-types/commands/CreateDataSourceFromRedshiftCommand.d.ts +6 -21
  63. package/dist-types/commands/CreateDataSourceFromS3Command.d.ts +6 -21
  64. package/dist-types/commands/CreateEvaluationCommand.d.ts +6 -21
  65. package/dist-types/commands/CreateMLModelCommand.d.ts +6 -21
  66. package/dist-types/commands/CreateRealtimeEndpointCommand.d.ts +6 -21
  67. package/dist-types/commands/DeleteBatchPredictionCommand.d.ts +6 -21
  68. package/dist-types/commands/DeleteDataSourceCommand.d.ts +6 -21
  69. package/dist-types/commands/DeleteEvaluationCommand.d.ts +6 -21
  70. package/dist-types/commands/DeleteMLModelCommand.d.ts +6 -21
  71. package/dist-types/commands/DeleteRealtimeEndpointCommand.d.ts +6 -21
  72. package/dist-types/commands/DeleteTagsCommand.d.ts +6 -21
  73. package/dist-types/commands/DescribeBatchPredictionsCommand.d.ts +6 -21
  74. package/dist-types/commands/DescribeDataSourcesCommand.d.ts +6 -21
  75. package/dist-types/commands/DescribeEvaluationsCommand.d.ts +6 -21
  76. package/dist-types/commands/DescribeMLModelsCommand.d.ts +6 -21
  77. package/dist-types/commands/DescribeTagsCommand.d.ts +6 -21
  78. package/dist-types/commands/GetBatchPredictionCommand.d.ts +6 -21
  79. package/dist-types/commands/GetDataSourceCommand.d.ts +6 -21
  80. package/dist-types/commands/GetEvaluationCommand.d.ts +6 -21
  81. package/dist-types/commands/GetMLModelCommand.d.ts +6 -21
  82. package/dist-types/commands/PredictCommand.d.ts +6 -21
  83. package/dist-types/commands/UpdateBatchPredictionCommand.d.ts +6 -21
  84. package/dist-types/commands/UpdateDataSourceCommand.d.ts +6 -21
  85. package/dist-types/commands/UpdateEvaluationCommand.d.ts +6 -21
  86. package/dist-types/commands/UpdateMLModelCommand.d.ts +6 -21
  87. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  88. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +12 -23
  89. package/dist-types/ts3.4/commands/CreateBatchPredictionCommand.d.ts +12 -24
  90. package/dist-types/ts3.4/commands/CreateDataSourceFromRDSCommand.d.ts +12 -24
  91. package/dist-types/ts3.4/commands/CreateDataSourceFromRedshiftCommand.d.ts +12 -24
  92. package/dist-types/ts3.4/commands/CreateDataSourceFromS3Command.d.ts +12 -24
  93. package/dist-types/ts3.4/commands/CreateEvaluationCommand.d.ts +14 -23
  94. package/dist-types/ts3.4/commands/CreateMLModelCommand.d.ts +14 -23
  95. package/dist-types/ts3.4/commands/CreateRealtimeEndpointCommand.d.ts +12 -24
  96. package/dist-types/ts3.4/commands/DeleteBatchPredictionCommand.d.ts +12 -24
  97. package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/commands/DeleteEvaluationCommand.d.ts +14 -23
  99. package/dist-types/ts3.4/commands/DeleteMLModelCommand.d.ts +14 -23
  100. package/dist-types/ts3.4/commands/DeleteRealtimeEndpointCommand.d.ts +12 -24
  101. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/DescribeBatchPredictionsCommand.d.ts +12 -24
  103. package/dist-types/ts3.4/commands/DescribeDataSourcesCommand.d.ts +14 -23
  104. package/dist-types/ts3.4/commands/DescribeEvaluationsCommand.d.ts +14 -23
  105. package/dist-types/ts3.4/commands/DescribeMLModelsCommand.d.ts +14 -23
  106. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +14 -23
  107. package/dist-types/ts3.4/commands/GetBatchPredictionCommand.d.ts +14 -23
  108. package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +14 -23
  109. package/dist-types/ts3.4/commands/GetEvaluationCommand.d.ts +14 -23
  110. package/dist-types/ts3.4/commands/GetMLModelCommand.d.ts +14 -23
  111. package/dist-types/ts3.4/commands/PredictCommand.d.ts +12 -23
  112. package/dist-types/ts3.4/commands/UpdateBatchPredictionCommand.d.ts +12 -24
  113. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +14 -23
  114. package/dist-types/ts3.4/commands/UpdateEvaluationCommand.d.ts +14 -23
  115. package/dist-types/ts3.4/commands/UpdateMLModelCommand.d.ts +14 -23
  116. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  117. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteBatchPredictionCommand, se_DeleteBatchPredictionCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DeleteBatchPredictionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteBatchPredictionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MachineLearningClient";
26
- const commandName = "DeleteBatchPredictionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonML_20141212",
35
- operation: "DeleteBatchPrediction",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteBatchPredictionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteBatchPredictionCommand(output, context);
46
- }
7
+ export class DeleteBatchPredictionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonML_20141212", "DeleteBatchPrediction", {})
19
+ .n("MachineLearningClient", "DeleteBatchPredictionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteBatchPredictionCommand)
22
+ .de(de_DeleteBatchPredictionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteDataSourceCommand, se_DeleteDataSourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DeleteDataSourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteDataSourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MachineLearningClient";
26
- const commandName = "DeleteDataSourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonML_20141212",
35
- operation: "DeleteDataSource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteDataSourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteDataSourceCommand(output, context);
46
- }
7
+ export class DeleteDataSourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonML_20141212", "DeleteDataSource", {})
19
+ .n("MachineLearningClient", "DeleteDataSourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteDataSourceCommand)
22
+ .de(de_DeleteDataSourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteEvaluationCommand, se_DeleteEvaluationCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DeleteEvaluationCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteEvaluationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MachineLearningClient";
26
- const commandName = "DeleteEvaluationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonML_20141212",
35
- operation: "DeleteEvaluation",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteEvaluationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteEvaluationCommand(output, context);
46
- }
7
+ export class DeleteEvaluationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonML_20141212", "DeleteEvaluation", {})
19
+ .n("MachineLearningClient", "DeleteEvaluationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteEvaluationCommand)
22
+ .de(de_DeleteEvaluationCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteMLModelCommand, se_DeleteMLModelCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DeleteMLModelCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteMLModelCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MachineLearningClient";
26
- const commandName = "DeleteMLModelCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonML_20141212",
35
- operation: "DeleteMLModel",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteMLModelCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteMLModelCommand(output, context);
46
- }
7
+ export class DeleteMLModelCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonML_20141212", "DeleteMLModel", {})
19
+ .n("MachineLearningClient", "DeleteMLModelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteMLModelCommand)
22
+ .de(de_DeleteMLModelCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteRealtimeEndpointCommand, se_DeleteRealtimeEndpointCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DeleteRealtimeEndpointCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteRealtimeEndpointCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MachineLearningClient";
26
- const commandName = "DeleteRealtimeEndpointCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonML_20141212",
35
- operation: "DeleteRealtimeEndpoint",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteRealtimeEndpointCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteRealtimeEndpointCommand(output, context);
46
- }
7
+ export class DeleteRealtimeEndpointCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonML_20141212", "DeleteRealtimeEndpoint", {})
19
+ .n("MachineLearningClient", "DeleteRealtimeEndpointCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteRealtimeEndpointCommand)
22
+ .de(de_DeleteRealtimeEndpointCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteTagsCommand, se_DeleteTagsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DeleteTagsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteTagsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MachineLearningClient";
26
- const commandName = "DeleteTagsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonML_20141212",
35
- operation: "DeleteTags",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteTagsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteTagsCommand(output, context);
46
- }
7
+ export class DeleteTagsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonML_20141212", "DeleteTags", {})
19
+ .n("MachineLearningClient", "DeleteTagsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteTagsCommand)
22
+ .de(de_DeleteTagsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeBatchPredictionsCommand, se_DescribeBatchPredictionsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeBatchPredictionsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeBatchPredictionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MachineLearningClient";
26
- const commandName = "DescribeBatchPredictionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonML_20141212",
35
- operation: "DescribeBatchPredictions",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeBatchPredictionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeBatchPredictionsCommand(output, context);
46
- }
7
+ export class DescribeBatchPredictionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonML_20141212", "DescribeBatchPredictions", {})
19
+ .n("MachineLearningClient", "DescribeBatchPredictionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeBatchPredictionsCommand)
22
+ .de(de_DescribeBatchPredictionsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeDataSourcesCommand, se_DescribeDataSourcesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeDataSourcesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeDataSourcesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MachineLearningClient";
26
- const commandName = "DescribeDataSourcesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonML_20141212",
35
- operation: "DescribeDataSources",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeDataSourcesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeDataSourcesCommand(output, context);
46
- }
7
+ export class DescribeDataSourcesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonML_20141212", "DescribeDataSources", {})
19
+ .n("MachineLearningClient", "DescribeDataSourcesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeDataSourcesCommand)
22
+ .de(de_DescribeDataSourcesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeEvaluationsCommand, se_DescribeEvaluationsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeEvaluationsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeEvaluationsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MachineLearningClient";
26
- const commandName = "DescribeEvaluationsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonML_20141212",
35
- operation: "DescribeEvaluations",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeEvaluationsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeEvaluationsCommand(output, context);
46
- }
7
+ export class DescribeEvaluationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonML_20141212", "DescribeEvaluations", {})
19
+ .n("MachineLearningClient", "DescribeEvaluationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeEvaluationsCommand)
22
+ .de(de_DescribeEvaluationsCommand)
23
+ .build() {
47
24
  }