@aws-sdk/client-personalize 3.427.0 → 3.429.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.
@@ -622,7 +622,7 @@ export interface CreateDatasetExportJobRequest {
622
622
  * <code>ALL</code> for both types. The default value is <code>PUT</code>.
623
623
  * </p>
624
624
  */
625
- ingestionMode?: IngestionMode | string;
625
+ ingestionMode?: IngestionMode;
626
626
  /**
627
627
  * @public
628
628
  * <p>The Amazon Resource Name (ARN) of the IAM service role that has
@@ -692,7 +692,7 @@ export interface CreateDatasetGroupRequest {
692
692
  * don't specify a domain, you create a Custom dataset group with solution
693
693
  * versions that you deploy with a campaign. </p>
694
694
  */
695
- domain?: Domain | string;
695
+ domain?: Domain;
696
696
  /**
697
697
  * @public
698
698
  * <p>A list of <a href="https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html">tags</a> to apply to the dataset group.</p>
@@ -712,7 +712,7 @@ export interface CreateDatasetGroupResponse {
712
712
  * @public
713
713
  * <p>The domain for the new Domain dataset group.</p>
714
714
  */
715
- domain?: Domain | string;
715
+ domain?: Domain;
716
716
  }
717
717
  /**
718
718
  * @public
@@ -789,7 +789,7 @@ export interface CreateDatasetImportJobRequest {
789
789
  * </li>
790
790
  * </ul>
791
791
  */
792
- importMode?: ImportMode | string;
792
+ importMode?: ImportMode;
793
793
  /**
794
794
  * @public
795
795
  * <p>If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3</p>
@@ -1059,7 +1059,7 @@ export interface CreateSchemaRequest {
1059
1059
  * <p>The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify
1060
1060
  * the domain you chose when you created the Domain dataset group.</p>
1061
1061
  */
1062
- domain?: Domain | string;
1062
+ domain?: Domain;
1063
1063
  }
1064
1064
  /**
1065
1065
  * @public
@@ -1275,7 +1275,7 @@ export interface OptimizationObjective {
1275
1275
  * @public
1276
1276
  * <p>Specifies how Amazon Personalize balances the importance of your optimization objective versus relevance.</p>
1277
1277
  */
1278
- objectiveSensitivity?: ObjectiveSensitivity | string;
1278
+ objectiveSensitivity?: ObjectiveSensitivity;
1279
1279
  }
1280
1280
  /**
1281
1281
  * @public
@@ -1446,7 +1446,7 @@ export interface CreateSolutionVersionRequest {
1446
1446
  * <a href="https://docs.aws.amazon.com/personalize/latest/dg/native-recipe-hrnn-coldstart.html">HRNN-Coldstart</a> recipe.</p>
1447
1447
  * </important>
1448
1448
  */
1449
- trainingMode?: TrainingMode | string;
1449
+ trainingMode?: TrainingMode;
1450
1450
  /**
1451
1451
  * @public
1452
1452
  * <p>A list of <a href="https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html">tags</a> to apply to the solution version.</p>
@@ -2093,7 +2093,7 @@ export interface DatasetExportJob {
2093
2093
  * console, PutEvents, PutUsers and PutItems operations), or <code>ALL</code>
2094
2094
  * for both types. The default value is <code>PUT</code>. </p>
2095
2095
  */
2096
- ingestionMode?: IngestionMode | string;
2096
+ ingestionMode?: IngestionMode;
2097
2097
  /**
2098
2098
  * @public
2099
2099
  * <p>The Amazon Resource Name (ARN) of the IAM service role that has
@@ -2243,7 +2243,7 @@ export interface DatasetGroup {
2243
2243
  * @public
2244
2244
  * <p>The domain of a Domain dataset group.</p>
2245
2245
  */
2246
- domain?: Domain | string;
2246
+ domain?: Domain;
2247
2247
  }
2248
2248
  /**
2249
2249
  * @public
@@ -2339,7 +2339,7 @@ export interface DatasetImportJob {
2339
2339
  * <p>The import mode used by the dataset import job to import new
2340
2340
  * records.</p>
2341
2341
  */
2342
- importMode?: ImportMode | string;
2342
+ importMode?: ImportMode;
2343
2343
  /**
2344
2344
  * @public
2345
2345
  * <p>Whether the job publishes metrics to Amazon S3 for a metric attribution.</p>
@@ -2919,7 +2919,7 @@ export interface DatasetSchema {
2919
2919
  * @public
2920
2920
  * <p>The domain of a schema that you created for a dataset in a Domain dataset group.</p>
2921
2921
  */
2922
- domain?: Domain | string;
2922
+ domain?: Domain;
2923
2923
  }
2924
2924
  /**
2925
2925
  * @public
@@ -3191,7 +3191,7 @@ export interface SolutionVersion {
3191
3191
  * <a href="https://docs.aws.amazon.com/personalize/latest/dg/native-recipe-hrnn-coldstart.html">HRNN-Coldstart</a> recipe.</p>
3192
3192
  * </important>
3193
3193
  */
