cdk-comprehend-s3olap 2.0.114 → 2.0.116
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/.jsii +4 -4
- package/lib/cdk-comprehend-s3olap.js +2 -2
- package/lib/comprehend-lambdas.js +2 -2
- package/lib/iam-roles.js +4 -4
- package/node_modules/aws-sdk/CHANGELOG.md +18 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.min.json +563 -490
- package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +202 -181
- package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +23 -14
- package/node_modules/aws-sdk/apis/license-manager-2018-08-01.min.json +136 -124
- package/node_modules/aws-sdk/apis/mwaa-2020-07-01.min.json +6 -0
- package/node_modules/aws-sdk/apis/runtime.sagemaker-2017-05-13.min.json +4 -0
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +657 -655
- package/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.min.json +99 -9
- package/node_modules/aws-sdk/clients/amplifyuibuilder.d.ts +451 -350
- package/node_modules/aws-sdk/clients/amplifyuibuilder.js +1 -0
- package/node_modules/aws-sdk/clients/autoscaling.d.ts +18 -18
- package/node_modules/aws-sdk/clients/ec2.d.ts +1 -1
- package/node_modules/aws-sdk/clients/elasticinference.d.ts +12 -12
- package/node_modules/aws-sdk/clients/glue.d.ts +45 -8
- package/node_modules/aws-sdk/clients/lakeformation.d.ts +12 -0
- package/node_modules/aws-sdk/clients/licensemanager.d.ts +25 -10
- package/node_modules/aws-sdk/clients/mwaa.d.ts +68 -44
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +30 -20
- package/node_modules/aws-sdk/clients/sagemakerruntime.d.ts +4 -0
- package/node_modules/aws-sdk/clients/servicecatalog.d.ts +210 -81
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +297 -290
- package/node_modules/aws-sdk/dist/aws-sdk.js +102 -12
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +20 -20
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +5 -5
@@ -148,11 +148,11 @@ declare class AmplifyUIBuilder extends Service {
|
|
148
148
|
*/
|
149
149
|
listThemes(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListThemesResponse) => void): Request<AmplifyUIBuilder.Types.ListThemesResponse, AWSError>;
|
150
150
|
/**
|
151
|
-
* Stores the metadata information about a feature on a form
|
151
|
+
* Stores the metadata information about a feature on a form.
|
152
152
|
*/
|
153
153
|
putMetadataFlag(params: AmplifyUIBuilder.Types.PutMetadataFlagRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
154
154
|
/**
|
155
|
-
* Stores the metadata information about a feature on a form
|
155
|
+
* Stores the metadata information about a feature on a form.
|
156
156
|
*/
|
157
157
|
putMetadataFlag(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
158
158
|
/**
|
@@ -190,42 +190,42 @@ declare class AmplifyUIBuilder extends Service {
|
|
190
190
|
}
|
191
191
|
declare namespace AmplifyUIBuilder {
|
192
192
|
export interface ActionParameters {
|
193
|
+
/**
|
194
|
+
* The type of navigation action. Valid values are url and anchor. This value is required for a navigation action.
|
195
|
+
*/
|
196
|
+
type?: ComponentProperty;
|
197
|
+
/**
|
198
|
+
* The URL to the location to open. Specify this value for a navigation action.
|
199
|
+
*/
|
200
|
+
url?: ComponentProperty;
|
193
201
|
/**
|
194
202
|
* The HTML anchor link to the location to open. Specify this value for a navigation action.
|
195
203
|
*/
|
196
204
|
anchor?: ComponentProperty;
|
197
205
|
/**
|
198
|
-
*
|
206
|
+
* The element within the same component to modify when the action occurs.
|
199
207
|
*/
|
200
|
-
|
208
|
+
target?: ComponentProperty;
|
201
209
|
/**
|
202
210
|
* Specifies whether the user should be signed out globally. Specify this value for an auth sign out action.
|
203
211
|
*/
|
204
212
|
global?: ComponentProperty;
|
205
|
-
/**
|
206
|
-
* The unique ID of the component that the ActionParameters apply to.
|
207
|
-
*/
|
208
|
-
id?: ComponentProperty;
|
209
213
|
/**
|
210
214
|
* The name of the data model. Use when the action performs an operation on an Amplify DataStore model.
|
211
215
|
*/
|
212
216
|
model?: String;
|
213
217
|
/**
|
214
|
-
*
|
215
|
-
*/
|
216
|
-
state?: MutationActionSetStateParameter;
|
217
|
-
/**
|
218
|
-
* The element within the same component to modify when the action occurs.
|
218
|
+
* The unique ID of the component that the ActionParameters apply to.
|
219
219
|
*/
|
220
|
-
|
220
|
+
id?: ComponentProperty;
|
221
221
|
/**
|
222
|
-
*
|
222
|
+
* A dictionary of key-value pairs mapping Amplify Studio properties to fields in a data model. Use when the action performs an operation on an Amplify DataStore model.
|
223
223
|
*/
|
224
|
-
|
224
|
+
fields?: ComponentProperties;
|
225
225
|
/**
|
226
|
-
*
|
226
|
+
* A key-value pair that specifies the state property name and its initial value.
|
227
227
|
*/
|
228
|
-
|
228
|
+
state?: MutationActionSetStateParameter;
|
229
229
|
}
|
230
230
|
export type Boolean = boolean;
|
231
231
|
export interface Component {
|
@@ -234,72 +234,76 @@ declare namespace AmplifyUIBuilder {
|
|
234
234
|
*/
|
235
235
|
appId: String;
|
236
236
|
/**
|
237
|
-
* The
|
238
|
-
*/
|
239
|
-
bindingProperties: ComponentBindingProperties;
|
240
|
-
/**
|
241
|
-
* A list of the component's ComponentChild instances.
|
242
|
-
*/
|
243
|
-
children?: ComponentChildList;
|
244
|
-
/**
|
245
|
-
* The data binding configuration for the component's properties. Use this for a collection component. You can't specify tags as a valid property for collectionProperties.
|
237
|
+
* The name of the backend environment that is a part of the Amplify app.
|
246
238
|
*/
|
247
|
-
|
239
|
+
environmentName: String;
|
248
240
|
/**
|
249
|
-
* The
|
241
|
+
* The unique ID of the component in its original source system, such as Figma.
|
250
242
|
*/
|
251
|
-
|
243
|
+
sourceId?: String;
|
252
244
|
/**
|
253
|
-
* The
|
245
|
+
* The unique ID of the component.
|
254
246
|
*/
|
255
|
-
|
247
|
+
id: Uuid;
|
256
248
|
/**
|
257
|
-
* The name of the
|
249
|
+
* The name of the component.
|
258
250
|
*/
|
259
|
-
|
251
|
+
name: ComponentName;
|
260
252
|
/**
|
261
|
-
*
|
253
|
+
* The type of the component. This can be an Amplify custom UI component or another custom component.
|
262
254
|
*/
|
263
|
-
|
255
|
+
componentType: ComponentType;
|
264
256
|
/**
|
265
|
-
*
|
257
|
+
* Describes the component's properties. You can't specify tags as a valid property for properties.
|
266
258
|
*/
|
267
|
-
|
259
|
+
properties: ComponentProperties;
|
268
260
|
/**
|
269
|
-
*
|
261
|
+
* A list of the component's ComponentChild instances.
|
270
262
|
*/
|
271
|
-
|
263
|
+
children?: ComponentChildList;
|
272
264
|
/**
|
273
|
-
*
|
265
|
+
* A list of the component's variants. A variant is a unique style configuration of a main component.
|
274
266
|
*/
|
275
|
-
|
267
|
+
variants: ComponentVariants;
|
276
268
|
/**
|
277
269
|
* Describes the component's properties that can be overriden in a customized instance of the component. You can't specify tags as a valid property for overrides.
|
278
270
|
*/
|
279
271
|
overrides: ComponentOverrides;
|
280
272
|
/**
|
281
|
-
*
|
273
|
+
* The information to connect a component's properties to data at runtime. You can't specify tags as a valid property for bindingProperties.
|
282
274
|
*/
|
283
|
-
|
275
|
+
bindingProperties: ComponentBindingProperties;
|
284
276
|
/**
|
285
|
-
* The
|
277
|
+
* The data binding configuration for the component's properties. Use this for a collection component. You can't specify tags as a valid property for collectionProperties.
|
286
278
|
*/
|
287
|
-
|
279
|
+
collectionProperties?: ComponentCollectionProperties;
|
288
280
|
/**
|
289
|
-
* The
|
281
|
+
* The time that the component was created.
|
290
282
|
*/
|
291
|
-
|
283
|
+
createdAt: SyntheticTimestamp_date_time;
|
284
|
+
/**
|
285
|
+
* The time that the component was modified.
|
286
|
+
*/
|
287
|
+
modifiedAt?: SyntheticTimestamp_date_time;
|
292
288
|
/**
|
293
289
|
* One or more key-value pairs to use when tagging the component.
|
294
290
|
*/
|
295
291
|
tags?: Tags;
|
296
292
|
/**
|
297
|
-
*
|
293
|
+
* Describes the events that can be raised on the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
|
298
294
|
*/
|
299
|
-
|
295
|
+
events?: ComponentEvents;
|
296
|
+
/**
|
297
|
+
* The schema version of the component when it was imported.
|
298
|
+
*/
|
299
|
+
schemaVersion?: String;
|
300
300
|
}
|
301
301
|
export type ComponentBindingProperties = {[key: string]: ComponentBindingPropertiesValue};
|
302
302
|
export interface ComponentBindingPropertiesValue {
|
303
|
+
/**
|
304
|
+
* The property type.
|
305
|
+
*/
|
306
|
+
type?: String;
|
303
307
|
/**
|
304
308
|
* Describes the properties to customize with data at runtime.
|
305
309
|
*/
|
@@ -308,58 +312,46 @@ declare namespace AmplifyUIBuilder {
|
|
308
312
|
* The default value of the property.
|
309
313
|
*/
|
310
314
|
defaultValue?: String;
|
311
|
-
/**
|
312
|
-
* The property type.
|
313
|
-
*/
|
314
|
-
type?: String;
|
315
315
|
}
|
316
316
|
export interface ComponentBindingPropertiesValueProperties {
|
317
317
|
/**
|
318
|
-
* An
|
319
|
-
*/
|
320
|
-
bucket?: String;
|
321
|
-
/**
|
322
|
-
* The default value to assign to the property.
|
318
|
+
* An Amplify DataStore model.
|
323
319
|
*/
|
324
|
-
|
320
|
+
model?: String;
|
325
321
|
/**
|
326
322
|
* The field to bind the data to.
|
327
323
|
*/
|
328
324
|
field?: String;
|
329
325
|
/**
|
330
|
-
*
|
326
|
+
* A list of predicates for binding a component's properties to data.
|
331
327
|
*/
|
332
|
-
|
328
|
+
predicates?: PredicateList;
|
333
329
|
/**
|
334
|
-
* An
|
330
|
+
* An authenticated user attribute.
|
335
331
|
*/
|
336
|
-
|
332
|
+
userAttribute?: String;
|
337
333
|
/**
|
338
|
-
*
|
334
|
+
* An Amazon S3 bucket.
|
339
335
|
*/
|
340
|
-
|
336
|
+
bucket?: String;
|
341
337
|
/**
|
342
|
-
* The
|
338
|
+
* The storage key for an Amazon S3 bucket.
|
343
339
|
*/
|
344
|
-
|
340
|
+
key?: String;
|
345
341
|
/**
|
346
|
-
*
|
342
|
+
* The default value to assign to the property.
|
347
343
|
*/
|
348
|
-
|
349
|
-
}
|
350
|
-
export interface ComponentChild {
|
344
|
+
defaultValue?: String;
|
351
345
|
/**
|
352
|
-
* The
|
346
|
+
* The name of a component slot.
|
353
347
|
*/
|
354
|
-
|
348
|
+
slotName?: String;
|
349
|
+
}
|
350
|
+
export interface ComponentChild {
|
355
351
|
/**
|
356
352
|
* The type of the child component.
|
357
353
|
*/
|
358
354
|
componentType: String;
|
359
|
-
/**
|
360
|
-
* Describes the events that can be raised on the child component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
|
361
|
-
*/
|
362
|
-
events?: ComponentEvents;
|
363
355
|
/**
|
364
356
|
* The name of the child component.
|
365
357
|
*/
|
@@ -368,6 +360,14 @@ declare namespace AmplifyUIBuilder {
|
|
368
360
|
* Describes the properties of the child component. You can't specify tags as a valid property for properties.
|
369
361
|
*/
|
370
362
|
properties: ComponentProperties;
|
363
|
+
/**
|
364
|
+
* The list of ComponentChild instances for this component.
|
365
|
+
*/
|
366
|
+
children?: ComponentChildList;
|
367
|
+
/**
|
368
|
+
* Describes the events that can be raised on the child component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
|
369
|
+
*/
|
370
|
+
events?: ComponentEvents;
|
371
371
|
/**
|
372
372
|
* The unique ID of the child component in its original source system, such as Figma.
|
373
373
|
*/
|
@@ -377,65 +377,65 @@ declare namespace AmplifyUIBuilder {
|
|
377
377
|
export type ComponentCollectionProperties = {[key: string]: ComponentDataConfiguration};
|
378
378
|
export interface ComponentConditionProperty {
|
379
379
|
/**
|
380
|
-
* The
|
380
|
+
* The name of the conditional property.
|
381
381
|
*/
|
382
|
-
|
382
|
+
property?: String;
|
383
383
|
/**
|
384
384
|
* The name of a field. Specify this when the property is a data model.
|
385
385
|
*/
|
386
386
|
field?: String;
|
387
|
-
/**
|
388
|
-
* The value of the property to evaluate.
|
389
|
-
*/
|
390
|
-
operand?: String;
|
391
|
-
/**
|
392
|
-
* The type of the property to evaluate.
|
393
|
-
*/
|
394
|
-
operandType?: String;
|
395
387
|
/**
|
396
388
|
* The operator to use to perform the evaluation, such as eq to represent equals.
|
397
389
|
*/
|
398
390
|
operator?: String;
|
399
391
|
/**
|
400
|
-
* The
|
392
|
+
* The value of the property to evaluate.
|
401
393
|
*/
|
402
|
-
|
394
|
+
operand?: String;
|
403
395
|
/**
|
404
396
|
* The value to assign to the property if the condition is met.
|
405
397
|
*/
|
406
398
|
then?: ComponentProperty;
|
407
|
-
}
|
408
|
-
export interface ComponentDataConfiguration {
|
409
399
|
/**
|
410
|
-
*
|
400
|
+
* The value to assign to the property if the condition is not met.
|
411
401
|
*/
|
412
|
-
|
402
|
+
else?: ComponentProperty;
|
403
|
+
/**
|
404
|
+
* The type of the property to evaluate.
|
405
|
+
*/
|
406
|
+
operandType?: String;
|
407
|
+
}
|
408
|
+
export interface ComponentDataConfiguration {
|
413
409
|
/**
|
414
410
|
* The name of the data model to use to bind data to a component.
|
415
411
|
*/
|
416
412
|
model: String;
|
413
|
+
/**
|
414
|
+
* Describes how to sort the component's properties.
|
415
|
+
*/
|
416
|
+
sort?: SortPropertyList;
|
417
417
|
/**
|
418
418
|
* Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.
|
419
419
|
*/
|
420
420
|
predicate?: Predicate;
|
421
421
|
/**
|
422
|
-
*
|
422
|
+
* A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.
|
423
423
|
*/
|
424
|
-
|
424
|
+
identifiers?: IdentifierList;
|
425
425
|
}
|
426
426
|
export interface ComponentEvent {
|
427
427
|
/**
|
428
428
|
* The action to perform when a specific event is raised.
|
429
429
|
*/
|
430
430
|
action?: String;
|
431
|
-
/**
|
432
|
-
* Binds an event to an action on a component. When you specify a bindingEvent, the event is called when the action is performed.
|
433
|
-
*/
|
434
|
-
bindingEvent?: String;
|
435
431
|
/**
|
436
432
|
* Describes information about the action.
|
437
433
|
*/
|
438
434
|
parameters?: ActionParameters;
|
435
|
+
/**
|
436
|
+
* Binds an event to an action on a component. When you specify a bindingEvent, the event is called when the action is performed.
|
437
|
+
*/
|
438
|
+
bindingEvent?: String;
|
439
439
|
}
|
440
440
|
export type ComponentEvents = {[key: string]: ComponentEvent};
|
441
441
|
export type ComponentList = Component[];
|
@@ -444,22 +444,38 @@ declare namespace AmplifyUIBuilder {
|
|
444
444
|
export type ComponentOverridesValue = {[key: string]: String};
|
445
445
|
export type ComponentProperties = {[key: string]: ComponentProperty};
|
446
446
|
export interface ComponentProperty {
|
447
|
+
/**
|
448
|
+
* The value to assign to the component property.
|
449
|
+
*/
|
450
|
+
value?: String;
|
447
451
|
/**
|
448
452
|
* The information to bind the component property to data at runtime.
|
449
453
|
*/
|
450
454
|
bindingProperties?: ComponentPropertyBindingProperties;
|
455
|
+
/**
|
456
|
+
* The information to bind the component property to data at runtime. Use this for collection components.
|
457
|
+
*/
|
458
|
+
collectionBindingProperties?: ComponentPropertyBindingProperties;
|
459
|
+
/**
|
460
|
+
* The default value to assign to the component property.
|
461
|
+
*/
|
462
|
+
defaultValue?: String;
|
463
|
+
/**
|
464
|
+
* The data model to use to assign a value to the component property.
|
465
|
+
*/
|
466
|
+
model?: String;
|
451
467
|
/**
|
452
468
|
* The information to bind the component property to form data.
|
453
469
|
*/
|
454
470
|
bindings?: FormBindings;
|
455
471
|
/**
|
456
|
-
*
|
472
|
+
* An event that occurs in your app. Use this for workflow data binding.
|
457
473
|
*/
|
458
|
-
|
474
|
+
event?: String;
|
459
475
|
/**
|
460
|
-
*
|
476
|
+
* An authenticated user attribute to use to assign a value to the component property.
|
461
477
|
*/
|
462
|
-
|
478
|
+
userAttribute?: String;
|
463
479
|
/**
|
464
480
|
* A list of component properties to concatenate to create the value to assign to this component property.
|
465
481
|
*/
|
@@ -473,47 +489,31 @@ declare namespace AmplifyUIBuilder {
|
|
473
489
|
*/
|
474
490
|
configured?: Boolean;
|
475
491
|
/**
|
476
|
-
* The
|
477
|
-
*/
|
478
|
-
defaultValue?: String;
|
479
|
-
/**
|
480
|
-
* An event that occurs in your app. Use this for workflow data binding.
|
492
|
+
* The component type.
|
481
493
|
*/
|
482
|
-
|
494
|
+
type?: String;
|
483
495
|
/**
|
484
496
|
* The default value assigned to the property when the component is imported into an app.
|
485
497
|
*/
|
486
498
|
importedValue?: String;
|
487
499
|
/**
|
488
|
-
* The
|
500
|
+
* The name of the component that is affected by an event.
|
489
501
|
*/
|
490
|
-
|
502
|
+
componentName?: String;
|
491
503
|
/**
|
492
504
|
* The name of the component's property that is affected by an event.
|
493
505
|
*/
|
494
506
|
property?: String;
|
495
|
-
/**
|
496
|
-
* The component type.
|
497
|
-
*/
|
498
|
-
type?: String;
|
499
|
-
/**
|
500
|
-
* An authenticated user attribute to use to assign a value to the component property.
|
501
|
-
*/
|
502
|
-
userAttribute?: String;
|
503
|
-
/**
|
504
|
-
* The value to assign to the component property.
|
505
|
-
*/
|
506
|
-
value?: String;
|
507
507
|
}
|
508
508
|
export interface ComponentPropertyBindingProperties {
|
509
|
-
/**
|
510
|
-
* The data field to bind the property to.
|
511
|
-
*/
|
512
|
-
field?: String;
|
513
509
|
/**
|
514
510
|
* The component property to bind to the data field.
|
515
511
|
*/
|
516
512
|
property: String;
|
513
|
+
/**
|
514
|
+
* The data field to bind the property to.
|
515
|
+
*/
|
516
|
+
field?: String;
|
517
517
|
}
|
518
518
|
export type ComponentPropertyList = ComponentProperty[];
|
519
519
|
export interface ComponentSummary {
|
@@ -521,10 +521,6 @@ declare namespace AmplifyUIBuilder {
|
|
521
521
|
* The unique ID of the Amplify app associated with the component.
|
522
522
|
*/
|
523
523
|
appId: String;
|
524
|
-
/**
|
525
|
-
* The component type.
|
526
|
-
*/
|
527
|
-
componentType: ComponentType;
|
528
524
|
/**
|
529
525
|
* The name of the backend environment that is a part of the Amplify app.
|
530
526
|
*/
|
@@ -537,76 +533,84 @@ declare namespace AmplifyUIBuilder {
|
|
537
533
|
* The name of the component.
|
538
534
|
*/
|
539
535
|
name: ComponentName;
|
536
|
+
/**
|
537
|
+
* The component type.
|
538
|
+
*/
|
539
|
+
componentType: ComponentType;
|
540
540
|
}
|
541
541
|
export type ComponentSummaryList = ComponentSummary[];
|
542
542
|
export type ComponentType = string;
|
543
543
|
export interface ComponentVariant {
|
544
|
-
/**
|
545
|
-
* The properties of the component variant that can be overriden when customizing an instance of the component. You can't specify tags as a valid property for overrides.
|
546
|
-
*/
|
547
|
-
overrides?: ComponentOverrides;
|
548
544
|
/**
|
549
545
|
* The combination of variants that comprise this variant. You can't specify tags as a valid property for variantValues.
|
550
546
|
*/
|
551
547
|
variantValues?: ComponentVariantValues;
|
548
|
+
/**
|
549
|
+
* The properties of the component variant that can be overriden when customizing an instance of the component. You can't specify tags as a valid property for overrides.
|
550
|
+
*/
|
551
|
+
overrides?: ComponentOverrides;
|
552
552
|
}
|
553
553
|
export type ComponentVariantValues = {[key: string]: String};
|
554
554
|
export type ComponentVariants = ComponentVariant[];
|
555
555
|
export interface CreateComponentData {
|
556
556
|
/**
|
557
|
-
* The
|
558
|
-
*/
|
559
|
-
bindingProperties: ComponentBindingProperties;
|
560
|
-
/**
|
561
|
-
* A list of child components that are instances of the main component.
|
557
|
+
* The name of the component
|
562
558
|
*/
|
563
|
-
|
559
|
+
name: ComponentName;
|
564
560
|
/**
|
565
|
-
* The
|
561
|
+
* The unique ID of the component in its original source system, such as Figma.
|
566
562
|
*/
|
567
|
-
|
563
|
+
sourceId?: String;
|
568
564
|
/**
|
569
565
|
* The component type. This can be an Amplify custom UI component or another custom component.
|
570
566
|
*/
|
571
567
|
componentType: ComponentType;
|
572
568
|
/**
|
573
|
-
*
|
569
|
+
* Describes the component's properties.
|
574
570
|
*/
|
575
|
-
|
571
|
+
properties: ComponentProperties;
|
576
572
|
/**
|
577
|
-
*
|
573
|
+
* A list of child components that are instances of the main component.
|
578
574
|
*/
|
579
|
-
|
575
|
+
children?: ComponentChildList;
|
580
576
|
/**
|
581
|
-
*
|
577
|
+
* A list of the unique variants of this component.
|
582
578
|
*/
|
583
|
-
|
579
|
+
variants: ComponentVariants;
|
584
580
|
/**
|
585
|
-
* Describes the component
|
581
|
+
* Describes the component properties that can be overriden to customize an instance of the component.
|
586
582
|
*/
|
587
|
-
|
583
|
+
overrides: ComponentOverrides;
|
588
584
|
/**
|
589
|
-
* The
|
585
|
+
* The data binding information for the component's properties.
|
590
586
|
*/
|
591
|
-
|
587
|
+
bindingProperties: ComponentBindingProperties;
|
592
588
|
/**
|
593
|
-
* The
|
589
|
+
* The data binding configuration for customizing a component's properties. Use this for a collection component.
|
594
590
|
*/
|
595
|
-
|
591
|
+
collectionProperties?: ComponentCollectionProperties;
|
596
592
|
/**
|
597
593
|
* One or more key-value pairs to use when tagging the component data.
|
598
594
|
*/
|
599
595
|
tags?: Tags;
|
600
596
|
/**
|
601
|
-
*
|
597
|
+
* The event configuration for the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
|
602
598
|
*/
|
603
|
-
|
599
|
+
events?: ComponentEvents;
|
600
|
+
/**
|
601
|
+
* The schema version of the component when it was imported.
|
602
|
+
*/
|
603
|
+
schemaVersion?: String;
|
604
604
|
}
|
605
605
|
export interface CreateComponentRequest {
|
606
606
|
/**
|
607
607
|
* The unique ID of the Amplify app to associate with the component.
|
608
608
|
*/
|
609
609
|
appId: String;
|
610
|
+
/**
|
611
|
+
* The name of the backend environment that is a part of the Amplify app.
|
612
|
+
*/
|
613
|
+
environmentName: String;
|
610
614
|
/**
|
611
615
|
* The unique client token.
|
612
616
|
*/
|
@@ -615,10 +619,6 @@ declare namespace AmplifyUIBuilder {
|
|
615
619
|
* Represents the configuration of the component to create.
|
616
620
|
*/
|
617
621
|
componentToCreate: CreateComponentData;
|
618
|
-
/**
|
619
|
-
* The name of the backend environment that is a part of the Amplify app.
|
620
|
-
*/
|
621
|
-
environmentName: String;
|
622
622
|
}
|
623
623
|
export interface CreateComponentResponse {
|
624
624
|
/**
|
@@ -628,55 +628,59 @@ declare namespace AmplifyUIBuilder {
|
|
628
628
|
}
|
629
629
|
export interface CreateFormData {
|
630
630
|
/**
|
631
|
-
* The
|
631
|
+
* The name of the form.
|
632
632
|
*/
|
633
|
-
|
633
|
+
name: FormName;
|
634
634
|
/**
|
635
635
|
* The type of data source to use to create the form.
|
636
636
|
*/
|
637
637
|
dataType: FormDataTypeConfig;
|
638
|
-
/**
|
639
|
-
* The configuration information for the form's fields.
|
640
|
-
*/
|
641
|
-
fields: FieldsMap;
|
642
638
|
/**
|
643
639
|
* Specifies whether to perform a create or update action on the form.
|
644
640
|
*/
|
645
641
|
formActionType: FormActionType;
|
646
642
|
/**
|
647
|
-
* The
|
643
|
+
* The configuration information for the form's fields.
|
648
644
|
*/
|
649
|
-
|
645
|
+
fields: FieldsMap;
|
650
646
|
/**
|
651
|
-
* The
|
647
|
+
* The configuration for the form's style.
|
652
648
|
*/
|
653
|
-
|
649
|
+
style: FormStyle;
|
654
650
|
/**
|
655
651
|
* The configuration information for the visual helper elements for the form. These elements are not associated with any data.
|
656
652
|
*/
|
657
653
|
sectionalElements: SectionalElementMap;
|
658
654
|
/**
|
659
|
-
* The
|
655
|
+
* The schema version of the form.
|
660
656
|
*/
|
661
|
-
|
657
|
+
schemaVersion: String;
|
658
|
+
/**
|
659
|
+
* The FormCTA object that stores the call to action configuration for the form.
|
660
|
+
*/
|
661
|
+
cta?: FormCTA;
|
662
662
|
/**
|
663
663
|
* One or more key-value pairs to use when tagging the form data.
|
664
664
|
*/
|
665
665
|
tags?: Tags;
|
666
|
+
/**
|
667
|
+
* Specifies an icon or decoration to display on the form.
|
668
|
+
*/
|
669
|
+
labelDecorator?: LabelDecorator;
|
666
670
|
}
|
667
671
|
export interface CreateFormRequest {
|
668
672
|
/**
|
669
673
|
* The unique ID of the Amplify app to associate with the form.
|
670
674
|
*/
|
671
675
|
appId: String;
|
672
|
-
/**
|
673
|
-
* The unique client token.
|
674
|
-
*/
|
675
|
-
clientToken?: String;
|
676
676
|
/**
|
677
677
|
* The name of the backend environment that is a part of the Amplify app.
|
678
678
|
*/
|
679
679
|
environmentName: String;
|
680
|
+
/**
|
681
|
+
* The unique client token.
|
682
|
+
*/
|
683
|
+
clientToken?: String;
|
680
684
|
/**
|
681
685
|
* Represents the configuration of the form to create.
|
682
686
|
*/
|
@@ -693,6 +697,10 @@ declare namespace AmplifyUIBuilder {
|
|
693
697
|
* The name of the theme.
|
694
698
|
*/
|
695
699
|
name: ThemeName;
|
700
|
+
/**
|
701
|
+
* A list of key-value pairs that defines the properties of the theme.
|
702
|
+
*/
|
703
|
+
values: ThemeValuesList;
|
696
704
|
/**
|
697
705
|
* Describes the properties that can be overriden to customize an instance of the theme.
|
698
706
|
*/
|
@@ -701,24 +709,20 @@ declare namespace AmplifyUIBuilder {
|
|
701
709
|
* One or more key-value pairs to use when tagging the theme data.
|
702
710
|
*/
|
703
711
|
tags?: Tags;
|
704
|
-
/**
|
705
|
-
* A list of key-value pairs that defines the properties of the theme.
|
706
|
-
*/
|
707
|
-
values: ThemeValuesList;
|
708
712
|
}
|
709
713
|
export interface CreateThemeRequest {
|
710
714
|
/**
|
711
715
|
* The unique ID of the Amplify app associated with the theme.
|
712
716
|
*/
|
713
717
|
appId: String;
|
714
|
-
/**
|
715
|
-
* The unique client token.
|
716
|
-
*/
|
717
|
-
clientToken?: String;
|
718
718
|
/**
|
719
719
|
* The name of the backend environment that is a part of the Amplify app.
|
720
720
|
*/
|
721
721
|
environmentName: String;
|
722
|
+
/**
|
723
|
+
* The unique client token.
|
724
|
+
*/
|
725
|
+
clientToken?: String;
|
722
726
|
/**
|
723
727
|
* Represents the configuration of the theme to create.
|
724
728
|
*/
|
@@ -791,6 +795,10 @@ declare namespace AmplifyUIBuilder {
|
|
791
795
|
* The location of the application that will receive the access code.
|
792
796
|
*/
|
793
797
|
redirectUri: String;
|
798
|
+
/**
|
799
|
+
* The ID of the client to request the token from.
|
800
|
+
*/
|
801
|
+
clientId?: SensitiveString;
|
794
802
|
}
|
795
803
|
export interface ExchangeCodeForTokenResponse {
|
796
804
|
/**
|
@@ -880,14 +888,6 @@ declare namespace AmplifyUIBuilder {
|
|
880
888
|
}
|
881
889
|
export type FeaturesMap = {[key: string]: String};
|
882
890
|
export interface FieldConfig {
|
883
|
-
/**
|
884
|
-
* Specifies whether to hide a field.
|
885
|
-
*/
|
886
|
-
excluded?: Boolean;
|
887
|
-
/**
|
888
|
-
* Describes the configuration for the default input value to display for a field.
|
889
|
-
*/
|
890
|
-
inputType?: FieldInputConfig;
|
891
891
|
/**
|
892
892
|
* The label for the field.
|
893
893
|
*/
|
@@ -896,6 +896,14 @@ declare namespace AmplifyUIBuilder {
|
|
896
896
|
* Specifies the field position.
|
897
897
|
*/
|
898
898
|
position?: FieldPosition;
|
899
|
+
/**
|
900
|
+
* Specifies whether to hide a field.
|
901
|
+
*/
|
902
|
+
excluded?: Boolean;
|
903
|
+
/**
|
904
|
+
* Describes the configuration for the default input value to display for a field.
|
905
|
+
*/
|
906
|
+
inputType?: FieldInputConfig;
|
899
907
|
/**
|
900
908
|
* The validations to perform on the value in the field.
|
901
909
|
*/
|
@@ -903,13 +911,21 @@ declare namespace AmplifyUIBuilder {
|
|
903
911
|
}
|
904
912
|
export interface FieldInputConfig {
|
905
913
|
/**
|
906
|
-
*
|
914
|
+
* The input type for the field.
|
907
915
|
*/
|
908
|
-
|
916
|
+
type: String;
|
909
917
|
/**
|
910
|
-
*
|
918
|
+
* Specifies a field that requires input.
|
911
919
|
*/
|
912
|
-
|
920
|
+
required?: Boolean;
|
921
|
+
/**
|
922
|
+
* Specifies a read only field.
|
923
|
+
*/
|
924
|
+
readOnly?: Boolean;
|
925
|
+
/**
|
926
|
+
* The text to display as a placeholder for the field.
|
927
|
+
*/
|
928
|
+
placeholder?: String;
|
913
929
|
/**
|
914
930
|
* The default value for the field.
|
915
931
|
*/
|
@@ -919,55 +935,47 @@ declare namespace AmplifyUIBuilder {
|
|
919
935
|
*/
|
920
936
|
descriptiveText?: String;
|
921
937
|
/**
|
922
|
-
* Specifies whether
|
938
|
+
* Specifies whether a field has a default value.
|
923
939
|
*/
|
924
|
-
|
940
|
+
defaultChecked?: Boolean;
|
925
941
|
/**
|
926
|
-
* The
|
942
|
+
* The default country code for a phone number.
|
927
943
|
*/
|
928
|
-
|
944
|
+
defaultCountryCode?: String;
|
929
945
|
/**
|
930
|
-
* The
|
946
|
+
* The information to use to customize the input fields with data at runtime.
|
931
947
|
*/
|
932
|
-
|
948
|
+
valueMappings?: ValueMappings;
|
933
949
|
/**
|
934
950
|
* The name of the field.
|
935
951
|
*/
|
936
952
|
name?: String;
|
937
953
|
/**
|
938
|
-
* The
|
939
|
-
*/
|
940
|
-
placeholder?: String;
|
941
|
-
/**
|
942
|
-
* Specifies a read only field.
|
954
|
+
* The minimum value to display for the field.
|
943
955
|
*/
|
944
|
-
|
956
|
+
minValue?: Float;
|
945
957
|
/**
|
946
|
-
*
|
958
|
+
* The maximum value to display for the field.
|
947
959
|
*/
|
948
|
-
|
960
|
+
maxValue?: Float;
|
949
961
|
/**
|
950
962
|
* The stepping increment for a numeric value in a field.
|
951
963
|
*/
|
952
964
|
step?: Float;
|
953
|
-
/**
|
954
|
-
* The input type for the field.
|
955
|
-
*/
|
956
|
-
type: String;
|
957
965
|
/**
|
958
966
|
* The value for the field.
|
959
967
|
*/
|
960
968
|
value?: String;
|
961
969
|
/**
|
962
|
-
*
|
970
|
+
* Specifies whether to render the field as an array. This property is ignored if the dataSourceType for the form is a Data Store.
|
963
971
|
*/
|
964
|
-
|
965
|
-
}
|
966
|
-
export interface FieldPosition {
|
972
|
+
isArray?: Boolean;
|
967
973
|
/**
|
968
|
-
* The
|
974
|
+
* The configuration for the file uploader field.
|
969
975
|
*/
|
970
|
-
|
976
|
+
fileUploaderConfig?: FileUploaderFieldConfig;
|
977
|
+
}
|
978
|
+
export interface FieldPosition {
|
971
979
|
/**
|
972
980
|
* The field position is fixed and doesn't change in relation to other fields.
|
973
981
|
*/
|
@@ -976,26 +984,56 @@ declare namespace AmplifyUIBuilder {
|
|
976
984
|
* The field position is to the right of the field specified by the string.
|
977
985
|
*/
|
978
986
|
rightOf?: String;
|
987
|
+
/**
|
988
|
+
* The field position is below the field specified by the string.
|
989
|
+
*/
|
990
|
+
below?: String;
|
979
991
|
}
|
980
992
|
export interface FieldValidationConfiguration {
|
981
993
|
/**
|
982
|
-
* The validation to perform on
|
994
|
+
* The validation to perform on an object type.
|
983
995
|
*/
|
984
|
-
|
996
|
+
type: String;
|
985
997
|
/**
|
986
998
|
* The validation to perform on a string value.
|
987
999
|
*/
|
988
1000
|
strValues?: StrValues;
|
989
1001
|
/**
|
990
|
-
* The validation to perform on
|
1002
|
+
* The validation to perform on a number value.
|
991
1003
|
*/
|
992
|
-
|
1004
|
+
numValues?: NumValues;
|
993
1005
|
/**
|
994
1006
|
* The validation message to display.
|
995
1007
|
*/
|
996
1008
|
validationMessage?: String;
|
997
1009
|
}
|
998
1010
|
export type FieldsMap = {[key: string]: FieldConfig};
|
1011
|
+
export interface FileUploaderFieldConfig {
|
1012
|
+
/**
|
1013
|
+
* The access level to assign to the uploaded files in the Amazon S3 bucket where they are stored. The valid values for this property are private, protected, or public. For detailed information about the permissions associated with each access level, see File access levels in the Amplify documentation.
|
1014
|
+
*/
|
1015
|
+
accessLevel: StorageAccessLevel;
|
1016
|
+
/**
|
1017
|
+
* The file types that are allowed to be uploaded by the file uploader. Provide this information in an array of strings specifying the valid file extensions.
|
1018
|
+
*/
|
1019
|
+
acceptedFileTypes: StrValues;
|
1020
|
+
/**
|
1021
|
+
* Specifies whether to display or hide the image preview after selecting a file for upload. The default value is true to display the image preview.
|
1022
|
+
*/
|
1023
|
+
showThumbnails?: Boolean;
|
1024
|
+
/**
|
1025
|
+
* Allows the file upload operation to be paused and resumed. The default value is false. When isResumable is set to true, the file uploader uses a multipart upload to break the files into chunks before upload. The progress of the upload isn't continuous, because the file uploader uploads a chunk at a time.
|
1026
|
+
*/
|
1027
|
+
isResumable?: Boolean;
|
1028
|
+
/**
|
1029
|
+
* Specifies the maximum number of files that can be selected to upload. The default value is an unlimited number of files.
|
1030
|
+
*/
|
1031
|
+
maxFileCount?: Integer;
|
1032
|
+
/**
|
1033
|
+
* The maximum file size in bytes that the file uploader will accept. The default value is an unlimited file size.
|
1034
|
+
*/
|
1035
|
+
maxSize?: Integer;
|
1036
|
+
}
|
999
1037
|
export type FixedPosition = "first"|string;
|
1000
1038
|
export type Float = number;
|
1001
1039
|
export interface Form {
|
@@ -1003,50 +1041,54 @@ declare namespace AmplifyUIBuilder {
|
|
1003
1041
|
* The unique ID of the Amplify app associated with the form.
|
1004
1042
|
*/
|
1005
1043
|
appId: String;
|
1006
|
-
/**
|
1007
|
-
* Stores the call to action configuration for the form.
|
1008
|
-
*/
|
1009
|
-
cta?: FormCTA;
|
1010
|
-
/**
|
1011
|
-
* The type of data source to use to create the form.
|
1012
|
-
*/
|
1013
|
-
dataType: FormDataTypeConfig;
|
1014
1044
|
/**
|
1015
1045
|
* The name of the backend environment that is a part of the Amplify app.
|
1016
1046
|
*/
|
1017
1047
|
environmentName: String;
|
1018
1048
|
/**
|
1019
|
-
*
|
1049
|
+
* The unique ID of the form.
|
1020
1050
|
*/
|
1021
|
-
|
1051
|
+
id: Uuid;
|
1052
|
+
/**
|
1053
|
+
* The name of the form.
|
1054
|
+
*/
|
1055
|
+
name: FormName;
|
1022
1056
|
/**
|
1023
1057
|
* The operation to perform on the specified form.
|
1024
1058
|
*/
|
1025
1059
|
formActionType: FormActionType;
|
1026
1060
|
/**
|
1027
|
-
*
|
1061
|
+
* Stores the configuration for the form's style.
|
1028
1062
|
*/
|
1029
|
-
|
1063
|
+
style: FormStyle;
|
1030
1064
|
/**
|
1031
|
-
* The
|
1065
|
+
* The type of data source to use to create the form.
|
1032
1066
|
*/
|
1033
|
-
|
1067
|
+
dataType: FormDataTypeConfig;
|
1034
1068
|
/**
|
1035
|
-
*
|
1069
|
+
* Stores the information about the form's fields.
|
1036
1070
|
*/
|
1037
|
-
|
1071
|
+
fields: FieldsMap;
|
1038
1072
|
/**
|
1039
1073
|
* Stores the visual helper elements for the form that are not associated with any data.
|
1040
1074
|
*/
|
1041
1075
|
sectionalElements: SectionalElementMap;
|
1042
1076
|
/**
|
1043
|
-
*
|
1077
|
+
* The schema version of the form when it was imported.
|
1044
1078
|
*/
|
1045
|
-
|
1079
|
+
schemaVersion: String;
|
1046
1080
|
/**
|
1047
1081
|
* One or more key-value pairs to use when tagging the form.
|
1048
1082
|
*/
|
1049
1083
|
tags?: Tags;
|
1084
|
+
/**
|
1085
|
+
* Stores the call to action configuration for the form.
|
1086
|
+
*/
|
1087
|
+
cta?: FormCTA;
|
1088
|
+
/**
|
1089
|
+
* Specifies an icon or decoration to display on the form.
|
1090
|
+
*/
|
1091
|
+
labelDecorator?: LabelDecorator;
|
1050
1092
|
}
|
1051
1093
|
export type FormActionType = "create"|"update"|string;
|
1052
1094
|
export interface FormBindingElement {
|
@@ -1061,14 +1103,14 @@ declare namespace AmplifyUIBuilder {
|
|
1061
1103
|
}
|
1062
1104
|
export type FormBindings = {[key: string]: FormBindingElement};
|
1063
1105
|
export interface FormButton {
|
1064
|
-
/**
|
1065
|
-
* Describes the button's properties.
|
1066
|
-
*/
|
1067
|
-
children?: String;
|
1068
1106
|
/**
|
1069
1107
|
* Specifies whether the button is visible on the form.
|
1070
1108
|
*/
|
1071
1109
|
excluded?: Boolean;
|
1110
|
+
/**
|
1111
|
+
* Describes the button's properties.
|
1112
|
+
*/
|
1113
|
+
children?: String;
|
1072
1114
|
/**
|
1073
1115
|
* The position of the button.
|
1074
1116
|
*/
|
@@ -1077,17 +1119,17 @@ declare namespace AmplifyUIBuilder {
|
|
1077
1119
|
export type FormButtonsPosition = "top"|"bottom"|"top_and_bottom"|string;
|
1078
1120
|
export interface FormCTA {
|
1079
1121
|
/**
|
1080
|
-
*
|
1122
|
+
* The position of the button.
|
1081
1123
|
*/
|
1082
|
-
|
1124
|
+
position?: FormButtonsPosition;
|
1083
1125
|
/**
|
1084
1126
|
* Displays a clear button.
|
1085
1127
|
*/
|
1086
1128
|
clear?: FormButton;
|
1087
1129
|
/**
|
1088
|
-
*
|
1130
|
+
* Displays a cancel button.
|
1089
1131
|
*/
|
1090
|
-
|
1132
|
+
cancel?: FormButton;
|
1091
1133
|
/**
|
1092
1134
|
* Displays a submit button.
|
1093
1135
|
*/
|
@@ -1104,12 +1146,48 @@ declare namespace AmplifyUIBuilder {
|
|
1104
1146
|
*/
|
1105
1147
|
dataTypeName: String;
|
1106
1148
|
}
|
1149
|
+
export type FormInputBindingProperties = {[key: string]: FormInputBindingPropertiesValue};
|
1150
|
+
export interface FormInputBindingPropertiesValue {
|
1151
|
+
/**
|
1152
|
+
* The property type.
|
1153
|
+
*/
|
1154
|
+
type?: String;
|
1155
|
+
/**
|
1156
|
+
* Describes the properties to customize with data at runtime.
|
1157
|
+
*/
|
1158
|
+
bindingProperties?: FormInputBindingPropertiesValueProperties;
|
1159
|
+
}
|
1160
|
+
export interface FormInputBindingPropertiesValueProperties {
|
1161
|
+
/**
|
1162
|
+
* An Amplify DataStore model.
|
1163
|
+
*/
|
1164
|
+
model?: String;
|
1165
|
+
}
|
1107
1166
|
export interface FormInputValueProperty {
|
1108
1167
|
/**
|
1109
1168
|
* The value to assign to the input field.
|
1110
1169
|
*/
|
1111
1170
|
value?: String;
|
1171
|
+
/**
|
1172
|
+
* The information to bind fields to data at runtime.
|
1173
|
+
*/
|
1174
|
+
bindingProperties?: FormInputValuePropertyBindingProperties;
|
1175
|
+
/**
|
1176
|
+
* A list of form properties to concatenate to create the value to assign to this field property.
|
1177
|
+
*/
|
1178
|
+
concat?: FormInputValuePropertyList;
|
1179
|
+
}
|
1180
|
+
export interface FormInputValuePropertyBindingProperties {
|
1181
|
+
/**
|
1182
|
+
* The form property to bind to the data field.
|
1183
|
+
*/
|
1184
|
+
property: String;
|
1185
|
+
/**
|
1186
|
+
* The data field to bind the property to.
|
1187
|
+
*/
|
1188
|
+
field?: String;
|
1112
1189
|
}
|
1190
|
+
export type FormInputValuePropertyList = FormInputValueProperty[];
|
1113
1191
|
export type FormList = Form[];
|
1114
1192
|
export type FormName = string;
|
1115
1193
|
export interface FormStyle {
|
@@ -1117,14 +1195,14 @@ declare namespace AmplifyUIBuilder {
|
|
1117
1195
|
* The spacing for the horizontal gap.
|
1118
1196
|
*/
|
1119
1197
|
horizontalGap?: FormStyleConfig;
|
1120
|
-
/**
|
1121
|
-
* The size of the outer padding for the form.
|
1122
|
-
*/
|
1123
|
-
outerPadding?: FormStyleConfig;
|
1124
1198
|
/**
|
1125
1199
|
* The spacing for the vertical gap.
|
1126
1200
|
*/
|
1127
1201
|
verticalGap?: FormStyleConfig;
|
1202
|
+
/**
|
1203
|
+
* The size of the outer padding for the form.
|
1204
|
+
*/
|
1205
|
+
outerPadding?: FormStyleConfig;
|
1128
1206
|
}
|
1129
1207
|
export interface FormStyleConfig {
|
1130
1208
|
/**
|
@@ -1241,6 +1319,7 @@ declare namespace AmplifyUIBuilder {
|
|
1241
1319
|
}
|
1242
1320
|
export type IdentifierList = String[];
|
1243
1321
|
export type Integer = number;
|
1322
|
+
export type LabelDecorator = "required"|"optional"|"none"|string;
|
1244
1323
|
export type ListComponentsLimit = number;
|
1245
1324
|
export interface ListComponentsRequest {
|
1246
1325
|
/**
|
@@ -1251,14 +1330,14 @@ declare namespace AmplifyUIBuilder {
|
|
1251
1330
|
* The name of the backend environment that is a part of the Amplify app.
|
1252
1331
|
*/
|
1253
1332
|
environmentName: String;
|
1254
|
-
/**
|
1255
|
-
* The maximum number of components to retrieve.
|
1256
|
-
*/
|
1257
|
-
maxResults?: ListComponentsLimit;
|
1258
1333
|
/**
|
1259
1334
|
* The token to request the next page of results.
|
1260
1335
|
*/
|
1261
1336
|
nextToken?: String;
|
1337
|
+
/**
|
1338
|
+
* The maximum number of components to retrieve.
|
1339
|
+
*/
|
1340
|
+
maxResults?: ListComponentsLimit;
|
1262
1341
|
}
|
1263
1342
|
export interface ListComponentsResponse {
|
1264
1343
|
/**
|
@@ -1280,14 +1359,14 @@ declare namespace AmplifyUIBuilder {
|
|
1280
1359
|
* The name of the backend environment that is a part of the Amplify app.
|
1281
1360
|
*/
|
1282
1361
|
environmentName: String;
|
1283
|
-
/**
|
1284
|
-
* The maximum number of forms to retrieve.
|
1285
|
-
*/
|
1286
|
-
maxResults?: ListFormsLimit;
|
1287
1362
|
/**
|
1288
1363
|
* The token to request the next page of results.
|
1289
1364
|
*/
|
1290
1365
|
nextToken?: String;
|
1366
|
+
/**
|
1367
|
+
* The maximum number of forms to retrieve.
|
1368
|
+
*/
|
1369
|
+
maxResults?: ListFormsLimit;
|
1291
1370
|
}
|
1292
1371
|
export interface ListFormsResponse {
|
1293
1372
|
/**
|
@@ -1309,14 +1388,14 @@ declare namespace AmplifyUIBuilder {
|
|
1309
1388
|
* The name of the backend environment that is a part of the Amplify app.
|
1310
1389
|
*/
|
1311
1390
|
environmentName: String;
|
1312
|
-
/**
|
1313
|
-
* The maximum number of theme results to return in the response.
|
1314
|
-
*/
|
1315
|
-
maxResults?: ListThemesLimit;
|
1316
1391
|
/**
|
1317
1392
|
* The token to request the next page of results.
|
1318
1393
|
*/
|
1319
1394
|
nextToken?: String;
|
1395
|
+
/**
|
1396
|
+
* The maximum number of theme results to return in the response.
|
1397
|
+
*/
|
1398
|
+
maxResults?: ListThemesLimit;
|
1320
1399
|
}
|
1321
1400
|
export interface ListThemesResponse {
|
1322
1401
|
/**
|
@@ -1343,7 +1422,12 @@ declare namespace AmplifyUIBuilder {
|
|
1343
1422
|
set: ComponentProperty;
|
1344
1423
|
}
|
1345
1424
|
export type NumValues = Integer[];
|
1425
|
+
export type OperandType = string;
|
1346
1426
|
export interface Predicate {
|
1427
|
+
/**
|
1428
|
+
* A list of predicates to combine logically.
|
1429
|
+
*/
|
1430
|
+
or?: PredicateList;
|
1347
1431
|
/**
|
1348
1432
|
* A list of predicates to combine logically.
|
1349
1433
|
*/
|
@@ -1352,18 +1436,18 @@ declare namespace AmplifyUIBuilder {
|
|
1352
1436
|
* The field to query.
|
1353
1437
|
*/
|
1354
1438
|
field?: String;
|
1355
|
-
/**
|
1356
|
-
* The value to use when performing the evaluation.
|
1357
|
-
*/
|
1358
|
-
operand?: String;
|
1359
1439
|
/**
|
1360
1440
|
* The operator to use to perform the evaluation.
|
1361
1441
|
*/
|
1362
1442
|
operator?: String;
|
1363
1443
|
/**
|
1364
|
-
*
|
1444
|
+
* The value to use when performing the evaluation.
|
1365
1445
|
*/
|
1366
|
-
|
1446
|
+
operand?: String;
|
1447
|
+
/**
|
1448
|
+
* The type of value to use when performing the evaluation.
|
1449
|
+
*/
|
1450
|
+
operandType?: OperandType;
|
1367
1451
|
}
|
1368
1452
|
export type PredicateList = Predicate[];
|
1369
1453
|
export interface PutMetadataFlagBody {
|
@@ -1377,10 +1461,6 @@ declare namespace AmplifyUIBuilder {
|
|
1377
1461
|
* The unique ID for the Amplify app.
|
1378
1462
|
*/
|
1379
1463
|
appId: String;
|
1380
|
-
/**
|
1381
|
-
* The metadata information to store.
|
1382
|
-
*/
|
1383
|
-
body: PutMetadataFlagBody;
|
1384
1464
|
/**
|
1385
1465
|
* The name of the backend environment that is part of the Amplify app.
|
1386
1466
|
*/
|
@@ -1389,6 +1469,10 @@ declare namespace AmplifyUIBuilder {
|
|
1389
1469
|
* The name of the feature associated with the metadata.
|
1390
1470
|
*/
|
1391
1471
|
featureName: String;
|
1472
|
+
/**
|
1473
|
+
* The metadata information to store.
|
1474
|
+
*/
|
1475
|
+
body: PutMetadataFlagBody;
|
1392
1476
|
}
|
1393
1477
|
export interface RefreshTokenRequest {
|
1394
1478
|
/**
|
@@ -1405,6 +1489,10 @@ declare namespace AmplifyUIBuilder {
|
|
1405
1489
|
* The token to use to refresh a previously issued access token that might have expired.
|
1406
1490
|
*/
|
1407
1491
|
token: SensitiveString;
|
1492
|
+
/**
|
1493
|
+
* The ID of the client to request the token from.
|
1494
|
+
*/
|
1495
|
+
clientId?: SensitiveString;
|
1408
1496
|
}
|
1409
1497
|
export interface RefreshTokenResponse {
|
1410
1498
|
/**
|
@@ -1418,13 +1506,9 @@ declare namespace AmplifyUIBuilder {
|
|
1418
1506
|
}
|
1419
1507
|
export interface SectionalElement {
|
1420
1508
|
/**
|
1421
|
-
*
|
1422
|
-
*/
|
1423
|
-
level?: Integer;
|
1424
|
-
/**
|
1425
|
-
* Specifies the orientation for a Divider sectional element. Valid values are horizontal or vertical.
|
1509
|
+
* The type of sectional element. Valid values are Heading, Text, and Divider.
|
1426
1510
|
*/
|
1427
|
-
|
1511
|
+
type: String;
|
1428
1512
|
/**
|
1429
1513
|
* Specifies the position of the text in a field for a Text sectional element.
|
1430
1514
|
*/
|
@@ -1434,24 +1518,33 @@ declare namespace AmplifyUIBuilder {
|
|
1434
1518
|
*/
|
1435
1519
|
text?: String;
|
1436
1520
|
/**
|
1437
|
-
*
|
1521
|
+
* Specifies the size of the font for a Heading sectional element. Valid values are 1 | 2 | 3 | 4 | 5 | 6.
|
1438
1522
|
*/
|
1439
|
-
|
1523
|
+
level?: Integer;
|
1524
|
+
/**
|
1525
|
+
* Specifies the orientation for a Divider sectional element. Valid values are horizontal or vertical.
|
1526
|
+
*/
|
1527
|
+
orientation?: String;
|
1528
|
+
/**
|
1529
|
+
* Excludes a sectional element that was generated by default for a specified data model.
|
1530
|
+
*/
|
1531
|
+
excluded?: Boolean;
|
1440
1532
|
}
|
1441
1533
|
export type SectionalElementMap = {[key: string]: SectionalElement};
|
1442
1534
|
export type SensitiveString = string;
|
1443
1535
|
export type SortDirection = "ASC"|"DESC"|string;
|
1444
1536
|
export interface SortProperty {
|
1445
|
-
/**
|
1446
|
-
* The direction of the sort, either ascending or descending.
|
1447
|
-
*/
|
1448
|
-
direction: SortDirection;
|
1449
1537
|
/**
|
1450
1538
|
* The field to perform the sort on.
|
1451
1539
|
*/
|
1452
1540
|
field: String;
|
1541
|
+
/**
|
1542
|
+
* The direction of the sort, either ascending or descending.
|
1543
|
+
*/
|
1544
|
+
direction: SortDirection;
|
1453
1545
|
}
|
1454
1546
|
export type SortPropertyList = SortProperty[];
|
1547
|
+
export type StorageAccessLevel = "public"|"protected"|"private"|string;
|
1455
1548
|
export type StrValues = String[];
|
1456
1549
|
export type String = string;
|
1457
1550
|
export type SyntheticTimestamp_date_time = Date;
|
@@ -1463,10 +1556,6 @@ declare namespace AmplifyUIBuilder {
|
|
1463
1556
|
* The unique ID for the Amplify app associated with the theme.
|
1464
1557
|
*/
|
1465
1558
|
appId: String;
|
1466
|
-
/**
|
1467
|
-
* The time that the theme was created.
|
1468
|
-
*/
|
1469
|
-
createdAt: SyntheticTimestamp_date_time;
|
1470
1559
|
/**
|
1471
1560
|
* The name of the backend environment that is a part of the Amplify app.
|
1472
1561
|
*/
|
@@ -1475,14 +1564,22 @@ declare namespace AmplifyUIBuilder {
|
|
1475
1564
|
* The ID for the theme.
|
1476
1565
|
*/
|
1477
1566
|
id: Uuid;
|
1567
|
+
/**
|
1568
|
+
* The name of the theme.
|
1569
|
+
*/
|
1570
|
+
name: ThemeName;
|
1571
|
+
/**
|
1572
|
+
* The time that the theme was created.
|
1573
|
+
*/
|
1574
|
+
createdAt: SyntheticTimestamp_date_time;
|
1478
1575
|
/**
|
1479
1576
|
* The time that the theme was modified.
|
1480
1577
|
*/
|
1481
1578
|
modifiedAt?: SyntheticTimestamp_date_time;
|
1482
1579
|
/**
|
1483
|
-
*
|
1580
|
+
* A list of key-value pairs that defines the properties of the theme.
|
1484
1581
|
*/
|
1485
|
-
|
1582
|
+
values: ThemeValuesList;
|
1486
1583
|
/**
|
1487
1584
|
* Describes the properties that can be overriden to customize a theme.
|
1488
1585
|
*/
|
@@ -1491,10 +1588,6 @@ declare namespace AmplifyUIBuilder {
|
|
1491
1588
|
* One or more key-value pairs to use when tagging the theme.
|
1492
1589
|
*/
|
1493
1590
|
tags?: Tags;
|
1494
|
-
/**
|
1495
|
-
* A list of key-value pairs that defines the properties of the theme.
|
1496
|
-
*/
|
1497
|
-
values: ThemeValuesList;
|
1498
1591
|
}
|
1499
1592
|
export type ThemeList = Theme[];
|
1500
1593
|
export type ThemeName = string;
|
@@ -1518,14 +1611,14 @@ declare namespace AmplifyUIBuilder {
|
|
1518
1611
|
}
|
1519
1612
|
export type ThemeSummaryList = ThemeSummary[];
|
1520
1613
|
export interface ThemeValue {
|
1521
|
-
/**
|
1522
|
-
* A list of key-value pairs that define the theme's properties.
|
1523
|
-
*/
|
1524
|
-
children?: ThemeValuesList;
|
1525
1614
|
/**
|
1526
1615
|
* The value of a theme property.
|
1527
1616
|
*/
|
1528
1617
|
value?: String;
|
1618
|
+
/**
|
1619
|
+
* A list of key-value pairs that define the theme's properties.
|
1620
|
+
*/
|
1621
|
+
children?: ThemeValuesList;
|
1529
1622
|
}
|
1530
1623
|
export interface ThemeValues {
|
1531
1624
|
/**
|
@@ -1541,63 +1634,59 @@ declare namespace AmplifyUIBuilder {
|
|
1541
1634
|
export type TokenProviders = "figma"|string;
|
1542
1635
|
export interface UpdateComponentData {
|
1543
1636
|
/**
|
1544
|
-
* The
|
1637
|
+
* The unique ID of the component to update.
|
1545
1638
|
*/
|
1546
|
-
|
1639
|
+
id?: Uuid;
|
1547
1640
|
/**
|
1548
|
-
* The
|
1641
|
+
* The name of the component to update.
|
1549
1642
|
*/
|
1550
|
-
|
1643
|
+
name?: ComponentName;
|
1551
1644
|
/**
|
1552
|
-
* The
|
1645
|
+
* The unique ID of the component in its original source system, such as Figma.
|
1553
1646
|
*/
|
1554
|
-
|
1647
|
+
sourceId?: String;
|
1555
1648
|
/**
|
1556
1649
|
* The type of the component. This can be an Amplify custom UI component or another custom component.
|
1557
1650
|
*/
|
1558
1651
|
componentType?: ComponentType;
|
1559
1652
|
/**
|
1560
|
-
*
|
1653
|
+
* Describes the component's properties.
|
1561
1654
|
*/
|
1562
|
-
|
1655
|
+
properties?: ComponentProperties;
|
1563
1656
|
/**
|
1564
|
-
* The
|
1657
|
+
* The components that are instances of the main component.
|
1565
1658
|
*/
|
1566
|
-
|
1659
|
+
children?: ComponentChildList;
|
1567
1660
|
/**
|
1568
|
-
*
|
1661
|
+
* A list of the unique variants of the main component being updated.
|
1569
1662
|
*/
|
1570
|
-
|
1663
|
+
variants?: ComponentVariants;
|
1571
1664
|
/**
|
1572
1665
|
* Describes the properties that can be overriden to customize the component.
|
1573
1666
|
*/
|
1574
1667
|
overrides?: ComponentOverrides;
|
1575
1668
|
/**
|
1576
|
-
*
|
1669
|
+
* The data binding information for the component's properties.
|
1577
1670
|
*/
|
1578
|
-
|
1671
|
+
bindingProperties?: ComponentBindingProperties;
|
1579
1672
|
/**
|
1580
|
-
* The
|
1673
|
+
* The configuration for binding a component's properties to a data model. Use this for a collection component.
|
1581
1674
|
*/
|
1582
|
-
|
1675
|
+
collectionProperties?: ComponentCollectionProperties;
|
1583
1676
|
/**
|
1584
|
-
* The
|
1677
|
+
* The event configuration for the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
|
1585
1678
|
*/
|
1586
|
-
|
1679
|
+
events?: ComponentEvents;
|
1587
1680
|
/**
|
1588
|
-
*
|
1681
|
+
* The schema version of the component when it was imported.
|
1589
1682
|
*/
|
1590
|
-
|
1683
|
+
schemaVersion?: String;
|
1591
1684
|
}
|
1592
1685
|
export interface UpdateComponentRequest {
|
1593
1686
|
/**
|
1594
1687
|
* The unique ID for the Amplify app.
|
1595
1688
|
*/
|
1596
1689
|
appId: String;
|
1597
|
-
/**
|
1598
|
-
* The unique client token.
|
1599
|
-
*/
|
1600
|
-
clientToken?: String;
|
1601
1690
|
/**
|
1602
1691
|
* The name of the backend environment that is part of the Amplify app.
|
1603
1692
|
*/
|
@@ -1606,6 +1695,10 @@ declare namespace AmplifyUIBuilder {
|
|
1606
1695
|
* The unique ID for the component.
|
1607
1696
|
*/
|
1608
1697
|
id: Uuid;
|
1698
|
+
/**
|
1699
|
+
* The unique client token.
|
1700
|
+
*/
|
1701
|
+
clientToken?: String;
|
1609
1702
|
/**
|
1610
1703
|
* The configuration of the updated component.
|
1611
1704
|
*/
|
@@ -1619,47 +1712,47 @@ declare namespace AmplifyUIBuilder {
|
|
1619
1712
|
}
|
1620
1713
|
export interface UpdateFormData {
|
1621
1714
|
/**
|
1622
|
-
* The
|
1715
|
+
* The name of the form.
|
1623
1716
|
*/
|
1624
|
-
|
1717
|
+
name?: FormName;
|
1625
1718
|
/**
|
1626
1719
|
* The type of data source to use to create the form.
|
1627
1720
|
*/
|
1628
1721
|
dataType?: FormDataTypeConfig;
|
1722
|
+
/**
|
1723
|
+
* Specifies whether to perform a create or update action on the form.
|
1724
|
+
*/
|
1725
|
+
formActionType?: FormActionType;
|
1629
1726
|
/**
|
1630
1727
|
* The configuration information for the form's fields.
|
1631
1728
|
*/
|
1632
1729
|
fields?: FieldsMap;
|
1633
1730
|
/**
|
1634
|
-
*
|
1731
|
+
* The configuration for the form's style.
|
1635
1732
|
*/
|
1636
|
-
|
1733
|
+
style?: FormStyle;
|
1637
1734
|
/**
|
1638
|
-
* The
|
1735
|
+
* The configuration information for the visual helper elements for the form. These elements are not associated with any data.
|
1639
1736
|
*/
|
1640
|
-
|
1737
|
+
sectionalElements?: SectionalElementMap;
|
1641
1738
|
/**
|
1642
1739
|
* The schema version of the form.
|
1643
1740
|
*/
|
1644
1741
|
schemaVersion?: String;
|
1645
1742
|
/**
|
1646
|
-
* The
|
1743
|
+
* The FormCTA object that stores the call to action configuration for the form.
|
1647
1744
|
*/
|
1648
|
-
|
1745
|
+
cta?: FormCTA;
|
1649
1746
|
/**
|
1650
|
-
*
|
1747
|
+
* Specifies an icon or decoration to display on the form.
|
1651
1748
|
*/
|
1652
|
-
|
1749
|
+
labelDecorator?: LabelDecorator;
|
1653
1750
|
}
|
1654
1751
|
export interface UpdateFormRequest {
|
1655
1752
|
/**
|
1656
1753
|
* The unique ID for the Amplify app.
|
1657
1754
|
*/
|
1658
1755
|
appId: String;
|
1659
|
-
/**
|
1660
|
-
* The unique client token.
|
1661
|
-
*/
|
1662
|
-
clientToken?: String;
|
1663
1756
|
/**
|
1664
1757
|
* The name of the backend environment that is part of the Amplify app.
|
1665
1758
|
*/
|
@@ -1668,6 +1761,10 @@ declare namespace AmplifyUIBuilder {
|
|
1668
1761
|
* The unique ID for the form.
|
1669
1762
|
*/
|
1670
1763
|
id: Uuid;
|
1764
|
+
/**
|
1765
|
+
* The unique client token.
|
1766
|
+
*/
|
1767
|
+
clientToken?: String;
|
1671
1768
|
/**
|
1672
1769
|
* The request accepts the following data in JSON format.
|
1673
1770
|
*/
|
@@ -1688,24 +1785,20 @@ declare namespace AmplifyUIBuilder {
|
|
1688
1785
|
* The name of the theme to update.
|
1689
1786
|
*/
|
1690
1787
|
name?: ThemeName;
|
1691
|
-
/**
|
1692
|
-
* Describes the properties that can be overriden to customize the theme.
|
1693
|
-
*/
|
1694
|
-
overrides?: ThemeValuesList;
|
1695
1788
|
/**
|
1696
1789
|
* A list of key-value pairs that define the theme's properties.
|
1697
1790
|
*/
|
1698
1791
|
values: ThemeValuesList;
|
1792
|
+
/**
|
1793
|
+
* Describes the properties that can be overriden to customize the theme.
|
1794
|
+
*/
|
1795
|
+
overrides?: ThemeValuesList;
|
1699
1796
|
}
|
1700
1797
|
export interface UpdateThemeRequest {
|
1701
1798
|
/**
|
1702
1799
|
* The unique ID for the Amplify app.
|
1703
1800
|
*/
|
1704
1801
|
appId: String;
|
1705
|
-
/**
|
1706
|
-
* The unique client token.
|
1707
|
-
*/
|
1708
|
-
clientToken?: String;
|
1709
1802
|
/**
|
1710
1803
|
* The name of the backend environment that is part of the Amplify app.
|
1711
1804
|
*/
|
@@ -1714,6 +1807,10 @@ declare namespace AmplifyUIBuilder {
|
|
1714
1807
|
* The unique ID for the theme.
|
1715
1808
|
*/
|
1716
1809
|
id: Uuid;
|
1810
|
+
/**
|
1811
|
+
* The unique client token.
|
1812
|
+
*/
|
1813
|
+
clientToken?: String;
|
1717
1814
|
/**
|
1718
1815
|
* The configuration of the updated theme.
|
1719
1816
|
*/
|
@@ -1743,6 +1840,10 @@ declare namespace AmplifyUIBuilder {
|
|
1743
1840
|
* The value and display value pairs.
|
1744
1841
|
*/
|
1745
1842
|
values: ValueMappingList;
|
1843
|
+
/**
|
1844
|
+
* The information to bind fields to data at runtime.
|
1845
|
+
*/
|
1846
|
+
bindingProperties?: FormInputBindingProperties;
|
1746
1847
|
}
|
1747
1848
|
/**
|
1748
1849
|
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|