@aws-sdk/client-amplifyuibuilder 3.934.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.
@@ -0,0 +1,87 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { AmplifyUIBuilderServiceException as __BaseException } from "./AmplifyUIBuilderServiceException";
3
+ /**
4
+ * <p>An internal error has occurred. Please retry your request.</p>
5
+ * @public
6
+ */
7
+ export declare class InternalServerException extends __BaseException {
8
+ readonly name: "InternalServerException";
9
+ readonly $fault: "server";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>An invalid or out-of-range value was supplied for the input parameter.</p>
17
+ * @public
18
+ */
19
+ export declare class InvalidParameterException extends __BaseException {
20
+ readonly name: "InvalidParameterException";
21
+ readonly $fault: "client";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>The requested resource does not exist, or access was denied.</p>
29
+ * @public
30
+ */
31
+ export declare class ResourceNotFoundException extends __BaseException {
32
+ readonly name: "ResourceNotFoundException";
33
+ readonly $fault: "client";
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>The request was denied due to request throttling.</p>
41
+ * @public
42
+ */
43
+ export declare class ThrottlingException extends __BaseException {
44
+ readonly name: "ThrottlingException";
45
+ readonly $fault: "client";
46
+ /**
47
+ * @internal
48
+ */
49
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
50
+ }
51
+ /**
52
+ * <p>The resource specified in the request conflicts with an existing resource.</p>
53
+ * @public
54
+ */
55
+ export declare class ResourceConflictException extends __BaseException {
56
+ readonly name: "ResourceConflictException";
57
+ readonly $fault: "client";
58
+ /**
59
+ * @internal
60
+ */
61
+ constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
62
+ }
63
+ /**
64
+ * <p>You exceeded your service quota. Service quotas, also referred to as limits, are the
65
+ * maximum number of service resources or operations for your Amazon Web Services account. </p>
66
+ * @public
67
+ */
68
+ export declare class ServiceQuotaExceededException extends __BaseException {
69
+ readonly name: "ServiceQuotaExceededException";
70
+ readonly $fault: "client";
71
+ /**
72
+ * @internal
73
+ */
74
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
75
+ }
76
+ /**
77
+ * <p>You don't have permission to perform this operation.</p>
78
+ * @public
79
+ */
80
+ export declare class UnauthorizedException extends __BaseException {
81
+ readonly name: "UnauthorizedException";
82
+ readonly $fault: "client";
83
+ /**
84
+ * @internal
85
+ */
86
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
87
+ }
@@ -1,5 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { AmplifyUIBuilderServiceException as __BaseException } from "./AmplifyUIBuilderServiceException";
1
+ import { CodegenGenericDataFieldDataType, CodegenJobGenericDataSourceType, CodegenJobStatus, FixedPosition, FormActionType, FormButtonsPosition, GenericDataRelationshipType, JSModule, JSScript, JSTarget, SortDirection, StorageAccessLevel } from "./enums";
3
2
  /**
4
3
  * <p>Associates a component property to a binding property. This enables exposed properties on
5
4
  * the top level component to propagate data to the component's property values.</p>
@@ -106,17 +105,6 @@ export interface CodegenFeatureFlags {
106
105
  */
107
106
  isNonModelSupported?: boolean | undefined;
108
107
  }
109
- /**
110
- * @public
111
- * @enum
112
- */
113
- export declare const CodegenJobGenericDataSourceType: {
114
- readonly DATA_STORE: "DataStore";
115
- };
116
- /**
117
- * @public
118
- */
119
- export type CodegenJobGenericDataSourceType = (typeof CodegenJobGenericDataSourceType)[keyof typeof CodegenJobGenericDataSourceType];
120
108
  /**
121
109
  * <p>Describes the enums in a generic data schema.</p>
122
110
  * @public
@@ -128,46 +116,6 @@ export interface CodegenGenericDataEnum {
128
116
  */
129
117
  values: string[] | undefined;
130
118
  }
131
- /**
132
- * @public
133
- * @enum
134
- */
135
- export declare const CodegenGenericDataFieldDataType: {
136
- readonly AWS_DATE: "AWSDate";
137
- readonly AWS_DATE_TIME: "AWSDateTime";
138
- readonly AWS_EMAIL: "AWSEmail";
139
- readonly AWS_IP_ADDRESS: "AWSIPAddress";
140
- readonly AWS_JSON: "AWSJSON";
141
- readonly AWS_PHONE: "AWSPhone";
142
- readonly AWS_TIME: "AWSTime";
143
- readonly AWS_TIMESTAMP: "AWSTimestamp";
144
- readonly AWS_URL: "AWSURL";
145
- readonly BOOLEAN: "Boolean";
146
- readonly ENUM: "Enum";
147
- readonly FLOAT: "Float";
148
- readonly ID: "ID";
149
- readonly INT: "Int";
150
- readonly MODEL: "Model";
151
- readonly NON_MODEL: "NonModel";
152
- readonly STRING: "String";
153
- };
154
- /**
155
- * @public
156
- */
157
- export type CodegenGenericDataFieldDataType = (typeof CodegenGenericDataFieldDataType)[keyof typeof CodegenGenericDataFieldDataType];
158
- /**
159
- * @public
160
- * @enum
161
- */
162
- export declare const GenericDataRelationshipType: {
163
- readonly BELONGS_TO: "BELONGS_TO";
164
- readonly HAS_MANY: "HAS_MANY";
165
- readonly HAS_ONE: "HAS_ONE";
166
- };
167
- /**
168
- * @public
169
- */
170
- export type GenericDataRelationshipType = (typeof GenericDataRelationshipType)[keyof typeof GenericDataRelationshipType];
171
119
  /**
172
120
  * <p>Describes the relationship between generic data models.</p>
173
121
  * @public
@@ -415,43 +363,6 @@ export declare namespace ApiConfiguration {
415
363
  _: (name: string, value: any) => T;
416
364
  }
417
365
  }
418
- /**
419
- * @public
420
- * @enum
421
- */
422
- export declare const JSModule: {
423
- readonly ES2020: "es2020";
424
- readonly ESNEXT: "esnext";
425
- };
426
- /**
427
- * @public
428
- */
429
- export type JSModule = (typeof JSModule)[keyof typeof JSModule];
430
- /**
431
- * @public
432
- * @enum
433
- */
434
- export declare const JSScript: {
435
- readonly JS: "js";
436
- readonly JSX: "jsx";
437
- readonly TSX: "tsx";
438
- };
439
- /**
440
- * @public
441
- */
442
- export type JSScript = (typeof JSScript)[keyof typeof JSScript];
443
- /**
444
- * @public
445
- * @enum
446
- */
447
- export declare const JSTarget: {
448
- readonly ES2015: "es2015";
449
- readonly ES2020: "es2020";
450
- };
451
- /**
452
- * @public
453
- */
454
- export type JSTarget = (typeof JSTarget)[keyof typeof JSTarget];
455
366
  /**
456
367
  * <p>Describes the code generation job configuration for a React project.</p>
457
368
  * @public
@@ -526,19 +437,6 @@ export declare namespace CodegenJobRenderConfig {
526
437
  _: (name: string, value: any) => T;
527
438
  }
528
439
  }
529
- /**
530
- * @public
531
- * @enum
532
- */
533
- export declare const CodegenJobStatus: {
534
- readonly FAILED: "failed";
535
- readonly IN_PROGRESS: "in_progress";
536
- readonly SUCCEEDED: "succeeded";
537
- };
538
- /**
539
- * @public
540
- */
541
- export type CodegenJobStatus = (typeof CodegenJobStatus)[keyof typeof CodegenJobStatus];
542
440
  /**
543
441
  * <p>Describes the configuration for a code generation job that is associated with an Amplify app.</p>
544
442
  * @public
@@ -625,54 +523,6 @@ export interface GetCodegenJobResponse {
625
523
  */
626
524
  job?: CodegenJob | undefined;
627
525
  }
