@aws-sdk/client-amplifyuibuilder 3.298.0 → 3.300.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.
@@ -26,6 +26,565 @@ export interface CreateComponentCommandOutput extends CreateComponentResponse, _
26
26
  * import { AmplifyUIBuilderClient, CreateComponentCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, CreateComponentCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = {
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * clientToken: "STRING_VALUE",
33
+ * componentToCreate: {
34
+ * name: "STRING_VALUE", // required
35
+ * sourceId: "STRING_VALUE",
36
+ * componentType: "STRING_VALUE", // required
37
+ * properties: { // required
38
+ * "<keys>": {
39
+ * value: "STRING_VALUE",
40
+ * bindingProperties: {
41
+ * property: "STRING_VALUE", // required
42
+ * field: "STRING_VALUE",
43
+ * },
44
+ * collectionBindingProperties: {
45
+ * property: "STRING_VALUE", // required
46
+ * field: "STRING_VALUE",
47
+ * },
48
+ * defaultValue: "STRING_VALUE",
49
+ * model: "STRING_VALUE",
50
+ * bindings: {
51
+ * "<keys>": {
52
+ * element: "STRING_VALUE", // required
53
+ * property: "STRING_VALUE", // required
54
+ * },
55
+ * },
56
+ * event: "STRING_VALUE",
57
+ * userAttribute: "STRING_VALUE",
58
+ * concat: [
59
+ * {
60
+ * value: "STRING_VALUE",
61
+ * bindingProperties: {
62
+ * property: "STRING_VALUE", // required
63
+ * field: "STRING_VALUE",
64
+ * },
65
+ * collectionBindingProperties: {
66
+ * property: "STRING_VALUE", // required
67
+ * field: "STRING_VALUE",
68
+ * },
69
+ * defaultValue: "STRING_VALUE",
70
+ * model: "STRING_VALUE",
71
+ * bindings: {
72
+ * "<keys>": {
73
+ * element: "STRING_VALUE", // required
74
+ * property: "STRING_VALUE", // required
75
+ * },
76
+ * },
77
+ * event: "STRING_VALUE",
78
+ * userAttribute: "STRING_VALUE",
79
+ * concat: [
80
+ * {
81
+ * value: "<ComponentProperty>",
82
+ * bindingProperties: "<ComponentProperty>",
83
+ * collectionBindingProperties: "<ComponentProperty>",
84
+ * defaultValue: "<ComponentProperty>",
85
+ * model: "<ComponentProperty>",
86
+ * bindings: "<ComponentProperty>",
87
+ * event: "<ComponentProperty>",
88
+ * userAttribute: "<ComponentProperty>",
89
+ * concat: "<ComponentProperty>",
90
+ * condition: {
91
+ * property: "STRING_VALUE",
92
+ * field: "STRING_VALUE",
93
+ * operator: "STRING_VALUE",
94
+ * operand: "STRING_VALUE",
95
+ * then: {
96
+ * value: "<ComponentProperty>",
97
+ * bindingProperties: "<ComponentProperty>",
98
+ * collectionBindingProperties: "<ComponentProperty>",
99
+ * defaultValue: "<ComponentProperty>",
100
+ * model: "<ComponentProperty>",
101
+ * bindings: "<ComponentProperty>",
102
+ * event: "<ComponentProperty>",
103
+ * userAttribute: "<ComponentProperty>",
104
+ * concat: "<ComponentProperty>",
105
+ * condition: {
106
+ * property: "STRING_VALUE",
107
+ * field: "STRING_VALUE",
108
+ * operator: "STRING_VALUE",
109
+ * operand: "STRING_VALUE",
110
+ * then: {
111
+ * value: "<ComponentProperty>",
112
+ * bindingProperties: "<ComponentProperty>",
113
+ * collectionBindingProperties: "<ComponentProperty>",
114
+ * defaultValue: "<ComponentProperty>",
115
+ * model: "<ComponentProperty>",
116
+ * bindings: "<ComponentProperty>",
117
+ * event: "<ComponentProperty>",
118
+ * userAttribute: "<ComponentProperty>",
119
+ * concat: "<ComponentProperty>",
120
+ * condition: "<ComponentProperty>",
121
+ * configured: true || false,
122
+ * type: "STRING_VALUE",
123
+ * importedValue: "STRING_VALUE",
124
+ * componentName: "STRING_VALUE",
125
+ * property: "STRING_VALUE",
126
+ * },
127
+ * else: {
128
+ * value: "<ComponentProperty>",
129
+ * bindingProperties: "<ComponentProperty>",
130
+ * collectionBindingProperties: "<ComponentProperty>",
131
+ * defaultValue: "<ComponentProperty>",
132
+ * model: "<ComponentProperty>",
133
+ * bindings: "<ComponentProperty>",
134
+ * event: "<ComponentProperty>",
135
+ * userAttribute: "<ComponentProperty>",
136
+ * concat: "<ComponentProperty>",
137
+ * condition: "<ComponentProperty>",
138
+ * configured: true || false,
139
+ * type: "STRING_VALUE",
140
+ * importedValue: "STRING_VALUE",
141
+ * componentName: "STRING_VALUE",
142
+ * property: "STRING_VALUE",
143
+ * },
144
+ * operandType: "STRING_VALUE",
145
+ * },
146
+ * configured: true || false,
147
+ * type: "STRING_VALUE",
148
+ * importedValue: "STRING_VALUE",
149
+ * componentName: "STRING_VALUE",
150
+ * property: "STRING_VALUE",
151
+ * },
152
+ * else: {
153
+ * value: "<ComponentProperty>",
154
+ * bindingProperties: "<ComponentProperty>",
155
+ * collectionBindingProperties: "<ComponentProperty>",
156
+ * defaultValue: "<ComponentProperty>",
157
+ * model: "<ComponentProperty>",
158
+ * bindings: "<ComponentProperty>",
159
+ * event: "<ComponentProperty>",
160
+ * userAttribute: "<ComponentProperty>",
161
+ * concat: "<ComponentProperty>",
162
+ * condition: "<ComponentProperty>",
163
+ * configured: true || false,
164
+ * type: "STRING_VALUE",
165
+ * importedValue: "STRING_VALUE",
166
+ * componentName: "STRING_VALUE",
167
+ * property: "STRING_VALUE",
168
+ * },
169
+ * operandType: "STRING_VALUE",
170
+ * },
171
+ * configured: "<ComponentProperty>",
172
+ * type: "<ComponentProperty>",
173
+ * importedValue: "<ComponentProperty>",
174
+ * componentName: "<ComponentProperty>",
175
+ * property: "<ComponentProperty>",
176
+ * },
177
+ * ],
178
+ * condition: "<ComponentProperty>",
179
+ * configured: "<ComponentProperty>",
180
+ * type: "<ComponentProperty>",
181
+ * importedValue: "<ComponentProperty>",
182
+ * componentName: "<ComponentProperty>",
183
+ * property: "<ComponentProperty>",
184
+ * },
185
+ * ],
186
+ * condition: "<ComponentProperty>",
187
+ * configured: "<ComponentProperty>",
188
+ * type: "<ComponentProperty>",
189
+ * importedValue: "<ComponentProperty>",
190
+ * componentName: "<ComponentProperty>",
191
+ * property: "<ComponentProperty>",
192
+ * },
193
+ * },
194
+ * children: [
195
+ * {
196
+ * componentType: "STRING_VALUE", // required
197
+ * name: "STRING_VALUE", // required
198
+ * properties: { // required
199
+ * "<keys>": {
200
+ * value: "<ComponentProperty>",
201
+ * bindingProperties: "<ComponentProperty>",
202
+ * collectionBindingProperties: "<ComponentProperty>",
203
+ * defaultValue: "<ComponentProperty>",
204
+ * model: "<ComponentProperty>",
205
+ * bindings: "<ComponentProperty>",
206
+ * event: "<ComponentProperty>",
207
+ * userAttribute: "<ComponentProperty>",
208
+ * concat: "<ComponentProperty>",
209
+ * condition: "<ComponentProperty>",
210
+ * configured: "<ComponentProperty>",
211
+ * type: "<ComponentProperty>",
212
+ * importedValue: "<ComponentProperty>",
213
+ * componentName: "<ComponentProperty>",
214
+ * property: "<ComponentProperty>",
215
+ * },
216
+ * },
217
+ * children: [
218
+ * {
219
+ * componentType: "STRING_VALUE", // required
220
+ * name: "STRING_VALUE", // required
221
+ * properties: { // required
222
+ * "<keys>": "<ComponentProperty>",
223
+ * },
224
+ * children: [
225
+ * "<ComponentChildList>",
226
+ * ],
227
+ * events: {
228
+ * "<keys>": {
229
+ * action: "STRING_VALUE",
230
+ * parameters: {
231
+ * type: {
232
+ * value: "<ComponentProperty>",
233
+ * bindingProperties: "<ComponentProperty>",
234
+ * collectionBindingProperties: "<ComponentProperty>",
235
+ * defaultValue: "<ComponentProperty>",
236
+ * model: "<ComponentProperty>",
237
+ * bindings: "<ComponentProperty>",
238
+ * event: "<ComponentProperty>",
239
+ * userAttribute: "<ComponentProperty>",
240
+ * concat: "<ComponentProperty>",
241
+ * condition: "<ComponentProperty>",
242
+ * configured: "<ComponentProperty>",
243
+ * type: "<ComponentProperty>",
244
+ * importedValue: "<ComponentProperty>",
245
+ * componentName: "<ComponentProperty>",
246
+ * property: "<ComponentProperty>",
247
+ * },
248
+ * url: {
249
+ * value: "<ComponentProperty>",
250
+ * bindingProperties: "<ComponentProperty>",
251
+ * collectionBindingProperties: "<ComponentProperty>",
252
+ * defaultValue: "<ComponentProperty>",
253
+ * model: "<ComponentProperty>",
254
+ * bindings: "<ComponentProperty>",
255
+ * event: "<ComponentProperty>",
256
+ * userAttribute: "<ComponentProperty>",
257
+ * concat: "<ComponentProperty>",
258
+ * condition: "<ComponentProperty>",
259
+ * configured: "<ComponentProperty>",
260
+ * type: "<ComponentProperty>",
261
+ * importedValue: "<ComponentProperty>",
262
+ * componentName: "<ComponentProperty>",
263
+ * property: "<ComponentProperty>",
264
+ * },
265
+ * anchor: {
266
+ * value: "<ComponentProperty>",
267
+ * bindingProperties: "<ComponentProperty>",
268
+ * collectionBindingProperties: "<ComponentProperty>",
269
+ * defaultValue: "<ComponentProperty>",
270
+ * model: "<ComponentProperty>",
271
+ * bindings: "<ComponentProperty>",
272
+ * event: "<ComponentProperty>",
273
+ * userAttribute: "<ComponentProperty>",
274
+ * concat: "<ComponentProperty>",
275
+ * condition: "<ComponentProperty>",
276
+ * configured: "<ComponentProperty>",
277
+ * type: "<ComponentProperty>",
278
+ * importedValue: "<ComponentProperty>",
279
+ * componentName: "<ComponentProperty>",
280
+ * property: "<ComponentProperty>",
281
+ * },
282
+ * target: {
283
+ * value: "<ComponentProperty>",
284
+ * bindingProperties: "<ComponentProperty>",
285
+ * collectionBindingProperties: "<ComponentProperty>",
286
+ * defaultValue: "<ComponentProperty>",
287
+ * model: "<ComponentProperty>",
288
+ * bindings: "<ComponentProperty>",
289
+ * event: "<ComponentProperty>",
290
+ * userAttribute: "<ComponentProperty>",
291
+ * concat: "<ComponentProperty>",
292
+ * condition: "<ComponentProperty>",
293
+ * configured: "<ComponentProperty>",
294
+ * type: "<ComponentProperty>",
295
+ * importedValue: "<ComponentProperty>",
296
+ * componentName: "<ComponentProperty>",
297
+ * property: "<ComponentProperty>",
298
+ * },
299
+ * global: {
300
+ * value: "<ComponentProperty>",
301
+ * bindingProperties: "<ComponentProperty>",
302
+ * collectionBindingProperties: "<ComponentProperty>",
303
+ * defaultValue: "<ComponentProperty>",
304
+ * model: "<ComponentProperty>",
305
+ * bindings: "<ComponentProperty>",
306
+ * event: "<ComponentProperty>",
307
+ * userAttribute: "<ComponentProperty>",
308
+ * concat: "<ComponentProperty>",
309
+ * condition: "<ComponentProperty>",
310
+ * configured: "<ComponentProperty>",
311
+ * type: "<ComponentProperty>",
312
+ * importedValue: "<ComponentProperty>",
313
+ * componentName: "<ComponentProperty>",
314
+ * property: "<ComponentProperty>",
315
+ * },
316
+ * model: "STRING_VALUE",
317
+ * id: {
318
+ * value: "<ComponentProperty>",
319
+ * bindingProperties: "<ComponentProperty>",
320
+ * collectionBindingProperties: "<ComponentProperty>",
321
+ * defaultValue: "<ComponentProperty>",
322
+ * model: "<ComponentProperty>",
323
+ * bindings: "<ComponentProperty>",
324
+ * event: "<ComponentProperty>",
325
+ * userAttribute: "<ComponentProperty>",
326
+ * concat: "<ComponentProperty>",
327
+ * condition: "<ComponentProperty>",
328
+ * configured: "<ComponentProperty>",
329
+ * type: "<ComponentProperty>",
330
+ * importedValue: "<ComponentProperty>",
331
+ * componentName: "<ComponentProperty>",
332
+ * property: "<ComponentProperty>",
333
+ * },
334
+ * fields: {
335
+ * "<keys>": "<ComponentProperty>",
336
+ * },
337
+ * state: {
338
+ * componentName: "STRING_VALUE", // required
339
+ * property: "STRING_VALUE", // required
340
+ * set: {
341
+ * value: "<ComponentProperty>",
342
+ * bindingProperties: "<ComponentProperty>",
343
+ * collectionBindingProperties: "<ComponentProperty>",
344
+ * defaultValue: "<ComponentProperty>",
345
+ * model: "<ComponentProperty>",
346
+ * bindings: "<ComponentProperty>",
347
+ * event: "<ComponentProperty>",
348
+ * userAttribute: "<ComponentProperty>",
349
+ * concat: "<ComponentProperty>",
350
+ * condition: "<ComponentProperty>",
351
+ * configured: "<ComponentProperty>",
352
+ * type: "<ComponentProperty>",
353
+ * importedValue: "<ComponentProperty>",
354
+ * componentName: "<ComponentProperty>",
355
+ * property: "<ComponentProperty>",
356
+ * },
357
+ * },
358
+ * },
359
+ * bindingEvent: "STRING_VALUE",
360
+ * },
361
+ * },
362
+ * sourceId: "STRING_VALUE",
363
+ * },
364
+ * ],
365
+ * events: {
366
+ * "<keys>": {
367
+ * action: "STRING_VALUE",
368
+ * parameters: {
369
+ * type: {
370
+ * value: "<ComponentProperty>",
371
+ * bindingProperties: "<ComponentProperty>",
372
+ * collectionBindingProperties: "<ComponentProperty>",
373
+ * defaultValue: "<ComponentProperty>",
374
+ * model: "<ComponentProperty>",
375
+ * bindings: "<ComponentProperty>",
376
+ * event: "<ComponentProperty>",
377
+ * userAttribute: "<ComponentProperty>",
378
+ * concat: "<ComponentProperty>",
379
+ * condition: "<ComponentProperty>",
380
+ * configured: "<ComponentProperty>",
381
+ * type: "<ComponentProperty>",
382
+ * importedValue: "<ComponentProperty>",
383
+ * componentName: "<ComponentProperty>",
384
+ * property: "<ComponentProperty>",
385
+ * },
386
+ * url: {
387
+ * value: "<ComponentProperty>",
388
+ * bindingProperties: "<ComponentProperty>",
389
+ * collectionBindingProperties: "<ComponentProperty>",
390
+ * defaultValue: "<ComponentProperty>",
391
+ * model: "<ComponentProperty>",
392
+ * bindings: "<ComponentProperty>",
393
+ * event: "<ComponentProperty>",
394
+ * userAttribute: "<ComponentProperty>",
395
+ * concat: "<ComponentProperty>",
396
+ * condition: "<ComponentProperty>",
397
+ * configured: "<ComponentProperty>",
398
+ * type: "<ComponentProperty>",
399
+ * importedValue: "<ComponentProperty>",
400
+ * componentName: "<ComponentProperty>",
401
+ * property: "<ComponentProperty>",
402
+ * },
403
+ * anchor: {
404
+ * value: "<ComponentProperty>",
405
+ * bindingProperties: "<ComponentProperty>",
406
+ * collectionBindingProperties: "<ComponentProperty>",
407
+ * defaultValue: "<ComponentProperty>",
408
+ * model: "<ComponentProperty>",
409
+ * bindings: "<ComponentProperty>",
410
+ * event: "<ComponentProperty>",
411
+ * userAttribute: "<ComponentProperty>",
412
+ * concat: "<ComponentProperty>",
413
+ * condition: "<ComponentProperty>",
414
+ * configured: "<ComponentProperty>",
415
+ * type: "<ComponentProperty>",
416
+ * importedValue: "<ComponentProperty>",
417
+ * componentName: "<ComponentProperty>",
418
+ * property: "<ComponentProperty>",
419
+ * },
420
+ * target: {
421
+ * value: "<ComponentProperty>",
422
+ * bindingProperties: "<ComponentProperty>",
423
+ * collectionBindingProperties: "<ComponentProperty>",
424
+ * defaultValue: "<ComponentProperty>",
425
+ * model: "<ComponentProperty>",
426
+ * bindings: "<ComponentProperty>",
427
+ * event: "<ComponentProperty>",
428
+ * userAttribute: "<ComponentProperty>",
429
+ * concat: "<ComponentProperty>",
430
+ * condition: "<ComponentProperty>",
431
+ * configured: "<ComponentProperty>",
432
+ * type: "<ComponentProperty>",
433
+ * importedValue: "<ComponentProperty>",
434
+ * componentName: "<ComponentProperty>",
435
+ * property: "<ComponentProperty>",
436
+ * },
437
+ * global: {
438
+ * value: "<ComponentProperty>",
439
+ * bindingProperties: "<ComponentProperty>",
440
+ * collectionBindingProperties: "<ComponentProperty>",
441
+ * defaultValue: "<ComponentProperty>",
442
+ * model: "<ComponentProperty>",
443
+ * bindings: "<ComponentProperty>",
444
+ * event: "<ComponentProperty>",
445
+ * userAttribute: "<ComponentProperty>",
446
+ * concat: "<ComponentProperty>",
447
+ * condition: "<ComponentProperty>",
448
+ * configured: "<ComponentProperty>",
449
+ * type: "<ComponentProperty>",
450
+ * importedValue: "<ComponentProperty>",
451
+ * componentName: "<ComponentProperty>",
452
+ * property: "<ComponentProperty>",
453
+ * },
454
+ * model: "STRING_VALUE",
455
+ * id: {
456
+ * value: "<ComponentProperty>",
457
+ * bindingProperties: "<ComponentProperty>",
458
+ * collectionBindingProperties: "<ComponentProperty>",
459
+ * defaultValue: "<ComponentProperty>",
460
+ * model: "<ComponentProperty>",
461
+ * bindings: "<ComponentProperty>",
462
+ * event: "<ComponentProperty>",
463
+ * userAttribute: "<ComponentProperty>",
464
+ * concat: "<ComponentProperty>",
465
+ * condition: "<ComponentProperty>",
466
+ * configured: "<ComponentProperty>",
467
+ * type: "<ComponentProperty>",
468
+ * importedValue: "<ComponentProperty>",
469
+ * componentName: "<ComponentProperty>",
470
+ * property: "<ComponentProperty>",
471
+ * },
472
+ * fields: {
473
+ * "<keys>": "<ComponentProperty>",
474
+ * },
475
+ * state: {
476
+ * componentName: "STRING_VALUE", // required
477
+ * property: "STRING_VALUE", // required
478
+ * set: {
479
+ * value: "<ComponentProperty>",
480
+ * bindingProperties: "<ComponentProperty>",
481
+ * collectionBindingProperties: "<ComponentProperty>",
482
+ * defaultValue: "<ComponentProperty>",
483
+ * model: "<ComponentProperty>",
484
+ * bindings: "<ComponentProperty>",
485
+ * event: "<ComponentProperty>",
486
+ * userAttribute: "<ComponentProperty>",
487
+ * concat: "<ComponentProperty>",
488
+ * condition: "<ComponentProperty>",
489
+ * configured: "<ComponentProperty>",
490
+ * type: "<ComponentProperty>",
491
+ * importedValue: "<ComponentProperty>",
492
+ * componentName: "<ComponentProperty>",
493
+ * property: "<ComponentProperty>",
494
+ * },
495
+ * },
496
+ * },
497
+ * bindingEvent: "STRING_VALUE",
498
+ * },
499
+ * },
500
+ * sourceId: "STRING_VALUE",
501
+ * },
502
+ * ],
503
+ * variants: [ // required
504
+ * {
505
+ * variantValues: {
506
+ * "<keys>": "STRING_VALUE",
507
+ * },
508
+ * overrides: {
509
+ * "<keys>": {
510
+ * "<keys>": "STRING_VALUE",
511
+ * },
512
+ * },
513
+ * },
514
+ * ],
515
+ * overrides: { // required
516
+ * "<keys>": {
517
+ * "<keys>": "<String>",
518
+ * },
519
+ * },
520
+ * bindingProperties: { // required
521
+ * "<keys>": {
522
+ * type: "STRING_VALUE",
523
+ * bindingProperties: {
524
+ * model: "STRING_VALUE",
525
+ * field: "STRING_VALUE",
526
+ * predicates: [
527
+ * {
528
+ * or: [
529
+ * {
530
+ * or: [
531
+ * "<PredicateList>",
532
+ * ],
533
+ * and: [
534
+ * "<PredicateList>",
535
+ * ],
536
+ * field: "STRING_VALUE",
537
+ * operator: "STRING_VALUE",
538
+ * operand: "STRING_VALUE",
539
+ * },
540
+ * ],
541
+ * and: [
542
+ * "<PredicateList>",
543
+ * ],
544
+ * field: "STRING_VALUE",
545
+ * operator: "STRING_VALUE",
546
+ * operand: "STRING_VALUE",
547
+ * },
548
+ * ],
549
+ * userAttribute: "STRING_VALUE",
550
+ * bucket: "STRING_VALUE",
551
+ * key: "STRING_VALUE",
552
+ * defaultValue: "STRING_VALUE",
553
+ * slotName: "STRING_VALUE",
554
+ * },
555
+ * defaultValue: "STRING_VALUE",
556
+ * },
557
+ * },
558
+ * collectionProperties: {
559
+ * "<keys>": {
560
+ * model: "STRING_VALUE", // required
561
+ * sort: [
562
+ * {
563
+ * field: "STRING_VALUE", // required
564
+ * direction: "STRING_VALUE", // required
565
+ * },
566
+ * ],
567
+ * predicate: {
568
+ * or: "<Predicate>",
569
+ * and: "<Predicate>",
570
+ * field: "<Predicate>",
571
+ * operator: "<Predicate>",
572
+ * operand: "<Predicate>",
573
+ * },
574
+ * identifiers: [
575
+ * "STRING_VALUE",
576
+ * ],
577
+ * },
578
+ * },
579
+ * tags: {
580
+ * "<keys>": "STRING_VALUE",
581
+ * },
582
+ * events: {
583
+ * "<keys>": "<ComponentEvent>",
584
+ * },
585
+ * schemaVersion: "STRING_VALUE",
586
+ * },
587
+ * };
29
588
  * const command = new CreateComponentCommand(input);
30
589
  * const response = await client.send(command);
31
590
  * ```