@aws-sdk/client-personalize 3.299.0 → 3.301.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 (67) hide show
  1. package/dist-types/commands/CreateBatchInferenceJobCommand.d.ts +30 -0
  2. package/dist-types/commands/CreateBatchSegmentJobCommand.d.ts +25 -0
  3. package/dist-types/commands/CreateCampaignCommand.d.ts +16 -0
  4. package/dist-types/commands/CreateDatasetCommand.d.ts +12 -0
  5. package/dist-types/commands/CreateDatasetExportJobCommand.d.ts +18 -0
  6. package/dist-types/commands/CreateDatasetGroupCommand.d.ts +12 -0
  7. package/dist-types/commands/CreateDatasetImportJobCommand.d.ts +16 -0
  8. package/dist-types/commands/CreateEventTrackerCommand.d.ts +10 -0
  9. package/dist-types/commands/CreateFilterCommand.d.ts +11 -0
  10. package/dist-types/commands/CreateMetricAttributionCommand.d.ts +18 -0
  11. package/dist-types/commands/CreateRecommenderCommand.d.ts +17 -0
  12. package/dist-types/commands/CreateSchemaCommand.d.ts +5 -0
  13. package/dist-types/commands/CreateSolutionCommand.d.ts +68 -0
  14. package/dist-types/commands/CreateSolutionVersionCommand.d.ts +11 -0
  15. package/dist-types/commands/DeleteCampaignCommand.d.ts +3 -0
  16. package/dist-types/commands/DeleteDatasetCommand.d.ts +3 -0
  17. package/dist-types/commands/DeleteDatasetGroupCommand.d.ts +3 -0
  18. package/dist-types/commands/DeleteEventTrackerCommand.d.ts +3 -0
  19. package/dist-types/commands/DeleteFilterCommand.d.ts +3 -0
  20. package/dist-types/commands/DeleteMetricAttributionCommand.d.ts +3 -0
  21. package/dist-types/commands/DeleteRecommenderCommand.d.ts +3 -0
  22. package/dist-types/commands/DeleteSchemaCommand.d.ts +3 -0
  23. package/dist-types/commands/DeleteSolutionCommand.d.ts +3 -0
  24. package/dist-types/commands/DescribeAlgorithmCommand.d.ts +3 -0
  25. package/dist-types/commands/DescribeBatchInferenceJobCommand.d.ts +3 -0
  26. package/dist-types/commands/DescribeBatchSegmentJobCommand.d.ts +3 -0
  27. package/dist-types/commands/DescribeCampaignCommand.d.ts +3 -0
  28. package/dist-types/commands/DescribeDatasetCommand.d.ts +3 -0
  29. package/dist-types/commands/DescribeDatasetExportJobCommand.d.ts +3 -0
  30. package/dist-types/commands/DescribeDatasetGroupCommand.d.ts +3 -0
  31. package/dist-types/commands/DescribeDatasetImportJobCommand.d.ts +3 -0
  32. package/dist-types/commands/DescribeEventTrackerCommand.d.ts +3 -0
  33. package/dist-types/commands/DescribeFeatureTransformationCommand.d.ts +3 -0
  34. package/dist-types/commands/DescribeFilterCommand.d.ts +3 -0
  35. package/dist-types/commands/DescribeMetricAttributionCommand.d.ts +3 -0
  36. package/dist-types/commands/DescribeRecipeCommand.d.ts +3 -0
  37. package/dist-types/commands/DescribeRecommenderCommand.d.ts +3 -0
  38. package/dist-types/commands/DescribeSchemaCommand.d.ts +3 -0
  39. package/dist-types/commands/DescribeSolutionCommand.d.ts +3 -0
  40. package/dist-types/commands/DescribeSolutionVersionCommand.d.ts +3 -0
  41. package/dist-types/commands/GetSolutionMetricsCommand.d.ts +3 -0
  42. package/dist-types/commands/ListBatchInferenceJobsCommand.d.ts +5 -0
  43. package/dist-types/commands/ListBatchSegmentJobsCommand.d.ts +5 -0
  44. package/dist-types/commands/ListCampaignsCommand.d.ts +5 -0
  45. package/dist-types/commands/ListDatasetExportJobsCommand.d.ts +5 -0
  46. package/dist-types/commands/ListDatasetGroupsCommand.d.ts +4 -0
  47. package/dist-types/commands/ListDatasetImportJobsCommand.d.ts +5 -0
  48. package/dist-types/commands/ListDatasetsCommand.d.ts +5 -0
  49. package/dist-types/commands/ListEventTrackersCommand.d.ts +5 -0
  50. package/dist-types/commands/ListFiltersCommand.d.ts +5 -0
  51. package/dist-types/commands/ListMetricAttributionMetricsCommand.d.ts +5 -0
  52. package/dist-types/commands/ListMetricAttributionsCommand.d.ts +5 -0
  53. package/dist-types/commands/ListRecipesCommand.d.ts +6 -0
  54. package/dist-types/commands/ListRecommendersCommand.d.ts +5 -0
  55. package/dist-types/commands/ListSchemasCommand.d.ts +4 -0
  56. package/dist-types/commands/ListSolutionVersionsCommand.d.ts +5 -0
  57. package/dist-types/commands/ListSolutionsCommand.d.ts +5 -0
  58. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  59. package/dist-types/commands/StartRecommenderCommand.d.ts +3 -0
  60. package/dist-types/commands/StopRecommenderCommand.d.ts +3 -0
  61. package/dist-types/commands/StopSolutionVersionCreationCommand.d.ts +3 -0
  62. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  63. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  64. package/dist-types/commands/UpdateCampaignCommand.d.ts +10 -0
  65. package/dist-types/commands/UpdateMetricAttributionCommand.d.ts +20 -0
  66. package/dist-types/commands/UpdateRecommenderCommand.d.ts +9 -0
  67. package/package.json +8 -8