628
- /**
629
- * <p>An internal error has occurred. Please retry your request.</p>
630
- * @public
631
- */
632
- export declare class InternalServerException extends __BaseException {
633
- readonly name: "InternalServerException";
634
- readonly $fault: "server";
635
- /**
636
- * @internal
637
- */
638
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
639
- }
640
- /**
641
- * <p>An invalid or out-of-range value was supplied for the input parameter.</p>
642
- * @public
643
- */
644
- export declare class InvalidParameterException extends __BaseException {
645
- readonly name: "InvalidParameterException";
646
- readonly $fault: "client";
647
- /**
648
- * @internal
649
- */
650
- constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
651
- }
652
- /**
653
- * <p>The requested resource does not exist, or access was denied.</p>
654
- * @public
655
- */
656
- export declare class ResourceNotFoundException extends __BaseException {
657
- readonly name: "ResourceNotFoundException";
658
- readonly $fault: "client";
659
- /**
660
- * @internal
661
- */
662
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
663
- }
664
- /**
665
- * <p>The request was denied due to request throttling.</p>
666
- * @public
667
- */
668
- export declare class ThrottlingException extends __BaseException {
669
- readonly name: "ThrottlingException";
670
- readonly $fault: "client";
671
- /**
672
- * @internal
673
- */
674
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
675
- }
676
526
  /**
677
527
  * @public
678
528
  */
