@aws-sdk/client-amplifyuibuilder 3.45.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.
Files changed (124) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +212 -0
  4. package/dist-cjs/AmplifyUIBuilder.js +217 -0
  5. package/dist-cjs/AmplifyUIBuilderClient.js +35 -0
  6. package/dist-cjs/commands/CreateComponentCommand.js +36 -0
  7. package/dist-cjs/commands/CreateThemeCommand.js +36 -0
  8. package/dist-cjs/commands/DeleteComponentCommand.js +36 -0
  9. package/dist-cjs/commands/DeleteThemeCommand.js +36 -0
  10. package/dist-cjs/commands/ExchangeCodeForTokenCommand.js +36 -0
  11. package/dist-cjs/commands/ExportComponentsCommand.js +36 -0
  12. package/dist-cjs/commands/ExportThemesCommand.js +36 -0
  13. package/dist-cjs/commands/GetComponentCommand.js +36 -0
  14. package/dist-cjs/commands/GetThemeCommand.js +36 -0
  15. package/dist-cjs/commands/ListComponentsCommand.js +36 -0
  16. package/dist-cjs/commands/ListThemesCommand.js +36 -0
  17. package/dist-cjs/commands/RefreshTokenCommand.js +36 -0
  18. package/dist-cjs/commands/UpdateComponentCommand.js +36 -0
  19. package/dist-cjs/commands/UpdateThemeCommand.js +36 -0
  20. package/dist-cjs/commands/index.js +17 -0
  21. package/dist-cjs/endpoints.js +131 -0
  22. package/dist-cjs/index.js +8 -0
  23. package/dist-cjs/models/index.js +4 -0
  24. package/dist-cjs/models/models_0.js +340 -0
  25. package/dist-cjs/pagination/Interfaces.js +2 -0
  26. package/dist-cjs/pagination/ListComponentsPaginator.js +35 -0
  27. package/dist-cjs/pagination/ListThemesPaginator.js +35 -0
  28. package/dist-cjs/pagination/index.js +6 -0
  29. package/dist-cjs/protocols/Aws_restJson1.js +2404 -0
  30. package/dist-cjs/runtimeConfig.browser.js +40 -0
  31. package/dist-cjs/runtimeConfig.js +44 -0
  32. package/dist-cjs/runtimeConfig.native.js +16 -0
  33. package/dist-cjs/runtimeConfig.shared.js +17 -0
  34. package/dist-es/AmplifyUIBuilder.js +220 -0
  35. package/dist-es/AmplifyUIBuilderClient.js +37 -0
  36. package/dist-es/commands/CreateComponentCommand.js +39 -0
  37. package/dist-es/commands/CreateThemeCommand.js +39 -0
  38. package/dist-es/commands/DeleteComponentCommand.js +39 -0
  39. package/dist-es/commands/DeleteThemeCommand.js +39 -0
  40. package/dist-es/commands/ExchangeCodeForTokenCommand.js +39 -0
  41. package/dist-es/commands/ExportComponentsCommand.js +39 -0
  42. package/dist-es/commands/ExportThemesCommand.js +39 -0
  43. package/dist-es/commands/GetComponentCommand.js +39 -0
  44. package/dist-es/commands/GetThemeCommand.js +39 -0
  45. package/dist-es/commands/ListComponentsCommand.js +39 -0
  46. package/dist-es/commands/ListThemesCommand.js +39 -0
  47. package/dist-es/commands/RefreshTokenCommand.js +39 -0
  48. package/dist-es/commands/UpdateComponentCommand.js +39 -0
  49. package/dist-es/commands/UpdateThemeCommand.js +39 -0
  50. package/dist-es/commands/index.js +14 -0
  51. package/dist-es/endpoints.js +127 -0
  52. package/dist-es/index.js +5 -0
  53. package/dist-es/models/index.js +1 -0
  54. package/dist-es/models/models_0.js +222 -0
  55. package/dist-es/pagination/Interfaces.js +1 -0
  56. package/dist-es/pagination/ListComponentsPaginator.js +74 -0
  57. package/dist-es/pagination/ListThemesPaginator.js +74 -0
  58. package/dist-es/pagination/index.js +3 -0
  59. package/dist-es/protocols/Aws_restJson1.js +2546 -0
  60. package/dist-es/runtimeConfig.browser.js +17 -0
  61. package/dist-es/runtimeConfig.js +21 -0
  62. package/dist-es/runtimeConfig.native.js +8 -0
  63. package/dist-es/runtimeConfig.shared.js +13 -0
  64. package/dist-types/AmplifyUIBuilder.d.ts +116 -0
  65. package/dist-types/AmplifyUIBuilderClient.d.ts +163 -0
  66. package/dist-types/commands/CreateComponentCommand.d.ts +35 -0
  67. package/dist-types/commands/CreateThemeCommand.d.ts +35 -0
  68. package/dist-types/commands/DeleteComponentCommand.d.ts +35 -0
  69. package/dist-types/commands/DeleteThemeCommand.d.ts +35 -0
  70. package/dist-types/commands/ExchangeCodeForTokenCommand.d.ts +35 -0
  71. package/dist-types/commands/ExportComponentsCommand.d.ts +36 -0
  72. package/dist-types/commands/ExportThemesCommand.d.ts +36 -0
  73. package/dist-types/commands/GetComponentCommand.d.ts +35 -0
  74. package/dist-types/commands/GetThemeCommand.d.ts +35 -0
  75. package/dist-types/commands/ListComponentsCommand.d.ts +35 -0
  76. package/dist-types/commands/ListThemesCommand.d.ts +35 -0
  77. package/dist-types/commands/RefreshTokenCommand.d.ts +35 -0
  78. package/dist-types/commands/UpdateComponentCommand.d.ts +35 -0
  79. package/dist-types/commands/UpdateThemeCommand.d.ts +35 -0
  80. package/dist-types/commands/index.d.ts +14 -0
  81. package/dist-types/endpoints.d.ts +2 -0
  82. package/dist-types/index.d.ts +5 -0
  83. package/dist-types/models/index.d.ts +1 -0
  84. package/dist-types/models/models_0.d.ts +1342 -0
  85. package/dist-types/pagination/Interfaces.d.ts +6 -0
  86. package/dist-types/pagination/ListComponentsPaginator.d.ts +4 -0
  87. package/dist-types/pagination/ListThemesPaginator.d.ts +4 -0
  88. package/dist-types/pagination/index.d.ts +3 -0
  89. package/dist-types/protocols/Aws_restJson1.d.ts +44 -0
  90. package/dist-types/runtimeConfig.browser.d.ts +39 -0
  91. package/dist-types/runtimeConfig.d.ts +39 -0
  92. package/dist-types/runtimeConfig.native.d.ts +38 -0
  93. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  94. package/dist-types/ts3.4/AmplifyUIBuilder.d.ts +75 -0
  95. package/dist-types/ts3.4/AmplifyUIBuilderClient.d.ts +85 -0
  96. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +17 -0
  97. package/dist-types/ts3.4/commands/CreateThemeCommand.d.ts +17 -0
  98. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +17 -0
  99. package/dist-types/ts3.4/commands/DeleteThemeCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/ExchangeCodeForTokenCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/ExportComponentsCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/ExportThemesCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +17 -0
  104. package/dist-types/ts3.4/commands/GetThemeCommand.d.ts +17 -0
  105. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +17 -0
  106. package/dist-types/ts3.4/commands/ListThemesCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/RefreshTokenCommand.d.ts +17 -0
  108. package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +17 -0
  109. package/dist-types/ts3.4/commands/UpdateThemeCommand.d.ts +17 -0
  110. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  111. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  112. package/dist-types/ts3.4/index.d.ts +5 -0
  113. package/dist-types/ts3.4/models/index.d.ts +1 -0
  114. package/dist-types/ts3.4/models/models_0.d.ts +783 -0
  115. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  116. package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +4 -0
  117. package/dist-types/ts3.4/pagination/ListThemesPaginator.d.ts +4 -0
  118. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  119. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +44 -0
  120. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
  121. package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
  122. package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
  123. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  124. package/package.json +96 -0
