@aws-sdk/client-personalize 3.933.0 → 3.935.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.
- package/dist-cjs/index.js +36 -35
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +35 -0
- package/dist-es/models/errors.js +97 -0
- package/dist-es/models/models_0.js +1 -132
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +99 -0
- package/dist-types/models/errors.d.ts +98 -0
- package/dist-types/models/models_0.d.ts +1 -197
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +46 -0
- package/dist-types/ts3.4/models/errors.d.ts +58 -0
- package/dist-types/ts3.4/models/models_0.d.ts +10 -104
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -117,10 +117,6 @@ let PersonalizeServiceException$1 = class PersonalizeServiceException extends sm
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const BatchInferenceJobMode = {
|
|
121
|
-
BATCH_INFERENCE: "BATCH_INFERENCE",
|
|
122
|
-
THEME_GENERATION: "THEME_GENERATION",
|
|
123
|
-
};
|
|
124
120
|
let InvalidInputException$1 = class InvalidInputException extends PersonalizeServiceException$1 {
|
|
125
121
|
name = "InvalidInputException";
|
|
126
122
|
$fault = "client";
|
|
@@ -193,34 +189,6 @@ let TooManyTagsException$1 = class TooManyTagsException extends PersonalizeServi
|
|
|
193
189
|
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
194
190
|
}
|
|
195
191
|
};
|
|
196
|
-
const IngestionMode = {
|
|
197
|
-
ALL: "ALL",
|
|
198
|
-
BULK: "BULK",
|
|
199
|
-
PUT: "PUT",
|
|
200
|
-
};
|
|
201
|
-
const Domain = {
|
|
202
|
-
ECOMMERCE: "ECOMMERCE",
|
|
203
|
-
VIDEO_ON_DEMAND: "VIDEO_ON_DEMAND",
|
|
204
|
-
};
|
|
205
|
-
const ImportMode = {
|
|
206
|
-
FULL: "FULL",
|
|
207
|
-
INCREMENTAL: "INCREMENTAL",
|
|
208
|
-
};
|
|
209
|
-
const ObjectiveSensitivity = {
|
|
210
|
-
HIGH: "HIGH",
|
|
211
|
-
LOW: "LOW",
|
|
212
|
-
MEDIUM: "MEDIUM",
|
|
213
|
-
OFF: "OFF",
|
|
214
|
-
};
|
|
215
|
-
const TrainingMode = {
|
|
216
|
-
AUTOTRAIN: "AUTOTRAIN",
|
|
217
|
-
FULL: "FULL",
|
|
218
|
-
UPDATE: "UPDATE",
|
|
219
|
-
};
|
|
220
|
-
const TrainingType = {
|
|
221
|
-
AUTOMATIC: "AUTOMATIC",
|
|
222
|
-
MANUAL: "MANUAL",
|
|
223
|
-
};
|
|
224
192
|
let InvalidNextTokenException$1 = class InvalidNextTokenException extends PersonalizeServiceException$1 {
|
|
225
193
|
name = "InvalidNextTokenException";
|
|
226
194
|
$fault = "client";
|
|
@@ -233,9 +201,6 @@ let InvalidNextTokenException$1 = class InvalidNextTokenException extends Person
|
|
|
233
201
|
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
234
202
|
}
|
|
235
203
|
};
|
|
236
|
-
const RecipeProvider = {
|
|
237
|
-
SERVICE: "SERVICE",
|
|
238
|
-
};
|
|
239
204
|
let TooManyTagKeysException$1 = class TooManyTagKeysException extends PersonalizeServiceException$1 {
|
|
240
205
|
name = "TooManyTagKeysException";
|
|
241
206
|
$fault = "client";
|
|
@@ -3122,6 +3087,42 @@ const paginateListSolutionVersions = core.createPaginator(PersonalizeClient, Lis
|
|
|
3122
3087
|
|
|
3123
3088
|
const paginateListSolutions = core.createPaginator(PersonalizeClient, ListSolutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
3124
3089
|
|
|
3090
|
+
const BatchInferenceJobMode = {
|
|
3091
|
+
BATCH_INFERENCE: "BATCH_INFERENCE",
|
|
3092
|
+
THEME_GENERATION: "THEME_GENERATION",
|
|
3093
|
+
};
|
|
3094
|
+
const IngestionMode = {
|
|
3095
|
+
ALL: "ALL",
|
|
3096
|
+
BULK: "BULK",
|
|
3097
|
+
PUT: "PUT",
|
|
3098
|
+
};
|
|
3099
|
+
const Domain = {
|
|
3100
|
+
ECOMMERCE: "ECOMMERCE",
|
|
3101
|
+
VIDEO_ON_DEMAND: "VIDEO_ON_DEMAND",
|
|
3102
|
+
};
|
|
3103
|
+
const ImportMode = {
|
|
3104
|
+
FULL: "FULL",
|
|
3105
|
+
INCREMENTAL: "INCREMENTAL",
|
|
3106
|
+
};
|
|
3107
|
+
const ObjectiveSensitivity = {
|
|
3108
|
+
HIGH: "HIGH",
|
|
3109
|
+
LOW: "LOW",
|
|
3110
|
+
MEDIUM: "MEDIUM",
|
|
3111
|
+
OFF: "OFF",
|
|
3112
|
+
};
|
|
3113
|
+
const TrainingMode = {
|
|
3114
|
+
AUTOTRAIN: "AUTOTRAIN",
|
|
3115
|
+
FULL: "FULL",
|
|
3116
|
+
UPDATE: "UPDATE",
|
|
3117
|
+
};
|
|
3118
|
+
const TrainingType = {
|
|
3119
|
+
AUTOMATIC: "AUTOMATIC",
|
|
3120
|
+
MANUAL: "MANUAL",
|
|
3121
|
+
};
|
|
3122
|
+
const RecipeProvider = {
|
|
3123
|
+
SERVICE: "SERVICE",
|
|
3124
|
+
};
|
|
3125
|
+
|
|
3125
3126
|
Object.defineProperty(exports, "$Command", {
|
|
3126
3127
|
enumerable: true,
|
|
3127
3128
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./PersonalizeClient";
|
|
|
2
2
|
export * from "./Personalize";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { PersonalizeServiceException } from "./models/PersonalizeServiceException";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export const BatchInferenceJobMode = {
|
|
2
|
+
BATCH_INFERENCE: "BATCH_INFERENCE",
|
|
3
|
+
THEME_GENERATION: "THEME_GENERATION",
|
|
4
|
+
};
|
|
5
|
+
export const IngestionMode = {
|
|
6
|
+
ALL: "ALL",
|
|
7
|
+
BULK: "BULK",
|
|
8
|
+
PUT: "PUT",
|
|
9
|
+
};
|
|
10
|
+
export const Domain = {
|
|
11
|
+
ECOMMERCE: "ECOMMERCE",
|
|
12
|
+
VIDEO_ON_DEMAND: "VIDEO_ON_DEMAND",
|
|
13
|
+
};
|
|
14
|
+
export const ImportMode = {
|
|
15
|
+
FULL: "FULL",
|
|
16
|
+
INCREMENTAL: "INCREMENTAL",
|
|
17
|
+
};
|
|
18
|
+
export const ObjectiveSensitivity = {
|
|
19
|
+
HIGH: "HIGH",
|
|
20
|
+
LOW: "LOW",
|
|
21
|
+
MEDIUM: "MEDIUM",
|
|
22
|
+
OFF: "OFF",
|
|
23
|
+
};
|
|
24
|
+
export const TrainingMode = {
|
|
25
|
+
AUTOTRAIN: "AUTOTRAIN",
|
|
26
|
+
FULL: "FULL",
|
|
27
|
+
UPDATE: "UPDATE",
|
|
28
|
+
};
|
|
29
|
+
export const TrainingType = {
|
|
30
|
+
AUTOMATIC: "AUTOMATIC",
|
|
31
|
+
MANUAL: "MANUAL",
|
|
32
|
+
};
|
|
33
|
+
export const RecipeProvider = {
|
|
34
|
+
SERVICE: "SERVICE",
|
|
35
|
+
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { PersonalizeServiceException as __BaseException } from "./PersonalizeServiceException";
|
|
2
|
+
export class InvalidInputException extends __BaseException {
|
|
3
|
+
name = "InvalidInputException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "InvalidInputException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class LimitExceededException extends __BaseException {
|
|
15
|
+
name = "LimitExceededException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "LimitExceededException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class ResourceAlreadyExistsException extends __BaseException {
|
|
27
|
+
name = "ResourceAlreadyExistsException";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "ResourceAlreadyExistsException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class ResourceInUseException extends __BaseException {
|
|
39
|
+
name = "ResourceInUseException";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "ResourceInUseException",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
51
|
+
name = "ResourceNotFoundException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "ResourceNotFoundException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export class TooManyTagsException extends __BaseException {
|
|
63
|
+
name = "TooManyTagsException";
|
|
64
|
+
$fault = "client";
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "TooManyTagsException",
|
|
68
|
+
$fault: "client",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export class InvalidNextTokenException extends __BaseException {
|
|
75
|
+
name = "InvalidNextTokenException";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "InvalidNextTokenException",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class TooManyTagKeysException extends __BaseException {
|
|
87
|
+
name = "TooManyTagKeysException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
constructor(opts) {
|
|
90
|
+
super({
|
|
91
|
+
name: "TooManyTagKeysException",
|
|
92
|
+
$fault: "client",
|
|
93
|
+
...opts,
|
|
94
|
+
});
|
|
95
|
+
Object.setPrototypeOf(this, TooManyTagKeysException.prototype);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -1,132 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const BatchInferenceJobMode = {
|
|
3
|
-
BATCH_INFERENCE: "BATCH_INFERENCE",
|
|
4
|
-
THEME_GENERATION: "THEME_GENERATION",
|
|
5
|
-
};
|
|
6
|
-
export class InvalidInputException extends __BaseException {
|
|
7
|
-
name = "InvalidInputException";
|
|
8
|
-
$fault = "client";
|
|
9
|
-
constructor(opts) {
|
|
10
|
-
super({
|
|
11
|
-
name: "InvalidInputException",
|
|
12
|
-
$fault: "client",
|
|
13
|
-
...opts,
|
|
14
|
-
});
|
|
15
|
-
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export class LimitExceededException extends __BaseException {
|
|
19
|
-
name = "LimitExceededException";
|
|
20
|
-
$fault = "client";
|
|
21
|
-
constructor(opts) {
|
|
22
|
-
super({
|
|
23
|
-
name: "LimitExceededException",
|
|
24
|
-
$fault: "client",
|
|
25
|
-
...opts,
|
|
26
|
-
});
|
|
27
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export class ResourceAlreadyExistsException extends __BaseException {
|
|
31
|
-
name = "ResourceAlreadyExistsException";
|
|
32
|
-
$fault = "client";
|
|
33
|
-
constructor(opts) {
|
|
34
|
-
super({
|
|
35
|
-
name: "ResourceAlreadyExistsException",
|
|
36
|
-
$fault: "client",
|
|
37
|
-
...opts,
|
|
38
|
-
});
|
|
39
|
-
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
export class ResourceInUseException extends __BaseException {
|
|
43
|
-
name = "ResourceInUseException";
|
|
44
|
-
$fault = "client";
|
|
45
|
-
constructor(opts) {
|
|
46
|
-
super({
|
|
47
|
-
name: "ResourceInUseException",
|
|
48
|
-
$fault: "client",
|
|
49
|
-
...opts,
|
|
50
|
-
});
|
|
51
|
-
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
55
|
-
name = "ResourceNotFoundException";
|
|
56
|
-
$fault = "client";
|
|
57
|
-
constructor(opts) {
|
|
58
|
-
super({
|
|
59
|
-
name: "ResourceNotFoundException",
|
|
60
|
-
$fault: "client",
|
|
61
|
-
...opts,
|
|
62
|
-
});
|
|
63
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
export class TooManyTagsException extends __BaseException {
|
|
67
|
-
name = "TooManyTagsException";
|
|
68
|
-
$fault = "client";
|
|
69
|
-
constructor(opts) {
|
|
70
|
-
super({
|
|
71
|
-
name: "TooManyTagsException",
|
|
72
|
-
$fault: "client",
|
|
73
|
-
...opts,
|
|
74
|
-
});
|
|
75
|
-
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
export const IngestionMode = {
|
|
79
|
-
ALL: "ALL",
|
|
80
|
-
BULK: "BULK",
|
|
81
|
-
PUT: "PUT",
|
|
82
|
-
};
|
|
83
|
-
export const Domain = {
|
|
84
|
-
ECOMMERCE: "ECOMMERCE",
|
|
85
|
-
VIDEO_ON_DEMAND: "VIDEO_ON_DEMAND",
|
|
86
|
-
};
|
|
87
|
-
export const ImportMode = {
|
|
88
|
-
FULL: "FULL",
|
|
89
|
-
INCREMENTAL: "INCREMENTAL",
|
|
90
|
-
};
|
|
91
|
-
export const ObjectiveSensitivity = {
|
|
92
|
-
HIGH: "HIGH",
|
|
93
|
-
LOW: "LOW",
|
|
94
|
-
MEDIUM: "MEDIUM",
|
|
95
|
-
OFF: "OFF",
|
|
96
|
-
};
|
|
97
|
-
export const TrainingMode = {
|
|
98
|
-
AUTOTRAIN: "AUTOTRAIN",
|
|
99
|
-
FULL: "FULL",
|
|
100
|
-
UPDATE: "UPDATE",
|
|
101
|
-
};
|
|
102
|
-
export const TrainingType = {
|
|
103
|
-
AUTOMATIC: "AUTOMATIC",
|
|
104
|
-
MANUAL: "MANUAL",
|
|
105
|
-
};
|
|
106
|
-
export class InvalidNextTokenException extends __BaseException {
|
|
107
|
-
name = "InvalidNextTokenException";
|
|
108
|
-
$fault = "client";
|
|
109
|
-
constructor(opts) {
|
|
110
|
-
super({
|
|
111
|
-
name: "InvalidNextTokenException",
|
|
112
|
-
$fault: "client",
|
|
113
|
-
...opts,
|
|
114
|
-
});
|
|
115
|
-
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
export const RecipeProvider = {
|
|
119
|
-
SERVICE: "SERVICE",
|
|
120
|
-
};
|
|
121
|
-
export class TooManyTagKeysException extends __BaseException {
|
|
122
|
-
name = "TooManyTagKeysException";
|
|
123
|
-
$fault = "client";
|
|
124
|
-
constructor(opts) {
|
|
125
|
-
super({
|
|
126
|
-
name: "TooManyTagKeysException",
|
|
127
|
-
$fault: "client",
|
|
128
|
-
...opts,
|
|
129
|
-
});
|
|
130
|
-
Object.setPrototypeOf(this, TooManyTagKeysException.prototype);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
1
|
+
export {};
|
|
@@ -480,7 +480,7 @@ const _v = "values";
|
|
|
480
480
|
const _w = "weight";
|
|
481
481
|
const n0 = "com.amazonaws.personalize";
|
|
482
482
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
483
|
-
import { InvalidInputException as __InvalidInputException, InvalidNextTokenException as __InvalidNextTokenException, LimitExceededException as __LimitExceededException, ResourceAlreadyExistsException as __ResourceAlreadyExistsException, ResourceInUseException as __ResourceInUseException, ResourceNotFoundException as __ResourceNotFoundException, TooManyTagKeysException as __TooManyTagKeysException, TooManyTagsException as __TooManyTagsException, } from "../models/
|
|
483
|
+
import { InvalidInputException as __InvalidInputException, InvalidNextTokenException as __InvalidNextTokenException, LimitExceededException as __LimitExceededException, ResourceAlreadyExistsException as __ResourceAlreadyExistsException, ResourceInUseException as __ResourceInUseException, ResourceNotFoundException as __ResourceNotFoundException, TooManyTagKeysException as __TooManyTagKeysException, TooManyTagsException as __TooManyTagsException, } from "../models/errors";
|
|
484
484
|
import { PersonalizeServiceException as __PersonalizeServiceException } from "../models/PersonalizeServiceException";
|
|
485
485
|
export var FilterExpression = [0, n0, _FE, 8, 0];
|
|
486
486
|
export var TagKey = [0, n0, _TK, 8, 0];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -11,5 +11,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
11
11
|
export type { PersonalizeExtensionConfiguration } from "./extensionConfiguration";
|
|
12
12
|
export * from "./commands";
|
|
13
13
|
export * from "./pagination";
|
|
14
|
-
export * from "./models";
|
|
14
|
+
export * from "./models/enums";
|
|
15
|
+
export * from "./models/errors";
|
|
16
|
+
export type * from "./models/models_0";
|
|
15
17
|
export { PersonalizeServiceException } from "./models/PersonalizeServiceException";
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const BatchInferenceJobMode: {
|
|
6
|
+
readonly BATCH_INFERENCE: "BATCH_INFERENCE";
|
|
7
|
+
readonly THEME_GENERATION: "THEME_GENERATION";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type BatchInferenceJobMode = (typeof BatchInferenceJobMode)[keyof typeof BatchInferenceJobMode];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const IngestionMode: {
|
|
18
|
+
readonly ALL: "ALL";
|
|
19
|
+
readonly BULK: "BULK";
|
|
20
|
+
readonly PUT: "PUT";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export type IngestionMode = (typeof IngestionMode)[keyof typeof IngestionMode];
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
* @enum
|
|
29
|
+
*/
|
|
30
|
+
export declare const Domain: {
|
|
31
|
+
readonly ECOMMERCE: "ECOMMERCE";
|
|
32
|
+
readonly VIDEO_ON_DEMAND: "VIDEO_ON_DEMAND";
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export type Domain = (typeof Domain)[keyof typeof Domain];
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
* @enum
|
|
41
|
+
*/
|
|
42
|
+
export declare const ImportMode: {
|
|
43
|
+
readonly FULL: "FULL";
|
|
44
|
+
readonly INCREMENTAL: "INCREMENTAL";
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export type ImportMode = (typeof ImportMode)[keyof typeof ImportMode];
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
* @enum
|
|
53
|
+
*/
|
|
54
|
+
export declare const ObjectiveSensitivity: {
|
|
55
|
+
readonly HIGH: "HIGH";
|
|
56
|
+
readonly LOW: "LOW";
|
|
57
|
+
readonly MEDIUM: "MEDIUM";
|
|
58
|
+
readonly OFF: "OFF";
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export type ObjectiveSensitivity = (typeof ObjectiveSensitivity)[keyof typeof ObjectiveSensitivity];
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
* @enum
|
|
67
|
+
*/
|
|
68
|
+
export declare const TrainingMode: {
|
|
69
|
+
readonly AUTOTRAIN: "AUTOTRAIN";
|
|
70
|
+
readonly FULL: "FULL";
|
|
71
|
+
readonly UPDATE: "UPDATE";
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export type TrainingMode = (typeof TrainingMode)[keyof typeof TrainingMode];
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
* @enum
|
|
80
|
+
*/
|
|
81
|
+
export declare const TrainingType: {
|
|
82
|
+
readonly AUTOMATIC: "AUTOMATIC";
|
|
83
|
+
readonly MANUAL: "MANUAL";
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export type TrainingType = (typeof TrainingType)[keyof typeof TrainingType];
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
* @enum
|
|
92
|
+
*/
|
|
93
|
+
export declare const RecipeProvider: {
|
|
94
|
+
readonly SERVICE: "SERVICE";
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export type RecipeProvider = (typeof RecipeProvider)[keyof typeof RecipeProvider];
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { PersonalizeServiceException as __BaseException } from "./PersonalizeServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Provide a valid value for the field or parameter.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class InvalidInputException extends __BaseException {
|
|
8
|
+
readonly name: "InvalidInputException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>The limit on the number of requests per second has been exceeded.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class LimitExceededException extends __BaseException {
|
|
20
|
+
readonly name: "LimitExceededException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>The specified resource already exists.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
32
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
33
|
+
readonly $fault: "client";
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* <p>The specified resource is in use.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
44
|
+
readonly name: "ResourceInUseException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* <p>Could not find the specified resource.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
56
|
+
readonly name: "ResourceNotFoundException";
|
|
57
|
+
readonly $fault: "client";
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* <p>You have exceeded the maximum number of tags you can apply to this resource. </p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
68
|
+
readonly name: "TooManyTagsException";
|
|
69
|
+
readonly $fault: "client";
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* <p>The token is not valid.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
80
|
+
readonly name: "InvalidNextTokenException";
|
|
81
|
+
readonly $fault: "client";
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* <p>The request contains more tag keys than can be associated with a resource (50 tag keys per resource). </p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class TooManyTagKeysException extends __BaseException {
|
|
92
|
+
readonly name: "TooManyTagKeysException";
|
|
93
|
+
readonly $fault: "client";
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
constructor(opts: __ExceptionOptionType<TooManyTagKeysException, __BaseException>);
|
|
98
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { PersonalizeServiceException as __BaseException } from "./PersonalizeServiceException";
|
|
1
|
+
import { BatchInferenceJobMode, Domain, ImportMode, IngestionMode, ObjectiveSensitivity, RecipeProvider, TrainingMode, TrainingType } from "./enums";
|
|
3
2
|
/**
|
|
4
3
|
* <p>Describes an algorithm image.</p>
|
|
5
4
|
* @public
|
|
@@ -189,18 +188,6 @@ export interface BatchInferenceJobConfig {
|
|
|
189
188
|
*/
|
|
190
189
|
itemExplorationConfig?: Record<string, string> | undefined;
|
|
191
190
|
}
|
|
192
|
-
/**
|
|
193
|
-
* @public
|
|
194
|
-
* @enum
|
|
195
|
-
*/
|
|
196
|
-
export declare const BatchInferenceJobMode: {
|
|
197
|
-
readonly BATCH_INFERENCE: "BATCH_INFERENCE";
|
|
198
|
-
readonly THEME_GENERATION: "THEME_GENERATION";
|
|
199
|
-
};
|
|
200
|
-
/**
|
|
201
|
-
* @public
|
|
202
|
-
*/
|
|
203
|
-
export type BatchInferenceJobMode = (typeof BatchInferenceJobMode)[keyof typeof BatchInferenceJobMode];
|
|
204
191
|
/**
|
|
205
192
|
* <p>The configuration details of an Amazon S3 input or output bucket.</p>
|
|
206
193
|
* @public
|
|
@@ -361,78 +348,6 @@ export interface CreateBatchInferenceJobResponse {
|
|
|
361
348
|
*/
|
|
362
349
|
batchInferenceJobArn?: string | undefined;
|
|
363
350
|
}
|
|
364
|
-
/**
|
|
365
|
-
* <p>Provide a valid value for the field or parameter.</p>
|
|
366
|
-
* @public
|
|
367
|
-
*/
|
|
368
|
-
export declare class InvalidInputException extends __BaseException {
|
|
369
|
-
readonly name: "InvalidInputException";
|
|
370
|
-
readonly $fault: "client";
|
|
371
|
-
/**
|
|
372
|
-
* @internal
|
|
373
|
-
*/
|
|
374
|
-
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
375
|
-
}
|
|
376
|
-
/**
|
|
377
|
-
* <p>The limit on the number of requests per second has been exceeded.</p>
|
|
378
|
-
* @public
|
|
379
|
-
*/
|
|
380
|
-
export declare class LimitExceededException extends __BaseException {
|
|
381
|
-
readonly name: "LimitExceededException";
|
|
382
|
-
readonly $fault: "client";
|
|
383
|
-
/**
|
|
384
|
-
* @internal
|
|
385
|
-
*/
|
|
386
|
-
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
387
|
-
}
|
|
388
|
-
/**
|
|
389
|
-
* <p>The specified resource already exists.</p>
|
|
390
|
-
* @public
|
|
391
|
-
*/
|
|
392
|
-
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
393
|
-
readonly name: "ResourceAlreadyExistsException";
|
|
394
|
-
readonly $fault: "client";
|
|
395
|
-
/**
|
|
396
|
-
* @internal
|
|
397
|
-
*/
|
|
398
|
-
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
399
|
-
}
|
|
400
|
-
/**
|
|
401
|
-
* <p>The specified resource is in use.</p>
|
|
402
|
-
* @public
|
|
403
|
-
*/
|
|
404
|
-
export declare class ResourceInUseException extends __BaseException {
|
|
405
|
-
readonly name: "ResourceInUseException";
|
|
406
|
-
readonly $fault: "client";
|
|
407
|
-
/**
|
|
408
|
-
* @internal
|
|
409
|
-
*/
|
|
410
|
-
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
411
|
-
}
|
|
412
|
-
/**
|
|
413
|
-
* <p>Could not find the specified resource.</p>
|
|
414
|
-
* @public
|
|
415
|
-
*/
|
|
416
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
417
|
-
readonly name: "ResourceNotFoundException";
|
|
418
|
-
readonly $fault: "client";
|
|
419
|
-
/**
|
|
420
|
-
* @internal
|
|
421
|
-
*/
|
|
422
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
423
|
-
}
|
|
424
|
-
/**
|
|
425
|
-
* <p>You have exceeded the maximum number of tags you can apply to this resource. </p>
|
|
426
|
-
* @public
|
|
427
|
-
*/
|
|
428
|
-
export declare class TooManyTagsException extends __BaseException {
|
|
429
|
-
readonly name: "TooManyTagsException";
|
|
430
|
-
readonly $fault: "client";
|
|
431
|
-
/**
|
|
432
|
-
* @internal
|
|
433
|
-
*/
|
|
434
|
-
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
435
|
-
}
|
|
436
351
|
/**
|
|
437
352
|
* <p>The input configuration of a batch segment job.</p>
|
|
438
353
|
* @public
|
|
@@ -729,19 +644,6 @@ export interface CreateDatasetResponse {
|
|
|
729
644
|
*/
|
|
730
645
|
datasetArn?: string | undefined;
|
|
731
646
|
}
|
|
732
|
-
/**
|
|
733
|
-
* @public
|
|
734
|
-
* @enum
|
|
735
|
-
*/
|
|
736
|
-
export declare const IngestionMode: {
|
|
737
|
-
readonly ALL: "ALL";
|
|
738
|
-
readonly BULK: "BULK";
|
|
739
|
-
readonly PUT: "PUT";
|
|
740
|
-
};
|
|
741
|
-
/**
|
|
742
|
-
* @public
|
|
743
|
-
*/
|
|
744
|
-
export type IngestionMode = (typeof IngestionMode)[keyof typeof IngestionMode];
|
|
745
647
|
/**
|
|
746
648
|
* <p>The output configuration parameters of a dataset export job.</p>
|
|
747
649
|
* @public
|
|
@@ -805,18 +707,6 @@ export interface CreateDatasetExportJobResponse {
|
|
|
805
707
|
*/
|
|
806
708
|
datasetExportJobArn?: string | undefined;
|
|
807
709
|
}
|
|
808
|
-
/**
|
|
809
|
-
* @public
|
|
810
|
-
* @enum
|
|
811
|
-
*/
|
|
812
|
-
export declare const Domain: {
|
|
813
|
-
readonly ECOMMERCE: "ECOMMERCE";
|
|
814
|
-
readonly VIDEO_ON_DEMAND: "VIDEO_ON_DEMAND";
|
|
815
|
-
};
|
|
816
|
-
/**
|
|
817
|
-
* @public
|
|
818
|
-
*/
|
|
819
|
-
export type Domain = (typeof Domain)[keyof typeof Domain];
|
|
820
710
|
/**
|
|
821
711
|
* @public
|
|
822
712
|
*/
|
|
@@ -869,18 +759,6 @@ export interface CreateDatasetGroupResponse {
|
|
|
869
759
|
*/
|
|
870
760
|
domain?: Domain | undefined;
|
|
871
761
|
}
|
|
872
|
-
/**
|
|
873
|
-
* @public
|
|
874
|
-
* @enum
|
|
875
|
-
*/
|
|
876
|
-
export declare const ImportMode: {
|
|
877
|
-
readonly FULL: "FULL";
|
|
878
|
-
readonly INCREMENTAL: "INCREMENTAL";
|
|
879
|
-
};
|
|
880
|
-
/**
|
|
881
|
-
* @public
|
|
882
|
-
*/
|
|
883
|
-
export type ImportMode = (typeof ImportMode)[keyof typeof ImportMode];
|
|
884
762
|
/**
|
|
885
763
|
* @public
|
|
886
764
|
*/
|
|
@@ -1443,20 +1321,6 @@ export interface HPOConfig {
|
|
|
1443
1321
|
*/
|
|
1444
1322
|
algorithmHyperParameterRanges?: HyperParameterRanges | undefined;
|
|
1445
1323
|
}
|
|
1446
|
-
/**
|
|
1447
|
-
* @public
|
|
1448
|
-
* @enum
|
|
1449
|
-
*/
|
|
1450
|
-
export declare const ObjectiveSensitivity: {
|
|
1451
|
-
readonly HIGH: "HIGH";
|
|
1452
|
-
readonly LOW: "LOW";
|
|
1453
|
-
readonly MEDIUM: "MEDIUM";
|
|
1454
|
-
readonly OFF: "OFF";
|
|
1455
|
-
};
|
|
1456
|
-
/**
|
|
1457
|
-
* @public
|
|
1458
|
-
*/
|
|
1459
|
-
export type ObjectiveSensitivity = (typeof ObjectiveSensitivity)[keyof typeof ObjectiveSensitivity];
|
|
1460
1324
|
/**
|
|
1461
1325
|
* <p>Describes the additional objective for the solution, such as maximizing streaming
|
|
1462
1326
|
* minutes or increasing revenue. For more information see <a href="https://docs.aws.amazon.com/personalize/latest/dg/optimizing-solution-for-objective.html">Optimizing a solution</a>.</p>
|
|
@@ -1629,19 +1493,6 @@ export interface CreateSolutionResponse {
|
|
|
1629
1493
|
*/
|
|
1630
1494
|
solutionArn?: string | undefined;
|
|
1631
1495
|
}
|
|
1632
|
-
/**
|
|
1633
|
-
* @public
|
|
1634
|
-
* @enum
|
|
1635
|
-
*/
|
|
1636
|
-
export declare const TrainingMode: {
|
|
1637
|
-
readonly AUTOTRAIN: "AUTOTRAIN";
|
|
1638
|
-
readonly FULL: "FULL";
|
|
1639
|
-
readonly UPDATE: "UPDATE";
|
|
1640
|
-
};
|
|
1641
|
-
/**
|
|
1642
|
-
* @public
|
|
1643
|
-
*/
|
|
1644
|
-
export type TrainingMode = (typeof TrainingMode)[keyof typeof TrainingMode];
|
|
1645
1496
|
/**
|
|
1646
1497
|
* @public
|
|
1647
1498
|
*/
|
|
@@ -3355,18 +3206,6 @@ export interface SolutionUpdateSummary {
|
|
|
3355
3206
|
*/
|
|
3356
3207
|
failureReason?: string | undefined;
|
|
3357
3208
|
}
|
|
3358
|
-
/**
|
|
3359
|
-
* @public
|
|
3360
|
-
* @enum
|
|
3361
|
-
*/
|
|
3362
|
-
export declare const TrainingType: {
|
|
3363
|
-
readonly AUTOMATIC: "AUTOMATIC";
|
|
3364
|
-
readonly MANUAL: "MANUAL";
|
|
3365
|
-
};
|
|
3366
|
-
/**
|
|
3367
|
-
* @public
|
|
3368
|
-
*/
|
|
3369
|
-
export type TrainingType = (typeof TrainingType)[keyof typeof TrainingType];
|
|
3370
3209
|
/**
|
|
3371
3210
|
* <p>Provides a summary of the properties of a solution version. For a complete listing, call the
|
|
3372
3211
|
* <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSolutionVersion.html">DescribeSolutionVersion</a> API.</p>
|
|
@@ -3729,18 +3568,6 @@ export interface GetSolutionMetricsResponse {
|
|
|
3729
3568
|
*/
|
|
3730
3569
|
metrics?: Record<string, number> | undefined;
|
|
3731
3570
|
}
|
|
3732
|
-
/**
|
|
3733
|
-
* <p>The token is not valid.</p>
|
|
3734
|
-
* @public
|
|
3735
|
-
*/
|
|
3736
|
-
export declare class InvalidNextTokenException extends __BaseException {
|
|
3737
|
-
readonly name: "InvalidNextTokenException";
|
|
3738
|
-
readonly $fault: "client";
|
|
3739
|
-
/**
|
|
3740
|
-
* @internal
|
|
3741
|
-
*/
|
|
3742
|
-
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
3743
|
-
}
|
|
3744
3571
|
/**
|
|
3745
3572
|
* @public
|
|
3746
3573
|
*/
|
|
@@ -4719,17 +4546,6 @@ export interface ListMetricAttributionsResponse {
|
|
|
4719
4546
|
*/
|
|
4720
4547
|
nextToken?: string | undefined;
|
|
4721
4548
|
}
|
|
4722
|
-
/**
|
|
4723
|
-
* @public
|
|
4724
|
-
* @enum
|
|
4725
|
-
*/
|
|
4726
|
-
export declare const RecipeProvider: {
|
|
4727
|
-
readonly SERVICE: "SERVICE";
|
|
4728
|
-
};
|
|
4729
|
-
/**
|
|
4730
|
-
* @public
|
|
4731
|
-
*/
|
|
4732
|
-
export type RecipeProvider = (typeof RecipeProvider)[keyof typeof RecipeProvider];
|
|
4733
4549
|
/**
|
|
4734
4550
|
* @public
|
|
4735
4551
|
*/
|
|
@@ -5176,18 +4992,6 @@ export interface TagResourceRequest {
|
|
|
5176
4992
|
*/
|
|
5177
4993
|
export interface TagResourceResponse {
|
|
5178
4994
|
}
|
|
5179
|
-
/**
|
|
5180
|
-
* <p>The request contains more tag keys than can be associated with a resource (50 tag keys per resource). </p>
|
|
5181
|
-
* @public
|
|
5182
|
-
*/
|
|
5183
|
-
export declare class TooManyTagKeysException extends __BaseException {
|
|
5184
|
-
readonly name: "TooManyTagKeysException";
|
|
5185
|
-
readonly $fault: "client";
|
|
5186
|
-
/**
|
|
5187
|
-
* @internal
|
|
5188
|
-
*/
|
|
5189
|
-
constructor(opts: __ExceptionOptionType<TooManyTagKeysException, __BaseException>);
|
|
5190
|
-
}
|
|
5191
4995
|
/**
|
|
5192
4996
|
* @public
|
|
5193
4997
|
*/
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { PersonalizeExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { PersonalizeServiceException } from "./models/PersonalizeServiceException";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export declare const BatchInferenceJobMode: {
|
|
2
|
+
readonly BATCH_INFERENCE: "BATCH_INFERENCE";
|
|
3
|
+
readonly THEME_GENERATION: "THEME_GENERATION";
|
|
4
|
+
};
|
|
5
|
+
export type BatchInferenceJobMode =
|
|
6
|
+
(typeof BatchInferenceJobMode)[keyof typeof BatchInferenceJobMode];
|
|
7
|
+
export declare const IngestionMode: {
|
|
8
|
+
readonly ALL: "ALL";
|
|
9
|
+
readonly BULK: "BULK";
|
|
10
|
+
readonly PUT: "PUT";
|
|
11
|
+
};
|
|
12
|
+
export type IngestionMode = (typeof IngestionMode)[keyof typeof IngestionMode];
|
|
13
|
+
export declare const Domain: {
|
|
14
|
+
readonly ECOMMERCE: "ECOMMERCE";
|
|
15
|
+
readonly VIDEO_ON_DEMAND: "VIDEO_ON_DEMAND";
|
|
16
|
+
};
|
|
17
|
+
export type Domain = (typeof Domain)[keyof typeof Domain];
|
|
18
|
+
export declare const ImportMode: {
|
|
19
|
+
readonly FULL: "FULL";
|
|
20
|
+
readonly INCREMENTAL: "INCREMENTAL";
|
|
21
|
+
};
|
|
22
|
+
export type ImportMode = (typeof ImportMode)[keyof typeof ImportMode];
|
|
23
|
+
export declare const ObjectiveSensitivity: {
|
|
24
|
+
readonly HIGH: "HIGH";
|
|
25
|
+
readonly LOW: "LOW";
|
|
26
|
+
readonly MEDIUM: "MEDIUM";
|
|
27
|
+
readonly OFF: "OFF";
|
|
28
|
+
};
|
|
29
|
+
export type ObjectiveSensitivity =
|
|
30
|
+
(typeof ObjectiveSensitivity)[keyof typeof ObjectiveSensitivity];
|
|
31
|
+
export declare const TrainingMode: {
|
|
32
|
+
readonly AUTOTRAIN: "AUTOTRAIN";
|
|
33
|
+
readonly FULL: "FULL";
|
|
34
|
+
readonly UPDATE: "UPDATE";
|
|
35
|
+
};
|
|
36
|
+
export type TrainingMode = (typeof TrainingMode)[keyof typeof TrainingMode];
|
|
37
|
+
export declare const TrainingType: {
|
|
38
|
+
readonly AUTOMATIC: "AUTOMATIC";
|
|
39
|
+
readonly MANUAL: "MANUAL";
|
|
40
|
+
};
|
|
41
|
+
export type TrainingType = (typeof TrainingType)[keyof typeof TrainingType];
|
|
42
|
+
export declare const RecipeProvider: {
|
|
43
|
+
readonly SERVICE: "SERVICE";
|
|
44
|
+
};
|
|
45
|
+
export type RecipeProvider =
|
|
46
|
+
(typeof RecipeProvider)[keyof typeof RecipeProvider];
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { PersonalizeServiceException as __BaseException } from "./PersonalizeServiceException";
|
|
3
|
+
export declare class InvalidInputException extends __BaseException {
|
|
4
|
+
readonly name: "InvalidInputException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<InvalidInputException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class LimitExceededException extends __BaseException {
|
|
11
|
+
readonly name: "LimitExceededException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
constructor(
|
|
14
|
+
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
18
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
19
|
+
readonly $fault: "client";
|
|
20
|
+
constructor(
|
|
21
|
+
opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
25
|
+
readonly name: "ResourceInUseException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
constructor(
|
|
28
|
+
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
32
|
+
readonly name: "ResourceNotFoundException";
|
|
33
|
+
readonly $fault: "client";
|
|
34
|
+
constructor(
|
|
35
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
39
|
+
readonly name: "TooManyTagsException";
|
|
40
|
+
readonly $fault: "client";
|
|
41
|
+
constructor(
|
|
42
|
+
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
46
|
+
readonly name: "InvalidNextTokenException";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
constructor(
|
|
49
|
+
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export declare class TooManyTagKeysException extends __BaseException {
|
|
53
|
+
readonly name: "TooManyTagKeysException";
|
|
54
|
+
readonly $fault: "client";
|
|
55
|
+
constructor(
|
|
56
|
+
opts: __ExceptionOptionType<TooManyTagKeysException, __BaseException>
|
|
57
|
+
);
|
|
58
|
+
}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
BatchInferenceJobMode,
|
|
3
|
+
Domain,
|
|
4
|
+
ImportMode,
|
|
5
|
+
IngestionMode,
|
|
6
|
+
ObjectiveSensitivity,
|
|
7
|
+
RecipeProvider,
|
|
8
|
+
TrainingMode,
|
|
9
|
+
TrainingType,
|
|
10
|
+
} from "./enums";
|
|
3
11
|
export interface AlgorithmImage {
|
|
4
12
|
name?: string | undefined;
|
|
5
13
|
dockerURI: string | undefined;
|
|
@@ -45,12 +53,6 @@ export interface Algorithm {
|
|
|
45
53
|
export interface BatchInferenceJobConfig {
|
|
46
54
|
itemExplorationConfig?: Record<string, string> | undefined;
|
|
47
55
|
}
|
|
48
|
-
export declare const BatchInferenceJobMode: {
|
|
49
|
-
readonly BATCH_INFERENCE: "BATCH_INFERENCE";
|
|
50
|
-
readonly THEME_GENERATION: "THEME_GENERATION";
|
|
51
|
-
};
|
|
52
|
-
export type BatchInferenceJobMode =
|
|
53
|
-
(typeof BatchInferenceJobMode)[keyof typeof BatchInferenceJobMode];
|
|
54
56
|
export interface S3DataConfig {
|
|
55
57
|
path: string | undefined;
|
|
56
58
|
kmsKeyArn?: string | undefined;
|
|
@@ -87,48 +89,6 @@ export interface CreateBatchInferenceJobRequest {
|
|
|
87
89
|
export interface CreateBatchInferenceJobResponse {
|
|
88
90
|
batchInferenceJobArn?: string | undefined;
|
|
89
91
|
}
|
|
90
|
-
export declare class InvalidInputException extends __BaseException {
|
|
91
|
-
readonly name: "InvalidInputException";
|
|
92
|
-
readonly $fault: "client";
|
|
93
|
-
constructor(
|
|
94
|
-
opts: __ExceptionOptionType<InvalidInputException, __BaseException>
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
export declare class LimitExceededException extends __BaseException {
|
|
98
|
-
readonly name: "LimitExceededException";
|
|
99
|
-
readonly $fault: "client";
|
|
100
|
-
constructor(
|
|
101
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
105
|
-
readonly name: "ResourceAlreadyExistsException";
|
|
106
|
-
readonly $fault: "client";
|
|
107
|
-
constructor(
|
|
108
|
-
opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
export declare class ResourceInUseException extends __BaseException {
|
|
112
|
-
readonly name: "ResourceInUseException";
|
|
113
|
-
readonly $fault: "client";
|
|
114
|
-
constructor(
|
|
115
|
-
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
116
|
-
);
|
|
117
|
-
}
|
|
118
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
119
|
-
readonly name: "ResourceNotFoundException";
|
|
120
|
-
readonly $fault: "client";
|
|
121
|
-
constructor(
|
|
122
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
123
|
-
);
|
|
124
|
-
}
|
|
125
|
-
export declare class TooManyTagsException extends __BaseException {
|
|
126
|
-
readonly name: "TooManyTagsException";
|
|
127
|
-
readonly $fault: "client";
|
|
128
|
-
constructor(
|
|
129
|
-
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
130
|
-
);
|
|
131
|
-
}
|
|
132
92
|
export interface BatchSegmentJobInput {
|
|
133
93
|
s3DataSource: S3DataConfig | undefined;
|
|
134
94
|
}
|
|
@@ -186,12 +146,6 @@ export interface CreateDatasetRequest {
|
|
|
186
146
|
export interface CreateDatasetResponse {
|
|
187
147
|
datasetArn?: string | undefined;
|
|
188
148
|
}
|
|
189
|
-
export declare const IngestionMode: {
|
|
190
|
-
readonly ALL: "ALL";
|
|
191
|
-
readonly BULK: "BULK";
|
|
192
|
-
readonly PUT: "PUT";
|
|
193
|
-
};
|
|
194
|
-
export type IngestionMode = (typeof IngestionMode)[keyof typeof IngestionMode];
|
|
195
149
|
export interface DatasetExportJobOutput {
|
|
196
150
|
s3DataDestination: S3DataConfig | undefined;
|
|
197
151
|
}
|
|
@@ -206,11 +160,6 @@ export interface CreateDatasetExportJobRequest {
|
|
|
206
160
|
export interface CreateDatasetExportJobResponse {
|
|
207
161
|
datasetExportJobArn?: string | undefined;
|
|
208
162
|
}
|
|
209
|
-
export declare const Domain: {
|
|
210
|
-
readonly ECOMMERCE: "ECOMMERCE";
|
|
211
|
-
readonly VIDEO_ON_DEMAND: "VIDEO_ON_DEMAND";
|
|
212
|
-
};
|
|
213
|
-
export type Domain = (typeof Domain)[keyof typeof Domain];
|
|
214
163
|
export interface CreateDatasetGroupRequest {
|
|
215
164
|
name: string | undefined;
|
|
216
165
|
roleArn?: string | undefined;
|
|
@@ -222,11 +171,6 @@ export interface CreateDatasetGroupResponse {
|
|
|
222
171
|
datasetGroupArn?: string | undefined;
|
|
223
172
|
domain?: Domain | undefined;
|
|
224
173
|
}
|
|
225
|
-
export declare const ImportMode: {
|
|
226
|
-
readonly FULL: "FULL";
|
|
227
|
-
readonly INCREMENTAL: "INCREMENTAL";
|
|
228
|
-
};
|
|
229
|
-
export type ImportMode = (typeof ImportMode)[keyof typeof ImportMode];
|
|
230
174
|
export interface CreateDatasetImportJobRequest {
|
|
231
175
|
jobName: string | undefined;
|
|
232
176
|
datasetArn: string | undefined;
|
|
@@ -352,14 +296,6 @@ export interface HPOConfig {
|
|
|
352
296
|
hpoResourceConfig?: HPOResourceConfig | undefined;
|
|
353
297
|
algorithmHyperParameterRanges?: HyperParameterRanges | undefined;
|
|
354
298
|
}
|
|
355
|
-
export declare const ObjectiveSensitivity: {
|
|
356
|
-
readonly HIGH: "HIGH";
|
|
357
|
-
readonly LOW: "LOW";
|
|
358
|
-
readonly MEDIUM: "MEDIUM";
|
|
359
|
-
readonly OFF: "OFF";
|
|
360
|
-
};
|
|
361
|
-
export type ObjectiveSensitivity =
|
|
362
|
-
(typeof ObjectiveSensitivity)[keyof typeof ObjectiveSensitivity];
|
|
363
299
|
export interface OptimizationObjective {
|
|
364
300
|
itemAttribute?: string | undefined;
|
|
365
301
|
objectiveSensitivity?: ObjectiveSensitivity | undefined;
|
|
@@ -389,12 +325,6 @@ export interface CreateSolutionRequest {
|
|
|
389
325
|
export interface CreateSolutionResponse {
|
|
390
326
|
solutionArn?: string | undefined;
|
|
391
327
|
}
|
|
392
|
-
export declare const TrainingMode: {
|
|
393
|
-
readonly AUTOTRAIN: "AUTOTRAIN";
|
|
394
|
-
readonly FULL: "FULL";
|
|
395
|
-
readonly UPDATE: "UPDATE";
|
|
396
|
-
};
|
|
397
|
-
export type TrainingMode = (typeof TrainingMode)[keyof typeof TrainingMode];
|
|
398
328
|
export interface CreateSolutionVersionRequest {
|
|
399
329
|
name?: string | undefined;
|
|
400
330
|
solutionArn: string | undefined;
|
|
@@ -741,11 +671,6 @@ export interface SolutionUpdateSummary {
|
|
|
741
671
|
lastUpdatedDateTime?: Date | undefined;
|
|
742
672
|
failureReason?: string | undefined;
|
|
743
673
|
}
|
|
744
|
-
export declare const TrainingType: {
|
|
745
|
-
readonly AUTOMATIC: "AUTOMATIC";
|
|
746
|
-
readonly MANUAL: "MANUAL";
|
|
747
|
-
};
|
|
748
|
-
export type TrainingType = (typeof TrainingType)[keyof typeof TrainingType];
|
|
749
674
|
export interface SolutionVersionSummary {
|
|
750
675
|
solutionVersionArn?: string | undefined;
|
|
751
676
|
status?: string | undefined;
|
|
@@ -810,13 +735,6 @@ export interface GetSolutionMetricsResponse {
|
|
|
810
735
|
solutionVersionArn?: string | undefined;
|
|
811
736
|
metrics?: Record<string, number> | undefined;
|
|
812
737
|
}
|
|
813
|
-
export declare class InvalidNextTokenException extends __BaseException {
|
|
814
|
-
readonly name: "InvalidNextTokenException";
|
|
815
|
-
readonly $fault: "client";
|
|
816
|
-
constructor(
|
|
817
|
-
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
818
|
-
);
|
|
819
|
-
}
|
|
820
738
|
export interface ListBatchInferenceJobsRequest {
|
|
821
739
|
solutionVersionArn?: string | undefined;
|
|
822
740
|
nextToken?: string | undefined;
|
|
@@ -1018,11 +936,6 @@ export interface ListMetricAttributionsResponse {
|
|
|
1018
936
|
metricAttributions?: MetricAttributionSummary[] | undefined;
|
|
1019
937
|
nextToken?: string | undefined;
|
|
1020
938
|
}
|
|
1021
|
-
export declare const RecipeProvider: {
|
|
1022
|
-
readonly SERVICE: "SERVICE";
|
|
1023
|
-
};
|
|
1024
|
-
export type RecipeProvider =
|
|
1025
|
-
(typeof RecipeProvider)[keyof typeof RecipeProvider];
|
|
1026
939
|
export interface ListRecipesRequest {
|
|
1027
940
|
recipeProvider?: RecipeProvider | undefined;
|
|
1028
941
|
nextToken?: string | undefined;
|
|
@@ -1127,13 +1040,6 @@ export interface TagResourceRequest {
|
|
|
1127
1040
|
tags: Tag[] | undefined;
|
|
1128
1041
|
}
|
|
1129
1042
|
export interface TagResourceResponse {}
|
|
1130
|
-
export declare class TooManyTagKeysException extends __BaseException {
|
|
1131
|
-
readonly name: "TooManyTagKeysException";
|
|
1132
|
-
readonly $fault: "client";
|
|
1133
|
-
constructor(
|
|
1134
|
-
opts: __ExceptionOptionType<TooManyTagKeysException, __BaseException>
|
|
1135
|
-
);
|
|
1136
|
-
}
|
|
1137
1043
|
export interface UntagResourceRequest {
|
|
1138
1044
|
resourceArn: string | undefined;
|
|
1139
1045
|
tagKeys: string[] | undefined;
|
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.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-personalize",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|