@aws-sdk/client-personalize 3.927.0 → 3.928.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/dist-cjs/index.js +2082 -3052
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/PersonalizeClient.js +2 -0
  4. package/dist-es/commands/CreateBatchInferenceJobCommand.js +3 -10
  5. package/dist-es/commands/CreateBatchSegmentJobCommand.js +3 -10
  6. package/dist-es/commands/CreateCampaignCommand.js +3 -10
  7. package/dist-es/commands/CreateDataDeletionJobCommand.js +3 -10
  8. package/dist-es/commands/CreateDatasetCommand.js +3 -10
  9. package/dist-es/commands/CreateDatasetExportJobCommand.js +3 -10
  10. package/dist-es/commands/CreateDatasetGroupCommand.js +3 -10
  11. package/dist-es/commands/CreateDatasetImportJobCommand.js +3 -10
  12. package/dist-es/commands/CreateEventTrackerCommand.js +3 -10
  13. package/dist-es/commands/CreateFilterCommand.js +3 -10
  14. package/dist-es/commands/CreateMetricAttributionCommand.js +3 -9
  15. package/dist-es/commands/CreateRecommenderCommand.js +3 -10
  16. package/dist-es/commands/CreateSchemaCommand.js +3 -9
  17. package/dist-es/commands/CreateSolutionCommand.js +3 -10
  18. package/dist-es/commands/CreateSolutionVersionCommand.js +3 -10
  19. package/dist-es/commands/DeleteCampaignCommand.js +3 -9
  20. package/dist-es/commands/DeleteDatasetCommand.js +3 -9
  21. package/dist-es/commands/DeleteDatasetGroupCommand.js +3 -9
  22. package/dist-es/commands/DeleteEventTrackerCommand.js +3 -9
  23. package/dist-es/commands/DeleteFilterCommand.js +3 -9
  24. package/dist-es/commands/DeleteMetricAttributionCommand.js +3 -9
  25. package/dist-es/commands/DeleteRecommenderCommand.js +3 -9
  26. package/dist-es/commands/DeleteSchemaCommand.js +3 -9
  27. package/dist-es/commands/DeleteSolutionCommand.js +3 -9
  28. package/dist-es/commands/DescribeAlgorithmCommand.js +3 -9
  29. package/dist-es/commands/DescribeBatchInferenceJobCommand.js +3 -9
  30. package/dist-es/commands/DescribeBatchSegmentJobCommand.js +3 -9
  31. package/dist-es/commands/DescribeCampaignCommand.js +3 -9
  32. package/dist-es/commands/DescribeDataDeletionJobCommand.js +3 -9
  33. package/dist-es/commands/DescribeDatasetCommand.js +3 -9
  34. package/dist-es/commands/DescribeDatasetExportJobCommand.js +3 -9
  35. package/dist-es/commands/DescribeDatasetGroupCommand.js +3 -9
  36. package/dist-es/commands/DescribeDatasetImportJobCommand.js +3 -9
  37. package/dist-es/commands/DescribeEventTrackerCommand.js +3 -9
  38. package/dist-es/commands/DescribeFeatureTransformationCommand.js +3 -9
  39. package/dist-es/commands/DescribeFilterCommand.js +3 -10
  40. package/dist-es/commands/DescribeMetricAttributionCommand.js +3 -9
  41. package/dist-es/commands/DescribeRecipeCommand.js +3 -9
  42. package/dist-es/commands/DescribeRecommenderCommand.js +3 -9
  43. package/dist-es/commands/DescribeSchemaCommand.js +3 -9
  44. package/dist-es/commands/DescribeSolutionCommand.js +3 -9
  45. package/dist-es/commands/DescribeSolutionVersionCommand.js +3 -9
  46. package/dist-es/commands/GetSolutionMetricsCommand.js +3 -9
  47. package/dist-es/commands/ListBatchInferenceJobsCommand.js +3 -9
  48. package/dist-es/commands/ListBatchSegmentJobsCommand.js +3 -9
  49. package/dist-es/commands/ListCampaignsCommand.js +3 -9
  50. package/dist-es/commands/ListDataDeletionJobsCommand.js +3 -9
  51. package/dist-es/commands/ListDatasetExportJobsCommand.js +3 -9
  52. package/dist-es/commands/ListDatasetGroupsCommand.js +3 -9
  53. package/dist-es/commands/ListDatasetImportJobsCommand.js +3 -9
  54. package/dist-es/commands/ListDatasetsCommand.js +3 -9
  55. package/dist-es/commands/ListEventTrackersCommand.js +3 -9
  56. package/dist-es/commands/ListFiltersCommand.js +3 -9
  57. package/dist-es/commands/ListMetricAttributionMetricsCommand.js +3 -9
  58. package/dist-es/commands/ListMetricAttributionsCommand.js +3 -9
  59. package/dist-es/commands/ListRecipesCommand.js +3 -9
  60. package/dist-es/commands/ListRecommendersCommand.js +3 -9
  61. package/dist-es/commands/ListSchemasCommand.js +3 -9
  62. package/dist-es/commands/ListSolutionVersionsCommand.js +3 -9
  63. package/dist-es/commands/ListSolutionsCommand.js +3 -9
  64. package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
  65. package/dist-es/commands/StartRecommenderCommand.js +3 -9
  66. package/dist-es/commands/StopRecommenderCommand.js +3 -9
  67. package/dist-es/commands/StopSolutionVersionCreationCommand.js +3 -9
  68. package/dist-es/commands/TagResourceCommand.js +3 -10
  69. package/dist-es/commands/UntagResourceCommand.js +3 -10
  70. package/dist-es/commands/UpdateCampaignCommand.js +3 -9
  71. package/dist-es/commands/UpdateDatasetCommand.js +3 -9
  72. package/dist-es/commands/UpdateMetricAttributionCommand.js +3 -9
  73. package/dist-es/commands/UpdateRecommenderCommand.js +3 -9
  74. package/dist-es/commands/UpdateSolutionCommand.js +3 -9
  75. package/dist-es/models/models_0.js +0 -79
  76. package/dist-es/runtimeConfig.shared.js +7 -0
  77. package/dist-es/schemas/schemas_0.js +1924 -0
  78. package/dist-types/PersonalizeClient.d.ts +10 -1
  79. package/dist-types/models/models_0.d.ts +0 -76
  80. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  81. package/dist-types/runtimeConfig.d.ts +1 -0
  82. package/dist-types/runtimeConfig.native.d.ts +1 -0
  83. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  84. package/dist-types/schemas/schemas_0.d.ts +328 -0
  85. package/dist-types/ts3.4/PersonalizeClient.d.ts +4 -0
  86. package/dist-types/ts3.4/models/models_0.d.ts +0 -53
  87. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  88. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  89. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  90. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  91. package/dist-types/ts3.4/schemas/schemas_0.d.ts +335 -0
  92. package/package.json +5 -5
  93. package/dist-es/protocols/Aws_json1_1.js +0 -2438
  94. package/dist-types/protocols/Aws_json1_1.d.ts +0 -641
  95. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -857
