@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
|
@@ -1,5 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
CodegenGenericDataFieldDataType,
|
|
3
|
+
CodegenJobGenericDataSourceType,
|
|
4
|
+
CodegenJobStatus,
|
|
5
|
+
FixedPosition,
|
|
6
|
+
FormActionType,
|
|
7
|
+
FormButtonsPosition,
|
|
8
|
+
GenericDataRelationshipType,
|
|
9
|
+
JSModule,
|
|
10
|
+
JSScript,
|
|
11
|
+
JSTarget,
|
|
12
|
+
SortDirection,
|
|
13
|
+
StorageAccessLevel,
|
|
14
|
+
} from "./enums";
|
|
3
15
|
export interface ComponentPropertyBindingProperties {
|
|
4
16
|
property: string | undefined;
|
|
5
17
|
field?: string | undefined;
|
|
@@ -26,42 +38,9 @@ export interface CodegenFeatureFlags {
|
|
|
26
38
|
isRelationshipSupported?: boolean | undefined;
|
|
27
39
|
isNonModelSupported?: boolean | undefined;
|
|
28
40
|
}
|
|
29
|
-
export declare const CodegenJobGenericDataSourceType: {
|
|
30
|
-
readonly DATA_STORE: "DataStore";
|
|
31
|
-
};
|
|
32
|
-
export type CodegenJobGenericDataSourceType =
|
|
33
|
-
(typeof CodegenJobGenericDataSourceType)[keyof typeof CodegenJobGenericDataSourceType];
|
|
34
41
|
export interface CodegenGenericDataEnum {
|
|
35
42
|
values: string[] | undefined;
|
|
36
43
|
}
|
|
37
|
-
export declare const CodegenGenericDataFieldDataType: {
|
|
38
|
-
readonly AWS_DATE: "AWSDate";
|
|
39
|
-
readonly AWS_DATE_TIME: "AWSDateTime";
|
|
40
|
-
readonly AWS_EMAIL: "AWSEmail";
|
|
41
|
-
readonly AWS_IP_ADDRESS: "AWSIPAddress";
|
|
42
|
-
readonly AWS_JSON: "AWSJSON";
|
|
43
|
-
readonly AWS_PHONE: "AWSPhone";
|
|
44
|
-
readonly AWS_TIME: "AWSTime";
|
|
45
|
-
readonly AWS_TIMESTAMP: "AWSTimestamp";
|
|
46
|
-
readonly AWS_URL: "AWSURL";
|
|
47
|
-
readonly BOOLEAN: "Boolean";
|
|
48
|
-
readonly ENUM: "Enum";
|
|
49
|
-
readonly FLOAT: "Float";
|
|
50
|
-
readonly ID: "ID";
|
|
51
|
-
readonly INT: "Int";
|
|
52
|
-
readonly MODEL: "Model";
|
|
53
|
-
readonly NON_MODEL: "NonModel";
|
|
54
|
-
readonly STRING: "String";
|
|
55
|
-
};
|
|
56
|
-
export type CodegenGenericDataFieldDataType =
|
|
57
|
-
(typeof CodegenGenericDataFieldDataType)[keyof typeof CodegenGenericDataFieldDataType];
|
|
58
|
-
export declare const GenericDataRelationshipType: {
|
|
59
|
-
readonly BELONGS_TO: "BELONGS_TO";
|
|
60
|
-
readonly HAS_MANY: "HAS_MANY";
|
|
61
|
-
readonly HAS_ONE: "HAS_ONE";
|
|
62
|
-
};
|
|
63
|
-
export type GenericDataRelationshipType =
|
|
64
|
-
(typeof GenericDataRelationshipType)[keyof typeof GenericDataRelationshipType];
|
|
65
44
|
export interface CodegenGenericDataRelationshipType {
|
|
66
45
|
type: GenericDataRelationshipType | undefined;
|
|
67
46
|
relatedModelName: string | undefined;
|
|
@@ -141,22 +120,6 @@ export declare namespace ApiConfiguration {
|
|
|
141
120
|
_: (name: string, value: any) => T;
|
|
142
121
|
}
|
|
143
122
|
}
|
|
144
|
-
export declare const JSModule: {
|
|
145
|
-
readonly ES2020: "es2020";
|
|
146
|
-
readonly ESNEXT: "esnext";
|
|
147
|
-
};
|
|
148
|
-
export type JSModule = (typeof JSModule)[keyof typeof JSModule];
|
|
149
|
-
export declare const JSScript: {
|
|
150
|
-
readonly JS: "js";
|
|
151
|
-
readonly JSX: "jsx";
|
|
152
|
-
readonly TSX: "tsx";
|
|
153
|
-
};
|
|
154
|
-
export type JSScript = (typeof JSScript)[keyof typeof JSScript];
|
|
155
|
-
export declare const JSTarget: {
|
|
156
|
-
readonly ES2015: "es2015";
|
|
157
|
-
readonly ES2020: "es2020";
|
|
158
|
-
};
|
|
159
|
-
export type JSTarget = (typeof JSTarget)[keyof typeof JSTarget];
|
|
160
123
|
export interface ReactStartCodegenJobData {
|
|
161
124
|
module?: JSModule | undefined;
|
|
162
125
|
target?: JSTarget | undefined;
|
|
@@ -183,13 +146,6 @@ export declare namespace CodegenJobRenderConfig {
|
|
|
183
146
|
_: (name: string, value: any) => T;
|
|
184
147
|
}
|
|
185
148
|
}
|
|
186
|
-
export declare const CodegenJobStatus: {
|
|
187
|
-
readonly FAILED: "failed";
|
|
188
|
-
readonly IN_PROGRESS: "in_progress";
|
|
189
|
-
readonly SUCCEEDED: "succeeded";
|
|
190
|
-
};
|
|
191
|
-
export type CodegenJobStatus =
|
|
192
|
-
(typeof CodegenJobStatus)[keyof typeof CodegenJobStatus];
|
|
193
149
|
export interface CodegenJob {
|
|
194
150
|
id: string | undefined;
|
|
195
151
|
appId: string | undefined;
|
|
@@ -209,34 +165,6 @@ export interface CodegenJob {
|
|
|
209
165
|
export interface GetCodegenJobResponse {
|
|
210
166
|
job?: CodegenJob | undefined;
|
|
211
167
|
}
|
|
212
|
-
export declare class InternalServerException extends __BaseException {
|
|
213
|
-
readonly name: "InternalServerException";
|
|
214
|
-
readonly $fault: "server";
|
|
215
|
-
constructor(
|
|
216
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
217
|
-
);
|
|
218
|
-
}
|
|
219
|
-
export declare class InvalidParameterException extends __BaseException {
|
|
220
|
-
readonly name: "InvalidParameterException";
|
|
221
|
-
readonly $fault: "client";
|
|
222
|
-
constructor(
|
|
223
|
-
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
224
|
-
);
|
|
225
|
-
}
|
|
226
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
227
|
-
readonly name: "ResourceNotFoundException";
|
|
228
|
-
readonly $fault: "client";
|
|
229
|
-
constructor(
|
|
230
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
231
|
-
);
|
|
232
|
-
}
|
|
233
|
-
export declare class ThrottlingException extends __BaseException {
|
|
234
|
-
readonly name: "ThrottlingException";
|
|
235
|
-
readonly $fault: "client";
|
|
236
|
-
constructor(
|
|
237
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
238
|
-
);
|
|
239
|
-
}
|
|
240
168
|
export interface ListCodegenJobsRequest {
|
|
241
169
|
appId: string | undefined;
|
|
242
170
|
environmentName: string | undefined;
|
|
@@ -270,11 +198,6 @@ export interface StartCodegenJobRequest {
|
|
|
270
198
|
export interface StartCodegenJobResponse {
|
|
271
199
|
entity?: CodegenJob | undefined;
|
|
272
200
|
}
|
|
273
|
-
export declare const SortDirection: {
|
|
274
|
-
readonly ASC: "ASC";
|
|
275
|
-
readonly DESC: "DESC";
|
|
276
|
-
};
|
|
277
|
-
export type SortDirection = (typeof SortDirection)[keyof typeof SortDirection];
|
|
278
201
|
export interface SortProperty {
|
|
279
202
|
field: string | undefined;
|
|
280
203
|
direction: SortDirection | undefined;
|
|
@@ -283,20 +206,6 @@ export interface ComponentVariant {
|
|
|
283
206
|
variantValues?: Record<string, string> | undefined;
|
|
284
207
|
overrides?: Record<string, Record<string, string>> | undefined;
|
|
285
208
|
}
|
|
286
|
-
export declare class ResourceConflictException extends __BaseException {
|
|
287
|
-
readonly name: "ResourceConflictException";
|
|
288
|
-
readonly $fault: "client";
|
|
289
|
-
constructor(
|
|
290
|
-
opts: __ExceptionOptionType<ResourceConflictException, __BaseException>
|
|
291
|
-
);
|
|
292
|
-
}
|
|
293
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
294
|
-
readonly name: "ServiceQuotaExceededException";
|
|
295
|
-
readonly $fault: "client";
|
|
296
|
-
constructor(
|
|
297
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
298
|
-
);
|
|
299
|
-
}
|
|
300
209
|
export interface DeleteComponentRequest {
|
|
301
210
|
appId: string | undefined;
|
|
302
211
|
environmentName: string | undefined;
|
|
@@ -348,10 +257,6 @@ export interface ExchangeCodeForTokenResponse {
|
|
|
348
257
|
expiresIn: number | undefined;
|
|
349
258
|
refreshToken: string | undefined;
|
|
350
259
|
}
|
|
351
|
-
export declare const FixedPosition: {
|
|
352
|
-
readonly FIRST: "first";
|
|
353
|
-
};
|
|
354
|
-
export type FixedPosition = (typeof FixedPosition)[keyof typeof FixedPosition];
|
|
355
260
|
export type FieldPosition =
|
|
356
261
|
| FieldPosition.BelowMember
|
|
357
262
|
| FieldPosition.FixedMember
|
|
@@ -394,13 +299,6 @@ export interface FormButton {
|
|
|
394
299
|
children?: string | undefined;
|
|
395
300
|
position?: FieldPosition | undefined;
|
|
396
301
|
}
|
|
397
|
-
export declare const FormButtonsPosition: {
|
|
398
|
-
readonly BOTTOM: "bottom";
|
|
399
|
-
readonly TOP: "top";
|
|
400
|
-
readonly TOP_AND_BOTTOM: "top_and_bottom";
|
|
401
|
-
};
|
|
402
|
-
export type FormButtonsPosition =
|
|
403
|
-
(typeof FormButtonsPosition)[keyof typeof FormButtonsPosition];
|
|
404
302
|
export interface FormCTA {
|
|
405
303
|
position?: FormButtonsPosition | undefined;
|
|
406
304
|
clear?: FormButton | undefined;
|
|
@@ -417,13 +315,6 @@ export interface FormDataTypeConfig {
|
|
|
417
315
|
dataSourceType: FormDataSourceType | undefined;
|
|
418
316
|
dataTypeName: string | undefined;
|
|
419
317
|
}
|
|
420
|
-
export declare const StorageAccessLevel: {
|
|
421
|
-
readonly PRIVATE: "private";
|
|
422
|
-
readonly PROTECTED: "protected";
|
|
423
|
-
readonly PUBLIC: "public";
|
|
424
|
-
};
|
|
425
|
-
export type StorageAccessLevel =
|
|
426
|
-
(typeof StorageAccessLevel)[keyof typeof StorageAccessLevel];
|
|
427
318
|
export interface FileUploaderFieldConfig {
|
|
428
319
|
accessLevel: StorageAccessLevel | undefined;
|
|
429
320
|
acceptedFileTypes: string[] | undefined;
|
|
@@ -449,12 +340,6 @@ export interface FieldValidationConfiguration {
|
|
|
449
340
|
numValues?: number[] | undefined;
|
|
450
341
|
validationMessage?: string | undefined;
|
|
451
342
|
}
|
|
452
|
-
export declare const FormActionType: {
|
|
453
|
-
readonly CREATE: "create";
|
|
454
|
-
readonly UPDATE: "update";
|
|
455
|
-
};
|
|
456
|
-
export type FormActionType =
|
|
457
|
-
(typeof FormActionType)[keyof typeof FormActionType];
|
|
458
343
|
export declare const LabelDecorator: {
|
|
459
344
|
readonly NONE: "none";
|
|
460
345
|
readonly OPTIONAL: "optional";
|
|
@@ -541,13 +426,6 @@ export interface GetMetadataRequest {
|
|
|
541
426
|
export interface GetMetadataResponse {
|
|
542
427
|
features: Record<string, string> | undefined;
|
|
543
428
|
}
|
|
544
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
545
|
-
readonly name: "UnauthorizedException";
|
|
546
|
-
readonly $fault: "client";
|
|
547
|
-
constructor(
|
|
548
|
-
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
549
|
-
);
|
|
550
|
-
}
|
|
551
429
|
export interface ListTagsForResourceRequest {
|
|
552
430
|
resourceArn: string | undefined;
|
|
553
431
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amplifyuibuilder",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amplifyuibuilder Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.936.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-amplifyuibuilder",
|
|
@@ -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.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.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";
|