@@ -0,0 +1,1342 @@
1
+ import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
+ /**
3
+ * <p>Associates a component property to a binding property. This enables exposed properties on
4
+ * the top level component to propagate data to the component's property values.</p>
5
+ */
6
+ export interface ComponentPropertyBindingProperties {
7
+ /**
8
+ * <p>The component property to bind to the data field.</p>
9
+ */
10
+ property: string | undefined;
11
+ /**
12
+ * <p>The data field to bind the property to.</p>
13
+ */
14
+ field?: string;
15
+ }
16
+ export declare namespace ComponentPropertyBindingProperties {
17
+ /**
18
+ * @internal
19
+ */
20
+ const filterSensitiveLog: (obj: ComponentPropertyBindingProperties) => any;
21
+ }
22
+ /**
23
+ * <p>Describes how to bind a component property to form data.</p>
24
+ */
25
+ export interface FormBindingElement {
26
+ /**
27
+ * <p>The name of the component to retrieve a value from.</p>
28
+ */
29
+ element: string | undefined;
30
+ /**
31
+ * <p>The property to retrieve a value from.</p>
32
+ */
33
+ property: string | undefined;
34
+ }
35
+ export declare namespace FormBindingElement {
36
+ /**
37
+ * @internal
38
+ */
39
+ const filterSensitiveLog: (obj: FormBindingElement) => any;
40
+ }
41
+ export declare type SortDirection = "ASC" | "DESC";
42
+ /**
43
+ * <p>Describes how to sort the data that you bind to a component.</p>
44
+ */
45
+ export interface SortProperty {
46
+ /**
47
+ * <p>The field to perform the sort on.</p>
48
+ */
49
+ field: string | undefined;
50
+ /**
51
+ * <p>The direction of the sort, either ascending or descending.</p>
52
+ */
53
+ direction: SortDirection | string | undefined;
54
+ }
55
+ export declare namespace SortProperty {
56
+ /**
57
+ * @internal
58
+ */
59
+ const filterSensitiveLog: (obj: SortProperty) => any;
60
+ }
61
+ /**
62
+ * <p>Describes the style configuration of a unique variation of a main component.</p>
63
+ */
64
+ export interface ComponentVariant {
65
+ /**
66
+ * <p>The combination of variants that comprise this variant.</p>
67
+ */
68
+ variantValues?: {
69
+ [key: string]: string;
70
+ };
71
+ /**
72
+ * <p>The properties of the component variant that can be overriden when customizing an instance
73
+ * of the component.</p>
74
+ */
75
+ overrides?: {
76
+ [key: string]: {
77
+ [key: string]: string;
78
+ };
79
+ };
80
+ }
81
+ export declare namespace ComponentVariant {
82
+ /**
83
+ * @internal
84
+ */
85
+ const filterSensitiveLog: (obj: ComponentVariant) => any;
86
+ }
87
+ /**
88
+ * <p>An internal error has occurred. Please retry your request.</p>
89
+ */
90
+ export interface InternalServerException extends __SmithyException, $MetadataBearer {
91
+ name: "InternalServerException";
92
+ $fault: "server";
93
+ message?: string;
94
+ }
95
+ export declare namespace InternalServerException {
96
+ /**
97
+ * @internal
98
+ */
99
+ const filterSensitiveLog: (obj: InternalServerException) => any;
100
+ }
101
+ /**
102
+ * <p>An invalid or out-of-range value was supplied for the input parameter.</p>
103
+ */
104
+ export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
105
+ name: "InvalidParameterException";
106
+ $fault: "client";
107
+ message?: string;
108
+ }
109
+ export declare namespace InvalidParameterException {
110
+ /**
111
+ * @internal
112
+ */
113
+ const filterSensitiveLog: (obj: InvalidParameterException) => any;
114
+ }
115
+ /**
116
+ * <p>The resource specified in the request conflicts with an existing resource.</p>
117
+ */
118
+ export interface ResourceConflictException extends __SmithyException, $MetadataBearer {
119
+ name: "ResourceConflictException";
120
+ $fault: "client";
121
+ message?: string;
122
+ }
123
+ export declare namespace ResourceConflictException {
124
+ /**
125
+ * @internal
126
+ */
127
+ const filterSensitiveLog: (obj: ResourceConflictException) => any;
128
+ }
129
+ /**
130
+ * <p>You exceeded your service quota. Service quotas, also referred to as limits, are the
131
+ * maximum number of service resources or operations for your Amazon Web Services account. </p>
132
+ */
133
+ export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
134
+ name: "ServiceQuotaExceededException";
135
+ $fault: "client";
136
+ message?: string;
137
+ }
138
+ export declare namespace ServiceQuotaExceededException {
139
+ /**
140
+ * @internal
141
+ */
142
+ const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
143
+ }
144
+ export interface DeleteComponentRequest {
145
+ /**
146
+ * <p>The unique ID of the Amplify app associated with the component to delete.</p>
147
+ */
148
+ appId: string | undefined;
149
+ /**
150
+ * <p>The name of the backend environment that is a part of the Amplify app.</p>
151
+ */
152
+ environmentName: string | undefined;
153
+ /**
154
+ * <p>The unique ID of the component to delete.</p>
155
+ */
156
+ id: string | undefined;
157
+ }
158
+ export declare namespace DeleteComponentRequest {
159
+ /**
160
+ * @internal
161
+ */
162
+ const filterSensitiveLog: (obj: DeleteComponentRequest) => any;
163
+ }
164
+ /**
165
+ * <p>The requested resource does not exist, or access was denied.</p>
166
+ */
167
+ export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
168
+ name: "ResourceNotFoundException";
169
+ $fault: "client";
170
+ message?: string;
171
+ }
172
+ export declare namespace ResourceNotFoundException {
173
+ /**
174
+ * @internal
175
+ */
176
+ const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
177
+ }
178
+ export interface ExportComponentsRequest {
179
+ /**
180
+ * <p>The unique ID of the Amplify app to export components to.</p>
181
+ */
182
+ appId: string | undefined;
183
+ /**
184
+ * <p>The name of the backend environment that is a part of the Amplify app.</p>
185
+ */
186
+ environmentName: string | undefined;
187
+ }
188
+ export declare namespace ExportComponentsRequest {
189
+ /**
190
+ * @internal
191
+ */
192
+ const filterSensitiveLog: (obj: ExportComponentsRequest) => any;
193
+ }
194
+ export interface GetComponentRequest {
195
+ /**
196
+ * <p>The unique ID of the Amplify app.</p>
197
+ */
198
+ appId: string | undefined;
199
+ /**
200
+ * <p>The name of the backend environment that is part of the Amplify app.</p>
201
+ */
202
+ environmentName: string | undefined;
203
+ /**
204
+ * <p>The unique ID of the component.</p>
205
+ */
206
+ id: string | undefined;
207
+ }
208
+ export declare namespace GetComponentRequest {
209
+ /**
210
+ * @internal
211
+ */
212
+ const filterSensitiveLog: (obj: GetComponentRequest) => any;
213
+ }
214
+ export interface ListComponentsRequest {
215
+ /**
216
+ * <p>The unique ID for the Amplify app.</p>
217
+ */
218
+ appId: string | undefined;
219
+ /**
220
+ * <p>The name of the backend environment that is a part of the Amplify app.</p>
221
+ */
222
+ environmentName: string | undefined;
223
+ /**
224
+ * <p>The token to request the next page of results.</p>
225
+ */
226
+ nextToken?: string;
227
+ /**
228
+ * <p>The maximum number of components to retrieve.</p>
229
+ */
230
+ maxResults?: number;
231
+ }
232
+ export declare namespace ListComponentsRequest {
233
+ /**
234
+ * @internal
235
+ */
236
+ const filterSensitiveLog: (obj: ListComponentsRequest) => any;
237
+ }
238
+ /**
239
+ * <p>Contains a summary of a component. This is a read-only data type that is returned by
240
+ * <code>ListComponents</code>.</p>
241
+ */
242
+ export interface ComponentSummary {
243
+ /**
244
+ * <p>The unique ID of the Amplify app associated with the component.</p>
245
+ */
246
+ appId: string | undefined;
247
+ /**
248
+ * <p>The name of the backend environment that is a part of the Amplify app.</p>
249
+ */
250
+ environmentName: string | undefined;
251
+ /**
252
+ * <p>The unique ID of the component.</p>
253
+ */
254
+ id: string | undefined;
255
+ /**
256
+ * <p>The name of the component.</p>
257
+ */
258
+ name: string | undefined;
259
+ /**
260
+ * <p>The component type.</p>
261
+ */
262
+ componentType: string | undefined;
263
+ }
264
+ export declare namespace ComponentSummary {
265
+ /**
266
+ * @internal
267
+ */
268
+ const filterSensitiveLog: (obj: ComponentSummary) => any;
269
+ }
270
+ export interface ListComponentsResponse {
271
+ /**
272
+ * <p>The list of components for the Amplify app.</p>
273
+ */
274
+ entities: ComponentSummary[] | undefined;
275
+ /**
276
+ * <p>The pagination token that's included if more results are available.</p>
277
+ */
278
+ nextToken?: string;
279
+ }
280
+ export declare namespace ListComponentsResponse {
281
+ /**
282
+ * @internal
283
+ */
284
+ const filterSensitiveLog: (obj: ListComponentsResponse) => any;
285
+ }
286
+ export declare enum TokenProviders {
287
+ /**
288
+ * The figma token provider.
289
+ */
290
+ FIGMA = "figma"
291
+ }
292
+ /**
293
+ * <p>Describes the configuration of a request to exchange an access code for a token.</p>
294
+ */
295
+ export interface ExchangeCodeForTokenRequestBody {
296
+ /**
297
+ * <p>The access code to send in the request.</p>
298
+ */
299
+ code: string | undefined;
300
+ /**
301
+ * <p>The location of the application that will receive the access code.</p>
302
+ */
303
+ redirectUri: string | undefined;
304
+ }
305
+ export declare namespace ExchangeCodeForTokenRequestBody {
306
+ /**
307
+ * @internal
308
+ */
309
+ const filterSensitiveLog: (obj: ExchangeCodeForTokenRequestBody) => any;
310
+ }
311
+ export interface ExchangeCodeForTokenRequest {
312
+ /**
313
+ * <p>The third-party provider for the token. The only valid value is <code>figma</code>.</p>
314
+ */
315
+ provider: TokenProviders | string | undefined;
316
+ /**
317
+ * <p>Describes the configuration of the request.</p>
318
+ */
319
+ request: ExchangeCodeForTokenRequestBody | undefined;
320
+ }
321
+ export declare namespace ExchangeCodeForTokenRequest {
322
+ /**
323
+ * @internal
324
+ */
325
+ const filterSensitiveLog: (obj: ExchangeCodeForTokenRequest) => any;
326
+ }
327
+ export interface ExchangeCodeForTokenResponse {
328
+ /**
329
+ * <p>The access token.</p>
330
+ */
331
+ accessToken: string | undefined;
332
+ /**
333
+ * <p>The date and time when the new access token expires.</p>
334
+ */
335
+ expiresIn: number | undefined;
336
+ /**
337
+ * <p>The token to use to refresh a previously issued access token that might have
338
+ * expired.</p>
339
+ */
340
+ refreshToken: string | undefined;
341
+ }
342
+ export declare namespace ExchangeCodeForTokenResponse {
343
+ /**
344
+ * @internal
345
+ */
346
+ const filterSensitiveLog: (obj: ExchangeCodeForTokenResponse) => any;
347
+ }
348
+ /**
349
+ * <p>Describes a refresh token.</p>
350
+ */
351
+ export interface RefreshTokenRequestBody {
352
+ /**
353
+ * <p>The token to use to refresh a previously issued access token that might have
354
+ * expired.</p>
355
+ */
356
+ token: string | undefined;
357
+ }
358
+ export declare namespace RefreshTokenRequestBody {
359
+ /**
360
+ * @internal
361
+ */
362
+ const filterSensitiveLog: (obj: RefreshTokenRequestBody) => any;
363
+ }
364
+ export interface RefreshTokenRequest {
365
+ /**
366
+ * <p>The third-party provider for the token. The only valid value is <code>figma</code>.</p>
367
+ */
368
+ provider: TokenProviders | string | undefined;
369
+ /**
370
+ * <p>Information about the refresh token request.</p>
371
+ */
372
+ refreshTokenBody: RefreshTokenRequestBody | undefined;
373
+ }
374
+ export declare namespace RefreshTokenRequest {
375
+ /**
376
+ * @internal
377
+ */
378
+ const filterSensitiveLog: (obj: RefreshTokenRequest) => any;
379
+ }
380
+ export interface RefreshTokenResponse {
381
+ /**
382
+ * <p>The access token.</p>
383
+ */
384
+ accessToken: string | undefined;
385
+ /**
386
+ * <p>The date and time when the new access token expires.</p>
387
+ */
388
+ expiresIn: number | undefined;
389
+ }
390
+ export declare namespace RefreshTokenResponse {
391
+ /**
392
+ * @internal
393
+ */
394
+ const filterSensitiveLog: (obj: RefreshTokenResponse) => any;
395
+ }
396
+ export interface DeleteThemeRequest {
397
+ /**
398
+ * <p>The unique ID of the Amplify app associated with the theme to delete.</p>
399
+ */
400
+ appId: string | undefined;
401
+ /**
402
+ * <p>The name of the backend environment that is a part of the Amplify app.</p>
403
+ */
404
+ environmentName: string | undefined;
405
+ /**
406
+ * <p>The unique ID of the theme to delete.</p>
407
+ */
408
+ id: string | undefined;
409
+ }
410
+ export declare namespace DeleteThemeRequest {
411
+ /**
412
+ * @internal
413
+ */
414
+ const filterSensitiveLog: (obj: DeleteThemeRequest) => any;
415
+ }
416
+ export interface ExportThemesRequest {
417
+ /**
418
+ * <p>The unique ID of the Amplify app to export the themes to.</p>
419
+ */
420
+ appId: string | undefined;
421
+ /**
422
+ * <p>The name of the backend environment that is part of the Amplify app.</p>
423
+ */
424
+ environmentName: string | undefined;
425
+ }
426
+ export declare namespace ExportThemesRequest {
427
+ /**
428
+ * @internal
429
+ */
430
+ const filterSensitiveLog: (obj: ExportThemesRequest) => any;
431
+ }
432
+ export interface GetThemeRequest {
433
+ /**
434
+ * <p>The unique ID of the Amplify app.</p>
435
+ */
436
+ appId: string | undefined;
437
+ /**
438
+ * <p>The name of the backend environment that is part of the Amplify app.</p>
439
+ */
440
+ environmentName: string | undefined;
441
+ /**
442
+ * <p>The unique ID for the theme.</p>
443
+ */
444
+ id: string | undefined;
445
+ }
446
+ export declare namespace GetThemeRequest {
447
+ /**
448
+ * @internal
449
+ */
450
+ const filterSensitiveLog: (obj: GetThemeRequest) => any;
451
+ }
452
+ export interface ListThemesRequest {
453
+ /**
454
+ * <p>The unique ID for the Amplify app.</p>
455
+ */
456
+ appId: string | undefined;
457
+ /**
458
+ * <p>The name of the backend environment that is a part of the Amplify app.</p>
459
+ */
460
+ environmentName: string | undefined;
461
+ /**
462
+ * <p>The token to request the next page of results.</p>
463
+ */
464
+ nextToken?: string;
465
+ /**
466
+ * <p>The maximum number of theme results to return in the response.</p>
467
+ */
468
+ maxResults?: number;
469
+ }
470
+ export declare namespace ListThemesRequest {
471
+ /**
472
+ * @internal
473
+ */
474
+ const filterSensitiveLog: (obj: ListThemesRequest) => any;
475
+ }
476
+ /**
477
+ * <p>Describes the basic information about a theme.</p>
478
+ */
479
+ export interface ThemeSummary {
480
+ /**
481
+ * <p>The unique ID for the app associated with the theme summary.</p>
482
+ */
483
+ appId: string | undefined;
484
+ /**
485
+ * <p>The name of the backend environment that is part of the Amplify app.</p>
486
+ */
487
+ environmentName: string | undefined;
488
+ /**
489
+ * <p>The ID of the theme.</p>
490
+ */
491
+ id: string | undefined;
492
+ /**
493
+ * <p>The name of the theme.</p>
494
+ */
495
+ name: string | undefined;
496
+ }
497
+ export declare namespace ThemeSummary {
498
+ /**
499
+ * @internal
500
+ */
501
+ const filterSensitiveLog: (obj: ThemeSummary) => any;
502
+ }
503
+ export interface ListThemesResponse {
504
+ /**
505
+ * <p>The list of themes for the Amplify app.</p>
506
+ */
507
+ entities: ThemeSummary[] | undefined;
508
+ /**
509
+ * <p>The pagination token that's returned if more results are available.</p>
510
+ */
511
+ nextToken?: string;
512
+ }
513
+ export declare namespace ListThemesResponse {
514
+ /**
515
+ * @internal
516
+ */
517
+ const filterSensitiveLog: (obj: ListThemesResponse) => any;
518
+ }
519
+ /**
520
+ * <p>Describes the configuration of a theme's properties.</p>
521
+ */
522
+ export interface ThemeValue {
523
+ /**
524
+ * <p>The value of a theme property.</p>
525
+ */
526
+ value?: string;
527
+ /**
528
+ * <p>A list of key-value pairs that define the theme's properties.</p>
529
+ */
530
+ children?: ThemeValues[];
531
+ }
532
+ export declare namespace ThemeValue {
533
+ /**
534
+ * @internal
535
+ */
536
+ const filterSensitiveLog: (obj: ThemeValue) => any;
537
+ }
538
+ /**
539
+ * <p>A key-value pair that defines a property of a theme.</p>
540
+ */
541
+ export interface ThemeValues {
542
+ /**
543
+ * <p>The name of the property.</p>
544
+ */
545
+ key?: string;
546
+ /**
547
+ * <p>The value of the property.</p>
548
+ */
549
+ value?: ThemeValue;
550
+ }
551
+ export declare namespace ThemeValues {
552
+ /**
553
+ * @internal
554
+ */
555
+ const filterSensitiveLog: (obj: ThemeValues) => any;
556
+ }
557
+ /**
558
+ * <p>Stores information for generating Amplify DataStore queries. Use a <code>Predicate</code>
559
+ * to retrieve a subset of the data in a collection.</p>
560
+ */
561
+ export interface Predicate {
562
+ /**
563
+ * <p>A list of predicates to combine logically.</p>
564
+ */
565
+ or?: Predicate[];
566
+ /**
567
+ * <p>A list of predicates to combine logically.</p>
568
+ */
569
+ and?: Predicate[];
570
+ /**
571
+ * <p>The field to query.</p>
572
+ */
573
+ field?: string;
574
+ /**
575
+ * <p>The operator to use to perform the evaluation.</p>
576
+ */
577
+ operator?: string;
578
+ /**
579
+ * <p>The value to use when performing the evaluation.</p>
580
+ */
581
+ operand?: string;
582
+ }
583
+ export declare namespace Predicate {
584
+ /**
585
+ * @internal
586
+ */
587
+ const filterSensitiveLog: (obj: Predicate) => any;
588
+ }
589
+ /**
590
+ * <p>Represents the data binding configuration for a specific property using data stored in
591
+ * Amazon Web Services. For Amazon Web Services connected properties, you can bind a property to
592
+ * data stored in an Amazon S3 bucket, an Amplify DataStore model or an
593
+ * authenticated user attribute.</p>
594
+ */
595
+ export interface ComponentBindingPropertiesValueProperties {
596
+ /**
597
+ * <p>An Amplify DataStore model.</p>
598
+ */
599
+ model?: string;
600
+ /**
601
+ * <p>The field to bind the data to.</p>
602
+ */
603
+ field?: string;
604
+ /**
605
+ * <p>A list of predicates for binding a component's properties to data.</p>
606
+ */
607
+ predicates?: Predicate[];
608
+ /**
609
+ * <p>An authenticated user attribute.</p>
610
+ */
611
+ userAttribute?: string;
612
+ /**
613
+ * <p>An Amazon S3 bucket.</p>
614
+ */
615
+ bucket?: string;
616
+ /**
617
+ * <p>The storage key for an Amazon S3 bucket.</p>
618
+ */
619
+ key?: string;
620
+ /**
621
+ * <p>The default value to assign to the property.</p>
622
+ */
623
+ defaultValue?: string;
624
+ }
625
+ export declare namespace ComponentBindingPropertiesValueProperties {
626
+ /**
627
+ * @internal
628
+ */
629
+ const filterSensitiveLog: (obj: ComponentBindingPropertiesValueProperties) => any;
630
+ }
631
+ /**
632
+ * <p>Describes the configuration for binding a component's properties to data.</p>
633
+ */
634
+ export interface ComponentDataConfiguration {
635
+ /**
636
+ * <p>The name of the data model to use to bind data to a component.</p>
637
+ */
638
+ model: string | undefined;
639
+ /**
640
+ * <p>Describes how to sort the component's properties.</p>
641
+ */
642
+ sort?: SortProperty[];
643
+ /**
644
+ * <p>Represents the conditional logic to use when binding data to a component. Use this
645
+ * property to retrieve only a subset of the data in a collection.</p>
646
+ */
647
+ predicate?: Predicate;
648
+ /**
649
+ * <p>A list of IDs to use to bind data to a component. Use this property to bind specifically
650
+ * chosen data, rather than data retrieved from a query.</p>
651
+ */
652
+ identifiers?: string[];
653
+ }
654
+ export declare namespace ComponentDataConfiguration {
655
+ /**
656
+ * @internal
657
+ */
658
+ const filterSensitiveLog: (obj: ComponentDataConfiguration) => any;
659
+ }
660
+ /**
661
+ * <p>Describes the configuration for all of a component's properties. Use
662
+ * <code>ComponentProperty</code> to specify the values to render or bind by
663
+ * default.</p>
664
+ */
665
+ export interface ComponentProperty {
666
+ /**
667
+ * <p>The value to assign to the component property.</p>
668
+ */
669
+ value?: string;
670
+ /**
671
+ * <p>The information to bind the component property to data at runtime.</p>
672
+ */
673
+ bindingProperties?: ComponentPropertyBindingProperties;
674
+ /**
675
+ * <p>The information to bind the component property to data at runtime. Use this for collection components.</p>
676
+ */
677
+ collectionBindingProperties?: ComponentPropertyBindingProperties;
678
+ /**
679
+ * <p>The default value to assign to the component property.</p>
680
+ */
681
+ defaultValue?: string;
682
+ /**
683
+ * <p>The data model to use to assign a value to the component property.</p>
684
+ */
685
+ model?: string;
686
+ /**
687
+ * <p>The information to bind the component property to form data.</p>
688
+ */
689
+ bindings?: {
690
+ [key: string]: FormBindingElement;
691
+ };
692
+ /**
693
+ * <p>An event that occurs in your app. Use this for workflow data binding.</p>
694
+ */
695
+ event?: string;
696
+ /**
697
+ * <p>An authenticated user attribute to use to assign a value to the component property.</p>
698
+ */
699
+ userAttribute?: string;
700
+ /**
701
+ * <p>A list of component properties to concatenate to create the value to assign to this component property.</p>
702
+ */
703
+ concat?: ComponentProperty[];
704
+ /**
705
+ * <p>The conditional expression to use to assign a value to the component property..</p>
706
+ */
707
+ condition?: ComponentConditionProperty;
708
+ /**
709
+ * <p>Specifies whether the user configured the property in Amplify Studio after importing it.</p>
710
+ */
711
+ configured?: boolean;
712
+ /**
713
+ * <p>The component type.</p>
714
+ */
715
+ type?: string;
716
+ /**
717
+ * <p>The default value assigned to property when the component is imported into an app.</p>
718
+ */
719
+ importedValue?: string;
720
+ }
721
+ export declare namespace ComponentProperty {
722
+ /**
723
+ * @internal
724
+ */
725
+ const filterSensitiveLog: (obj: ComponentProperty) => any;
726
+ }
727
+ /**
728
+ * <p>Represents the data binding configuration for a component at runtime. You can use
729
+ * <code>ComponentBindingPropertiesValue</code> to add exposed properties to a component to
730
+ * allow different values to be entered when a component is reused in different places in an
731
+ * app.</p>
732
+ */
733
+ export interface ComponentBindingPropertiesValue {
734
+ /**
735
+ * <p>The property type.</p>
736
+ */
737
+ type?: string;
738
+ /**
739
+ * <p>Describes the properties to customize with data at runtime.</p>
740
+ */
741
+ bindingProperties?: ComponentBindingPropertiesValueProperties;
742
+ /**
743
+ * <p>The default value of the property.</p>
744
+ */
745
+ defaultValue?: string;
746
+ }
747
+ export declare namespace ComponentBindingPropertiesValue {
748
+ /**
749
+ * @internal
750
+ */
751
+ const filterSensitiveLog: (obj: ComponentBindingPropertiesValue) => any;
752
+ }
753
+ /**
754
+ * <p>Represents all of the information that is required to create a theme.</p>
755
+ */
756
+ export interface CreateThemeData {
757
+ /**
758
+ * <p>The name of the theme.</p>
759
+ */
760
+ name: string | undefined;
761
+ /**
762
+ * <p>A list of key-value pairs that defines the properties of the theme.</p>
763
+ */
764
+ values: ThemeValues[] | undefined;
765
+ /**
766
+ * <p>Describes the properties that can be overriden to customize an instance of the
767
+ * theme.</p>
768
+ */
769
+ overrides?: ThemeValues[];
770
+ /**
771
+ * <p>One or more key-value pairs to use when tagging the theme data.</p>
772
+ */
773
+ tags?: {
774
+ [key: string]: string;
775
+ };
776
+ }
777
+ export declare namespace CreateThemeData {
778
+ /**
779
+ * @internal
780
+ */
781
+ const filterSensitiveLog: (obj: CreateThemeData) => any;
782
+ }
783
+ /**
784
+ * <p>A theme is a collection of style settings that apply globally to the components associated
785
+ * with an Amplify application.</p>
786
+ */
787
+ export interface Theme {
788
+ /**
789
+ * <p>The unique ID for the Amplify app associated with the theme.</p>
790
+ */
791
+ appId: string | undefined;
792
+ /**
793
+ * <p>The name of the backend environment that is a part of the Amplify app.</p>
794
+ */
795
+ environmentName: string | undefined;
796
+ /**
797
+ * <p>The ID for the theme.</p>
798
+ */
799
+ id: string | undefined;
800
+ /**
801
+ * <p>The name of the theme.</p>
802
+ */
803
+ name: string | undefined;
804
+ /**
805
+ * <p>The time that the theme was created.</p>
806
+ */
807
+ createdAt: Date | undefined;
808
+ /**
809
+ * <p>The time that the theme was modified.</p>
810
+ */
811
+ modifiedAt?: Date;
812
+ /**
813
+ * <p>A list of key-value pairs that defines the properties of the theme.</p>
814
+ */
815
+ values: ThemeValues[] | undefined;
816
+ /**
817
+ * <p>Describes the properties that can be overriden to customize a theme.</p>
818
+ */
819
+ overrides?: ThemeValues[];
820
+ /**
821
+ * <p>One or more key-value pairs to use when tagging the theme.</p>
822
+ */
823
+ tags?: {
824
+ [key: string]: string;
825
+ };
826
+ }
827
+ export declare namespace Theme {
828
+ /**
829
+ * @internal
830
+ */
831
+ const filterSensitiveLog: (obj: Theme) => any;
832
+ }
833
+ /**
834
+ * <p>Saves the data binding information for a theme.</p>
835
+ */
836
+ export interface UpdateThemeData {
837
+ /**
838
+ * <p>The unique ID of the theme to update.</p>
839
+ */
840
+ id?: string;
841
+ /**
842
+ * <p>The name of the theme to update.</p>
843
+ */
844
+ name?: string;
845
+ /**
846
+ * <p>A list of key-value pairs that define the theme's properties.</p>
847
+ */
848
+ values: ThemeValues[] | undefined;
849
+ /**
850
+ * <p>Describes the properties that can be overriden to customize the theme.</p>
851
+ */
852
+ overrides?: ThemeValues[];
853
+ }
854
+ export declare namespace UpdateThemeData {
855
+ /**
856
+ * @internal
857
+ */
858
+ const filterSensitiveLog: (obj: UpdateThemeData) => any;
859
+ }
860
+ /**
861
+ * <p>Represents a conditional expression to set a component property. Use
862
+ * <code>ComponentConditionProperty</code> to set a property to different values conditionally,
863
+ * based on the value of another property.</p>
864
+ */
865
+ export interface ComponentConditionProperty {
866
+ /**
867
+ * <p>The name of the conditional property.</p>
868
+ */
869
+ property?: string;
870
+ /**
871
+ * <p>The name of a field. Specify this when the property is a data model.</p>
872
+ */
873
+ field?: string;
874
+ /**
875
+ * <p>The operator to use to perform the evaluation, such as <code>eq</code> to represent
876
+ * equals.</p>
877
+ */
878
+ operator?: string;
879
+ /**
880
+ * <p>The value of the property to evaluate.</p>
881
+ */
882
+ operand?: string;
883
+ /**
884
+ * <p>The value to assign to the property if the condition is met.</p>
885
+ */
886
+ then?: ComponentProperty;
887
+ /**
888
+ * <p>The value to assign to the property if the condition is not met.</p>
889
+ */
890
+ else?: ComponentProperty;
891
+ }
892
+ export declare namespace ComponentConditionProperty {
893
+ /**
894
+ * @internal
895
+ */
896
+ const filterSensitiveLog: (obj: ComponentConditionProperty) => any;
897
+ }
898
+ export interface CreateThemeRequest {
899
+ /**
900
+ * <p>The unique ID of the Amplify app associated with the theme.</p>
901
+ */
902
+ appId: string | undefined;
903
+ /**
904
+ * <p>The name of the backend environment that is a part of the Amplify app.</p>
905
+ */
906
+ environmentName: string | undefined;
907
+ /**
908
+ * <p>The unique client token.</p>
909
+ */
910
+ clientToken?: string;
911
+ /**
912
+ * <p>Represents the configuration of the theme to create.</p>
913
+ */
914
+ themeToCreate: CreateThemeData | undefined;
915
+ }
916
+ export declare namespace CreateThemeRequest {
917
+ /**
918
+ * @internal
919
+ */
920
+ const filterSensitiveLog: (obj: CreateThemeRequest) => any;
921
+ }
922
+ export interface CreateThemeResponse {
923
+ /**
924
+ * <p>Describes the configuration of the new theme.</p>
925
+ */
926
+ entity?: Theme;
927
+ }
928
+ export declare namespace CreateThemeResponse {
929
+ /**
930
+ * @internal
931
+ */
932
+ const filterSensitiveLog: (obj: CreateThemeResponse) => any;
933
+ }
934
+ export interface GetThemeResponse {
935
+ /**
936
+ * <p>Represents the configuration settings for the theme.</p>
937
+ */
938
+ theme?: Theme;
939
+ }
940
+ export declare namespace GetThemeResponse {
941
+ /**
942
+ * @internal
943
+ */
944
+ const filterSensitiveLog: (obj: GetThemeResponse) => any;
945
+ }
946
+ export interface UpdateThemeRequest {
947
+ /**
948
+ * <p>The unique ID for the Amplify app.</p>
949
+ */
950
+ appId: string | undefined;
951
+ /**
952
+ * <p>The name of the backend environment that is part of the Amplify app.</p>
953
+ */
954
+ environmentName: string | undefined;
955
+ /**
956
+ * <p>The unique ID for the theme.</p>
957
+ */
958
+ id: string | undefined;
959
+ /**
960
+ * <p>The unique client token.</p>
961
+ */
962
+ clientToken?: string;
963
+ /**
964
+ * <p>The configuration of the updated theme.</p>
965
+ */
966
+ updatedTheme: UpdateThemeData | undefined;
967
+ }
968
+ export declare namespace UpdateThemeRequest {
969
+ /**
970
+ * @internal
971
+ */
972
+ const filterSensitiveLog: (obj: UpdateThemeRequest) => any;
973
+ }
974
+ export interface UpdateThemeResponse {
975
+ /**
976
+ * <p>Describes the configuration of the updated theme.</p>
977
+ */
978
+ entity?: Theme;
979
+ }
980
+ export declare namespace UpdateThemeResponse {
981
+ /**
982
+ * @internal
983
+ */
984
+ const filterSensitiveLog: (obj: UpdateThemeResponse) => any;
985
+ }
986
+ export interface ExportThemesResponse {
987
+ /**
988
+ * <p>Represents the configuration of the exported themes.</p>
989
+ */
990
+ entities: Theme[] | undefined;
991
+ }
992
+ export declare namespace ExportThemesResponse {
993
+ /**
994
+ * @internal
995
+ */
996
+ const filterSensitiveLog: (obj: ExportThemesResponse) => any;
997
+ }
998
+ /**
999
+ * <p>A nested UI configuration within a parent <code>Component</code>.</p>
1000
+ */
1001
+ export interface ComponentChild {
1002
+ /**
1003
+ * <p>The type of the child component. </p>
1004
+ */
1005
+ componentType: string | undefined;
1006
+ /**
1007
+ * <p>The name of the child component.</p>
1008
+ */
1009
+ name: string | undefined;
1010
+ /**
1011
+ * <p>Describes the properties of the child component.</p>
1012
+ */
1013
+ properties: {
1014
+ [key: string]: ComponentProperty;
1015
+ } | undefined;
1016
+ /**
1017
+ * <p>The list of <code>ComponentChild</code> instances for this component.</p>
1018
+ */
1019
+ children?: ComponentChild[];
1020
+ }
1021
+ export declare namespace ComponentChild {
1022
+ /**
1023
+ * @internal
1024
+ */
1025
+ const filterSensitiveLog: (obj: ComponentChild) => any;
1026
+ }
1027
+ /**
1028
+ * <p>Contains the configuration settings for a user interface (UI) element for an Amplify app. A
1029
+ * component is configured as a primary, stand-alone UI element. Use <code>ComponentChild</code>
1030
+ * to configure an instance of a <code>Component</code>. A <code>ComponentChild</code> instance
1031
+ * inherits the configuration of the main <code>Component</code>.</p>
1032
+ */
1033
+ export interface Component {
1034
+ /**
1035
+ * <p>The unique ID of the Amplify app associated with the component.</p>
1036
+ */
1037
+ appId: string | undefined;
1038
+ /**
1039
+ * <p>The name of the backend environment that is a part of the Amplify app.</p>
1040
+ */
1041
+ environmentName: string | undefined;
1042
+ /**
1043
+ * <p>The unique ID of the component in its original source system, such as Figma.</p>
1044
+ */
1045
+ sourceId?: string;
1046
+ /**
1047
+ * <p>The unique ID of the component.</p>
1048
+ */
1049
+ id: string | undefined;
1050
+ /**
1051
+ * <p>The name of the component.</p>
1052
+ */
1053
+ name: string | undefined;
1054
+ /**
1055
+ * <p>The type of the component. This can be an Amplify custom UI component or another custom
1056
+ * component.</p>
1057
+ */
1058
+ componentType: string | undefined;
1059
+ /**
1060
+ * <p>Describes the component's properties.</p>
1061
+ */
1062
+ properties: {
1063
+ [key: string]: ComponentProperty;
1064
+ } | undefined;
1065
+ /**
1066
+ * <p>A list of the component's <code>ComponentChild</code> instances.</p>
1067
+ */
1068
+ children?: ComponentChild[];
1069
+ /**
1070
+ * <p>A list of the component's variants. A variant is a unique style configuration of a
1071
+ * main component.</p>
1072
+ */
1073
+ variants: ComponentVariant[] | undefined;
1074
+ /**
1075
+ * <p>Describes the component's properties that can be overriden in a customized instance of the
1076
+ * component.</p>
1077
+ */
1078
+ overrides: {
1079
+ [key: string]: {
1080
+ [key: string]: string;
1081
+ };
1082
+ } | undefined;
1083
+ /**
1084
+ * <p>The information to connect a component's properties to data at runtime.</p>
1085
+ */
1086
+ bindingProperties: {
1087
+ [key: string]: ComponentBindingPropertiesValue;
1088
+ } | undefined;
1089
+ /**
1090
+ * <p>The data binding configuration for the component's properties. Use this for a collection component.</p>
1091
+ */
1092
+ collectionProperties?: {
1093
+ [key: string]: ComponentDataConfiguration;
1094
+ };
1095
+ /**
1096
+ * <p>The time that the component was created.</p>
1097
+ */
1098
+ createdAt: Date | undefined;
1099
+ /**
1100
+ * <p>The time that the component was modified.</p>
1101
+ */
1102
+ modifiedAt?: Date;
1103
+ /**
1104
+ * <p>One or more key-value pairs to use when tagging the component.</p>
1105
+ */
1106
+ tags?: {
1107
+ [key: string]: string;
1108
+ };
1109
+ }
1110
+ export declare namespace Component {
1111
+ /**
1112
+ * @internal
1113
+ */
1114
+ const filterSensitiveLog: (obj: Component) => any;
1115
+ }
1116
+ /**
1117
+ * <p>Represents all of the information that is required to create a component.</p>
1118
+ */
1119
+ export interface CreateComponentData {
1120
+ /**
1121
+ * <p>The name of the component</p>
1122
+ */
1123
+ name: string | undefined;
1124
+ /**
1125
+ * <p>The unique ID of the component in its original source system, such as Figma.</p>
1126
+ */
1127
+ sourceId?: string;
1128
+ /**
1129
+ * <p>The component type. This can be an Amplify custom UI component or another custom
1130
+ * component.</p>
1131
+ */
1132
+ componentType: string | undefined;
1133
+ /**
1134
+ * <p>Describes the component's properties.</p>
1135
+ */
1136
+ properties: {
1137
+ [key: string]: ComponentProperty;
1138
+ } | undefined;
1139
+ /**
1140
+ * <p>A list of child components that are instances of the main component.</p>
1141
+ */
1142
+ children?: ComponentChild[];
1143
+ /**
1144
+ * <p>A list of the unique variants of this component.</p>
1145
+ */
1146
+ variants: ComponentVariant[] | undefined;
1147
+ /**
1148
+ * <p>Describes the component properties that can be overriden to customize an instance of the
1149
+ * component.</p>
1150
+ */
1151
+ overrides: {
1152
+ [key: string]: {
1153
+ [key: string]: string;
1154
+ };
1155
+ } | undefined;
1156
+ /**
1157
+ * <p>The data binding information for the component's properties.</p>
1158
+ */
1159
+ bindingProperties: {
1160
+ [key: string]: ComponentBindingPropertiesValue;
1161
+ } | undefined;
1162
+ /**
1163
+ * <p>The data binding configuration for customizing a component's properties. Use this for a collection component.</p>
1164
+ */
1165
+ collectionProperties?: {
1166
+ [key: string]: ComponentDataConfiguration;
1167
+ };
1168
+ /**
1169
+ * <p>One or more key-value pairs to use when tagging the component data.</p>
1170
+ */
1171
+ tags?: {
1172
+ [key: string]: string;
1173
+ };
1174
+ }
1175
+ export declare namespace CreateComponentData {
1176
+ /**
1177
+ * @internal
1178
+ */
1179
+ const filterSensitiveLog: (obj: CreateComponentData) => any;
1180
+ }
1181
+ /**
1182
+ * <p>Updates and saves all of the information about a component, based on component ID.</p>
1183
+ */
1184
+ export interface UpdateComponentData {
1185
+ /**
1186
+ * <p>The unique ID of the component to update.</p>
1187
+ */
1188
+ id?: string;
1189
+ /**
1190
+ * <p>The name of the component to update.</p>
1191
+ */
1192
+ name?: string;
1193
+ /**
1194
+ * <p>The unique ID of the component in its original source system, such as Figma.</p>
1195
+ */
1196
+ sourceId?: string;
1197
+ /**
1198
+ * <p>The type of the component. This can be an Amplify custom UI component or another custom
1199
+ * component.</p>
1200
+ */
1201
+ componentType?: string;
1202
+ /**
1203
+ * <p>Describes the component's properties.</p>
1204
+ */
1205
+ properties?: {
1206
+ [key: string]: ComponentProperty;
1207
+ };
1208
+ /**
1209
+ * <p>The components that are instances of the main component.</p>
1210
+ */
1211
+ children?: ComponentChild[];
1212
+ /**
1213
+ * <p>A list of the unique variants of the main component being updated.</p>
1214
+ */
1215
+ variants?: ComponentVariant[];
1216
+ /**
1217
+ * <p>Describes the properties that can be overriden to customize the component.</p>
1218
+ */
1219
+ overrides?: {
1220
+ [key: string]: {
1221
+ [key: string]: string;
1222
+ };
1223
+ };
1224
+ /**
1225
+ * <p>The data binding information for the component's properties.</p>
1226
+ */
1227
+ bindingProperties?: {
1228
+ [key: string]: ComponentBindingPropertiesValue;
1229
+ };
1230
+ /**
1231
+ * <p>The configuration for binding a component's properties to a data model. Use this for a collection component.</p>
1232
+ */
1233
+ collectionProperties?: {
1234
+ [key: string]: ComponentDataConfiguration;
1235
+ };
1236
+ }
1237
+ export declare namespace UpdateComponentData {
1238
+ /**
1239
+ * @internal
1240
+ */
1241
+ const filterSensitiveLog: (obj: UpdateComponentData) => any;
1242
+ }
1243
+ export interface CreateComponentRequest {
1244
+ /**
1245
+ * <p>The unique ID of the Amplify app to associate with the component.</p>
1246
+ */
1247
+ appId: string | undefined;
1248
+ /**
1249
+ * <p>The name of the backend environment that is a part of the Amplify app.</p>
1250
+ */
1251
+ environmentName: string | undefined;
1252
+ /**
1253
+ * <p>The unique client token.</p>
1254
+ */
1255
+ clientToken?: string;
1256
+ /**
1257
+ * <p>Represents the configuration of the component to create.</p>
1258
+ */
1259
+ componentToCreate: CreateComponentData | undefined;
1260
+ }
1261
+ export declare namespace CreateComponentRequest {
1262
+ /**
1263
+ * @internal
1264
+ */
1265
+ const filterSensitiveLog: (obj: CreateComponentRequest) => any;
1266
+ }
1267
+ export interface CreateComponentResponse {
1268
+ /**
1269
+ * <p>Describes the configuration of the new component.</p>
1270
+ */
1271
+ entity?: Component;
1272
+ }
1273
+ export declare namespace CreateComponentResponse {
1274
+ /**
1275
+ * @internal
1276
+ */
1277
+ const filterSensitiveLog: (obj: CreateComponentResponse) => any;
1278
+ }
1279
+ export interface GetComponentResponse {
1280
+ /**
1281
+ * <p>Represents the configuration settings for the component.</p>
1282
+ */
1283
+ component?: Component;
1284
+ }
1285
+ export declare namespace GetComponentResponse {
1286
+ /**
1287
+ * @internal
1288
+ */
1289
+ const filterSensitiveLog: (obj: GetComponentResponse) => any;
1290
+ }
1291
+ export interface UpdateComponentRequest {
1292
+ /**
1293
+ * <p>The unique ID for the Amplify app.</p>
1294
+ */
1295
+ appId: string | undefined;
1296
+ /**
1297
+ * <p>The name of the backend environment that is part of the Amplify app.</p>
1298
+ */
1299
+ environmentName: string | undefined;
1300
+ /**
1301
+ * <p>The unique ID for the component.</p>
1302
+ */
1303
+ id: string | undefined;
1304
+ /**
1305
+ * <p>The unique client token.</p>
1306
+ */
1307
+ clientToken?: string;
1308
+ /**
1309
+ * <p>The configuration of the updated component.</p>
1310
+ */
1311
+ updatedComponent: UpdateComponentData | undefined;
1312
+ }
1313
+ export declare namespace UpdateComponentRequest {
1314
+ /**
1315
+ * @internal
1316
+ */
1317
+ const filterSensitiveLog: (obj: UpdateComponentRequest) => any;
1318
+ }
1319
+ export interface UpdateComponentResponse {
1320
+ /**
1321
+ * <p>Describes the configuration of the updated component.</p>
1322
+ */
1323
+ entity?: Component;
1324
+ }
1325
+ export declare namespace UpdateComponentResponse {
1326
+ /**
1327
+ * @internal
1328
+ */
1329
+ const filterSensitiveLog: (obj: UpdateComponentResponse) => any;
1330
+ }
1331
+ export interface ExportComponentsResponse {
1332
+ /**
1333
+ * <p>Represents the configuration of the exported components.</p>
1334
+ */
1335
+ entities: Component[] | undefined;
1336
+ }
1337
+ export declare namespace ExportComponentsResponse {
1338
+ /**
1339
+ * @internal
1340
+ */
1341
+ const filterSensitiveLog: (obj: ExportComponentsResponse) => any;
1342
+ }