@@ -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_ListCampaignsCommand, se_ListCampaignsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListCampaigns } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListCampaignsCommand 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("AmazonPersonalize", "ListCampaigns", {})
17
13
  .n("PersonalizeClient", "ListCampaignsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListCampaignsCommand)
20
- .de(de_ListCampaignsCommand)
14
+ .sc(ListCampaigns)
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_ListDataDeletionJobsCommand, se_ListDataDeletionJobsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListDataDeletionJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDataDeletionJobsCommand 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("AmazonPersonalize", "ListDataDeletionJobs", {})
17
13
  .n("PersonalizeClient", "ListDataDeletionJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDataDeletionJobsCommand)
20
- .de(de_ListDataDeletionJobsCommand)
14
+ .sc(ListDataDeletionJobs)
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_ListDatasetExportJobsCommand, se_ListDatasetExportJobsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListDatasetExportJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDatasetExportJobsCommand 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("AmazonPersonalize", "ListDatasetExportJobs", {})
17
13
  .n("PersonalizeClient", "ListDatasetExportJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDatasetExportJobsCommand)
20
- .de(de_ListDatasetExportJobsCommand)
14
+ .sc(ListDatasetExportJobs)
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_ListDatasetGroupsCommand, se_ListDatasetGroupsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListDatasetGroups } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDatasetGroupsCommand 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("AmazonPersonalize", "ListDatasetGroups", {})
17
13
  .n("PersonalizeClient", "ListDatasetGroupsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDatasetGroupsCommand)
20
- .de(de_ListDatasetGroupsCommand)
14
+ .sc(ListDatasetGroups)
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_ListDatasetImportJobsCommand, se_ListDatasetImportJobsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListDatasetImportJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDatasetImportJobsCommand 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("AmazonPersonalize", "ListDatasetImportJobs", {})
17
13
  .n("PersonalizeClient", "ListDatasetImportJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDatasetImportJobsCommand)
20
- .de(de_ListDatasetImportJobsCommand)
14
+ .sc(ListDatasetImportJobs)
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_ListDatasetsCommand, se_ListDatasetsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListDatasets } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDatasetsCommand 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("AmazonPersonalize", "ListDatasets", {})
17
13
  .n("PersonalizeClient", "ListDatasetsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDatasetsCommand)
20
- .de(de_ListDatasetsCommand)
14
+ .sc(ListDatasets)
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_ListEventTrackersCommand, se_ListEventTrackersCommand } from "../protocols/Aws_json1_1";
4
+ import { ListEventTrackers } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListEventTrackersCommand 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("AmazonPersonalize", "ListEventTrackers", {})
17
13
  .n("PersonalizeClient", "ListEventTrackersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListEventTrackersCommand)
20
- .de(de_ListEventTrackersCommand)
14
+ .sc(ListEventTrackers)
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_ListFiltersCommand, se_ListFiltersCommand } from "../protocols/Aws_json1_1";
4
+ import { ListFilters } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListFiltersCommand 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("AmazonPersonalize", "ListFilters", {})
17
13
  .n("PersonalizeClient", "ListFiltersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListFiltersCommand)
20
- .de(de_ListFiltersCommand)
14
+ .sc(ListFilters)
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_ListMetricAttributionMetricsCommand, se_ListMetricAttributionMetricsCommand, } from "../protocols/Aws_json1_1";
4
+ import { ListMetricAttributionMetrics } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListMetricAttributionMetricsCommand 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("AmazonPersonalize", "ListMetricAttributionMetrics", {})
17
13
  .n("PersonalizeClient", "ListMetricAttributionMetricsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListMetricAttributionMetricsCommand)
20
- .de(de_ListMetricAttributionMetricsCommand)
14
+ .sc(ListMetricAttributionMetrics)
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_ListMetricAttributionsCommand, se_ListMetricAttributionsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListMetricAttributions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListMetricAttributionsCommand 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("AmazonPersonalize", "ListMetricAttributions", {})
17
13
  .n("PersonalizeClient", "ListMetricAttributionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListMetricAttributionsCommand)
20
- .de(de_ListMetricAttributionsCommand)
14
+ .sc(ListMetricAttributions)
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_ListRecipesCommand, se_ListRecipesCommand } from "../protocols/Aws_json1_1";
4
+ import { ListRecipes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListRecipesCommand 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("AmazonPersonalize", "ListRecipes", {})
17
13
  .n("PersonalizeClient", "ListRecipesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListRecipesCommand)
20
- .de(de_ListRecipesCommand)
14
+ .sc(ListRecipes)
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_ListRecommendersCommand, se_ListRecommendersCommand } from "../protocols/Aws_json1_1";
4
+ import { ListRecommenders } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListRecommendersCommand 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("AmazonPersonalize", "ListRecommenders", {})
17
13
  .n("PersonalizeClient", "ListRecommendersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListRecommendersCommand)
20
- .de(de_ListRecommendersCommand)
14
+ .sc(ListRecommenders)
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_ListSchemasCommand, se_ListSchemasCommand } from "../protocols/Aws_json1_1";
4
+ import { ListSchemas } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListSchemasCommand 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("AmazonPersonalize", "ListSchemas", {})
17
13
  .n("PersonalizeClient", "ListSchemasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListSchemasCommand)
20
- .de(de_ListSchemasCommand)
14
+ .sc(ListSchemas)
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_ListSolutionVersionsCommand, se_ListSolutionVersionsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListSolutionVersions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListSolutionVersionsCommand 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("AmazonPersonalize", "ListSolutionVersions", {})
17
13
  .n("PersonalizeClient", "ListSolutionVersionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListSolutionVersionsCommand)
20
- .de(de_ListSolutionVersionsCommand)
14
+ .sc(ListSolutionVersions)
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_ListSolutionsCommand, se_ListSolutionsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListSolutions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListSolutionsCommand 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("AmazonPersonalize", "ListSolutions", {})
17
13
  .n("PersonalizeClient", "ListSolutionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListSolutionsCommand)
20
- .de(de_ListSolutionsCommand)
14
+ .sc(ListSolutions)
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 { ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListTagsForResourceCommand 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("AmazonPersonalize", "ListTagsForResource", {})
18
13
  .n("PersonalizeClient", "ListTagsForResourceCommand")
19
- .f(void 0, ListTagsForResourceResponseFilterSensitiveLog)
20
- .ser(se_ListTagsForResourceCommand)
21
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
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_StartRecommenderCommand, se_StartRecommenderCommand } from "../protocols/Aws_json1_1";
4
+ import { StartRecommender } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartRecommenderCommand 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("AmazonPersonalize", "StartRecommender", {})
17
13
  .n("PersonalizeClient", "StartRecommenderCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartRecommenderCommand)
20
- .de(de_StartRecommenderCommand)
14
+ .sc(StartRecommender)
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_StopRecommenderCommand, se_StopRecommenderCommand } from "../protocols/Aws_json1_1";
4
+ import { StopRecommender } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopRecommenderCommand 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("AmazonPersonalize", "StopRecommender", {})
17
13
  .n("PersonalizeClient", "StopRecommenderCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopRecommenderCommand)
20
- .de(de_StopRecommenderCommand)
14
+ .sc(StopRecommender)
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_StopSolutionVersionCreationCommand, se_StopSolutionVersionCreationCommand } from "../protocols/Aws_json1_1";
4
+ import { StopSolutionVersionCreation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopSolutionVersionCreationCommand 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("AmazonPersonalize", "StopSolutionVersionCreation", {})
17
13
  .n("PersonalizeClient", "StopSolutionVersionCreationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopSolutionVersionCreationCommand)
20
- .de(de_StopSolutionVersionCreationCommand)
14
+ .sc(StopSolutionVersionCreation)
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 { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
6
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { TagResource } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class TagResourceCommand 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("AmazonPersonalize", "TagResource", {})
18
13
  .n("PersonalizeClient", "TagResourceCommand")
19
- .f(TagResourceRequestFilterSensitiveLog, void 0)
20
- .ser(se_TagResourceCommand)
21
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
22
15
  .build() {
23
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 { UntagResourceRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { UntagResource } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UntagResourceCommand 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("AmazonPersonalize", "UntagResource", {})
18
13
  .n("PersonalizeClient", "UntagResourceCommand")
19
- .f(UntagResourceRequestFilterSensitiveLog, void 0)
20
- .ser(se_UntagResourceCommand)
21
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
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_UpdateCampaignCommand, se_UpdateCampaignCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateCampaign } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateCampaignCommand 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("AmazonPersonalize", "UpdateCampaign", {})
17
13
  .n("PersonalizeClient", "UpdateCampaignCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateCampaignCommand)
20
- .de(de_UpdateCampaignCommand)
14
+ .sc(UpdateCampaign)
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_UpdateDatasetCommand, se_UpdateDatasetCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateDataset } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateDatasetCommand 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("AmazonPersonalize", "UpdateDataset", {})
17
13
  .n("PersonalizeClient", "UpdateDatasetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateDatasetCommand)
20
- .de(de_UpdateDatasetCommand)
14
+ .sc(UpdateDataset)
21
15
  .build() {
22
16
  }