@aws-sdk/client-personalize 3.454.0 → 3.458.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.
@@ -41,6 +41,12 @@ export interface Algorithm {
41
41
  export interface BatchInferenceJobConfig {
42
42
  itemExplorationConfig?: Record<string, string>;
43
43
  }
44
+ export declare const BatchInferenceJobMode: {
45
+ readonly BATCH_INFERENCE: "BATCH_INFERENCE";
46
+ readonly THEME_GENERATION: "THEME_GENERATION";
47
+ };
48
+ export type BatchInferenceJobMode =
49
+ (typeof BatchInferenceJobMode)[keyof typeof BatchInferenceJobMode];
44
50
  export interface S3DataConfig {
45
51
  path: string | undefined;
46
52
  kmsKeyArn?: string;
@@ -55,6 +61,12 @@ export interface Tag {
55
61
  tagKey: string | undefined;
56
62
  tagValue: string | undefined;
57
63
  }
64
+ export interface FieldsForThemeGeneration {
65
+ itemName: string | undefined;
66
+ }
67
+ export interface ThemeGenerationConfig {
68
+ fieldsForThemeGeneration: FieldsForThemeGeneration | undefined;
69
+ }
58
70
  export interface CreateBatchInferenceJobRequest {
59
71
  jobName: string | undefined;
60
72
  solutionVersionArn: string | undefined;
@@ -65,6 +77,8 @@ export interface CreateBatchInferenceJobRequest {
65
77
  roleArn: string | undefined;
66
78
  batchInferenceJobConfig?: BatchInferenceJobConfig;
67
79
  tags?: Tag[];
80
+ batchInferenceJobMode?: BatchInferenceJobMode;
81
+ themeGenerationConfig?: ThemeGenerationConfig;
68
82
  }
69
83
  export interface CreateBatchInferenceJobResponse {
70
84
  batchInferenceJobArn?: string;
@@ -132,6 +146,7 @@ export interface CreateBatchSegmentJobResponse {
132
146
  }
133
147
  export interface CampaignConfig {
134
148
  itemExplorationConfig?: Record<string, string>;
149
+ enableMetadataWithRecommendations?: boolean;
135
150
  }
136
151
  export interface CreateCampaignRequest {
137
152
  name: string | undefined;
@@ -252,6 +267,7 @@ export interface RecommenderConfig {
252
267
  itemExplorationConfig?: Record<string, string>;
253
268
  minRecommendationRequestsPerSecond?: number;
254
269
  trainingDataConfig?: TrainingDataConfig;
270
+ enableMetadataWithRecommendations?: boolean;
255
271
  }
256
272
  export interface CreateRecommenderRequest {
257
273
  name: string | undefined;
@@ -403,6 +419,8 @@ export interface BatchInferenceJob {
403
419
  jobOutput?: BatchInferenceJobOutput;
404
420
  batchInferenceJobConfig?: BatchInferenceJobConfig;
405
421
  roleArn?: string;
422
+ batchInferenceJobMode?: BatchInferenceJobMode;
423
+ themeGenerationConfig?: ThemeGenerationConfig;
406
424
  status?: string;
407
425
  creationDateTime?: Date;
408
426
  lastUpdatedDateTime?: Date;
@@ -477,6 +495,7 @@ export interface Dataset {
477
495
  creationDateTime?: Date;
478
496
  lastUpdatedDateTime?: Date;
479
497
  latestDatasetUpdate?: DatasetUpdateSummary;
498
+ trackingId?: string;
480
499
  }
481
500
  export interface DescribeDatasetResponse {
482
501
  dataset?: Dataset;
@@ -739,6 +758,7 @@ export interface BatchInferenceJobSummary {
739
758
  lastUpdatedDateTime?: Date;
740
759
  failureReason?: string;
741
760
  solutionVersionArn?: string;
761
+ batchInferenceJobMode?: BatchInferenceJobMode;
742
762
  }
743
763
  export interface ListBatchInferenceJobsResponse {
744
764
  batchInferenceJobs?: BatchInferenceJobSummary[];
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.454.0",
4
+ "version": "3.458.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.454.0",
24
+ "@aws-sdk/client-sts": "3.458.0",
25
25
  "@aws-sdk/core": "3.451.0",
26
- "@aws-sdk/credential-provider-node": "3.451.0",
26
+ "@aws-sdk/credential-provider-node": "3.458.0",
27
27
  "@aws-sdk/middleware-host-header": "3.451.0",
28
28
  "@aws-sdk/middleware-logger": "3.451.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.451.0",