3194
- trainingMode?: TrainingMode | string;
3194
+ trainingMode?: TrainingMode;
3195
3195
  /**
3196
3196
  * @public
3197
3197
  * <p>If hyperparameter optimization was performed, contains the hyperparameter values of the
@@ -3714,7 +3714,7 @@ export interface DatasetGroupSummary {
3714
3714
  * @public
3715
3715
  * <p>The domain of a Domain dataset group.</p>
3716
3716
  */
3717
- domain?: Domain | string;
3717
+ domain?: Domain;
3718
3718
  }
3719
3719
  /**
3720
3720
  * @public
@@ -3804,7 +3804,7 @@ export interface DatasetImportJobSummary {
3804
3804
  * data</a>.
3805
3805
  * </p>
3806
3806
  */
3807
- importMode?: ImportMode | string;
3807
+ importMode?: ImportMode;
3808
3808
  }
3809
3809
  /**
3810
3810
  * @public
@@ -4200,7 +4200,7 @@ export interface ListRecipesRequest {
4200
4200
  * @public
4201
4201
  * <p>The default is <code>SERVICE</code>.</p>
4202
4202
  */
4203
- recipeProvider?: RecipeProvider | string;
4203
+ recipeProvider?: RecipeProvider;
4204
4204
  /**
4205
4205
  * @public
4206
4206
  * <p>A token returned from the previous call to <code>ListRecipes</code> for getting
@@ -4219,7 +4219,7 @@ export interface ListRecipesRequest {
4219
4219
  * for this domain are included in the response. If you don't specify a domain, all recipes are returned.
4220
4220
  * </p>
4221
4221
  */
4222
- domain?: Domain | string;
4222
+ domain?: Domain;
4223
4223
  }
4224
4224
  /**
4225
4225
  * @public
@@ -4256,7 +4256,7 @@ export interface RecipeSummary {
4256
4256
  * @public
4257
4257
  * <p>The domain of the recipe (if the recipe is a Domain dataset group use case).</p>
4258
4258
  */
4259
- domain?: Domain | string;
4259
+ domain?: Domain;
4260
4260
  }
4261
4261
  /**
4262
4262
  * @public
@@ -4413,7 +4413,7 @@ export interface DatasetSchemaSummary {
4413
4413
  * @public
4414
4414
  * <p>The domain of a schema that you created for a dataset in a Domain dataset group.</p>
4415
4415
  */
4416
- domain?: Domain | string;
4416
+ domain?: Domain;
4417
4417
  }