@@ -810,18 +660,6 @@ export interface StartCodegenJobResponse {
810
660
  */
811
661
  entity?: CodegenJob | undefined;
812
662
  }
813
- /**
814
- * @public
815
- * @enum
816
- */
817
- export declare const SortDirection: {
818
- readonly ASC: "ASC";
819
- readonly DESC: "DESC";
820
- };
821
- /**
822
- * @public
823
- */
824
- export type SortDirection = (typeof SortDirection)[keyof typeof SortDirection];
825
663
  /**
826
664
  * <p>Describes how to sort the data that you bind to a component.</p>
827
665
  * @public
@@ -857,31 +695,6 @@ export interface ComponentVariant {
857
695
  */
858
696
  overrides?: Record<string, Record<string, string>> | undefined;
859
697
  }
860
- /**
861
- * <p>The resource specified in the request conflicts with an existing resource.</p>
862
- * @public
863
- */
864
- export declare class ResourceConflictException extends __BaseException {
865
- readonly name: "ResourceConflictException";
866
- readonly $fault: "client";
867
- /**
868
- * @internal
869
- */
870
- constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
871
- }
872
- /**
873
- * <p>You exceeded your service quota. Service quotas, also referred to as limits, are the
874
- * maximum number of service resources or operations for your Amazon Web Services account. </p>
875
- * @public
876
- */
877
- export declare class ServiceQuotaExceededException extends __BaseException {
878
- readonly name: "ServiceQuotaExceededException";
879
- readonly $fault: "client";
880
- /**
881
- * @internal
882
- */
883
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
884
- }
885
698
  /**
886
699
  * @public
887
700
  */
@@ -1090,17 +903,6 @@ export interface ExchangeCodeForTokenResponse {
1090
903
  */
1091
904
  refreshToken: string | undefined;
1092
905
  }
1093
- /**
1094
- * @public
1095
- * @enum
1096
- */
1097
- export declare const FixedPosition: {
1098
- readonly FIRST: "first";
1099
- };
1100
- /**
1101
- * @public
1102
- */
1103
- export type FixedPosition = (typeof FixedPosition)[keyof typeof FixedPosition];
1104
906
  /**
1105
907
  * <p>Describes the field position.</p>
1106
908
  * @public
@@ -1181,19 +983,6 @@ export interface FormButton {
1181
983
  */
1182
984
  position?: FieldPosition | undefined;
1183
985
  }
1184
- /**
1185
- * @public
1186
- * @enum
1187
- */
1188
- export declare const FormButtonsPosition: {
1189
- readonly BOTTOM: "bottom";
1190
- readonly TOP: "top";
1191
- readonly TOP_AND_BOTTOM: "top_and_bottom";
1192
- };
1193
- /**
1194
- * @public
1195
- */
1196
- export type FormButtonsPosition = (typeof FormButtonsPosition)[keyof typeof FormButtonsPosition];
1197
986
  /**
1198
987
  * <p>Describes the call to action button configuration for the form.</p>
1199
988
  * @public
@@ -1254,19 +1043,6 @@ export interface FormDataTypeConfig {
1254
1043
  */
1255
1044
  dataTypeName: string | undefined;
1256
1045
  }
1257
- /**
1258
- * @public
1259
- * @enum
1260
- */
1261
- export declare const StorageAccessLevel: {
1262
- readonly PRIVATE: "private";
1263
- readonly PROTECTED: "protected";
1264
- readonly PUBLIC: "public";
1265
- };
1266
- /**
1267
- * @public
1268
- */
1269
- export type StorageAccessLevel = (typeof StorageAccessLevel)[keyof typeof StorageAccessLevel];
1270
1046
  /**
1271
1047
  * <p>Describes the configuration for the file uploader field.</p>
1272
1048
  * @public
@@ -1390,18 +1166,6 @@ export interface FieldValidationConfiguration {
1390
1166
  */
1391
1167
  validationMessage?: string | undefined;
1392
1168
  }
1393
- /**
1394
- * @public
1395
- * @enum
1396
- */
1397
- export declare const FormActionType: {
1398
- readonly CREATE: "create";
1399
- readonly UPDATE: "update";
1400
- };
1401
- /**
1402
- * @public
1403
- */
1404
- export type FormActionType = (typeof FormActionType)[keyof typeof FormActionType];
1405
1169
  /**
1406
1170
  * @public
1407
1171
  * @enum
@@ -1686,18 +1450,6 @@ export interface GetMetadataResponse {
1686
1450
  */
1687
1451
  features: Record<string, string> | undefined;
1688
1452
  }
1689
- /**
1690
- * <p>You don't have permission to perform this operation.</p>
1691
- * @public
1692
- */
1693
- export declare class UnauthorizedException extends __BaseException {
1694
- readonly name: "UnauthorizedException";
1695
- readonly $fault: "client";
1696
- /**
1697
- * @internal
1698
- */
1699
- constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
1700
- }
1701
1453
  /**
1702
1454
  * @public
1703
1455
  */
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { AmplifyUIBuilderExtensionConfiguration } 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 { AmplifyUIBuilderServiceException } from "./models/AmplifyUIBuilderServiceException";
@@ -0,0 +1,85 @@
1
+ export declare const CodegenJobGenericDataSourceType: {
2
+ readonly DATA_STORE: "DataStore";
3
+ };
4
+ export type CodegenJobGenericDataSourceType =
5
+ (typeof CodegenJobGenericDataSourceType)[keyof typeof CodegenJobGenericDataSourceType];
6
+ export declare const CodegenGenericDataFieldDataType: {
7
+ readonly AWS_DATE: "AWSDate";
8
+ readonly AWS_DATE_TIME: "AWSDateTime";
9
+ readonly AWS_EMAIL: "AWSEmail";
10
+ readonly AWS_IP_ADDRESS: "AWSIPAddress";
11
+ readonly AWS_JSON: "AWSJSON";
12
+ readonly AWS_PHONE: "AWSPhone";
13
+ readonly AWS_TIME: "AWSTime";
14
+ readonly AWS_TIMESTAMP: "AWSTimestamp";
15
+ readonly AWS_URL: "AWSURL";
16
+ readonly BOOLEAN: "Boolean";
17
+ readonly ENUM: "Enum";
18
+ readonly FLOAT: "Float";
19
+ readonly ID: "ID";
20
+ readonly INT: "Int";
21
+ readonly MODEL: "Model";
22
+ readonly NON_MODEL: "NonModel";
23
+ readonly STRING: "String";
24
+ };
25
+ export type CodegenGenericDataFieldDataType =
26
+ (typeof CodegenGenericDataFieldDataType)[keyof typeof CodegenGenericDataFieldDataType];
27
+ export declare const GenericDataRelationshipType: {
28
+ readonly BELONGS_TO: "BELONGS_TO";
29
+ readonly HAS_MANY: "HAS_MANY";
30
+ readonly HAS_ONE: "HAS_ONE";
31
+ };
32
+ export type GenericDataRelationshipType =
33
+ (typeof GenericDataRelationshipType)[keyof typeof GenericDataRelationshipType];
34
+ export declare const JSModule: {
35
+ readonly ES2020: "es2020";
36
+ readonly ESNEXT: "esnext";
37
+ };
38
+ export type JSModule = (typeof JSModule)[keyof typeof JSModule];
39
+ export declare const JSScript: {
40
+ readonly JS: "js";
41
+ readonly JSX: "jsx";
42
+ readonly TSX: "tsx";
43
+ };
44
+ export type JSScript = (typeof JSScript)[keyof typeof JSScript];
45
+ export declare const JSTarget: {
46
+ readonly ES2015: "es2015";
47
+ readonly ES2020: "es2020";
48
+ };
49
+ export type JSTarget = (typeof JSTarget)[keyof typeof JSTarget];
50
+ export declare const CodegenJobStatus: {
51
+ readonly FAILED: "failed";
52
+ readonly IN_PROGRESS: "in_progress";
53
+ readonly SUCCEEDED: "succeeded";
54
+ };
55
+ export type CodegenJobStatus =
56
+ (typeof CodegenJobStatus)[keyof typeof CodegenJobStatus];
57
+ export declare const SortDirection: {
58
+ readonly ASC: "ASC";
59
+ readonly DESC: "DESC";
60
+ };
61
+ export type SortDirection = (typeof SortDirection)[keyof typeof SortDirection];
62
+ export declare const FixedPosition: {
63
+ readonly FIRST: "first";
64
+ };
65
+ export type FixedPosition = (typeof FixedPosition)[keyof typeof FixedPosition];
66
+ export declare const FormButtonsPosition: {
67
+ readonly BOTTOM: "bottom";
68
+ readonly TOP: "top";
69
+ readonly TOP_AND_BOTTOM: "top_and_bottom";
70
+ };
71
+ export type FormButtonsPosition =
72
+ (typeof FormButtonsPosition)[keyof typeof FormButtonsPosition];
73
+ export declare const StorageAccessLevel: {
74
+ readonly PRIVATE: "private";
75
+ readonly PROTECTED: "protected";
76
+ readonly PUBLIC: "public";
77
+ };
78
+ export type StorageAccessLevel =
79
+ (typeof StorageAccessLevel)[keyof typeof StorageAccessLevel];
80
+ export declare const FormActionType: {
81
+ readonly CREATE: "create";
82
+ readonly UPDATE: "update";
83
+ };
84
+ export type FormActionType =
85
+ (typeof FormActionType)[keyof typeof FormActionType];
@@ -0,0 +1,51 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { AmplifyUIBuilderServiceException as __BaseException } from "./AmplifyUIBuilderServiceException";
3
+ export declare class InternalServerException extends __BaseException {
4
+ readonly name: "InternalServerException";
5
+ readonly $fault: "server";
6
+ constructor(
7
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
8
+ );
9
+ }
10
+ export declare class InvalidParameterException extends __BaseException {
11
+ readonly name: "InvalidParameterException";
12
+ readonly $fault: "client";
13
+ constructor(
14
+ opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
15
+ );
16
+ }
17
+ export declare class ResourceNotFoundException extends __BaseException {
18
+ readonly name: "ResourceNotFoundException";
19
+ readonly $fault: "client";
20
+ constructor(
21
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
22
+ );
23
+ }
24
+ export declare class ThrottlingException extends __BaseException {
25
+ readonly name: "ThrottlingException";
26
+ readonly $fault: "client";
27
+ constructor(
28
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
29
+ );
30
+ }
31
+ export declare class ResourceConflictException extends __BaseException {
32
+ readonly name: "ResourceConflictException";
33
+ readonly $fault: "client";
34
+ constructor(
35
+ opts: __ExceptionOptionType<ResourceConflictException, __BaseException>
36
+ );
37
+ }
38
+ export declare class ServiceQuotaExceededException extends __BaseException {
39
+ readonly name: "ServiceQuotaExceededException";
40
+ readonly $fault: "client";
41
+ constructor(
42
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
43
+ );
44
+ }
45
+ export declare class UnauthorizedException extends __BaseException {
46
+ readonly name: "UnauthorizedException";
47
+ readonly $fault: "client";
48
+ constructor(
49
+ opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
50
+ );
51
+ }