@aws-sdk/client-amplifyuibuilder 3.934.0 → 3.936.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 +67 -81
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +66 -0
- package/dist-es/models/errors.js +85 -0
- package/dist-es/models/models_0.js +0 -151
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +162 -0
- package/dist-types/models/errors.d.ts +87 -0
- package/dist-types/models/models_0.d.ts +1 -249
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +85 -0
- package/dist-types/ts3.4/models/errors.d.ts +51 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -136
- package/package.json +19 -19
- 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,51 +117,6 @@ let AmplifyUIBuilderServiceException$1 = class AmplifyUIBuilderServiceException
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const CodegenJobGenericDataSourceType = {
|
|
121
|
-
DATA_STORE: "DataStore",
|
|
122
|
-
};
|
|
123
|
-
const CodegenGenericDataFieldDataType = {
|
|
124
|
-
AWS_DATE: "AWSDate",
|
|
125
|
-
AWS_DATE_TIME: "AWSDateTime",
|
|
126
|
-
AWS_EMAIL: "AWSEmail",
|
|
127
|
-
AWS_IP_ADDRESS: "AWSIPAddress",
|
|
128
|
-
AWS_JSON: "AWSJSON",
|
|
129
|
-
AWS_PHONE: "AWSPhone",
|
|
130
|
-
AWS_TIME: "AWSTime",
|
|
131
|
-
AWS_TIMESTAMP: "AWSTimestamp",
|
|
132
|
-
AWS_URL: "AWSURL",
|
|
133
|
-
BOOLEAN: "Boolean",
|
|
134
|
-
ENUM: "Enum",
|
|
135
|
-
FLOAT: "Float",
|
|
136
|
-
ID: "ID",
|
|
137
|
-
INT: "Int",
|
|
138
|
-
MODEL: "Model",
|
|
139
|
-
NON_MODEL: "NonModel",
|
|
140
|
-
STRING: "String",
|
|
141
|
-
};
|
|
142
|
-
const GenericDataRelationshipType = {
|
|
143
|
-
BELONGS_TO: "BELONGS_TO",
|
|
144
|
-
HAS_MANY: "HAS_MANY",
|
|
145
|
-
HAS_ONE: "HAS_ONE",
|
|
146
|
-
};
|
|
147
|
-
const JSModule = {
|
|
148
|
-
ES2020: "es2020",
|
|
149
|
-
ESNEXT: "esnext",
|
|
150
|
-
};
|
|
151
|
-
const JSScript = {
|
|
152
|
-
JS: "js",
|
|
153
|
-
JSX: "jsx",
|
|
154
|
-
TSX: "tsx",
|
|
155
|
-
};
|
|
156
|
-
const JSTarget = {
|
|
157
|
-
ES2015: "es2015",
|
|
158
|
-
ES2020: "es2020",
|
|
159
|
-
};
|
|
160
|
-
const CodegenJobStatus = {
|
|
161
|
-
FAILED: "failed",
|
|
162
|
-
IN_PROGRESS: "in_progress",
|
|
163
|
-
SUCCEEDED: "succeeded",
|
|
164
|
-
};
|
|
165
120
|
let InternalServerException$1 = class InternalServerException extends AmplifyUIBuilderServiceException$1 {
|
|
166
121
|
name = "InternalServerException";
|
|
167
122
|
$fault = "server";
|
|
@@ -210,10 +165,6 @@ let ThrottlingException$1 = class ThrottlingException extends AmplifyUIBuilderSe
|
|
|
210
165
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
211
166
|
}
|
|
212
167
|
};
|
|
213
|
-
const SortDirection = {
|
|
214
|
-
ASC: "ASC",
|
|
215
|
-
DESC: "DESC",
|
|
216
|
-
};
|
|
217
168
|
let ResourceConflictException$1 = class ResourceConflictException extends AmplifyUIBuilderServiceException$1 {
|
|
218
169
|
name = "ResourceConflictException";
|
|
219
170
|
$fault = "client";
|
|
@@ -238,35 +189,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
238
189
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
239
190
|
}
|
|
240
191
|
};
|
|
241
|
-
const TokenProviders = {
|
|
242
|
-
FIGMA: "figma",
|
|
243
|
-
};
|
|
244
|
-
const FixedPosition = {
|
|
245
|
-
FIRST: "first",
|
|
246
|
-
};
|
|
247
|
-
const FormButtonsPosition = {
|
|
248
|
-
BOTTOM: "bottom",
|
|
249
|
-
TOP: "top",
|
|
250
|
-
TOP_AND_BOTTOM: "top_and_bottom",
|
|
251
|
-
};
|
|
252
|
-
const FormDataSourceType = {
|
|
253
|
-
CUSTOM: "Custom",
|
|
254
|
-
DATASTORE: "DataStore",
|
|
255
|
-
};
|
|
256
|
-
const StorageAccessLevel = {
|
|
257
|
-
PRIVATE: "private",
|
|
258
|
-
PROTECTED: "protected",
|
|
259
|
-
PUBLIC: "public",
|
|
260
|
-
};
|
|
261
|
-
const FormActionType = {
|
|
262
|
-
CREATE: "create",
|
|
263
|
-
UPDATE: "update",
|
|
264
|
-
};
|
|
265
|
-
const LabelDecorator = {
|
|
266
|
-
NONE: "none",
|
|
267
|
-
OPTIONAL: "optional",
|
|
268
|
-
REQUIRED: "required",
|
|
269
|
-
};
|
|
270
192
|
let UnauthorizedException$1 = class UnauthorizedException extends AmplifyUIBuilderServiceException$1 {
|
|
271
193
|
name = "UnauthorizedException";
|
|
272
194
|
$fault = "client";
|
|
@@ -2392,6 +2314,73 @@ const paginateListForms = core.createPaginator(AmplifyUIBuilderClient, ListForms
|
|
|
2392
2314
|
|
|
2393
2315
|
const paginateListThemes = core.createPaginator(AmplifyUIBuilderClient, ListThemesCommand, "nextToken", "nextToken", "maxResults");
|
|
2394
2316
|
|
|
2317
|
+
const CodegenJobGenericDataSourceType = {
|
|
2318
|
+
DATA_STORE: "DataStore",
|
|
2319
|
+
};
|
|
2320
|
+
const CodegenGenericDataFieldDataType = {
|
|
2321
|
+
AWS_DATE: "AWSDate",
|
|
2322
|
+
AWS_DATE_TIME: "AWSDateTime",
|
|
2323
|
+
AWS_EMAIL: "AWSEmail",
|
|
2324
|
+
AWS_IP_ADDRESS: "AWSIPAddress",
|
|
2325
|
+
AWS_JSON: "AWSJSON",
|
|
2326
|
+
AWS_PHONE: "AWSPhone",
|
|
2327
|
+
AWS_TIME: "AWSTime",
|
|
2328
|
+
AWS_TIMESTAMP: "AWSTimestamp",
|
|
2329
|
+
AWS_URL: "AWSURL",
|
|
2330
|
+
BOOLEAN: "Boolean",
|
|
2331
|
+
ENUM: "Enum",
|
|
2332
|
+
FLOAT: "Float",
|
|
2333
|
+
ID: "ID",
|
|
2334
|
+
INT: "Int",
|
|
2335
|
+
MODEL: "Model",
|
|
2336
|
+
NON_MODEL: "NonModel",
|
|
2337
|
+
STRING: "String",
|
|
2338
|
+
};
|
|
2339
|
+
const GenericDataRelationshipType = {
|
|
2340
|
+
BELONGS_TO: "BELONGS_TO",
|
|
2341
|
+
HAS_MANY: "HAS_MANY",
|
|
2342
|
+
HAS_ONE: "HAS_ONE",
|
|
2343
|
+
};
|
|
2344
|
+
const JSModule = {
|
|
2345
|
+
ES2020: "es2020",
|
|
2346
|
+
ESNEXT: "esnext",
|
|
2347
|
+
};
|
|
2348
|
+
const JSScript = {
|
|
2349
|
+
JS: "js",
|
|
2350
|
+
JSX: "jsx",
|
|
2351
|
+
TSX: "tsx",
|
|
2352
|
+
};
|
|
2353
|
+
const JSTarget = {
|
|
2354
|
+
ES2015: "es2015",
|
|
2355
|
+
ES2020: "es2020",
|
|
2356
|
+
};
|
|
2357
|
+
const CodegenJobStatus = {
|
|
2358
|
+
FAILED: "failed",
|
|
2359
|
+
IN_PROGRESS: "in_progress",
|
|
2360
|
+
SUCCEEDED: "succeeded",
|
|
2361
|
+
};
|
|
2362
|
+
const SortDirection = {
|
|
2363
|
+
ASC: "ASC",
|
|
2364
|
+
DESC: "DESC",
|
|
2365
|
+
};
|
|
2366
|
+
const FixedPosition = {
|
|
2367
|
+
FIRST: "first",
|
|
2368
|
+
};
|
|
2369
|
+
const FormButtonsPosition = {
|
|
2370
|
+
BOTTOM: "bottom",
|
|
2371
|
+
TOP: "top",
|
|
2372
|
+
TOP_AND_BOTTOM: "top_and_bottom",
|
|
2373
|
+
};
|
|
2374
|
+
const StorageAccessLevel = {
|
|
2375
|
+
PRIVATE: "private",
|
|
2376
|
+
PROTECTED: "protected",
|
|
2377
|
+
PUBLIC: "public",
|
|
2378
|
+
};
|
|
2379
|
+
const FormActionType = {
|
|
2380
|
+
CREATE: "create",
|
|
2381
|
+
UPDATE: "update",
|
|
2382
|
+
};
|
|
2383
|
+
|
|
2395
2384
|
Object.defineProperty(exports, "$Command", {
|
|
2396
2385
|
enumerable: true,
|
|
2397
2386
|
get: function () { return smithyClient.Command; }
|
|
@@ -2419,7 +2408,6 @@ exports.ExportThemesCommand = ExportThemesCommand;
|
|
|
2419
2408
|
exports.FixedPosition = FixedPosition;
|
|
2420
2409
|
exports.FormActionType = FormActionType;
|
|
2421
2410
|
exports.FormButtonsPosition = FormButtonsPosition;
|
|
2422
|
-
exports.FormDataSourceType = FormDataSourceType;
|
|
2423
2411
|
exports.GenericDataRelationshipType = GenericDataRelationshipType;
|
|
2424
2412
|
exports.GetCodegenJobCommand = GetCodegenJobCommand;
|
|
2425
2413
|
exports.GetComponentCommand = GetComponentCommand;
|
|
@@ -2431,7 +2419,6 @@ exports.InvalidParameterException = InvalidParameterException$1;
|
|
|
2431
2419
|
exports.JSModule = JSModule;
|
|
2432
2420
|
exports.JSScript = JSScript;
|
|
2433
2421
|
exports.JSTarget = JSTarget;
|
|
2434
|
-
exports.LabelDecorator = LabelDecorator;
|
|
2435
2422
|
exports.ListCodegenJobsCommand = ListCodegenJobsCommand;
|
|
2436
2423
|
exports.ListComponentsCommand = ListComponentsCommand;
|
|
2437
2424
|
exports.ListFormsCommand = ListFormsCommand;
|
|
@@ -2447,7 +2434,6 @@ exports.StartCodegenJobCommand = StartCodegenJobCommand;
|
|
|
2447
2434
|
exports.StorageAccessLevel = StorageAccessLevel;
|
|
2448
2435
|
exports.TagResourceCommand = TagResourceCommand;
|
|
2449
2436
|
exports.ThrottlingException = ThrottlingException$1;
|
|
2450
|
-
exports.TokenProviders = TokenProviders;
|
|
2451
2437
|
exports.UnauthorizedException = UnauthorizedException$1;
|
|
2452
2438
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
2453
2439
|
exports.UpdateComponentCommand = UpdateComponentCommand;
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./AmplifyUIBuilderClient";
|
|
|
2
2
|
export * from "./AmplifyUIBuilder";
|
|
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 { AmplifyUIBuilderServiceException } from "./models/AmplifyUIBuilderServiceException";
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export const CodegenJobGenericDataSourceType = {
|
|
2
|
+
DATA_STORE: "DataStore",
|
|
3
|
+
};
|
|
4
|
+
export const CodegenGenericDataFieldDataType = {
|
|
5
|
+
AWS_DATE: "AWSDate",
|
|
6
|
+
AWS_DATE_TIME: "AWSDateTime",
|
|
7
|
+
AWS_EMAIL: "AWSEmail",
|
|
8
|
+
AWS_IP_ADDRESS: "AWSIPAddress",
|
|
9
|
+
AWS_JSON: "AWSJSON",
|
|
10
|
+
AWS_PHONE: "AWSPhone",
|
|
11
|
+
AWS_TIME: "AWSTime",
|
|
12
|
+
AWS_TIMESTAMP: "AWSTimestamp",
|
|
13
|
+
AWS_URL: "AWSURL",
|
|
14
|
+
BOOLEAN: "Boolean",
|
|
15
|
+
ENUM: "Enum",
|
|
16
|
+
FLOAT: "Float",
|
|
17
|
+
ID: "ID",
|
|
18
|
+
INT: "Int",
|
|
19
|
+
MODEL: "Model",
|
|
20
|
+
NON_MODEL: "NonModel",
|
|
21
|
+
STRING: "String",
|
|
22
|
+
};
|
|
23
|
+
export const GenericDataRelationshipType = {
|
|
24
|
+
BELONGS_TO: "BELONGS_TO",
|
|
25
|
+
HAS_MANY: "HAS_MANY",
|
|
26
|
+
HAS_ONE: "HAS_ONE",
|
|
27
|
+
};
|
|
28
|
+
export const JSModule = {
|
|
29
|
+
ES2020: "es2020",
|
|
30
|
+
ESNEXT: "esnext",
|
|
31
|
+
};
|
|
32
|
+
export const JSScript = {
|
|
33
|
+
JS: "js",
|
|
34
|
+
JSX: "jsx",
|
|
35
|
+
TSX: "tsx",
|
|
36
|
+
};
|
|
37
|
+
export const JSTarget = {
|
|
38
|
+
ES2015: "es2015",
|
|
39
|
+
ES2020: "es2020",
|
|
40
|
+
};
|
|
41
|
+
export const CodegenJobStatus = {
|
|
42
|
+
FAILED: "failed",
|
|
43
|
+
IN_PROGRESS: "in_progress",
|
|
44
|
+
SUCCEEDED: "succeeded",
|
|
45
|
+
};
|
|
46
|
+
export const SortDirection = {
|
|
47
|
+
ASC: "ASC",
|
|
48
|
+
DESC: "DESC",
|
|
49
|
+
};
|
|
50
|
+
export const FixedPosition = {
|
|
51
|
+
FIRST: "first",
|
|
52
|
+
};
|
|
53
|
+
export const FormButtonsPosition = {
|
|
54
|
+
BOTTOM: "bottom",
|
|
55
|
+
TOP: "top",
|
|
56
|
+
TOP_AND_BOTTOM: "top_and_bottom",
|
|
57
|
+
};
|
|
58
|
+
export const StorageAccessLevel = {
|
|
59
|
+
PRIVATE: "private",
|
|
60
|
+
PROTECTED: "protected",
|
|
61
|
+
PUBLIC: "public",
|
|
62
|
+
};
|
|
63
|
+
export const FormActionType = {
|
|
64
|
+
CREATE: "create",
|
|
65
|
+
UPDATE: "update",
|
|
66
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { AmplifyUIBuilderServiceException as __BaseException } from "./AmplifyUIBuilderServiceException";
|
|
2
|
+
export class InternalServerException extends __BaseException {
|
|
3
|
+
name = "InternalServerException";
|
|
4
|
+
$fault = "server";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "InternalServerException",
|
|
8
|
+
$fault: "server",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class InvalidParameterException extends __BaseException {
|
|
15
|
+
name = "InvalidParameterException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "InvalidParameterException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
27
|
+
name = "ResourceNotFoundException";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "ResourceNotFoundException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class ThrottlingException extends __BaseException {
|
|
39
|
+
name = "ThrottlingException";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "ThrottlingException",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class ResourceConflictException extends __BaseException {
|
|
51
|
+
name = "ResourceConflictException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "ResourceConflictException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
63
|
+
name = "ServiceQuotaExceededException";
|
|
64
|
+
$fault = "client";
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "ServiceQuotaExceededException",
|
|
68
|
+
$fault: "client",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export class UnauthorizedException extends __BaseException {
|
|
75
|
+
name = "UnauthorizedException";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "UnauthorizedException",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -1,163 +1,12 @@
|
|
|
1
|
-
import { AmplifyUIBuilderServiceException as __BaseException } from "./AmplifyUIBuilderServiceException";
|
|
2
|
-
export const CodegenJobGenericDataSourceType = {
|
|
3
|
-
DATA_STORE: "DataStore",
|
|
4
|
-
};
|
|
5
|
-
export const CodegenGenericDataFieldDataType = {
|
|
6
|
-
AWS_DATE: "AWSDate",
|
|
7
|
-
AWS_DATE_TIME: "AWSDateTime",
|
|
8
|
-
AWS_EMAIL: "AWSEmail",
|
|
9
|
-
AWS_IP_ADDRESS: "AWSIPAddress",
|
|
10
|
-
AWS_JSON: "AWSJSON",
|
|
11
|
-
AWS_PHONE: "AWSPhone",
|
|
12
|
-
AWS_TIME: "AWSTime",
|
|
13
|
-
AWS_TIMESTAMP: "AWSTimestamp",
|
|
14
|
-
AWS_URL: "AWSURL",
|
|
15
|
-
BOOLEAN: "Boolean",
|
|
16
|
-
ENUM: "Enum",
|
|
17
|
-
FLOAT: "Float",
|
|
18
|
-
ID: "ID",
|
|
19
|
-
INT: "Int",
|
|
20
|
-
MODEL: "Model",
|
|
21
|
-
NON_MODEL: "NonModel",
|
|
22
|
-
STRING: "String",
|
|
23
|
-
};
|
|
24
|
-
export const GenericDataRelationshipType = {
|
|
25
|
-
BELONGS_TO: "BELONGS_TO",
|
|
26
|
-
HAS_MANY: "HAS_MANY",
|
|
27
|
-
HAS_ONE: "HAS_ONE",
|
|
28
|
-
};
|
|
29
|
-
export const JSModule = {
|
|
30
|
-
ES2020: "es2020",
|
|
31
|
-
ESNEXT: "esnext",
|
|
32
|
-
};
|
|
33
|
-
export const JSScript = {
|
|
34
|
-
JS: "js",
|
|
35
|
-
JSX: "jsx",
|
|
36
|
-
TSX: "tsx",
|
|
37
|
-
};
|
|
38
|
-
export const JSTarget = {
|
|
39
|
-
ES2015: "es2015",
|
|
40
|
-
ES2020: "es2020",
|
|
41
|
-
};
|
|
42
|
-
export const CodegenJobStatus = {
|
|
43
|
-
FAILED: "failed",
|
|
44
|
-
IN_PROGRESS: "in_progress",
|
|
45
|
-
SUCCEEDED: "succeeded",
|
|
46
|
-
};
|
|
47
|
-
export class InternalServerException extends __BaseException {
|
|
48
|
-
name = "InternalServerException";
|
|
49
|
-
$fault = "server";
|
|
50
|
-
constructor(opts) {
|
|
51
|
-
super({
|
|
52
|
-
name: "InternalServerException",
|
|
53
|
-
$fault: "server",
|
|
54
|
-
...opts,
|
|
55
|
-
});
|
|
56
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
export class InvalidParameterException extends __BaseException {
|
|
60
|
-
name = "InvalidParameterException";
|
|
61
|
-
$fault = "client";
|
|
62
|
-
constructor(opts) {
|
|
63
|
-
super({
|
|
64
|
-
name: "InvalidParameterException",
|
|
65
|
-
$fault: "client",
|
|
66
|
-
...opts,
|
|
67
|
-
});
|
|
68
|
-
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
72
|
-
name = "ResourceNotFoundException";
|
|
73
|
-
$fault = "client";
|
|
74
|
-
constructor(opts) {
|
|
75
|
-
super({
|
|
76
|
-
name: "ResourceNotFoundException",
|
|
77
|
-
$fault: "client",
|
|
78
|
-
...opts,
|
|
79
|
-
});
|
|
80
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
export class ThrottlingException extends __BaseException {
|
|
84
|
-
name = "ThrottlingException";
|
|
85
|
-
$fault = "client";
|
|
86
|
-
constructor(opts) {
|
|
87
|
-
super({
|
|
88
|
-
name: "ThrottlingException",
|
|
89
|
-
$fault: "client",
|
|
90
|
-
...opts,
|
|
91
|
-
});
|
|
92
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
export const SortDirection = {
|
|
96
|
-
ASC: "ASC",
|
|
97
|
-
DESC: "DESC",
|
|
98
|
-
};
|
|
99
|
-
export class ResourceConflictException extends __BaseException {
|
|
100
|
-
name = "ResourceConflictException";
|
|
101
|
-
$fault = "client";
|
|
102
|
-
constructor(opts) {
|
|
103
|
-
super({
|
|
104
|
-
name: "ResourceConflictException",
|
|
105
|
-
$fault: "client",
|
|
106
|
-
...opts,
|
|
107
|
-
});
|
|
108
|
-
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
112
|
-
name = "ServiceQuotaExceededException";
|
|
113
|
-
$fault = "client";
|
|
114
|
-
constructor(opts) {
|
|
115
|
-
super({
|
|
116
|
-
name: "ServiceQuotaExceededException",
|
|
117
|
-
$fault: "client",
|
|
118
|
-
...opts,
|
|
119
|
-
});
|
|
120
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
1
|
export const TokenProviders = {
|
|
124
2
|
FIGMA: "figma",
|
|
125
3
|
};
|
|
126
|
-
export const FixedPosition = {
|
|
127
|
-
FIRST: "first",
|
|
128
|
-
};
|
|
129
|
-
export const FormButtonsPosition = {
|
|
130
|
-
BOTTOM: "bottom",
|
|
131
|
-
TOP: "top",
|
|
132
|
-
TOP_AND_BOTTOM: "top_and_bottom",
|
|
133
|
-
};
|
|
134
4
|
export const FormDataSourceType = {
|
|
135
5
|
CUSTOM: "Custom",
|
|
136
6
|
DATASTORE: "DataStore",
|
|
137
7
|
};
|
|
138
|
-
export const StorageAccessLevel = {
|
|
139
|
-
PRIVATE: "private",
|
|
140
|
-
PROTECTED: "protected",
|
|
141
|
-
PUBLIC: "public",
|
|
142
|
-
};
|
|
143
|
-
export const FormActionType = {
|
|
144
|
-
CREATE: "create",
|
|
145
|
-
UPDATE: "update",
|
|
146
|
-
};
|
|
147
8
|
export const LabelDecorator = {
|
|
148
9
|
NONE: "none",
|
|
149
10
|
OPTIONAL: "optional",
|
|
150
11
|
REQUIRED: "required",
|
|
151
12
|
};
|
|
152
|
-
export class UnauthorizedException extends __BaseException {
|
|
153
|
-
name = "UnauthorizedException";
|
|
154
|
-
$fault = "client";
|
|
155
|
-
constructor(opts) {
|
|
156
|
-
super({
|
|
157
|
-
name: "UnauthorizedException",
|
|
158
|
-
$fault: "client",
|
|
159
|
-
...opts,
|
|
160
|
-
});
|
|
161
|
-
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
@@ -377,7 +377,7 @@ const _vali = "validations";
|
|
|
377
377
|
const n0 = "com.amazonaws.amplifyuibuilder";
|
|
378
378
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
379
379
|
import { AmplifyUIBuilderServiceException as __AmplifyUIBuilderServiceException } from "../models/AmplifyUIBuilderServiceException";
|
|
380
|
-
import { InternalServerException as __InternalServerException, InvalidParameterException as __InvalidParameterException, ResourceConflictException as __ResourceConflictException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, UnauthorizedException as __UnauthorizedException, } from "../models/
|
|
380
|
+
import { InternalServerException as __InternalServerException, InvalidParameterException as __InvalidParameterException, ResourceConflictException as __ResourceConflictException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, UnauthorizedException as __UnauthorizedException, } from "../models/errors";
|
|
381
381
|
export var SensitiveString = [0, n0, _SS, 8, 0];
|
|
382
382
|
export var ActionParameters = [
|
|
383
383
|
3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -18,5 +18,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
18
18
|
export type { AmplifyUIBuilderExtensionConfiguration } from "./extensionConfiguration";
|
|
19
19
|
export * from "./commands";
|
|
20
20
|
export * from "./pagination";
|
|
21
|
-
export * from "./models";
|
|
21
|
+
export * from "./models/enums";
|
|
22
|
+
export * from "./models/errors";
|
|
23
|
+
export type * from "./models/models_0";
|
|
22
24
|
export { AmplifyUIBuilderServiceException } from "./models/AmplifyUIBuilderServiceException";
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const CodegenJobGenericDataSourceType: {
|
|
6
|
+
readonly DATA_STORE: "DataStore";
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export type CodegenJobGenericDataSourceType = (typeof CodegenJobGenericDataSourceType)[keyof typeof CodegenJobGenericDataSourceType];
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
* @enum
|
|
15
|
+
*/
|
|
16
|
+
export declare const CodegenGenericDataFieldDataType: {
|
|
17
|
+
readonly AWS_DATE: "AWSDate";
|
|
18
|
+
readonly AWS_DATE_TIME: "AWSDateTime";
|
|
19
|
+
readonly AWS_EMAIL: "AWSEmail";
|
|
20
|
+
readonly AWS_IP_ADDRESS: "AWSIPAddress";
|
|
21
|
+
readonly AWS_JSON: "AWSJSON";
|
|
22
|
+
readonly AWS_PHONE: "AWSPhone";
|
|
23
|
+
readonly AWS_TIME: "AWSTime";
|
|
24
|
+
readonly AWS_TIMESTAMP: "AWSTimestamp";
|
|
25
|
+
readonly AWS_URL: "AWSURL";
|
|
26
|
+
readonly BOOLEAN: "Boolean";
|
|
27
|
+
readonly ENUM: "Enum";
|
|
28
|
+
readonly FLOAT: "Float";
|
|
29
|
+
readonly ID: "ID";
|
|
30
|
+
readonly INT: "Int";
|
|
31
|
+
readonly MODEL: "Model";
|
|
32
|
+
readonly NON_MODEL: "NonModel";
|
|
33
|
+
readonly STRING: "String";
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export type CodegenGenericDataFieldDataType = (typeof CodegenGenericDataFieldDataType)[keyof typeof CodegenGenericDataFieldDataType];
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
* @enum
|
|
42
|
+
*/
|
|
43
|
+
export declare const GenericDataRelationshipType: {
|
|
44
|
+
readonly BELONGS_TO: "BELONGS_TO";
|
|
45
|
+
readonly HAS_MANY: "HAS_MANY";
|
|
46
|
+
readonly HAS_ONE: "HAS_ONE";
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export type GenericDataRelationshipType = (typeof GenericDataRelationshipType)[keyof typeof GenericDataRelationshipType];
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
* @enum
|
|
55
|
+
*/
|
|
56
|
+
export declare const JSModule: {
|
|
57
|
+
readonly ES2020: "es2020";
|
|
58
|
+
readonly ESNEXT: "esnext";
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export type JSModule = (typeof JSModule)[keyof typeof JSModule];
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
* @enum
|
|
67
|
+
*/
|
|
68
|
+
export declare const JSScript: {
|
|
69
|
+
readonly JS: "js";
|
|
70
|
+
readonly JSX: "jsx";
|
|
71
|
+
readonly TSX: "tsx";
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export type JSScript = (typeof JSScript)[keyof typeof JSScript];
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
* @enum
|
|
80
|
+
*/
|
|
81
|
+
export declare const JSTarget: {
|
|
82
|
+
readonly ES2015: "es2015";
|
|
83
|
+
readonly ES2020: "es2020";
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export type JSTarget = (typeof JSTarget)[keyof typeof JSTarget];
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
* @enum
|
|
92
|
+
*/
|
|
93
|
+
export declare const CodegenJobStatus: {
|
|
94
|
+
readonly FAILED: "failed";
|
|
95
|
+
readonly IN_PROGRESS: "in_progress";
|
|
96
|
+
readonly SUCCEEDED: "succeeded";
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export type CodegenJobStatus = (typeof CodegenJobStatus)[keyof typeof CodegenJobStatus];
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
* @enum
|
|
105
|
+
*/
|
|
106
|
+
export declare const SortDirection: {
|
|
107
|
+
readonly ASC: "ASC";
|
|
108
|
+
readonly DESC: "DESC";
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export type SortDirection = (typeof SortDirection)[keyof typeof SortDirection];
|
|
114
|
+
/**
|
|
115
|
+
* @public
|
|
116
|
+
* @enum
|
|
117
|
+
*/
|
|
118
|
+
export declare const FixedPosition: {
|
|
119
|
+
readonly FIRST: "first";
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export type FixedPosition = (typeof FixedPosition)[keyof typeof FixedPosition];
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
* @enum
|
|
128
|
+
*/
|
|
129
|
+
export declare const FormButtonsPosition: {
|
|
130
|
+
readonly BOTTOM: "bottom";
|
|
131
|
+
readonly TOP: "top";
|
|
132
|
+
readonly TOP_AND_BOTTOM: "top_and_bottom";
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
export type FormButtonsPosition = (typeof FormButtonsPosition)[keyof typeof FormButtonsPosition];
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
* @enum
|
|
141
|
+
*/
|
|
142
|
+
export declare const StorageAccessLevel: {
|
|
143
|
+
readonly PRIVATE: "private";
|
|
144
|
+
readonly PROTECTED: "protected";
|
|
145
|
+
readonly PUBLIC: "public";
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
export type StorageAccessLevel = (typeof StorageAccessLevel)[keyof typeof StorageAccessLevel];
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
* @enum
|
|
154
|
+
*/
|
|
155
|
+
export declare const FormActionType: {
|
|
156
|
+
readonly CREATE: "create";
|
|
157
|
+
readonly UPDATE: "update";
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
export type FormActionType = (typeof FormActionType)[keyof typeof FormActionType];
|