4418
4418
  /**
4419
4419
  * @public
@@ -165,7 +165,7 @@ export interface DatasetExportJobOutput {
165
165
  export interface CreateDatasetExportJobRequest {
166
166
  jobName: string | undefined;
167
167
  datasetArn: string | undefined;
168
- ingestionMode?: IngestionMode | string;
168
+ ingestionMode?: IngestionMode;
169
169
  roleArn: string | undefined;
170
170
  jobOutput: DatasetExportJobOutput | undefined;
171
171
  tags?: Tag[];
@@ -182,12 +182,12 @@ export interface CreateDatasetGroupRequest {
182
182
  name: string | undefined;
183
183
  roleArn?: string;
184
184
  kmsKeyArn?: string;
185
- domain?: Domain | string;
185
+ domain?: Domain;
186
186
  tags?: Tag[];
187
187
  }
188
188
  export interface CreateDatasetGroupResponse {
189
189
  datasetGroupArn?: string;
190
- domain?: Domain | string;
190
+ domain?: Domain;
191
191
  }
192
192
  export interface DataSource {
193
193
  dataLocation?: string;
@@ -203,7 +203,7 @@ export interface CreateDatasetImportJobRequest {
203
203
  dataSource: DataSource | undefined;
204
204
  roleArn: string | undefined;
205
205
  tags?: Tag[];
206
- importMode?: ImportMode | string;
206
+ importMode?: ImportMode;
207
207
  publishAttributionMetricsToS3?: boolean;
208
208
  }
209
209
  export interface CreateDatasetImportJobResponse {
@@ -266,7 +266,7 @@ export interface CreateRecommenderResponse {
266
266
  export interface CreateSchemaRequest {
267
267
  name: string | undefined;
268
268
  schema: string | undefined;
269
- domain?: Domain | string;
269
+ domain?: Domain;
270
270
  }
271
271
  export interface CreateSchemaResponse {
272
272
  schemaArn?: string;
@@ -318,7 +318,7 @@ export type ObjectiveSensitivity =
318
318
  (typeof ObjectiveSensitivity)[keyof typeof ObjectiveSensitivity];
319
319
  export interface OptimizationObjective {
320
320
  itemAttribute?: string;
321
- objectiveSensitivity?: ObjectiveSensitivity | string;
321
+ objectiveSensitivity?: ObjectiveSensitivity;
322
322
  }
323
323
  export interface SolutionConfig {
324
324
  eventValueThreshold?: string;
@@ -350,7 +350,7 @@ export type TrainingMode = (typeof TrainingMode)[keyof typeof TrainingMode];
350
350
  export interface CreateSolutionVersionRequest {
351
351
  name?: string;
352
352
  solutionArn: string | undefined;
353
- trainingMode?: TrainingMode | string;
353
+ trainingMode?: TrainingMode;
354
354
  tags?: Tag[];
355
355
  }
356
356
  export interface CreateSolutionVersionResponse {
@@ -488,7 +488,7 @@ export interface DatasetExportJob {
488
488
  jobName?: string;
489
489
  datasetExportJobArn?: string;
490
490
  datasetArn?: string;
491
- ingestionMode?: IngestionMode | string;
491
+ ingestionMode?: IngestionMode;
492
492
  roleArn?: string;
493
493
  status?: string;
494
494
  jobOutput?: DatasetExportJobOutput;
@@ -511,7 +511,7 @@ export interface DatasetGroup {
511
511
  creationDateTime?: Date;
512
512
  lastUpdatedDateTime?: Date;
513
513
  failureReason?: string;
514
- domain?: Domain | string;
514
+ domain?: Domain;
515
515
  }
516
516
  export interface DescribeDatasetGroupResponse {
517
517
  datasetGroup?: DatasetGroup;
@@ -529,7 +529,7 @@ export interface DatasetImportJob {
529
529
  creationDateTime?: Date;
530
530
  lastUpdatedDateTime?: Date;
531
531
  failureReason?: string;
532
- importMode?: ImportMode | string;
532
+ importMode?: ImportMode;
533
533
  publishAttributionMetricsToS3?: boolean;
534
534
  }
535
535
  export interface DescribeDatasetImportJobResponse {
@@ -649,7 +649,7 @@ export interface DatasetSchema {
649
649
  schema?: string;
650
650
  creationDateTime?: Date;
651
651
  lastUpdatedDateTime?: Date;
652
- domain?: Domain | string;
652
+ domain?: Domain;
653
653
  }
654
654
  export interface DescribeSchemaResponse {
655
655
  schema?: DatasetSchema;
@@ -702,7 +702,7 @@ export interface SolutionVersion {
702
702
  datasetGroupArn?: string;
703
703
  solutionConfig?: SolutionConfig;
704
704
  trainingHours?: number;
705
- trainingMode?: TrainingMode | string;
705
+ trainingMode?: TrainingMode;
706
706
  tunedHPOParams?: TunedHPOParams;
707
707
  status?: string;
708
708
  failureReason?: string;
@@ -807,7 +807,7 @@ export interface DatasetGroupSummary {
807
807
  creationDateTime?: Date;
808
808
  lastUpdatedDateTime?: Date;
809
809
  failureReason?: string;
810
- domain?: Domain | string;
810
+ domain?: Domain;
811
811
  }
812
812
  export interface ListDatasetGroupsResponse {
813
813
  datasetGroups?: DatasetGroupSummary[];
@@ -825,7 +825,7 @@ export interface DatasetImportJobSummary {
825
825
  creationDateTime?: Date;
826
826
  lastUpdatedDateTime?: Date;
827
827
  failureReason?: string;
828
- importMode?: ImportMode | string;
828
+ importMode?: ImportMode;
829
829
  }
830
830
  export interface ListDatasetImportJobsResponse {
831
831
  datasetImportJobs?: DatasetImportJobSummary[];
@@ -914,10 +914,10 @@ export declare const RecipeProvider: {
914
914
  export type RecipeProvider =
915
915
  (typeof RecipeProvider)[keyof typeof RecipeProvider];
916
916
  export interface ListRecipesRequest {
917
- recipeProvider?: RecipeProvider | string;
917
+ recipeProvider?: RecipeProvider;
918
918
  nextToken?: string;
919
919
  maxResults?: number;
920
- domain?: Domain | string;
920
+ domain?: Domain;
921
921
  }
922
922
  export interface RecipeSummary {
923
923
  name?: string;
@@ -925,7 +925,7 @@ export interface RecipeSummary {
925
925
  status?: string;
926
926
  creationDateTime?: Date;
927
927
  lastUpdatedDateTime?: Date;
928
- domain?: Domain | string;
928
+ domain?: Domain;
929
929
  }
930
930
  export interface ListRecipesResponse {
931
931
  recipes?: RecipeSummary[];
@@ -959,7 +959,7 @@ export interface DatasetSchemaSummary {
959
959
  schemaArn?: string;
960
960
  creationDateTime?: Date;
961
961
  lastUpdatedDateTime?: Date;
962
- domain?: Domain | string;
962
+ domain?: Domain;
963
963
  }
964
964
  export interface ListSchemasResponse {
965
965
  schemas?: DatasetSchemaSummary[];
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.427.0",
4
+ "version": "3.429.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,39 +21,39 @@
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.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"
59
59
  },