@@ -29,6 +29,36 @@ export interface CreateBatchInferenceJobCommandOutput extends CreateBatchInferen
29
29
  * import { PersonalizeClient, CreateBatchInferenceJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
30
30
  * // const { PersonalizeClient, CreateBatchInferenceJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
31
31
  * const client = new PersonalizeClient(config);
32
+ * const input = { // CreateBatchInferenceJobRequest
33
+ * jobName: "STRING_VALUE", // required
34
+ * solutionVersionArn: "STRING_VALUE", // required
35
+ * filterArn: "STRING_VALUE",
36
+ * numResults: Number("int"),
37
+ * jobInput: { // BatchInferenceJobInput
38
+ * s3DataSource: { // S3DataConfig
39
+ * path: "STRING_VALUE", // required
40
+ * kmsKeyArn: "STRING_VALUE",
41
+ * },
42
+ * },
43
+ * jobOutput: { // BatchInferenceJobOutput
44
+ * s3DataDestination: {
45
+ * path: "STRING_VALUE", // required
46
+ * kmsKeyArn: "STRING_VALUE",
47
+ * },
48
+ * },
49
+ * roleArn: "STRING_VALUE", // required
50
+ * batchInferenceJobConfig: { // BatchInferenceJobConfig
51
+ * itemExplorationConfig: { // HyperParameters
52
+ * "<keys>": "STRING_VALUE",
53
+ * },
54
+ * },
55
+ * tags: [ // Tags
56
+ * { // Tag
57
+ * tagKey: "STRING_VALUE", // required
58
+ * tagValue: "STRING_VALUE", // required
59
+ * },
60
+ * ],
61
+ * };
32
62
  * const command = new CreateBatchInferenceJobCommand(input);
33
63
  * const response = await client.send(command);
34
64
  * ```
@@ -28,6 +28,31 @@ export interface CreateBatchSegmentJobCommandOutput extends CreateBatchSegmentJo
28
28
  * import { PersonalizeClient, CreateBatchSegmentJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
29
29
  * // const { PersonalizeClient, CreateBatchSegmentJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
30
30
  * const client = new PersonalizeClient(config);
31
+ * const input = { // CreateBatchSegmentJobRequest
32
+ * jobName: "STRING_VALUE", // required
33
+ * solutionVersionArn: "STRING_VALUE", // required
34
+ * filterArn: "STRING_VALUE",
35
+ * numResults: Number("int"),
36
+ * jobInput: { // BatchSegmentJobInput
37
+ * s3DataSource: { // S3DataConfig
38
+ * path: "STRING_VALUE", // required
39
+ * kmsKeyArn: "STRING_VALUE",
40
+ * },
41
+ * },
42
+ * jobOutput: { // BatchSegmentJobOutput
43
+ * s3DataDestination: {
44
+ * path: "STRING_VALUE", // required
45
+ * kmsKeyArn: "STRING_VALUE",
46
+ * },
47
+ * },
48
+ * roleArn: "STRING_VALUE", // required
49
+ * tags: [ // Tags
50
+ * { // Tag
51
+ * tagKey: "STRING_VALUE", // required
52
+ * tagValue: "STRING_VALUE", // required
53
+ * },
54
+ * ],
55
+ * };
31
56
  * const command = new CreateBatchSegmentJobCommand(input);
32
57
  * const response = await client.send(command);
33
58
  * ```
@@ -95,6 +95,22 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
95
95
  * import { PersonalizeClient, CreateCampaignCommand } from "@aws-sdk/client-personalize"; // ES Modules import
96
96
  * // const { PersonalizeClient, CreateCampaignCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
97
97
  * const client = new PersonalizeClient(config);
98
+ * const input = { // CreateCampaignRequest
99
+ * name: "STRING_VALUE", // required
100
+ * solutionVersionArn: "STRING_VALUE", // required
101
+ * minProvisionedTPS: Number("int"),
102
+ * campaignConfig: { // CampaignConfig
103
+ * itemExplorationConfig: { // HyperParameters
104
+ * "<keys>": "STRING_VALUE",
105
+ * },
106
+ * },
107
+ * tags: [ // Tags
108
+ * { // Tag
109
+ * tagKey: "STRING_VALUE", // required
110
+ * tagValue: "STRING_VALUE", // required
111
+ * },
112
+ * ],
113
+ * };
98
114
  * const command = new CreateCampaignCommand(input);
99
115
  * const response = await client.send(command);
100
116
  * ```
@@ -80,6 +80,18 @@ export interface CreateDatasetCommandOutput extends CreateDatasetResponse, __Met
80
80
  * import { PersonalizeClient, CreateDatasetCommand } from "@aws-sdk/client-personalize"; // ES Modules import
81
81
  * // const { PersonalizeClient, CreateDatasetCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
82
82
  * const client = new PersonalizeClient(config);
83
+ * const input = { // CreateDatasetRequest
84
+ * name: "STRING_VALUE", // required
85
+ * schemaArn: "STRING_VALUE", // required
86
+ * datasetGroupArn: "STRING_VALUE", // required
87
+ * datasetType: "STRING_VALUE", // required
88
+ * tags: [ // Tags
89
+ * { // Tag
90
+ * tagKey: "STRING_VALUE", // required
91
+ * tagValue: "STRING_VALUE", // required
92
+ * },
93
+ * ],
94
+ * };
83
95
  * const command = new CreateDatasetCommand(input);
84
96
  * const response = await client.send(command);
85
97
  * ```
@@ -44,6 +44,24 @@ export interface CreateDatasetExportJobCommandOutput extends CreateDatasetExport
44
44
  * import { PersonalizeClient, CreateDatasetExportJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
45
45
  * // const { PersonalizeClient, CreateDatasetExportJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
46
46
  * const client = new PersonalizeClient(config);
47
+ * const input = { // CreateDatasetExportJobRequest
48
+ * jobName: "STRING_VALUE", // required
49
+ * datasetArn: "STRING_VALUE", // required
50
+ * ingestionMode: "BULK" || "PUT" || "ALL",
51
+ * roleArn: "STRING_VALUE", // required
52
+ * jobOutput: { // DatasetExportJobOutput
53
+ * s3DataDestination: { // S3DataConfig
54
+ * path: "STRING_VALUE", // required
55
+ * kmsKeyArn: "STRING_VALUE",
56
+ * },
57
+ * },
58
+ * tags: [ // Tags
59
+ * { // Tag
60
+ * tagKey: "STRING_VALUE", // required
61
+ * tagValue: "STRING_VALUE", // required
62
+ * },
63
+ * ],
64
+ * };
47
65
  * const command = new CreateDatasetExportJobCommand(input);
48
66
  * const response = await client.send(command);
49
67
  * ```
@@ -106,6 +106,18 @@ export interface CreateDatasetGroupCommandOutput extends CreateDatasetGroupRespo
106
106
  * import { PersonalizeClient, CreateDatasetGroupCommand } from "@aws-sdk/client-personalize"; // ES Modules import
107
107
  * // const { PersonalizeClient, CreateDatasetGroupCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
108
108
  * const client = new PersonalizeClient(config);
109
+ * const input = { // CreateDatasetGroupRequest
110
+ * name: "STRING_VALUE", // required
111
+ * roleArn: "STRING_VALUE",
112
+ * kmsKeyArn: "STRING_VALUE",
113
+ * domain: "ECOMMERCE" || "VIDEO_ON_DEMAND",
114
+ * tags: [ // Tags
115
+ * { // Tag
116
+ * tagKey: "STRING_VALUE", // required
117
+ * tagValue: "STRING_VALUE", // required
118
+ * },
119
+ * ],
120
+ * };
109
121
  * const command = new CreateDatasetGroupCommand(input);
110
122
  * const response = await client.send(command);
111
123
  * ```
@@ -73,6 +73,22 @@ export interface CreateDatasetImportJobCommandOutput extends CreateDatasetImport
73
73
  * import { PersonalizeClient, CreateDatasetImportJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
74
74
  * // const { PersonalizeClient, CreateDatasetImportJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
75
75
  * const client = new PersonalizeClient(config);
76
+ * const input = { // CreateDatasetImportJobRequest
77
+ * jobName: "STRING_VALUE", // required
78
+ * datasetArn: "STRING_VALUE", // required
79
+ * dataSource: { // DataSource
80
+ * dataLocation: "STRING_VALUE",
81
+ * },
82
+ * roleArn: "STRING_VALUE", // required
83
+ * tags: [ // Tags
84
+ * { // Tag
85
+ * tagKey: "STRING_VALUE", // required
86
+ * tagValue: "STRING_VALUE", // required
87
+ * },
88
+ * ],
89
+ * importMode: "FULL" || "INCREMENTAL",
90
+ * publishAttributionMetricsToS3: true || false,
91
+ * };
76
92
  * const command = new CreateDatasetImportJobCommand(input);
77
93
  * const response = await client.send(command);
78
94
  * ```
@@ -71,6 +71,16 @@ export interface CreateEventTrackerCommandOutput extends CreateEventTrackerRespo
71
71
  * import { PersonalizeClient, CreateEventTrackerCommand } from "@aws-sdk/client-personalize"; // ES Modules import
72
72
  * // const { PersonalizeClient, CreateEventTrackerCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
73
73
  * const client = new PersonalizeClient(config);
74
+ * const input = { // CreateEventTrackerRequest
75
+ * name: "STRING_VALUE", // required
76
+ * datasetGroupArn: "STRING_VALUE", // required
77
+ * tags: [ // Tags
78
+ * { // Tag
79
+ * tagKey: "STRING_VALUE", // required
80
+ * tagValue: "STRING_VALUE", // required
81
+ * },
82
+ * ],
83
+ * };
74
84
  * const command = new CreateEventTrackerCommand(input);
75
85
  * const response = await client.send(command);
76
86
  * ```
@@ -26,6 +26,17 @@ export interface CreateFilterCommandOutput extends CreateFilterResponse, __Metad
26
26
  * import { PersonalizeClient, CreateFilterCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, CreateFilterCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // CreateFilterRequest
30
+ * name: "STRING_VALUE", // required
31
+ * datasetGroupArn: "STRING_VALUE", // required
32
+ * filterExpression: "STRING_VALUE", // required
33
+ * tags: [ // Tags
34
+ * { // Tag
35
+ * tagKey: "STRING_VALUE", // required
36
+ * tagValue: "STRING_VALUE", // required
37
+ * },
38
+ * ],
39
+ * };
29
40
  * const command = new CreateFilterCommand(input);
30
41
  * const response = await client.send(command);
31
42
  * ```
@@ -28,6 +28,24 @@ export interface CreateMetricAttributionCommandOutput extends CreateMetricAttrib
28
28
  * import { PersonalizeClient, CreateMetricAttributionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
29
29
  * // const { PersonalizeClient, CreateMetricAttributionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
30
30
  * const client = new PersonalizeClient(config);
31
+ * const input = { // CreateMetricAttributionRequest
32
+ * name: "STRING_VALUE", // required
33
+ * datasetGroupArn: "STRING_VALUE", // required
34
+ * metrics: [ // MetricAttributes // required
35
+ * { // MetricAttribute
36
+ * eventType: "STRING_VALUE", // required
37
+ * metricName: "STRING_VALUE", // required
38
+ * expression: "STRING_VALUE", // required
39
+ * },
40
+ * ],
41
+ * metricsOutputConfig: { // MetricAttributionOutput
42
+ * s3DataDestination: { // S3DataConfig
43
+ * path: "STRING_VALUE", // required
44
+ * kmsKeyArn: "STRING_VALUE",
45
+ * },
46
+ * roleArn: "STRING_VALUE", // required
47
+ * },
48
+ * };
31
49
  * const command = new CreateMetricAttributionCommand(input);
32
50
  * const response = await client.send(command);
33
51
  * ```
@@ -101,6 +101,23 @@ export interface CreateRecommenderCommandOutput extends CreateRecommenderRespons
101
101
  * import { PersonalizeClient, CreateRecommenderCommand } from "@aws-sdk/client-personalize"; // ES Modules import
102
102
  * // const { PersonalizeClient, CreateRecommenderCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
103
103
  * const client = new PersonalizeClient(config);
104
+ * const input = { // CreateRecommenderRequest
105
+ * name: "STRING_VALUE", // required
106
+ * datasetGroupArn: "STRING_VALUE", // required
107
+ * recipeArn: "STRING_VALUE", // required
108
+ * recommenderConfig: { // RecommenderConfig
109
+ * itemExplorationConfig: { // HyperParameters
110
+ * "<keys>": "STRING_VALUE",
111
+ * },
112
+ * minRecommendationRequestsPerSecond: Number("int"),
113
+ * },
114
+ * tags: [ // Tags
115
+ * { // Tag
116
+ * tagKey: "STRING_VALUE", // required
117
+ * tagValue: "STRING_VALUE", // required
118
+ * },
119
+ * ],
120
+ * };
104
121
  * const command = new CreateRecommenderCommand(input);
105
122
  * const response = await client.send(command);
106
123
  * ```
@@ -52,6 +52,11 @@ export interface CreateSchemaCommandOutput extends CreateSchemaResponse, __Metad
52
52
  * import { PersonalizeClient, CreateSchemaCommand } from "@aws-sdk/client-personalize"; // ES Modules import
53
53
  * // const { PersonalizeClient, CreateSchemaCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
54
54
  * const client = new PersonalizeClient(config);
55
+ * const input = { // CreateSchemaRequest
56
+ * name: "STRING_VALUE", // required
57
+ * schema: "STRING_VALUE", // required
58
+ * domain: "ECOMMERCE" || "VIDEO_ON_DEMAND",
59
+ * };
55
60
  * const command = new CreateSchemaCommand(input);
56
61
  * const response = await client.send(command);
57
62
  * ```
@@ -98,6 +98,74 @@ export interface CreateSolutionCommandOutput extends CreateSolutionResponse, __M
98
98
  * import { PersonalizeClient, CreateSolutionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
99
99
  * // const { PersonalizeClient, CreateSolutionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
100
100
  * const client = new PersonalizeClient(config);
101
+ * const input = { // CreateSolutionRequest
102
+ * name: "STRING_VALUE", // required
103
+ * performHPO: true || false,
104
+ * performAutoML: true || false,
105
+ * recipeArn: "STRING_VALUE",
106
+ * datasetGroupArn: "STRING_VALUE", // required
107
+ * eventType: "STRING_VALUE",
108
+ * solutionConfig: { // SolutionConfig
109
+ * eventValueThreshold: "STRING_VALUE",
110
+ * hpoConfig: { // HPOConfig
111
+ * hpoObjective: { // HPOObjective
112
+ * type: "STRING_VALUE",
113
+ * metricName: "STRING_VALUE",
114
+ * metricRegex: "STRING_VALUE",
115
+ * },
116
+ * hpoResourceConfig: { // HPOResourceConfig
117
+ * maxNumberOfTrainingJobs: "STRING_VALUE",
118
+ * maxParallelTrainingJobs: "STRING_VALUE",
119
+ * },
120
+ * algorithmHyperParameterRanges: { // HyperParameterRanges
121
+ * integerHyperParameterRanges: [ // IntegerHyperParameterRanges
122
+ * { // IntegerHyperParameterRange
123
+ * name: "STRING_VALUE",
124
+ * minValue: Number("int"),
125
+ * maxValue: Number("int"),
126
+ * },
127
+ * ],
128
+ * continuousHyperParameterRanges: [ // ContinuousHyperParameterRanges
129
+ * { // ContinuousHyperParameterRange
130
+ * name: "STRING_VALUE",
131
+ * minValue: Number("double"),
132
+ * maxValue: Number("double"),
133
+ * },
134
+ * ],
135
+ * categoricalHyperParameterRanges: [ // CategoricalHyperParameterRanges
136
+ * { // CategoricalHyperParameterRange
137
+ * name: "STRING_VALUE",
138
+ * values: [ // CategoricalValues
139
+ * "STRING_VALUE",
140
+ * ],
141
+ * },
142
+ * ],
143
+ * },
144
+ * },
145
+ * algorithmHyperParameters: { // HyperParameters
146
+ * "<keys>": "STRING_VALUE",
147
+ * },
148
+ * featureTransformationParameters: { // FeatureTransformationParameters
149
+ * "<keys>": "STRING_VALUE",
150
+ * },
151
+ * autoMLConfig: { // AutoMLConfig
152
+ * metricName: "STRING_VALUE",
153
+ * recipeList: [ // ArnList
154
+ * "STRING_VALUE",
155
+ * ],
156
+ * },
157
+ * optimizationObjective: { // OptimizationObjective
158
+ * itemAttribute: "STRING_VALUE",
159
+ * objectiveSensitivity: "LOW" || "MEDIUM" || "HIGH" || "OFF",
160
+ * },
161
+ * },
162
+ * tags: [ // Tags
163
+ * { // Tag
164
+ * tagKey: "STRING_VALUE", // required
165
+ * tagValue: "STRING_VALUE", // required
166
+ * },
167
+ * ],
168
+ * };
101
169
  * const command = new CreateSolutionCommand(input);
102
170
  * const response = await client.send(command);
103
171
  * ```
@@ -92,6 +92,17 @@ export interface CreateSolutionVersionCommandOutput extends CreateSolutionVersio
92
92
  * import { PersonalizeClient, CreateSolutionVersionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
93
93
  * // const { PersonalizeClient, CreateSolutionVersionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
94
94
  * const client = new PersonalizeClient(config);
95
+ * const input = { // CreateSolutionVersionRequest
96
+ * name: "STRING_VALUE",
97
+ * solutionArn: "STRING_VALUE", // required
98
+ * trainingMode: "FULL" || "UPDATE",
99
+ * tags: [ // Tags
100
+ * { // Tag
101
+ * tagKey: "STRING_VALUE", // required
102
+ * tagValue: "STRING_VALUE", // required
103
+ * },
104
+ * ],
105
+ * };
95
106
  * const command = new CreateSolutionVersionCommand(input);
96
107
  * const response = await client.send(command);
97
108
  * ```
@@ -31,6 +31,9 @@ export interface DeleteCampaignCommandOutput extends __MetadataBearer {
31
31
  * import { PersonalizeClient, DeleteCampaignCommand } from "@aws-sdk/client-personalize"; // ES Modules import
32
32
  * // const { PersonalizeClient, DeleteCampaignCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
33
33
  * const client = new PersonalizeClient(config);
34
+ * const input = { // DeleteCampaignRequest
35
+ * campaignArn: "STRING_VALUE", // required
36
+ * };
34
37
  * const command = new DeleteCampaignCommand(input);
35
38
  * const response = await client.send(command);
36
39
  * ```
@@ -29,6 +29,9 @@ export interface DeleteDatasetCommandOutput extends __MetadataBearer {
29
29
  * import { PersonalizeClient, DeleteDatasetCommand } from "@aws-sdk/client-personalize"; // ES Modules import
30
30
  * // const { PersonalizeClient, DeleteDatasetCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
31
31
  * const client = new PersonalizeClient(config);
32
+ * const input = { // DeleteDatasetRequest
33
+ * datasetArn: "STRING_VALUE", // required
34
+ * };
32
35
  * const command = new DeleteDatasetCommand(input);
33
36
  * const response = await client.send(command);
34
37
  * ```
@@ -38,6 +38,9 @@ export interface DeleteDatasetGroupCommandOutput extends __MetadataBearer {
38
38
  * import { PersonalizeClient, DeleteDatasetGroupCommand } from "@aws-sdk/client-personalize"; // ES Modules import
39
39
  * // const { PersonalizeClient, DeleteDatasetGroupCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
40
40
  * const client = new PersonalizeClient(config);
41
+ * const input = { // DeleteDatasetGroupRequest
42
+ * datasetGroupArn: "STRING_VALUE", // required
43
+ * };
41
44
  * const command = new DeleteDatasetGroupCommand(input);
42
45
  * const response = await client.send(command);
43
46
  * ```
@@ -28,6 +28,9 @@ export interface DeleteEventTrackerCommandOutput extends __MetadataBearer {
28
28
  * import { PersonalizeClient, DeleteEventTrackerCommand } from "@aws-sdk/client-personalize"; // ES Modules import
29
29
  * // const { PersonalizeClient, DeleteEventTrackerCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
30
30
  * const client = new PersonalizeClient(config);
31
+ * const input = { // DeleteEventTrackerRequest
32
+ * eventTrackerArn: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new DeleteEventTrackerCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -26,6 +26,9 @@ export interface DeleteFilterCommandOutput extends __MetadataBearer {
26
26
  * import { PersonalizeClient, DeleteFilterCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, DeleteFilterCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // DeleteFilterRequest
30
+ * filterArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteFilterCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DeleteMetricAttributionCommandOutput extends __MetadataBearer {
26
26
  * import { PersonalizeClient, DeleteMetricAttributionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, DeleteMetricAttributionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // DeleteMetricAttributionRequest
30
+ * metricAttributionArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteMetricAttributionCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,9 @@ export interface DeleteRecommenderCommandOutput extends __MetadataBearer {
27
27
  * import { PersonalizeClient, DeleteRecommenderCommand } from "@aws-sdk/client-personalize"; // ES Modules import
28
28
  * // const { PersonalizeClient, DeleteRecommenderCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
29
29
  * const client = new PersonalizeClient(config);
30
+ * const input = { // DeleteRecommenderRequest
31
+ * recommenderArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DeleteRecommenderCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -28,6 +28,9 @@ export interface DeleteSchemaCommandOutput extends __MetadataBearer {
28
28
  * import { PersonalizeClient, DeleteSchemaCommand } from "@aws-sdk/client-personalize"; // ES Modules import
29
29
  * // const { PersonalizeClient, DeleteSchemaCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
30
30
  * const client = new PersonalizeClient(config);
31
+ * const input = { // DeleteSchemaRequest
32
+ * schemaArn: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new DeleteSchemaCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -32,6 +32,9 @@ export interface DeleteSolutionCommandOutput extends __MetadataBearer {
32
32
  * import { PersonalizeClient, DeleteSolutionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
33
33
  * // const { PersonalizeClient, DeleteSolutionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
34
34
  * const client = new PersonalizeClient(config);
35
+ * const input = { // DeleteSolutionRequest
36
+ * solutionArn: "STRING_VALUE", // required
37
+ * };
35
38
  * const command = new DeleteSolutionCommand(input);
36
39
  * const response = await client.send(command);
37
40
  * ```
@@ -26,6 +26,9 @@ export interface DescribeAlgorithmCommandOutput extends DescribeAlgorithmRespons
26
26
  * import { PersonalizeClient, DescribeAlgorithmCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, DescribeAlgorithmCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // DescribeAlgorithmRequest
30
+ * algorithmArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeAlgorithmCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -28,6 +28,9 @@ export interface DescribeBatchInferenceJobCommandOutput extends DescribeBatchInf
28
28
  * import { PersonalizeClient, DescribeBatchInferenceJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
29
29
  * // const { PersonalizeClient, DescribeBatchInferenceJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
30
30
  * const client = new PersonalizeClient(config);
31
+ * const input = { // DescribeBatchInferenceJobRequest
32
+ * batchInferenceJobArn: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new DescribeBatchInferenceJobCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -28,6 +28,9 @@ export interface DescribeBatchSegmentJobCommandOutput extends DescribeBatchSegme
28
28
  * import { PersonalizeClient, DescribeBatchSegmentJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
29
29
  * // const { PersonalizeClient, DescribeBatchSegmentJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
30
30
  * const client = new PersonalizeClient(config);
31
+ * const input = { // DescribeBatchSegmentJobRequest
32
+ * batchSegmentJobArn: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new DescribeBatchSegmentJobCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -38,6 +38,9 @@ export interface DescribeCampaignCommandOutput extends DescribeCampaignResponse,
38
38
  * import { PersonalizeClient, DescribeCampaignCommand } from "@aws-sdk/client-personalize"; // ES Modules import
39
39
  * // const { PersonalizeClient, DescribeCampaignCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
40
40
  * const client = new PersonalizeClient(config);
41
+ * const input = { // DescribeCampaignRequest
42
+ * campaignArn: "STRING_VALUE", // required
43
+ * };
41
44
  * const command = new DescribeCampaignCommand(input);
42
45
  * const response = await client.send(command);
43
46
  * ```
@@ -27,6 +27,9 @@ export interface DescribeDatasetCommandOutput extends DescribeDatasetResponse, _
27
27
  * import { PersonalizeClient, DescribeDatasetCommand } from "@aws-sdk/client-personalize"; // ES Modules import
28
28
  * // const { PersonalizeClient, DescribeDatasetCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
29
29
  * const client = new PersonalizeClient(config);
30
+ * const input = { // DescribeDatasetRequest
31
+ * datasetArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DescribeDatasetCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -26,6 +26,9 @@ export interface DescribeDatasetExportJobCommandOutput extends DescribeDatasetEx
26
26
  * import { PersonalizeClient, DescribeDatasetExportJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, DescribeDatasetExportJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // DescribeDatasetExportJobRequest
30
+ * datasetExportJobArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeDatasetExportJobCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,9 @@ export interface DescribeDatasetGroupCommandOutput extends DescribeDatasetGroupR
27
27
  * import { PersonalizeClient, DescribeDatasetGroupCommand } from "@aws-sdk/client-personalize"; // ES Modules import
28
28
  * // const { PersonalizeClient, DescribeDatasetGroupCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
29
29
  * const client = new PersonalizeClient(config);
30
+ * const input = { // DescribeDatasetGroupRequest
31
+ * datasetGroupArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DescribeDatasetGroupCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -26,6 +26,9 @@ export interface DescribeDatasetImportJobCommandOutput extends DescribeDatasetIm
26
26
  * import { PersonalizeClient, DescribeDatasetImportJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, DescribeDatasetImportJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // DescribeDatasetImportJobRequest
30
+ * datasetImportJobArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeDatasetImportJobCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -28,6 +28,9 @@ export interface DescribeEventTrackerCommandOutput extends DescribeEventTrackerR
28
28
  * import { PersonalizeClient, DescribeEventTrackerCommand } from "@aws-sdk/client-personalize"; // ES Modules import
29
29
  * // const { PersonalizeClient, DescribeEventTrackerCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
30
30
  * const client = new PersonalizeClient(config);
31
+ * const input = { // DescribeEventTrackerRequest
32
+ * eventTrackerArn: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new DescribeEventTrackerCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -26,6 +26,9 @@ export interface DescribeFeatureTransformationCommandOutput extends DescribeFeat
26
26
  * import { PersonalizeClient, DescribeFeatureTransformationCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, DescribeFeatureTransformationCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // DescribeFeatureTransformationRequest
30
+ * featureTransformationArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeFeatureTransformationCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DescribeFilterCommandOutput extends DescribeFilterResponse, __M
26
26
  * import { PersonalizeClient, DescribeFilterCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, DescribeFilterCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // DescribeFilterRequest
30
+ * filterArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeFilterCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DescribeMetricAttributionCommandOutput extends DescribeMetricAt
26
26
  * import { PersonalizeClient, DescribeMetricAttributionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, DescribeMetricAttributionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // DescribeMetricAttributionRequest
30
+ * metricAttributionArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeMetricAttributionCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -44,6 +44,9 @@ export interface DescribeRecipeCommandOutput extends DescribeRecipeResponse, __M
44
44
  * import { PersonalizeClient, DescribeRecipeCommand } from "@aws-sdk/client-personalize"; // ES Modules import
45
45
  * // const { PersonalizeClient, DescribeRecipeCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
46
46
  * const client = new PersonalizeClient(config);
47
+ * const input = { // DescribeRecipeRequest
48
+ * recipeArn: "STRING_VALUE", // required
49
+ * };
47
50
  * const command = new DescribeRecipeCommand(input);
48
51
  * const response = await client.send(command);
49
52
  * ```
@@ -43,6 +43,9 @@ export interface DescribeRecommenderCommandOutput extends DescribeRecommenderRes
43
43
  * import { PersonalizeClient, DescribeRecommenderCommand } from "@aws-sdk/client-personalize"; // ES Modules import
44
44
  * // const { PersonalizeClient, DescribeRecommenderCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
45
45
  * const client = new PersonalizeClient(config);
46
+ * const input = { // DescribeRecommenderRequest
47
+ * recommenderArn: "STRING_VALUE", // required
48
+ * };
46
49
  * const command = new DescribeRecommenderCommand(input);
47
50
  * const response = await client.send(command);
48
51
  * ```
@@ -27,6 +27,9 @@ export interface DescribeSchemaCommandOutput extends DescribeSchemaResponse, __M
27
27
  * import { PersonalizeClient, DescribeSchemaCommand } from "@aws-sdk/client-personalize"; // ES Modules import
28
28
  * // const { PersonalizeClient, DescribeSchemaCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
29
29
  * const client = new PersonalizeClient(config);
30
+ * const input = { // DescribeSchemaRequest
31
+ * schemaArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DescribeSchemaCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -27,6 +27,9 @@ export interface DescribeSolutionCommandOutput extends DescribeSolutionResponse,
27
27
  * import { PersonalizeClient, DescribeSolutionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
28
28
  * // const { PersonalizeClient, DescribeSolutionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
29
29
  * const client = new PersonalizeClient(config);
30
+ * const input = { // DescribeSolutionRequest
31
+ * solutionArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DescribeSolutionCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -27,6 +27,9 @@ export interface DescribeSolutionVersionCommandOutput extends DescribeSolutionVe
27
27
  * import { PersonalizeClient, DescribeSolutionVersionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
28
28
  * // const { PersonalizeClient, DescribeSolutionVersionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
29
29
  * const client = new PersonalizeClient(config);
30
+ * const input = { // DescribeSolutionVersionRequest
31
+ * solutionVersionArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DescribeSolutionVersionCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -26,6 +26,9 @@ export interface GetSolutionMetricsCommandOutput extends GetSolutionMetricsRespo
26
26
  * import { PersonalizeClient, GetSolutionMetricsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, GetSolutionMetricsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // GetSolutionMetricsRequest
30
+ * solutionVersionArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetSolutionMetricsCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,11 @@ export interface ListBatchInferenceJobsCommandOutput extends ListBatchInferenceJ
27
27
  * import { PersonalizeClient, ListBatchInferenceJobsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
28
28
  * // const { PersonalizeClient, ListBatchInferenceJobsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
29
29
  * const client = new PersonalizeClient(config);
30
+ * const input = { // ListBatchInferenceJobsRequest
31
+ * solutionVersionArn: "STRING_VALUE",
32
+ * nextToken: "STRING_VALUE",
33
+ * maxResults: Number("int"),
34
+ * };
30
35
  * const command = new ListBatchInferenceJobsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,11 @@ export interface ListBatchSegmentJobsCommandOutput extends ListBatchSegmentJobsR
27
27
  * import { PersonalizeClient, ListBatchSegmentJobsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
28
28
  * // const { PersonalizeClient, ListBatchSegmentJobsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
29
29
  * const client = new PersonalizeClient(config);
30
+ * const input = { // ListBatchSegmentJobsRequest
31
+ * solutionVersionArn: "STRING_VALUE",
32
+ * nextToken: "STRING_VALUE",
33
+ * maxResults: Number("int"),
34
+ * };
30
35
  * const command = new ListBatchSegmentJobsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -29,6 +29,11 @@ export interface ListCampaignsCommandOutput extends ListCampaignsResponse, __Met
29
29
  * import { PersonalizeClient, ListCampaignsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
30
30
  * // const { PersonalizeClient, ListCampaignsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
31
31
  * const client = new PersonalizeClient(config);
32
+ * const input = { // ListCampaignsRequest
33
+ * solutionArn: "STRING_VALUE",
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
32
37
  * const command = new ListCampaignsCommand(input);
33
38
  * const response = await client.send(command);
34
39
  * ```
@@ -31,6 +31,11 @@ export interface ListDatasetExportJobsCommandOutput extends ListDatasetExportJob
31
31
  * import { PersonalizeClient, ListDatasetExportJobsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
32
32
  * // const { PersonalizeClient, ListDatasetExportJobsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
33
33
  * const client = new PersonalizeClient(config);
34
+ * const input = { // ListDatasetExportJobsRequest
35
+ * datasetArn: "STRING_VALUE",
36
+ * nextToken: "STRING_VALUE",
37
+ * maxResults: Number("int"),
38
+ * };
34
39
  * const command = new ListDatasetExportJobsCommand(input);
35
40
  * const response = await client.send(command);
36
41
  * ```
@@ -28,6 +28,10 @@ export interface ListDatasetGroupsCommandOutput extends ListDatasetGroupsRespons
28
28
  * import { PersonalizeClient, ListDatasetGroupsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
29
29
  * // const { PersonalizeClient, ListDatasetGroupsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
30
30
  * const client = new PersonalizeClient(config);
31
+ * const input = { // ListDatasetGroupsRequest
32
+ * nextToken: "STRING_VALUE",
33
+ * maxResults: Number("int"),
34
+ * };
31
35
  * const command = new ListDatasetGroupsCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -31,6 +31,11 @@ export interface ListDatasetImportJobsCommandOutput extends ListDatasetImportJob
31
31
  * import { PersonalizeClient, ListDatasetImportJobsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
32
32
  * // const { PersonalizeClient, ListDatasetImportJobsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
33
33
  * const client = new PersonalizeClient(config);
34
+ * const input = { // ListDatasetImportJobsRequest
35
+ * datasetArn: "STRING_VALUE",
36
+ * nextToken: "STRING_VALUE",
37
+ * maxResults: Number("int"),
38
+ * };
34
39
  * const command = new ListDatasetImportJobsCommand(input);
35
40
  * const response = await client.send(command);
36
41
  * ```
@@ -28,6 +28,11 @@ export interface ListDatasetsCommandOutput extends ListDatasetsResponse, __Metad
28
28
  * import { PersonalizeClient, ListDatasetsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
29
29
  * // const { PersonalizeClient, ListDatasetsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
30
30
  * const client = new PersonalizeClient(config);
31
+ * const input = { // ListDatasetsRequest
32
+ * datasetGroupArn: "STRING_VALUE",
33
+ * nextToken: "STRING_VALUE",
34
+ * maxResults: Number("int"),
35
+ * };
31
36
  * const command = new ListDatasetsCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -29,6 +29,11 @@ export interface ListEventTrackersCommandOutput extends ListEventTrackersRespons
29
29
  * import { PersonalizeClient, ListEventTrackersCommand } from "@aws-sdk/client-personalize"; // ES Modules import
30
30
  * // const { PersonalizeClient, ListEventTrackersCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
31
31
  * const client = new PersonalizeClient(config);
32
+ * const input = { // ListEventTrackersRequest
33
+ * datasetGroupArn: "STRING_VALUE",
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
32
37
  * const command = new ListEventTrackersCommand(input);
33
38
  * const response = await client.send(command);
34
39
  * ```
@@ -26,6 +26,11 @@ export interface ListFiltersCommandOutput extends ListFiltersResponse, __Metadat
26
26
  * import { PersonalizeClient, ListFiltersCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, ListFiltersCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // ListFiltersRequest
30
+ * datasetGroupArn: "STRING_VALUE",
31
+ * nextToken: "STRING_VALUE",
32
+ * maxResults: Number("int"),
33
+ * };
29
34
  * const command = new ListFiltersCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface ListMetricAttributionMetricsCommandOutput extends ListMetricAtt
26
26
  * import { PersonalizeClient, ListMetricAttributionMetricsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, ListMetricAttributionMetricsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // ListMetricAttributionMetricsRequest
30
+ * metricAttributionArn: "STRING_VALUE",
31
+ * nextToken: "STRING_VALUE",
32
+ * maxResults: Number("int"),
33
+ * };
29
34
  * const command = new ListMetricAttributionMetricsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface ListMetricAttributionsCommandOutput extends ListMetricAttributi
26
26
  * import { PersonalizeClient, ListMetricAttributionsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, ListMetricAttributionsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // ListMetricAttributionsRequest
30
+ * datasetGroupArn: "STRING_VALUE",
31
+ * nextToken: "STRING_VALUE",
32
+ * maxResults: Number("int"),
33
+ * };
29
34
  * const command = new ListMetricAttributionsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,12 @@ export interface ListRecipesCommandOutput extends ListRecipesResponse, __Metadat
27
27
  * import { PersonalizeClient, ListRecipesCommand } from "@aws-sdk/client-personalize"; // ES Modules import
28
28
  * // const { PersonalizeClient, ListRecipesCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
29
29
  * const client = new PersonalizeClient(config);
30
+ * const input = { // ListRecipesRequest
31
+ * recipeProvider: "SERVICE",
32
+ * nextToken: "STRING_VALUE",
33
+ * maxResults: Number("int"),
34
+ * domain: "ECOMMERCE" || "VIDEO_ON_DEMAND",
35
+ * };
30
36
  * const command = new ListRecipesCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -29,6 +29,11 @@ export interface ListRecommendersCommandOutput extends ListRecommendersResponse,
29
29
  * import { PersonalizeClient, ListRecommendersCommand } from "@aws-sdk/client-personalize"; // ES Modules import
30
30
  * // const { PersonalizeClient, ListRecommendersCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
31
31
  * const client = new PersonalizeClient(config);
32
+ * const input = { // ListRecommendersRequest
33
+ * datasetGroupArn: "STRING_VALUE",
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
32
37
  * const command = new ListRecommendersCommand(input);
33
38
  * const response = await client.send(command);
34
39
  * ```
@@ -28,6 +28,10 @@ export interface ListSchemasCommandOutput extends ListSchemasResponse, __Metadat
28
28
  * import { PersonalizeClient, ListSchemasCommand } from "@aws-sdk/client-personalize"; // ES Modules import
29
29
  * // const { PersonalizeClient, ListSchemasCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
30
30
  * const client = new PersonalizeClient(config);
31
+ * const input = { // ListSchemasRequest
32
+ * nextToken: "STRING_VALUE",
33
+ * maxResults: Number("int"),
34
+ * };
31
35
  * const command = new ListSchemasCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -28,6 +28,11 @@ export interface ListSolutionVersionsCommandOutput extends ListSolutionVersionsR
28
28
  * import { PersonalizeClient, ListSolutionVersionsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
29
29
  * // const { PersonalizeClient, ListSolutionVersionsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
30
30
  * const client = new PersonalizeClient(config);
31
+ * const input = { // ListSolutionVersionsRequest
32
+ * solutionArn: "STRING_VALUE",
33
+ * nextToken: "STRING_VALUE",
34
+ * maxResults: Number("int"),
35
+ * };
31
36
  * const command = new ListSolutionVersionsCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -29,6 +29,11 @@ export interface ListSolutionsCommandOutput extends ListSolutionsResponse, __Met
29
29
  * import { PersonalizeClient, ListSolutionsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
30
30
  * // const { PersonalizeClient, ListSolutionsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
31
31
  * const client = new PersonalizeClient(config);
32
+ * const input = { // ListSolutionsRequest
33
+ * datasetGroupArn: "STRING_VALUE",
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
32
37
  * const command = new ListSolutionsCommand(input);
33
38
  * const response = await client.send(command);
34
39
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { PersonalizeClient, ListTagsForResourceCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, ListTagsForResourceCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // ListTagsForResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,9 @@ export interface StartRecommenderCommandOutput extends StartRecommenderResponse,
27
27
  * import { PersonalizeClient, StartRecommenderCommand } from "@aws-sdk/client-personalize"; // ES Modules import
28
28
  * // const { PersonalizeClient, StartRecommenderCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
29
29
  * const client = new PersonalizeClient(config);
30
+ * const input = { // StartRecommenderRequest
31
+ * recommenderArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new StartRecommenderCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -26,6 +26,9 @@ export interface StopRecommenderCommandOutput extends StopRecommenderResponse, _
26
26
  * import { PersonalizeClient, StopRecommenderCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, StopRecommenderCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // StopRecommenderRequest
30
+ * recommenderArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new StopRecommenderCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -39,6 +39,9 @@ export interface StopSolutionVersionCreationCommandOutput extends __MetadataBear
39
39
  * import { PersonalizeClient, StopSolutionVersionCreationCommand } from "@aws-sdk/client-personalize"; // ES Modules import
40
40
  * // const { PersonalizeClient, StopSolutionVersionCreationCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
41
41
  * const client = new PersonalizeClient(config);
42
+ * const input = { // StopSolutionVersionCreationRequest
43
+ * solutionVersionArn: "STRING_VALUE", // required
44
+ * };
42
45
  * const command = new StopSolutionVersionCreationCommand(input);
43
46
  * const response = await client.send(command);
44
47
  * ```
@@ -26,6 +26,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { PersonalizeClient, TagResourceCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, TagResourceCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // TagResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tags: [ // Tags // required
32
+ * { // Tag
33
+ * tagKey: "STRING_VALUE", // required
34
+ * tagValue: "STRING_VALUE", // required
35
+ * },
36
+ * ],
37
+ * };
29
38
  * const command = new TagResourceCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { PersonalizeClient, UntagResourceCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, UntagResourceCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // UntagResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tagKeys: [ // TagKeys // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -37,6 +37,16 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
37
37
  * import { PersonalizeClient, UpdateCampaignCommand } from "@aws-sdk/client-personalize"; // ES Modules import
38
38
  * // const { PersonalizeClient, UpdateCampaignCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
39
39
  * const client = new PersonalizeClient(config);
40
+ * const input = { // UpdateCampaignRequest
41
+ * campaignArn: "STRING_VALUE", // required
42
+ * solutionVersionArn: "STRING_VALUE",
43
+ * minProvisionedTPS: Number("int"),
44
+ * campaignConfig: { // CampaignConfig
45
+ * itemExplorationConfig: { // HyperParameters
46
+ * "<keys>": "STRING_VALUE",
47
+ * },
48
+ * },
49
+ * };
40
50
  * const command = new UpdateCampaignCommand(input);
41
51
  * const response = await client.send(command);
42
52
  * ```
@@ -26,6 +26,26 @@ export interface UpdateMetricAttributionCommandOutput extends UpdateMetricAttrib
26
26
  * import { PersonalizeClient, UpdateMetricAttributionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, UpdateMetricAttributionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // UpdateMetricAttributionRequest
30
+ * addMetrics: [ // MetricAttributes
31
+ * { // MetricAttribute
32
+ * eventType: "STRING_VALUE", // required
33
+ * metricName: "STRING_VALUE", // required
34
+ * expression: "STRING_VALUE", // required
35
+ * },
36
+ * ],
37
+ * removeMetrics: [ // MetricAttributesNamesList
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * metricsOutputConfig: { // MetricAttributionOutput
41
+ * s3DataDestination: { // S3DataConfig
42
+ * path: "STRING_VALUE", // required
43
+ * kmsKeyArn: "STRING_VALUE",
44
+ * },
45
+ * roleArn: "STRING_VALUE", // required
46
+ * },
47
+ * metricAttributionArn: "STRING_VALUE",
48
+ * };
29
49
  * const command = new UpdateMetricAttributionCommand(input);
30
50
  * const response = await client.send(command);
31
51
  * ```
@@ -26,6 +26,15 @@ export interface UpdateRecommenderCommandOutput extends UpdateRecommenderRespons
26
26
  * import { PersonalizeClient, UpdateRecommenderCommand } from "@aws-sdk/client-personalize"; // ES Modules import
27
27
  * // const { PersonalizeClient, UpdateRecommenderCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
28
28
  * const client = new PersonalizeClient(config);
29
+ * const input = { // UpdateRecommenderRequest
30
+ * recommenderArn: "STRING_VALUE", // required
31
+ * recommenderConfig: { // RecommenderConfig
32
+ * itemExplorationConfig: { // HyperParameters
33
+ * "<keys>": "STRING_VALUE",
34
+ * },
35
+ * minRecommendationRequestsPerSecond: Number("int"),
36
+ * },
37
+ * };
29
38
  * const command = new UpdateRecommenderCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-personalize",
3
3
  "description": "AWS SDK for JavaScript Personalize Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },