@aws-sdk/client-amplifyuibuilder 3.686.0 → 3.691.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.
@@ -15,7 +15,7 @@ export interface ComponentPropertyBindingProperties {
15
15
  * <p>The data field to bind the property to.</p>
16
16
  * @public
17
17
  */
18
- field?: string;
18
+ field?: string | undefined;
19
19
  }
20
20
  /**
21
21
  * <p>Describes how to bind a component property to form data.</p>
@@ -62,7 +62,7 @@ export interface CodegenJobAsset {
62
62
  * <p>The URL to use to access the asset.</p>
63
63
  * @public
64
64
  */
65
- downloadUrl?: string;
65
+ downloadUrl?: string | undefined;
66
66
  }
67
67
  /**
68
68
  * <p>Dependency package that may be required for the project code to run.</p>
@@ -73,22 +73,22 @@ export interface CodegenDependency {
73
73
  * <p>Name of the dependency package.</p>
74
74
  * @public
75
75
  */
76
- name?: string;
76
+ name?: string | undefined;
77
77
  /**
78
78
  * <p>Indicates the version of the supported dependency package.</p>
79
79
  * @public
80
80
  */
81
- supportedVersion?: string;
81
+ supportedVersion?: string | undefined;
82
82
  /**
83
83
  * <p>Determines if the dependency package is using Semantic versioning. If set to true, it indicates that the dependency package uses Semantic versioning.</p>
84
84
  * @public
85
85
  */
86
- isSemVer?: boolean;
86
+ isSemVer?: boolean | undefined;
87
87
  /**
88
88
  * <p>Indicates the reason to include the dependency package in your project code.</p>
89
89
  * @public
90
90
  */
91
- reason?: string;
91
+ reason?: string | undefined;
92
92
  }
93
93
  /**
94
94
  * <p>Describes the feature flags that you can specify for a code generation job.</p>
@@ -99,12 +99,12 @@ export interface CodegenFeatureFlags {
99
99
  * <p>Specifes whether a code generation job supports data relationships.</p>
100
100
  * @public
101
101
  */
102
- isRelationshipSupported?: boolean;
102
+ isRelationshipSupported?: boolean | undefined;
103
103
  /**
104
104
  * <p>Specifies whether a code generation job supports non models.</p>
105
105
  * @public
106
106
  */
107
- isNonModelSupported?: boolean;
107
+ isNonModelSupported?: boolean | undefined;
108
108
  }
109
109
  /**
110
110
  * @public
@@ -187,37 +187,37 @@ export interface CodegenGenericDataRelationshipType {
187
187
  * <p>The related model fields in the data relationship.</p>
188
188
  * @public
189
189
  */
190
- relatedModelFields?: string[];
190
+ relatedModelFields?: string[] | undefined;
191
191
  /**
192
192
  * <p>Specifies whether the relationship can unlink the associated model.</p>
193
193
  * @public
194
194
  */
195
- canUnlinkAssociatedModel?: boolean;
195
+ canUnlinkAssociatedModel?: boolean | undefined;
196
196
  /**
197
197
  * <p>The name of the related join field in the data relationship.</p>
198
198
  * @public
199
199
  */
200
- relatedJoinFieldName?: string;
200
+ relatedJoinFieldName?: string | undefined;
201
201
  /**
202
202
  * <p>The name of the related join table in the data relationship.</p>
203
203
  * @public
204
204
  */
205
- relatedJoinTableName?: string;
205
+ relatedJoinTableName?: string | undefined;
206
206
  /**
207
207
  * <p>The value of the <code>belongsTo</code> field on the related data model. </p>
208
208
  * @public
209
209
  */
210
- belongsToFieldOnRelatedModel?: string;
210
+ belongsToFieldOnRelatedModel?: string | undefined;
211
211
  /**
212
212
  * <p>The associated fields of the data relationship.</p>
213
213
  * @public
214
214
  */
215
- associatedFields?: string[];
215
+ associatedFields?: string[] | undefined;
216
216
  /**
217
217
  * <p>Specifies whether the <code>@index</code> directive is supported for a <code>hasMany</code> data relationship.</p>
218
218
  * @public
219
219
  */
220
- isHasManyIndex?: boolean;
220
+ isHasManyIndex?: boolean | undefined;
221
221
  }
222
222
  /**
223
223
  * <p>Describes a field in a generic data schema.</p>
@@ -253,7 +253,7 @@ export interface CodegenGenericDataField {
253
253
  * <p>The relationship of the generic data schema.</p>
254
254
  * @public
255
255
  */
256
- relationship?: CodegenGenericDataRelationshipType;
256
+ relationship?: CodegenGenericDataRelationshipType | undefined;
257
257
  }
258
258
  /**
259
259
  * <p>Describes a model in a generic data schema.</p>
@@ -269,7 +269,7 @@ export interface CodegenGenericDataModel {
269
269
  * <p>Specifies whether the generic data model is a join table.</p>
270
270
  * @public
271
271
  */
272
- isJoinTable?: boolean;
272
+ isJoinTable?: boolean | undefined;
273
273
  /**
274
274
  * <p>The primary keys of the generic data model.</p>
275
275
  * @public
@@ -458,37 +458,37 @@ export interface ReactStartCodegenJobData {
458
458
  * <p>The JavaScript module type.</p>
459
459
  * @public
460
460
  */
461
- module?: JSModule;
461
+ module?: JSModule | undefined;
462
462
  /**
463
463
  * <p>The ECMAScript specification to use.</p>
464
464
  * @public
465
465
  */
466
- target?: JSTarget;
466
+ target?: JSTarget | undefined;
467
467
  /**
468
468
  * <p>The file type to use for a JavaScript project.</p>
469
469
  * @public
470
470
  */
471
- script?: JSScript;
471
+ script?: JSScript | undefined;
472
472
  /**
473
473
  * <p>Specifies whether the code generation job should render type declaration files.</p>
474
474
  * @public
475
475
  */
476
- renderTypeDeclarations?: boolean;
476
+ renderTypeDeclarations?: boolean | undefined;
477
477
  /**
478
478
  * <p>Specifies whether the code generation job should render inline source maps.</p>
479
479
  * @public
480
480
  */
481
- inlineSourceMap?: boolean;
481
+ inlineSourceMap?: boolean | undefined;
482
482
  /**
483
483
  * <p>The API configuration for the code generation job.</p>
484
484
  * @public
485
485
  */
486
- apiConfiguration?: ApiConfiguration;
486
+ apiConfiguration?: ApiConfiguration | undefined;
487
487
  /**
488
488
  * <p>Lists the dependency packages that may be required for the project code to run.</p>
489
489
  * @public
490
490
  */
491
- dependencies?: Record<string, string>;
491
+ dependencies?: Record<string, string> | undefined;
492
492
  }
493
493
  /**
494
494
  * <p>Describes the configuration information for rendering the UI component associated with the code generation job.</p>
@@ -557,57 +557,57 @@ export interface CodegenJob {
557
557
  * <p>Describes the configuration information for rendering the UI component associated with the code generation job.</p>
558
558
  * @public
559
559
  */
560
- renderConfig?: CodegenJobRenderConfig;
560
+ renderConfig?: CodegenJobRenderConfig | undefined;
561
561
  /**
562
562
  * <p>Describes the data schema for a code generation job.</p>
563
563
  * @public
564
564
  */
565
- genericDataSchema?: CodegenJobGenericDataSchema;
565
+ genericDataSchema?: CodegenJobGenericDataSchema | undefined;
566
566
  /**
567
567
  * <p>Specifies whether to autogenerate forms in the code generation job.</p>
568
568
  * @public
569
569
  */
570
- autoGenerateForms?: boolean;
570
+ autoGenerateForms?: boolean | undefined;
571
571
  /**
572
572
  * <p>Describes the feature flags that you can specify for a code generation job.</p>
573
573
  * @public
574
574
  */
575
- features?: CodegenFeatureFlags;
575
+ features?: CodegenFeatureFlags | undefined;
576
576
  /**
577
577
  * <p>The status of the code generation job.</p>
578
578
  * @public
579
579
  */
580
- status?: CodegenJobStatus;
580
+ status?: CodegenJobStatus | undefined;
581
581
  /**
582
582
  * <p>The customized status message for the code generation job.</p>
583
583
  * @public
584
584
  */
585
- statusMessage?: string;
585
+ statusMessage?: string | undefined;
586
586
  /**
587
587
  * <p>The <code>CodegenJobAsset</code> to use for the code generation job.</p>
588
588
  * @public
589
589
  */
590
- asset?: CodegenJobAsset;
590
+ asset?: CodegenJobAsset | undefined;
591
591
  /**
592
592
  * <p>One or more key-value pairs to use when tagging the code generation job.</p>
593
593
  * @public
594
594
  */
595
- tags?: Record<string, string>;
595
+ tags?: Record<string, string> | undefined;
596
596
  /**
597
597
  * <p>The time that the code generation job was created.</p>
598
598
  * @public
599
599
  */
600
- createdAt?: Date;
600
+ createdAt?: Date | undefined;
601
601
  /**
602
602
  * <p>The time that the code generation job was modified.</p>
603
603
  * @public
604
604
  */
605
- modifiedAt?: Date;
605
+ modifiedAt?: Date | undefined;
606
606
  /**
607
607
  * <p>Lists the dependency packages that may be required for the project code to run.</p>
608
608
  * @public
609
609
  */
610
- dependencies?: CodegenDependency[];
610
+ dependencies?: CodegenDependency[] | undefined;
611
611
  }
612
612
  /**
613
613
  * @public
@@ -617,7 +617,7 @@ export interface GetCodegenJobResponse {
617
617
  * <p>The configuration settings for the code generation job.</p>
618
618
  * @public
619
619
  */
620
- job?: CodegenJob;
620
+ job?: CodegenJob | undefined;
621
621
  }
622
622
  /**
623
623
  * <p>An internal error has occurred. Please retry your request.</p>
@@ -685,12 +685,12 @@ export interface ListCodegenJobsRequest {
685
685
  * <p>The token to request the next page of results.</p>
686
686
  * @public
687
687
  */
688
- nextToken?: string;
688
+ nextToken?: string | undefined;
689
689
  /**
690
690
  * <p>The maximum number of jobs to retrieve.</p>
691
691
  * @public
692
692
  */
693
- maxResults?: number;
693
+ maxResults?: number | undefined;
694
694
  }
695
695
  /**
696
696
  * <p>A summary of the basic information about the code generation job.</p>
@@ -716,12 +716,12 @@ export interface CodegenJobSummary {
716
716
  * <p>The time that the code generation job summary was created.</p>
717
717
  * @public
718
718
  */
719
- createdAt?: Date;
719
+ createdAt?: Date | undefined;
720
720
  /**
721
721
  * <p>The time that the code generation job summary was modified.</p>
722
722
  * @public
723
723
  */
724
- modifiedAt?: Date;
724
+ modifiedAt?: Date | undefined;
725
725
  }
726
726
  /**
727
727
  * @public
@@ -736,7 +736,7 @@ export interface ListCodegenJobsResponse {
736
736
  * <p>The pagination token that's included if more results are available.</p>
737
737
  * @public
738
738
  */
739
- nextToken?: string;
739
+ nextToken?: string | undefined;
740
740
  }
741
741
  /**
742
742
  * <p>The code generation job resource configuration.</p>
@@ -752,22 +752,22 @@ export interface StartCodegenJobData {
752
752
  * <p>The data schema to use for a code generation job.</p>
753
753
  * @public
754
754
  */
755
- genericDataSchema?: CodegenJobGenericDataSchema;
755
+ genericDataSchema?: CodegenJobGenericDataSchema | undefined;
756
756
  /**
757
757
  * <p>Specifies whether to autogenerate forms in the code generation job.</p>
758
758
  * @public
759
759
  */
760
- autoGenerateForms?: boolean;
760
+ autoGenerateForms?: boolean | undefined;
761
761
  /**
762
762
  * <p>The feature flags for a code generation job.</p>
763
763
  * @public
764
764
  */
765
- features?: CodegenFeatureFlags;
765
+ features?: CodegenFeatureFlags | undefined;
766
766
  /**
767
767
  * <p>One or more key-value pairs to use when tagging the code generation job data.</p>
768
768
  * @public
769
769
  */
770
- tags?: Record<string, string>;
770
+ tags?: Record<string, string> | undefined;
771
771
  }
772
772
  /**
773
773
  * @public
@@ -787,7 +787,7 @@ export interface StartCodegenJobRequest {
787
787
  * <p>The idempotency token used to ensure that the code generation job request completes only once.</p>
788
788
  * @public
789
789
  */
790
- clientToken?: string;
790
+ clientToken?: string | undefined;
791
791
  /**
792
792
  * <p>The code generation job resource configuration.</p>
793
793
  * @public
@@ -802,7 +802,7 @@ export interface StartCodegenJobResponse {
802
802
  * <p>The code generation job for a UI component that is associated with an Amplify app.</p>
803
803
  * @public
804
804
  */
805
- entity?: CodegenJob;
805
+ entity?: CodegenJob | undefined;
806
806
  }
807
807
  /**
808
808
  * @public
@@ -842,14 +842,14 @@ export interface ComponentVariant {
842
842
  * <code>tags</code> as a valid property for <code>variantValues</code>.</p>
843
843
  * @public
844
844
  */
845
- variantValues?: Record<string, string>;
845
+ variantValues?: Record<string, string> | undefined;
846
846
  /**
847
847
  * <p>The properties of the component variant that can be overriden when customizing an instance
848
848
  * of the component. You can't specify <code>tags</code> as a valid property for
849
849
  * <code>overrides</code>.</p>
850
850
  * @public
851
851
  */
852
- overrides?: Record<string, Record<string, string>>;
852
+ overrides?: Record<string, Record<string, string>> | undefined;
853
853
  }
854
854
  /**
855
855
  * <p>The resource specified in the request conflicts with an existing resource.</p>
@@ -917,7 +917,7 @@ export interface ExportComponentsRequest {
917
917
  * <p>The token to request the next page of results.</p>
918
918
  * @public
919
919
  */
920
- nextToken?: string;
920
+ nextToken?: string | undefined;
921
921
  }
922
922
  /**
923
923
  * @public
@@ -958,12 +958,12 @@ export interface ListComponentsRequest {
958
958
  * <p>The token to request the next page of results.</p>
959
959
  * @public
960
960
  */
961
- nextToken?: string;
961
+ nextToken?: string | undefined;
962
962
  /**
963
963
  * <p>The maximum number of components to retrieve.</p>
964
964
  * @public
965
965
  */
966
- maxResults?: number;
966
+ maxResults?: number | undefined;
967
967
  }
968
968
  /**
969
969
  * <p>Contains a summary of a component. This is a read-only data type that is returned by
@@ -1011,7 +1011,7 @@ export interface ListComponentsResponse {
1011
1011
  * <p>The pagination token that's included if more results are available.</p>
1012
1012
  * @public
1013
1013
  */
1014
- nextToken?: string;
1014
+ nextToken?: string | undefined;
1015
1015
  }
1016
1016
  /**
1017
1017
  * @public
@@ -1046,7 +1046,7 @@ export interface ExchangeCodeForTokenRequestBody {
1046
1046
  * <p>The ID of the client to request the token from.</p>
1047
1047
  * @public
1048
1048
  */
1049
- clientId?: string;
1049
+ clientId?: string | undefined;
1050
1050
  }
1051
1051
  /**
1052
1052
  * @public
@@ -1160,17 +1160,17 @@ export interface FormButton {
1160
1160
  * <p>Specifies whether the button is visible on the form.</p>
1161
1161
  * @public
1162
1162
  */
1163
- excluded?: boolean;
1163
+ excluded?: boolean | undefined;
1164
1164
  /**
1165
1165
  * <p>Describes the button's properties.</p>
1166
1166
  * @public
1167
1167
  */
1168
- children?: string;
1168
+ children?: string | undefined;
1169
1169
  /**
1170
1170
  * <p>The position of the button.</p>
1171
1171
  * @public
1172
1172
  */
1173
- position?: FieldPosition;
1173
+ position?: FieldPosition | undefined;
1174
1174
  }
1175
1175
  /**
1176
1176
  * @public
@@ -1194,22 +1194,22 @@ export interface FormCTA {
1194
1194
  * <p>The position of the button.</p>
1195
1195
  * @public
1196
1196
  */
1197
- position?: FormButtonsPosition;
1197
+ position?: FormButtonsPosition | undefined;
1198
1198
  /**
1199
1199
  * <p>Displays a clear button.</p>
1200
1200
  * @public
1201
1201
  */
1202
- clear?: FormButton;
1202
+ clear?: FormButton | undefined;
1203
1203
  /**
1204
1204
  * <p>Displays a cancel button.</p>
1205
1205
  * @public
1206
1206
  */
1207
- cancel?: FormButton;
1207
+ cancel?: FormButton | undefined;
1208
1208
  /**
1209
1209
  * <p>Displays a submit button.</p>
1210
1210
  * @public
1211
1211
  */
1212
- submit?: FormButton;
1212
+ submit?: FormButton | undefined;
1213
1213
  }
1214
1214
  /**
1215
1215
  * @public
@@ -1283,7 +1283,7 @@ export interface FileUploaderFieldConfig {
1283
1283
  * The default value is <code>true</code> to display the image preview.</p>
1284
1284
  * @public
1285
1285
  */
1286
- showThumbnails?: boolean;
1286
+ showThumbnails?: boolean | undefined;
1287
1287
  /**
1288
1288
  * <p>Allows the file upload operation to be paused and resumed. The default value is
1289
1289
  * <code>false</code>.</p>
@@ -1292,19 +1292,19 @@ export interface FileUploaderFieldConfig {
1292
1292
  * isn't continuous, because the file uploader uploads a chunk at a time.</p>
1293
1293
  * @public
1294
1294
  */
1295
- isResumable?: boolean;
1295
+ isResumable?: boolean | undefined;
1296
1296
  /**
1297
1297
  * <p>Specifies the maximum number of files that can be selected to upload. The default value is
1298
1298
  * an unlimited number of files.</p>
1299
1299
  * @public
1300
1300
  */
1301
- maxFileCount?: number;
1301
+ maxFileCount?: number | undefined;
1302
1302
  /**
1303
1303
  * <p>The maximum file size in bytes that the file uploader will accept. The default value is an
1304
1304
  * unlimited file size.</p>
1305
1305
  * @public
1306
1306
  */
1307
- maxSize?: number;
1307
+ maxSize?: number | undefined;
1308
1308
  }
1309
1309
  /**
1310
1310
  * <p>Represents the data binding configuration for a specific property using data stored in
@@ -1317,7 +1317,7 @@ export interface FormInputBindingPropertiesValueProperties {
1317
1317
  * <p>An Amplify DataStore model.</p>
1318
1318
  * @public
1319
1319
  */
1320
- model?: string;
1320
+ model?: string | undefined;
1321
1321
  }
1322
1322
  /**
1323
1323
  * <p>Represents the data binding configuration for a form's input fields at runtime.You can use
@@ -1330,12 +1330,12 @@ export interface FormInputBindingPropertiesValue {
1330
1330
  * <p>The property type.</p>
1331
1331
  * @public
1332
1332
  */
1333
- type?: string;
1333
+ type?: string | undefined;
1334
1334
  /**
1335
1335
  * <p>Describes the properties to customize with data at runtime.</p>
1336
1336
  * @public
1337
1337
  */
1338
- bindingProperties?: FormInputBindingPropertiesValueProperties;
1338
+ bindingProperties?: FormInputBindingPropertiesValueProperties | undefined;
1339
1339
  }
1340
1340
  /**
1341
1341
  * <p>Associates a form property to a binding property. This enables exposed properties on the
@@ -1352,7 +1352,7 @@ export interface FormInputValuePropertyBindingProperties {
1352
1352
  * <p>The data field to bind the property to.</p>
1353
1353
  * @public
1354
1354
  */
1355
- field?: string;
1355
+ field?: string | undefined;
1356
1356
  }
1357
1357
  /**
1358
1358
  * <p>Describes the validation configuration for a field.</p>
@@ -1369,17 +1369,17 @@ export interface FieldValidationConfiguration {
1369
1369
  * <p>The validation to perform on a string value.</p>
1370
1370
  * @public
1371
1371
  */
1372
- strValues?: string[];
1372
+ strValues?: string[] | undefined;
1373
1373
  /**
1374
1374
  * <p>The validation to perform on a number value.</p>
1375
1375
  * @public
1376
1376
  */
1377
- numValues?: number[];
1377
+ numValues?: number[] | undefined;
1378
1378
  /**
1379
1379
  * <p>The validation message to display.</p>
1380
1380
  * @public
1381
1381
  */
1382
- validationMessage?: string;
1382
+ validationMessage?: string | undefined;
1383
1383
  }
1384
1384
  /**
1385
1385
  * @public
@@ -1424,30 +1424,30 @@ export interface SectionalElement {
1424
1424
  * element.</p>
1425
1425
  * @public
1426
1426
  */
1427
- position?: FieldPosition;
1427
+ position?: FieldPosition | undefined;
1428
1428
  /**
1429
1429
  * <p>The text for a <code>Text</code> sectional element.</p>
1430
1430
  * @public
1431
1431
  */
1432
- text?: string;
1432
+ text?: string | undefined;
1433
1433
  /**
1434
1434
  * <p>Specifies the size of the font for a <code>Heading</code> sectional element. Valid values
1435
1435
  * are <code>1 | 2 | 3 | 4 | 5 | 6</code>.</p>
1436
1436
  * @public
1437
1437
  */
1438
- level?: number;
1438
+ level?: number | undefined;
1439
1439
  /**
1440
1440
  * <p>Specifies the orientation for a <code>Divider</code> sectional element. Valid values are
1441
1441
  * <code>horizontal</code> or <code>vertical</code>.</p>
1442
1442
  * @public
1443
1443
  */
1444
- orientation?: string;
1444
+ orientation?: string | undefined;
1445
1445
  /**
1446
1446
  * <p>Excludes a sectional element that was generated by default for a specified data
1447
1447
  * model.</p>
1448
1448
  * @public
1449
1449
  */
1450
- excluded?: boolean;
1450
+ excluded?: boolean | undefined;
1451
1451
  }
1452
1452
  /**
1453
1453
  * <p>Describes the configuration settings for the form's style properties.</p>
@@ -1501,17 +1501,17 @@ export interface FormStyle {
1501
1501
  * <p>The spacing for the horizontal gap.</p>
1502
1502
  * @public
1503
1503
  */
1504
- horizontalGap?: FormStyleConfig;
1504
+ horizontalGap?: FormStyleConfig | undefined;
1505
1505
  /**
1506
1506
  * <p>The spacing for the vertical gap.</p>
1507
1507
  * @public
1508
1508
  */
1509
- verticalGap?: FormStyleConfig;
1509
+ verticalGap?: FormStyleConfig | undefined;
1510
1510
  /**
1511
1511
  * <p>The size of the outer padding for the form.</p>
1512
1512
  * @public
1513
1513
  */
1514
- outerPadding?: FormStyleConfig;
1514
+ outerPadding?: FormStyleConfig | undefined;
1515
1515
  }
1516
1516
  /**
1517
1517
  * @public
@@ -1551,7 +1551,7 @@ export interface ExportFormsRequest {
1551
1551
  * <p>The token to request the next page of results.</p>
1552
1552
  * @public
1553
1553
  */
1554
- nextToken?: string;
1554
+ nextToken?: string | undefined;
1555
1555
  }
1556
1556
  /**
1557
1557
  * @public
@@ -1591,12 +1591,12 @@ export interface ListFormsRequest {
1591
1591
  * <p>The token to request the next page of results.</p>
1592
1592
  * @public
1593
1593
  */
1594
- nextToken?: string;
1594
+ nextToken?: string | undefined;
1595
1595
  /**
1596
1596
  * <p>The maximum number of forms to retrieve.</p>
1597
1597
  * @public
1598
1598
  */
1599
- maxResults?: number;
1599
+ maxResults?: number | undefined;
1600
1600
  }
1601
1601
  /**
1602
1602
  * <p>Describes the basic information about a form.</p>
@@ -1647,7 +1647,7 @@ export interface ListFormsResponse {
1647
1647
  * <p>The pagination token that's included if more results are available.</p>
1648
1648
  * @public
1649
1649
  */
1650
- nextToken?: string;
1650
+ nextToken?: string | undefined;
1651
1651
  }
1652
1652
  /**
1653
1653
  * @public
@@ -1757,7 +1757,7 @@ export interface RefreshTokenRequestBody {
1757
1757
  * <p>The ID of the client to request the token from.</p>
1758
1758
  * @public
1759
1759
  */
1760
- clientId?: string;
1760
+ clientId?: string | undefined;
1761
1761
  }
1762
1762
  /**
1763
1763
  * @public
@@ -1849,7 +1849,7 @@ export interface ExportThemesRequest {
1849
1849
  * <p>The token to request the next page of results.</p>
1850
1850
  * @public
1851
1851
  */
1852
- nextToken?: string;
1852
+ nextToken?: string | undefined;
1853
1853
  }
1854
1854
  /**
1855
1855
  * @public
@@ -1890,12 +1890,12 @@ export interface ListThemesRequest {
1890
1890
  * <p>The token to request the next page of results.</p>
1891
1891
  * @public
1892
1892
  */
1893
- nextToken?: string;
1893
+ nextToken?: string | undefined;
1894
1894
  /**
1895
1895
  * <p>The maximum number of theme results to return in the response.</p>
1896
1896
  * @public
1897
1897
  */
1898
- maxResults?: number;
1898
+ maxResults?: number | undefined;
1899
1899
  }
1900
1900
  /**
1901
1901
  * <p>Describes the basic information about a theme.</p>
@@ -1936,7 +1936,7 @@ export interface ListThemesResponse {
1936
1936
  * <p>The pagination token that's returned if more results are available.</p>
1937
1937
  * @public
1938
1938
  */
1939
- nextToken?: string;
1939
+ nextToken?: string | undefined;
1940
1940
  }
1941
1941
  /**
1942
1942
  * @public
@@ -1969,18 +1969,18 @@ export interface FormInputValueProperty {
1969
1969
  * <p>The value to assign to the input field.</p>
1970
1970
  * @public
1971
1971
  */
1972
- value?: string;
1972
+ value?: string | undefined;
1973
1973
  /**
1974
1974
  * <p>The information to bind fields to data at runtime.</p>
1975
1975
  * @public
1976
1976
  */
1977
- bindingProperties?: FormInputValuePropertyBindingProperties;
1977
+ bindingProperties?: FormInputValuePropertyBindingProperties | undefined;
1978
1978
  /**
1979
1979
  * <p>A list of form properties to concatenate to create the value to assign to this field
1980
1980
  * property.</p>
1981
1981
  * @public
1982
1982
  */
1983
- concat?: FormInputValueProperty[];
1983
+ concat?: FormInputValueProperty[] | undefined;
1984
1984
  }
1985
1985
  /**
1986
1986
  * <p>Describes the configuration of a theme's properties.</p>
@@ -1991,12 +1991,12 @@ export interface ThemeValue {
1991
1991
  * <p>The value of a theme property.</p>
1992
1992
  * @public
1993
1993
  */
1994
- value?: string;
1994
+ value?: string | undefined;
1995
1995
  /**
1996
1996
  * <p>A list of key-value pairs that define the theme's properties.</p>
1997
1997
  * @public
1998
1998
  */
1999
- children?: ThemeValues[];
1999
+ children?: ThemeValues[] | undefined;
2000
2000
  }
2001
2001
  /**
2002
2002
  * <p>A key-value pair that defines a property of a theme.</p>
@@ -2007,12 +2007,12 @@ export interface ThemeValues {
2007
2007
  * <p>The name of the property.</p>
2008
2008
  * @public
2009
2009
  */
2010
- key?: string;
2010
+ key?: string | undefined;
2011
2011
  /**
2012
2012
  * <p>The value of the property.</p>
2013
2013
  * @public
2014
2014
  */
2015
- value?: ThemeValue;
2015
+ value?: ThemeValue | undefined;
2016
2016
  }
2017
2017
  /**
2018
2018
  * <p>Stores information for generating Amplify DataStore queries. Use a
@@ -2024,32 +2024,32 @@ export interface Predicate {
2024
2024
  * <p>A list of predicates to combine logically.</p>
2025
2025
  * @public
2026
2026
  */
2027
- or?: Predicate[];
2027
+ or?: Predicate[] | undefined;
2028
2028
  /**
2029
2029
  * <p>A list of predicates to combine logically.</p>
2030
2030
  * @public
2031
2031
  */
2032
- and?: Predicate[];
2032
+ and?: Predicate[] | undefined;
2033
2033
  /**
2034
2034
  * <p>The field to query.</p>
2035
2035
  * @public
2036
2036
  */
2037
- field?: string;
2037
+ field?: string | undefined;
2038
2038
  /**
2039
2039
  * <p>The operator to use to perform the evaluation.</p>
2040
2040
  * @public
2041
2041
  */
2042
- operator?: string;
2042
+ operator?: string | undefined;
2043
2043
  /**
2044
2044
  * <p>The value to use when performing the evaluation.</p>
2045
2045
  * @public
2046
2046
  */
2047
- operand?: string;
2047
+ operand?: string | undefined;
2048
2048
  /**
2049
2049
  * <p>The type of value to use when performing the evaluation.</p>
2050
2050
  * @public
2051
2051
  */
2052
- operandType?: string;
2052
+ operandType?: string | undefined;
2053
2053
  }
2054
2054
  /**
2055
2055
  * <p>Represents the data binding configuration for a specific property using data stored in
@@ -2063,42 +2063,42 @@ export interface ComponentBindingPropertiesValueProperties {
2063
2063
  * <p>An Amplify DataStore model.</p>
2064
2064
  * @public
2065
2065
  */
2066
- model?: string;
2066
+ model?: string | undefined;
2067
2067
  /**
2068
2068
  * <p>The field to bind the data to.</p>
2069
2069
  * @public
2070
2070
  */
2071
- field?: string;
2071
+ field?: string | undefined;
2072
2072
  /**
2073
2073
  * <p>A list of predicates for binding a component's properties to data.</p>
2074
2074
  * @public
2075
2075
  */
2076
- predicates?: Predicate[];
2076
+ predicates?: Predicate[] | undefined;
2077
2077
  /**
2078
2078
  * <p>An authenticated user attribute.</p>
2079
2079
  * @public
2080
2080
  */
2081
- userAttribute?: string;
2081
+ userAttribute?: string | undefined;
2082
2082
  /**
2083
2083
  * <p>An Amazon S3 bucket.</p>
2084
2084
  * @public
2085
2085
  */
2086
- bucket?: string;
2086
+ bucket?: string | undefined;
2087
2087
  /**
2088
2088
  * <p>The storage key for an Amazon S3 bucket.</p>
2089
2089
  * @public
2090
2090
  */
2091
- key?: string;
2091
+ key?: string | undefined;
2092
2092
  /**
2093
2093
  * <p>The default value to assign to the property.</p>
2094
2094
  * @public
2095
2095
  */
2096
- defaultValue?: string;
2096
+ defaultValue?: string | undefined;
2097
2097
  /**
2098
2098
  * <p>The name of a component slot.</p>
2099
2099
  * @public
2100
2100
  */
2101
- slotName?: string;
2101
+ slotName?: string | undefined;
2102
2102
  }
2103
2103
  /**
2104
2104
  * <p>Describes the configuration for binding a component's properties to data.</p>
@@ -2114,19 +2114,19 @@ export interface ComponentDataConfiguration {
2114
2114
  * <p>Describes how to sort the component's properties.</p>
2115
2115
  * @public
2116
2116
  */
2117
- sort?: SortProperty[];
2117
+ sort?: SortProperty[] | undefined;
2118
2118
  /**
2119
2119
  * <p>Represents the conditional logic to use when binding data to a component. Use this
2120
2120
  * property to retrieve only a subset of the data in a collection.</p>
2121
2121
  * @public
2122
2122
  */
2123
- predicate?: Predicate;
2123
+ predicate?: Predicate | undefined;
2124
2124
  /**
2125
2125
  * <p>A list of IDs to use to bind data to a component. Use this property to bind specifically
2126
2126
  * chosen data, rather than data retrieved from a query.</p>
2127
2127
  * @public
2128
2128
  */
2129
- identifiers?: string[];
2129
+ identifiers?: string[] | undefined;
2130
2130
  }
2131
2131
  /**
2132
2132
  * <p>Describes the configuration for all of a component's properties. Use
@@ -2138,81 +2138,81 @@ export interface ComponentProperty {
2138
2138
  * <p>The value to assign to the component property.</p>
2139
2139
  * @public
2140
2140
  */
2141
- value?: string;
2141
+ value?: string | undefined;
2142
2142
  /**
2143
2143
  * <p>The information to bind the component property to data at runtime.</p>
2144
2144
  * @public
2145
2145
  */
2146
- bindingProperties?: ComponentPropertyBindingProperties;
2146
+ bindingProperties?: ComponentPropertyBindingProperties | undefined;
2147
2147
  /**
2148
2148
  * <p>The information to bind the component property to data at runtime. Use this for collection
2149
2149
  * components.</p>
2150
2150
  * @public
2151
2151
  */
2152
- collectionBindingProperties?: ComponentPropertyBindingProperties;
2152
+ collectionBindingProperties?: ComponentPropertyBindingProperties | undefined;
2153
2153
  /**
2154
2154
  * <p>The default value to assign to the component property.</p>
2155
2155
  * @public
2156
2156
  */
2157
- defaultValue?: string;
2157
+ defaultValue?: string | undefined;
2158
2158
  /**
2159
2159
  * <p>The data model to use to assign a value to the component property.</p>
2160
2160
  * @public
2161
2161
  */
2162
- model?: string;
2162
+ model?: string | undefined;
2163
2163
  /**
2164
2164
  * <p>The information to bind the component property to form data.</p>
2165
2165
  * @public
2166
2166
  */
2167
- bindings?: Record<string, FormBindingElement>;
2167
+ bindings?: Record<string, FormBindingElement> | undefined;
2168
2168
  /**
2169
2169
  * <p>An event that occurs in your app. Use this for workflow data binding.</p>
2170
2170
  * @public
2171
2171
  */
2172
- event?: string;
2172
+ event?: string | undefined;
2173
2173
  /**
2174
2174
  * <p>An authenticated user attribute to use to assign a value to the component property.</p>
2175
2175
  * @public
2176
2176
  */
2177
- userAttribute?: string;
2177
+ userAttribute?: string | undefined;
2178
2178
  /**
2179
2179
  * <p>A list of component properties to concatenate to create the value to assign to this
2180
2180
  * component property.</p>
2181
2181
  * @public
2182
2182
  */
2183
- concat?: ComponentProperty[];
2183
+ concat?: ComponentProperty[] | undefined;
2184
2184
  /**
2185
2185
  * <p>The conditional expression to use to assign a value to the component property.</p>
2186
2186
  * @public
2187
2187
  */
2188
- condition?: ComponentConditionProperty;
2188
+ condition?: ComponentConditionProperty | undefined;
2189
2189
  /**
2190
2190
  * <p>Specifies whether the user configured the property in Amplify Studio after
2191
2191
  * importing it.</p>
2192
2192
  * @public
2193
2193
  */
2194
- configured?: boolean;
2194
+ configured?: boolean | undefined;
2195
2195
  /**
2196
2196
  * <p>The component type.</p>
2197
2197
  * @public
2198
2198
  */
2199
- type?: string;
2199
+ type?: string | undefined;
2200
2200
  /**
2201
2201
  * <p>The default value assigned to the property when the component is imported into an
2202
2202
  * app.</p>
2203
2203
  * @public
2204
2204
  */
2205
- importedValue?: string;
2205
+ importedValue?: string | undefined;
2206
2206
  /**
2207
2207
  * <p>The name of the component that is affected by an event.</p>
2208
2208
  * @public
2209
2209
  */
2210
- componentName?: string;
2210
+ componentName?: string | undefined;
2211
2211
  /**
2212
2212
  * <p>The name of the component's property that is affected by an event.</p>
2213
2213
  * @public
2214
2214
  */
2215
- property?: string;
2215
+ property?: string | undefined;
2216
2216
  }
2217
2217
  /**
2218
2218
  * <p>Associates a complex object with a display value. Use <code>ValueMapping</code> to store
@@ -2224,7 +2224,7 @@ export interface ValueMapping {
2224
2224
  * <p>The value to display for the complex object.</p>
2225
2225
  * @public
2226
2226
  */
2227
- displayValue?: FormInputValueProperty;
2227
+ displayValue?: FormInputValueProperty | undefined;
2228
2228
  /**
2229
2229
  * <p>The complex object.</p>
2230
2230
  * @public
@@ -2243,17 +2243,17 @@ export interface ComponentBindingPropertiesValue {
2243
2243
  * <p>The property type.</p>
2244
2244
  * @public
2245
2245
  */
2246
- type?: string;
2246
+ type?: string | undefined;
2247
2247
  /**
2248
2248
  * <p>Describes the properties to customize with data at runtime.</p>
2249
2249
  * @public
2250
2250
  */
2251
- bindingProperties?: ComponentBindingPropertiesValueProperties;
2251
+ bindingProperties?: ComponentBindingPropertiesValueProperties | undefined;
2252
2252
  /**
2253
2253
  * <p>The default value of the property.</p>
2254
2254
  * @public
2255
2255
  */
2256
- defaultValue?: string;
2256
+ defaultValue?: string | undefined;
2257
2257
  }
2258
2258
  /**
2259
2259
  * <p>Represents all of the information that is required to create a theme.</p>
@@ -2275,12 +2275,12 @@ export interface CreateThemeData {
2275
2275
  * theme.</p>
2276
2276
  * @public
2277
2277
  */
2278
- overrides?: ThemeValues[];
2278
+ overrides?: ThemeValues[] | undefined;
2279
2279
  /**
2280
2280
  * <p>One or more key-value pairs to use when tagging the theme data.</p>
2281
2281
  * @public
2282
2282
  */
2283
- tags?: Record<string, string>;
2283
+ tags?: Record<string, string> | undefined;
2284
2284
  }
2285
2285
  /**
2286
2286
  * <p>A theme is a collection of style settings that apply globally to the components associated
@@ -2318,7 +2318,7 @@ export interface Theme {
2318
2318
  * <p>The time that the theme was modified.</p>
2319
2319
  * @public
2320
2320
  */
2321
- modifiedAt?: Date;
2321
+ modifiedAt?: Date | undefined;
2322
2322
  /**
2323
2323
  * <p>A list of key-value pairs that defines the properties of the theme.</p>
2324
2324
  * @public
@@ -2328,12 +2328,12 @@ export interface Theme {
2328
2328
  * <p>Describes the properties that can be overriden to customize a theme.</p>
2329
2329
  * @public
2330
2330
  */
2331
- overrides?: ThemeValues[];
2331
+ overrides?: ThemeValues[] | undefined;
2332
2332
  /**
2333
2333
  * <p>One or more key-value pairs to use when tagging the theme.</p>
2334
2334
  * @public
2335
2335
  */
2336
- tags?: Record<string, string>;
2336
+ tags?: Record<string, string> | undefined;
2337
2337
  }
2338
2338
  /**
2339
2339
  * <p>Saves the data binding information for a theme.</p>
@@ -2344,12 +2344,12 @@ export interface UpdateThemeData {
2344
2344
  * <p>The unique ID of the theme to update.</p>
2345
2345
  * @public
2346
2346
  */
2347
- id?: string;
2347
+ id?: string | undefined;
2348
2348
  /**
2349
2349
  * <p>The name of the theme to update.</p>
2350
2350
  * @public
2351
2351
  */
2352
- name?: string;
2352
+ name?: string | undefined;
2353
2353
  /**
2354
2354
  * <p>A list of key-value pairs that define the theme's properties.</p>
2355
2355
  * @public
@@ -2359,7 +2359,7 @@ export interface UpdateThemeData {
2359
2359
  * <p>Describes the properties that can be overriden to customize the theme.</p>
2360
2360
  * @public
2361
2361
  */
2362
- overrides?: ThemeValues[];
2362
+ overrides?: ThemeValues[] | undefined;
2363
2363
  }
2364
2364
  /**
2365
2365
  * <p>Represents the state configuration when an action modifies a property of another element
@@ -2394,38 +2394,38 @@ export interface ComponentConditionProperty {
2394
2394
  * <p>The name of the conditional property.</p>
2395
2395
  * @public
2396
2396
  */
2397
- property?: string;
2397
+ property?: string | undefined;
2398
2398
  /**
2399
2399
  * <p>The name of a field. Specify this when the property is a data model.</p>
2400
2400
  * @public
2401
2401
  */
2402
- field?: string;
2402
+ field?: string | undefined;
2403
2403
  /**
2404
2404
  * <p>The operator to use to perform the evaluation, such as <code>eq</code> to represent
2405
2405
  * equals.</p>
2406
2406
  * @public
2407
2407
  */
2408
- operator?: string;
2408
+ operator?: string | undefined;
2409
2409
  /**
2410
2410
  * <p>The value of the property to evaluate.</p>
2411
2411
  * @public
2412
2412
  */
2413
- operand?: string;
2413
+ operand?: string | undefined;
2414
2414
  /**
2415
2415
  * <p>The value to assign to the property if the condition is met.</p>
2416
2416
  * @public
2417
2417
  */
2418
- then?: ComponentProperty;
2418
+ then?: ComponentProperty | undefined;
2419
2419
  /**
2420
2420
  * <p>The value to assign to the property if the condition is not met.</p>
2421
2421
  * @public
2422
2422
  */
2423
- else?: ComponentProperty;
2423
+ else?: ComponentProperty | undefined;
2424
2424
  /**
2425
2425
  * <p>The type of the property to evaluate.</p>
2426
2426
  * @public
2427
2427
  */
2428
- operandType?: string;
2428
+ operandType?: string | undefined;
2429
2429
  }
2430
2430
  /**
2431
2431
  * @public
@@ -2446,7 +2446,7 @@ export interface CreateThemeRequest {
2446
2446
  * <p>The unique client token.</p>
2447
2447
  * @public
2448
2448
  */
2449
- clientToken?: string;
2449
+ clientToken?: string | undefined;
2450
2450
  /**
2451
2451
  * <p>Represents the configuration of the theme to create.</p>
2452
2452
  * @public
@@ -2461,7 +2461,7 @@ export interface CreateThemeResponse {
2461
2461
  * <p>Describes the configuration of the new theme.</p>
2462
2462
  * @public
2463
2463
  */
2464
- entity?: Theme;
2464
+ entity?: Theme | undefined;
2465
2465
  }
2466
2466
  /**
2467
2467
  * @public
@@ -2471,7 +2471,7 @@ export interface GetThemeResponse {
2471
2471
  * <p>Represents the configuration settings for the theme.</p>
2472
2472
  * @public
2473
2473
  */
2474
- theme?: Theme;
2474
+ theme?: Theme | undefined;
2475
2475
  }
2476
2476
  /**
2477
2477
  * @public
@@ -2496,7 +2496,7 @@ export interface UpdateThemeRequest {
2496
2496
  * <p>The unique client token.</p>
2497
2497
  * @public
2498
2498
  */
2499
- clientToken?: string;
2499
+ clientToken?: string | undefined;
2500
2500
  /**
2501
2501
  * <p>The configuration of the updated theme.</p>
2502
2502
  * @public
@@ -2511,7 +2511,7 @@ export interface UpdateThemeResponse {
2511
2511
  * <p>Describes the configuration of the updated theme.</p>
2512
2512
  * @public
2513
2513
  */
2514
- entity?: Theme;
2514
+ entity?: Theme | undefined;
2515
2515
  }
2516
2516
  /**
2517
2517
  * <p>Represents the data binding configuration for a value map.</p>
@@ -2527,7 +2527,7 @@ export interface ValueMappings {
2527
2527
  * <p>The information to bind fields to data at runtime.</p>
2528
2528
  * @public
2529
2529
  */
2530
- bindingProperties?: Record<string, FormInputBindingPropertiesValue>;
2530
+ bindingProperties?: Record<string, FormInputBindingPropertiesValue> | undefined;
2531
2531
  }
2532
2532
  /**
2533
2533
  * @public
@@ -2542,7 +2542,7 @@ export interface ExportThemesResponse {
2542
2542
  * <p>The pagination token that's included if more results are available.</p>
2543
2543
  * @public
2544
2544
  */
2545
- nextToken?: string;
2545
+ nextToken?: string | undefined;
2546
2546
  }
2547
2547
  /**
2548
2548
  * <p>Describes the configuration for the default input values to display for a field.</p>
@@ -2558,78 +2558,78 @@ export interface FieldInputConfig {
2558
2558
  * <p>Specifies a field that requires input.</p>
2559
2559
  * @public
2560
2560
  */
2561
- required?: boolean;
2561
+ required?: boolean | undefined;
2562
2562
  /**
2563
2563
  * <p>Specifies a read only field.</p>
2564
2564
  * @public
2565
2565
  */
2566
- readOnly?: boolean;
2566
+ readOnly?: boolean | undefined;
2567
2567
  /**
2568
2568
  * <p>The text to display as a placeholder for the field.</p>
2569
2569
  * @public
2570
2570
  */
2571
- placeholder?: string;
2571
+ placeholder?: string | undefined;
2572
2572
  /**
2573
2573
  * <p>The default value for the field.</p>
2574
2574
  * @public
2575
2575
  */
2576
- defaultValue?: string;
2576
+ defaultValue?: string | undefined;
2577
2577
  /**
2578
2578
  * <p>The text to display to describe the field.</p>
2579
2579
  * @public
2580
2580
  */
2581
- descriptiveText?: string;
2581
+ descriptiveText?: string | undefined;
2582
2582
  /**
2583
2583
  * <p>Specifies whether a field has a default value.</p>
2584
2584
  * @public
2585
2585
  */
2586
- defaultChecked?: boolean;
2586
+ defaultChecked?: boolean | undefined;
2587
2587
  /**
2588
2588
  * <p>The default country code for a phone number.</p>
2589
2589
  * @public
2590
2590
  */
2591
- defaultCountryCode?: string;
2591
+ defaultCountryCode?: string | undefined;
2592
2592
  /**
2593
2593
  * <p>The information to use to customize the input fields with data at runtime.</p>
2594
2594
  * @public
2595
2595
  */
2596
- valueMappings?: ValueMappings;
2596
+ valueMappings?: ValueMappings | undefined;
2597
2597
  /**
2598
2598
  * <p>The name of the field.</p>
2599
2599
  * @public
2600
2600
  */
2601
- name?: string;
2601
+ name?: string | undefined;
2602
2602
  /**
2603
2603
  * <p>The minimum value to display for the field.</p>
2604
2604
  * @public
2605
2605
  */
2606
- minValue?: number;
2606
+ minValue?: number | undefined;
2607
2607
  /**
2608
2608
  * <p>The maximum value to display for the field.</p>
2609
2609
  * @public
2610
2610
  */
2611
- maxValue?: number;
2611
+ maxValue?: number | undefined;
2612
2612
  /**
2613
2613
  * <p>The stepping increment for a numeric value in a field.</p>
2614
2614
  * @public
2615
2615
  */
2616
- step?: number;
2616
+ step?: number | undefined;
2617
2617
  /**
2618
2618
  * <p>The value for the field.</p>
2619
2619
  * @public
2620
2620
  */
2621
- value?: string;
2621
+ value?: string | undefined;
2622
2622
  /**
2623
2623
  * <p>Specifies whether to render the field as an array. This property is ignored if the
2624
2624
  * <code>dataSourceType</code> for the form is a Data Store.</p>
2625
2625
  * @public
2626
2626
  */
2627
- isArray?: boolean;
2627
+ isArray?: boolean | undefined;
2628
2628
  /**
2629
2629
  * <p>The configuration for the file uploader field.</p>
2630
2630
  * @public
2631
2631
  */
2632
- fileUploaderConfig?: FileUploaderFieldConfig;
2632
+ fileUploaderConfig?: FileUploaderFieldConfig | undefined;
2633
2633
  }
2634
2634
  /**
2635
2635
  * <p>Describes the configuration information for a field in a table.</p>
@@ -2640,27 +2640,27 @@ export interface FieldConfig {
2640
2640
  * <p>The label for the field.</p>
2641
2641
  * @public
2642
2642
  */
2643
- label?: string;
2643
+ label?: string | undefined;
2644
2644
  /**
2645
2645
  * <p>Specifies the field position.</p>
2646
2646
  * @public
2647
2647
  */
2648
- position?: FieldPosition;
2648
+ position?: FieldPosition | undefined;
2649
2649
  /**
2650
2650
  * <p>Specifies whether to hide a field.</p>
2651
2651
  * @public
2652
2652
  */
2653
- excluded?: boolean;
2653
+ excluded?: boolean | undefined;
2654
2654
  /**
2655
2655
  * <p>Describes the configuration for the default input value to display for a field.</p>
2656
2656
  * @public
2657
2657
  */
2658
- inputType?: FieldInputConfig;
2658
+ inputType?: FieldInputConfig | undefined;
2659
2659
  /**
2660
2660
  * <p>The validations to perform on the value in the field.</p>
2661
2661
  * @public
2662
2662
  */
2663
- validations?: FieldValidationConfiguration[];
2663
+ validations?: FieldValidationConfiguration[] | undefined;
2664
2664
  }
2665
2665
  /**
2666
2666
  * <p>Represents all of the information that is required to create a form.</p>
@@ -2708,17 +2708,17 @@ export interface CreateFormData {
2708
2708
  * form.</p>
2709
2709
  * @public
2710
2710
  */
2711
- cta?: FormCTA;
2711
+ cta?: FormCTA | undefined;
2712
2712
  /**
2713
2713
  * <p>One or more key-value pairs to use when tagging the form data.</p>
2714
2714
  * @public
2715
2715
  */
2716
- tags?: Record<string, string>;
2716
+ tags?: Record<string, string> | undefined;
2717
2717
  /**
2718
2718
  * <p>Specifies an icon or decoration to display on the form.</p>
2719
2719
  * @public
2720
2720
  */
2721
- labelDecorator?: LabelDecorator;
2721
+ labelDecorator?: LabelDecorator | undefined;
2722
2722
  }
2723
2723
  /**
2724
2724
  * <p>Contains the configuration settings for a <code>Form</code> user interface (UI) element
@@ -2782,17 +2782,17 @@ export interface Form {
2782
2782
  * <p>One or more key-value pairs to use when tagging the form.</p>
2783
2783
  * @public
2784
2784
  */
2785
- tags?: Record<string, string>;
2785
+ tags?: Record<string, string> | undefined;
2786
2786
  /**
2787
2787
  * <p>Stores the call to action configuration for the form.</p>
2788
2788
  * @public
2789
2789
  */
2790
- cta?: FormCTA;
2790
+ cta?: FormCTA | undefined;
2791
2791
  /**
2792
2792
  * <p>Specifies an icon or decoration to display on the form.</p>
2793
2793
  * @public
2794
2794
  */
2795
- labelDecorator?: LabelDecorator;
2795
+ labelDecorator?: LabelDecorator | undefined;
2796
2796
  }
2797
2797
  /**
2798
2798
  * <p>Updates and saves all of the information about a form, based on form ID.</p>
@@ -2803,49 +2803,49 @@ export interface UpdateFormData {
2803
2803
  * <p>The name of the form.</p>
2804
2804
  * @public
2805
2805
  */
2806
- name?: string;
2806
+ name?: string | undefined;
2807
2807
  /**
2808
2808
  * <p>The type of data source to use to create the form.</p>
2809
2809
  * @public
2810
2810
  */
2811
- dataType?: FormDataTypeConfig;
2811
+ dataType?: FormDataTypeConfig | undefined;
2812
2812
  /**
2813
2813
  * <p>Specifies whether to perform a create or update action on the form.</p>
2814
2814
  * @public
2815
2815
  */
2816
- formActionType?: FormActionType;
2816
+ formActionType?: FormActionType | undefined;
2817
2817
  /**
2818
2818
  * <p>The configuration information for the form's fields.</p>
2819
2819
  * @public
2820
2820
  */
2821
- fields?: Record<string, FieldConfig>;
2821
+ fields?: Record<string, FieldConfig> | undefined;
2822
2822
  /**
2823
2823
  * <p>The configuration for the form's style.</p>
2824
2824
  * @public
2825
2825
  */
2826
- style?: FormStyle;
2826
+ style?: FormStyle | undefined;
2827
2827
  /**
2828
2828
  * <p>The configuration information for the visual helper elements for the form. These elements
2829
2829
  * are not associated with any data.</p>
2830
2830
  * @public
2831
2831
  */
2832
- sectionalElements?: Record<string, SectionalElement>;
2832
+ sectionalElements?: Record<string, SectionalElement> | undefined;
2833
2833
  /**
2834
2834
  * <p>The schema version of the form.</p>
2835
2835
  * @public
2836
2836
  */
2837
- schemaVersion?: string;
2837
+ schemaVersion?: string | undefined;
2838
2838
  /**
2839
2839
  * <p>The <code>FormCTA</code> object that stores the call to action configuration for the
2840
2840
  * form.</p>
2841
2841
  * @public
2842
2842
  */
2843
- cta?: FormCTA;
2843
+ cta?: FormCTA | undefined;
2844
2844
  /**
2845
2845
  * <p>Specifies an icon or decoration to display on the form.</p>
2846
2846
  * @public
2847
2847
  */
2848
- labelDecorator?: LabelDecorator;
2848
+ labelDecorator?: LabelDecorator | undefined;
2849
2849
  }
2850
2850
  /**
2851
2851
  * @public
@@ -2865,7 +2865,7 @@ export interface CreateFormRequest {
2865
2865
  * <p>The unique client token.</p>
2866
2866
  * @public
2867
2867
  */
2868
- clientToken?: string;
2868
+ clientToken?: string | undefined;
2869
2869
  /**
2870
2870
  * <p>Represents the configuration of the form to create.</p>
2871
2871
  * @public
@@ -2880,7 +2880,7 @@ export interface CreateFormResponse {
2880
2880
  * <p>Describes the configuration of the new form.</p>
2881
2881
  * @public
2882
2882
  */
2883
- entity?: Form;
2883
+ entity?: Form | undefined;
2884
2884
  }
2885
2885
  /**
2886
2886
  * @public
@@ -2890,7 +2890,7 @@ export interface GetFormResponse {
2890
2890
  * <p>Represents the configuration settings for the form.</p>
2891
2891
  * @public
2892
2892
  */
2893
- form?: Form;
2893
+ form?: Form | undefined;
2894
2894
  }
2895
2895
  /**
2896
2896
  * @public
@@ -2915,7 +2915,7 @@ export interface UpdateFormRequest {
2915
2915
  * <p>The unique client token.</p>
2916
2916
  * @public
2917
2917
  */
2918
- clientToken?: string;
2918
+ clientToken?: string | undefined;
2919
2919
  /**
2920
2920
  * <p>The request accepts the following data in JSON format.</p>
2921
2921
  * @public
@@ -2930,7 +2930,7 @@ export interface UpdateFormResponse {
2930
2930
  * <p>Describes the configuration of the updated form.</p>
2931
2931
  * @public
2932
2932
  */
2933
- entity?: Form;
2933
+ entity?: Form | undefined;
2934
2934
  }
2935
2935
  /**
2936
2936
  * @public
@@ -2945,7 +2945,7 @@ export interface ExportFormsResponse {
2945
2945
  * <p>The pagination token that's included if more results are available.</p>
2946
2946
  * @public
2947
2947
  */
2948
- nextToken?: string;
2948
+ nextToken?: string | undefined;
2949
2949
  }
2950
2950
  /**
2951
2951
  * <p>Represents the event action configuration for an element of a <code>Component</code> or
@@ -2960,51 +2960,51 @@ export interface ActionParameters {
2960
2960
  * This value is required for a navigation action.</p>
2961
2961
  * @public
2962
2962
  */
2963
- type?: ComponentProperty;
2963
+ type?: ComponentProperty | undefined;
2964
2964
  /**
2965
2965
  * <p>The URL to the location to open. Specify this value for a navigation action.</p>
2966
2966
  * @public
2967
2967
  */
2968
- url?: ComponentProperty;
2968
+ url?: ComponentProperty | undefined;
2969
2969
  /**
2970
2970
  * <p>The HTML anchor link to the location to open. Specify this value for a navigation
2971
2971
  * action.</p>
2972
2972
  * @public
2973
2973
  */
2974
- anchor?: ComponentProperty;
2974
+ anchor?: ComponentProperty | undefined;
2975
2975
  /**
2976
2976
  * <p>The element within the same component to modify when the action occurs.</p>
2977
2977
  * @public
2978
2978
  */
2979
- target?: ComponentProperty;
2979
+ target?: ComponentProperty | undefined;
2980
2980
  /**
2981
2981
  * <p>Specifies whether the user should be signed out globally. Specify this value for an auth
2982
2982
  * sign out action.</p>
2983
2983
  * @public
2984
2984
  */
2985
- global?: ComponentProperty;
2985
+ global?: ComponentProperty | undefined;
2986
2986
  /**
2987
2987
  * <p>The name of the data model. Use when the action performs an operation on an Amplify DataStore model.</p>
2988
2988
  * @public
2989
2989
  */
2990
- model?: string;
2990
+ model?: string | undefined;
2991
2991
  /**
2992
2992
  * <p>The unique ID of the component that the <code>ActionParameters</code> apply to.</p>
2993
2993
  * @public
2994
2994
  */
2995
- id?: ComponentProperty;
2995
+ id?: ComponentProperty | undefined;
2996
2996
  /**
2997
2997
  * <p>A dictionary of key-value pairs mapping Amplify Studio properties to fields
2998
2998
  * in a data model. Use when the action performs an operation on an Amplify
2999
2999
  * DataStore model.</p>
3000
3000
  * @public
3001
3001
  */
3002
- fields?: Record<string, ComponentProperty>;
3002
+ fields?: Record<string, ComponentProperty> | undefined;
3003
3003
  /**
3004
3004
  * <p>A key-value pair that specifies the state property name and its initial value.</p>
3005
3005
  * @public
3006
3006
  */
3007
- state?: MutationActionSetStateParameter;
3007
+ state?: MutationActionSetStateParameter | undefined;
3008
3008
  }
3009
3009
  /**
3010
3010
  * <p>Describes the configuration of an event. You can bind an event and a corresponding action
@@ -3017,18 +3017,18 @@ export interface ComponentEvent {
3017
3017
  * <p>The action to perform when a specific event is raised.</p>
3018
3018
  * @public
3019
3019
  */
3020
- action?: string;
3020
+ action?: string | undefined;
3021
3021
  /**
3022
3022
  * <p>Describes information about the action.</p>
3023
3023
  * @public
3024
3024
  */
3025
- parameters?: ActionParameters;
3025
+ parameters?: ActionParameters | undefined;
3026
3026
  /**
3027
3027
  * <p>Binds an event to an action on a component. When you specify a <code>bindingEvent</code>,
3028
3028
  * the event is called when the action is performed.</p>
3029
3029
  * @public
3030
3030
  */
3031
- bindingEvent?: string;
3031
+ bindingEvent?: string | undefined;
3032
3032
  }
3033
3033
  /**
3034
3034
  * <p>A nested UI configuration within a parent <code>Component</code>.</p>
@@ -3055,19 +3055,19 @@ export interface ComponentChild {
3055
3055
  * <p>The list of <code>ComponentChild</code> instances for this component.</p>
3056
3056
  * @public
3057
3057
  */
3058
- children?: ComponentChild[];
3058
+ children?: ComponentChild[] | undefined;
3059
3059
  /**
3060
3060
  * <p>Describes the events that can be raised on the child component. Use for the workflow
3061
3061
  * feature in Amplify Studio that allows you to bind events and actions to
3062
3062
  * components.</p>
3063
3063
  * @public
3064
3064
  */
3065
- events?: Record<string, ComponentEvent>;
3065
+ events?: Record<string, ComponentEvent> | undefined;
3066
3066
  /**
3067
3067
  * <p>The unique ID of the child component in its original source system, such as Figma.</p>
3068
3068
  * @public
3069
3069
  */
3070
- sourceId?: string;
3070
+ sourceId?: string | undefined;
3071
3071
  }
3072
3072
  /**
3073
3073
  * <p>Contains the configuration settings for a user interface (UI) element for an Amplify app. A component is configured as a primary, stand-alone UI element. Use
@@ -3092,7 +3092,7 @@ export interface Component {
3092
3092
  * <p>The unique ID of the component in its original source system, such as Figma.</p>
3093
3093
  * @public
3094
3094
  */
3095
- sourceId?: string;
3095
+ sourceId?: string | undefined;
3096
3096
  /**
3097
3097
  * <p>The unique ID of the component.</p>
3098
3098
  * @public
@@ -3119,7 +3119,7 @@ export interface Component {
3119
3119
  * <p>A list of the component's <code>ComponentChild</code> instances.</p>
3120
3120
  * @public
3121
3121
  */
3122
- children?: ComponentChild[];
3122
+ children?: ComponentChild[] | undefined;
3123
3123
  /**
3124
3124
  * <p>A list of the component's variants. A variant is a unique style configuration of a main
3125
3125
  * component.</p>
@@ -3146,7 +3146,7 @@ export interface Component {
3146
3146
  * <code>collectionProperties</code>.</p>
3147
3147
  * @public
3148
3148
  */
3149
- collectionProperties?: Record<string, ComponentDataConfiguration>;
3149
+ collectionProperties?: Record<string, ComponentDataConfiguration> | undefined;
3150
3150
  /**
3151
3151
  * <p>The time that the component was created.</p>
3152
3152
  * @public
@@ -3156,24 +3156,24 @@ export interface Component {
3156
3156
  * <p>The time that the component was modified.</p>
3157
3157
  * @public
3158
3158
  */
3159
- modifiedAt?: Date;
3159
+ modifiedAt?: Date | undefined;
3160
3160
  /**
3161
3161
  * <p>One or more key-value pairs to use when tagging the component.</p>
3162
3162
  * @public
3163
3163
  */
3164
- tags?: Record<string, string>;
3164
+ tags?: Record<string, string> | undefined;
3165
3165
  /**
3166
3166
  * <p>Describes the events that can be raised on the component. Use for the workflow feature in
3167
3167
  * Amplify Studio that allows you to bind events and actions to
3168
3168
  * components.</p>
3169
3169
  * @public
3170
3170
  */
3171
- events?: Record<string, ComponentEvent>;
3171
+ events?: Record<string, ComponentEvent> | undefined;
3172
3172
  /**
3173
3173
  * <p>The schema version of the component when it was imported.</p>
3174
3174
  * @public
3175
3175
  */
3176
- schemaVersion?: string;
3176
+ schemaVersion?: string | undefined;
3177
3177
  }
3178
3178
  /**
3179
3179
  * <p>Represents all of the information that is required to create a component.</p>
@@ -3189,7 +3189,7 @@ export interface CreateComponentData {
3189
3189
  * <p>The unique ID of the component in its original source system, such as Figma.</p>
3190
3190
  * @public
3191
3191
  */
3192
- sourceId?: string;
3192
+ sourceId?: string | undefined;
3193
3193
  /**
3194
3194
  * <p>The component type. This can be an Amplify custom UI component or another
3195
3195
  * custom component.</p>
@@ -3205,7 +3205,7 @@ export interface CreateComponentData {
3205
3205
  * <p>A list of child components that are instances of the main component.</p>
3206
3206
  * @public
3207
3207
  */
3208
- children?: ComponentChild[];
3208
+ children?: ComponentChild[] | undefined;
3209
3209
  /**
3210
3210
  * <p>A list of the unique variants of this component.</p>
3211
3211
  * @public
@@ -3227,22 +3227,22 @@ export interface CreateComponentData {
3227
3227
  * collection component.</p>
3228
3228
  * @public
3229
3229
  */
3230
- collectionProperties?: Record<string, ComponentDataConfiguration>;
3230
+ collectionProperties?: Record<string, ComponentDataConfiguration> | undefined;
3231
3231
  /**
3232
3232
  * <p>One or more key-value pairs to use when tagging the component data.</p>
3233
3233
  * @public
3234
3234
  */
3235
- tags?: Record<string, string>;
3235
+ tags?: Record<string, string> | undefined;
3236
3236
  /**
3237
3237
  * <p>The event configuration for the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.</p>
3238
3238
  * @public
3239
3239
  */
3240
- events?: Record<string, ComponentEvent>;
3240
+ events?: Record<string, ComponentEvent> | undefined;
3241
3241
  /**
3242
3242
  * <p>The schema version of the component when it was imported.</p>
3243
3243
  * @public
3244
3244
  */
3245
- schemaVersion?: string;
3245
+ schemaVersion?: string | undefined;
3246
3246
  }
3247
3247
  /**
3248
3248
  * <p>Updates and saves all of the information about a component, based on component ID.</p>
@@ -3253,64 +3253,64 @@ export interface UpdateComponentData {
3253
3253
  * <p>The unique ID of the component to update.</p>
3254
3254
  * @public
3255
3255
  */
3256
- id?: string;
3256
+ id?: string | undefined;
3257
3257
  /**
3258
3258
  * <p>The name of the component to update.</p>
3259
3259
  * @public
3260
3260
  */
3261
- name?: string;
3261
+ name?: string | undefined;
3262
3262
  /**
3263
3263
  * <p>The unique ID of the component in its original source system, such as Figma.</p>
3264
3264
  * @public
3265
3265
  */
3266
- sourceId?: string;
3266
+ sourceId?: string | undefined;
3267
3267
  /**
3268
3268
  * <p>The type of the component. This can be an Amplify custom UI component or
3269
3269
  * another custom component.</p>
3270
3270
  * @public
3271
3271
  */
3272
- componentType?: string;
3272
+ componentType?: string | undefined;
3273
3273
  /**
3274
3274
  * <p>Describes the component's properties.</p>
3275
3275
  * @public
3276
3276
  */
3277
- properties?: Record<string, ComponentProperty>;
3277
+ properties?: Record<string, ComponentProperty> | undefined;
3278
3278
  /**
3279
3279
  * <p>The components that are instances of the main component.</p>
3280
3280
  * @public
3281
3281
  */
3282
- children?: ComponentChild[];
3282
+ children?: ComponentChild[] | undefined;
3283
3283
  /**
3284
3284
  * <p>A list of the unique variants of the main component being updated.</p>
3285
3285
  * @public
3286
3286
  */
3287
- variants?: ComponentVariant[];
3287
+ variants?: ComponentVariant[] | undefined;
3288
3288
  /**
3289
3289
  * <p>Describes the properties that can be overriden to customize the component.</p>
3290
3290
  * @public
3291
3291
  */
3292
- overrides?: Record<string, Record<string, string>>;
3292
+ overrides?: Record<string, Record<string, string>> | undefined;
3293
3293
  /**
3294
3294
  * <p>The data binding information for the component's properties.</p>
3295
3295
  * @public
3296
3296
  */
3297
- bindingProperties?: Record<string, ComponentBindingPropertiesValue>;
3297
+ bindingProperties?: Record<string, ComponentBindingPropertiesValue> | undefined;
3298
3298
  /**
3299
3299
  * <p>The configuration for binding a component's properties to a data model. Use this for a
3300
3300
  * collection component.</p>
3301
3301
  * @public
3302
3302
  */
3303
- collectionProperties?: Record<string, ComponentDataConfiguration>;
3303
+ collectionProperties?: Record<string, ComponentDataConfiguration> | undefined;
3304
3304
  /**
3305
3305
  * <p>The event configuration for the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.</p>
3306
3306
  * @public
3307
3307
  */
3308
- events?: Record<string, ComponentEvent>;
3308
+ events?: Record<string, ComponentEvent> | undefined;
3309
3309
  /**
3310
3310
  * <p>The schema version of the component when it was imported.</p>
3311
3311
  * @public
3312
3312
  */
3313
- schemaVersion?: string;
3313
+ schemaVersion?: string | undefined;
3314
3314
  }
3315
3315
  /**
3316
3316
  * @public
@@ -3331,7 +3331,7 @@ export interface CreateComponentRequest {
3331
3331
  * <p>The unique client token.</p>
3332
3332
  * @public
3333
3333
  */
3334
- clientToken?: string;
3334
+ clientToken?: string | undefined;
3335
3335
  /**
3336
3336
  * <p>Represents the configuration of the component to create.</p>
3337
3337
  * @public
@@ -3346,7 +3346,7 @@ export interface CreateComponentResponse {
3346
3346
  * <p>Describes the configuration of the new component.</p>
3347
3347
  * @public
3348
3348
  */
3349
- entity?: Component;
3349
+ entity?: Component | undefined;
3350
3350
  }
3351
3351
  /**
3352
3352
  * @public
@@ -3356,7 +3356,7 @@ export interface GetComponentResponse {
3356
3356
  * <p>Represents the configuration settings for the component.</p>
3357
3357
  * @public
3358
3358
  */
3359
- component?: Component;
3359
+ component?: Component | undefined;
3360
3360
  }
3361
3361
  /**
3362
3362
  * @public
@@ -3381,7 +3381,7 @@ export interface UpdateComponentRequest {
3381
3381
  * <p>The unique client token.</p>
3382
3382
  * @public
3383
3383
  */
3384
- clientToken?: string;
3384
+ clientToken?: string | undefined;
3385
3385
  /**
3386
3386
  * <p>The configuration of the updated component.</p>
3387
3387
  * @public
@@ -3396,7 +3396,7 @@ export interface UpdateComponentResponse {
3396
3396
  * <p>Describes the configuration of the updated component.</p>
3397
3397
  * @public
3398
3398
  */
3399
- entity?: Component;
3399
+ entity?: Component | undefined;
3400
3400
  }
3401
3401
  /**
3402
3402
  * @public
@@ -3411,7 +3411,7 @@ export interface ExportComponentsResponse {
3411
3411
  * <p>The pagination token that's included if more results are available.</p>
3412
3412
  * @public
3413
3413
  */
3414
- nextToken?: string;
3414
+ nextToken?: string | undefined;
3415
3415
  }
3416
3416
  /**
3417
3417
  * @internal