aws-sdk-amplifyuibuilder 1.21.0 → 1.23.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs ADDED
@@ -0,0 +1,968 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::AmplifyUIBuilder
9
+ module Types
10
+
11
+ class ActionParameters
12
+ attr_accessor type: Types::ComponentProperty
13
+ attr_accessor url: Types::ComponentProperty
14
+ attr_accessor anchor: Types::ComponentProperty
15
+ attr_accessor target: Types::ComponentProperty
16
+ attr_accessor global: Types::ComponentProperty
17
+ attr_accessor model: ::String
18
+ attr_accessor id: Types::ComponentProperty
19
+ attr_accessor fields: ::Hash[::String, Types::ComponentProperty]
20
+ attr_accessor state: Types::MutationActionSetStateParameter
21
+ SENSITIVE: []
22
+ end
23
+
24
+ class ApiConfiguration
25
+ attr_accessor graph_ql_config: Types::GraphQLRenderConfig
26
+ attr_accessor data_store_config: Types::DataStoreRenderConfig
27
+ attr_accessor no_api_config: Types::NoApiRenderConfig
28
+ attr_accessor unknown: untyped
29
+ SENSITIVE: []
30
+
31
+ class GraphQlConfig < ApiConfiguration
32
+ end
33
+ class DataStoreConfig < ApiConfiguration
34
+ end
35
+ class NoApiConfig < ApiConfiguration
36
+ end
37
+ class Unknown < ApiConfiguration
38
+ end
39
+ end
40
+
41
+ class CodegenDependency
42
+ attr_accessor name: ::String
43
+ attr_accessor supported_version: ::String
44
+ attr_accessor is_sem_ver: bool
45
+ attr_accessor reason: ::String
46
+ SENSITIVE: []
47
+ end
48
+
49
+ class CodegenFeatureFlags
50
+ attr_accessor is_relationship_supported: bool
51
+ attr_accessor is_non_model_supported: bool
52
+ SENSITIVE: []
53
+ end
54
+
55
+ class CodegenGenericDataEnum
56
+ attr_accessor values: ::Array[::String]
57
+ SENSITIVE: []
58
+ end
59
+
60
+ class CodegenGenericDataField
61
+ attr_accessor data_type: ("ID" | "String" | "Int" | "Float" | "AWSDate" | "AWSTime" | "AWSDateTime" | "AWSTimestamp" | "AWSEmail" | "AWSURL" | "AWSIPAddress" | "Boolean" | "AWSJSON" | "AWSPhone" | "Enum" | "Model" | "NonModel")
62
+ attr_accessor data_type_value: ::String
63
+ attr_accessor required: bool
64
+ attr_accessor read_only: bool
65
+ attr_accessor is_array: bool
66
+ attr_accessor relationship: Types::CodegenGenericDataRelationshipType
67
+ SENSITIVE: []
68
+ end
69
+
70
+ class CodegenGenericDataModel
71
+ attr_accessor fields: ::Hash[::String, Types::CodegenGenericDataField]
72
+ attr_accessor is_join_table: bool
73
+ attr_accessor primary_keys: ::Array[::String]
74
+ SENSITIVE: []
75
+ end
76
+
77
+ class CodegenGenericDataNonModel
78
+ attr_accessor fields: ::Hash[::String, Types::CodegenGenericDataField]
79
+ SENSITIVE: []
80
+ end
81
+
82
+ class CodegenGenericDataRelationshipType
83
+ attr_accessor type: ("HAS_MANY" | "HAS_ONE" | "BELONGS_TO")
84
+ attr_accessor related_model_name: ::String
85
+ attr_accessor related_model_fields: ::Array[::String]
86
+ attr_accessor can_unlink_associated_model: bool
87
+ attr_accessor related_join_field_name: ::String
88
+ attr_accessor related_join_table_name: ::String
89
+ attr_accessor belongs_to_field_on_related_model: ::String
90
+ attr_accessor associated_fields: ::Array[::String]
91
+ attr_accessor is_has_many_index: bool
92
+ SENSITIVE: []
93
+ end
94
+
95
+ class CodegenJob
96
+ attr_accessor id: ::String
97
+ attr_accessor app_id: ::String
98
+ attr_accessor environment_name: ::String
99
+ attr_accessor render_config: Types::CodegenJobRenderConfig
100
+ attr_accessor generic_data_schema: Types::CodegenJobGenericDataSchema
101
+ attr_accessor auto_generate_forms: bool
102
+ attr_accessor features: Types::CodegenFeatureFlags
103
+ attr_accessor status: ("in_progress" | "failed" | "succeeded")
104
+ attr_accessor status_message: ::String
105
+ attr_accessor asset: Types::CodegenJobAsset
106
+ attr_accessor tags: ::Hash[::String, ::String]
107
+ attr_accessor created_at: ::Time
108
+ attr_accessor modified_at: ::Time
109
+ attr_accessor dependencies: ::Array[Types::CodegenDependency]
110
+ SENSITIVE: []
111
+ end
112
+
113
+ class CodegenJobAsset
114
+ attr_accessor download_url: ::String
115
+ SENSITIVE: []
116
+ end
117
+
118
+ class CodegenJobGenericDataSchema
119
+ attr_accessor data_source_type: ("DataStore")
120
+ attr_accessor models: ::Hash[::String, Types::CodegenGenericDataModel]
121
+ attr_accessor enums: ::Hash[::String, Types::CodegenGenericDataEnum]
122
+ attr_accessor non_models: ::Hash[::String, Types::CodegenGenericDataNonModel]
123
+ SENSITIVE: []
124
+ end
125
+
126
+ class CodegenJobRenderConfig
127
+ attr_accessor react: Types::ReactStartCodegenJobData
128
+ attr_accessor unknown: untyped
129
+ SENSITIVE: []
130
+
131
+ class React < CodegenJobRenderConfig
132
+ end
133
+ class Unknown < CodegenJobRenderConfig
134
+ end
135
+ end
136
+
137
+ class CodegenJobSummary
138
+ attr_accessor app_id: ::String
139
+ attr_accessor environment_name: ::String
140
+ attr_accessor id: ::String
141
+ attr_accessor created_at: ::Time
142
+ attr_accessor modified_at: ::Time
143
+ SENSITIVE: []
144
+ end
145
+
146
+ class Component
147
+ attr_accessor app_id: ::String
148
+ attr_accessor environment_name: ::String
149
+ attr_accessor source_id: ::String
150
+ attr_accessor id: ::String
151
+ attr_accessor name: ::String
152
+ attr_accessor component_type: ::String
153
+ attr_accessor properties: ::Hash[::String, Types::ComponentProperty]
154
+ attr_accessor children: ::Array[Types::ComponentChild]
155
+ attr_accessor variants: ::Array[Types::ComponentVariant]
156
+ attr_accessor overrides: ::Hash[::String, ::Hash[::String, ::String]]
157
+ attr_accessor binding_properties: ::Hash[::String, Types::ComponentBindingPropertiesValue]
158
+ attr_accessor collection_properties: ::Hash[::String, Types::ComponentDataConfiguration]
159
+ attr_accessor created_at: ::Time
160
+ attr_accessor modified_at: ::Time
161
+ attr_accessor tags: ::Hash[::String, ::String]
162
+ attr_accessor events: ::Hash[::String, Types::ComponentEvent]
163
+ attr_accessor schema_version: ::String
164
+ SENSITIVE: []
165
+ end
166
+
167
+ class ComponentBindingPropertiesValue
168
+ attr_accessor type: ::String
169
+ attr_accessor binding_properties: Types::ComponentBindingPropertiesValueProperties
170
+ attr_accessor default_value: ::String
171
+ SENSITIVE: []
172
+ end
173
+
174
+ class ComponentBindingPropertiesValueProperties
175
+ attr_accessor model: ::String
176
+ attr_accessor field: ::String
177
+ attr_accessor predicates: ::Array[Types::Predicate]
178
+ attr_accessor user_attribute: ::String
179
+ attr_accessor bucket: ::String
180
+ attr_accessor key: ::String
181
+ attr_accessor default_value: ::String
182
+ attr_accessor slot_name: ::String
183
+ SENSITIVE: []
184
+ end
185
+
186
+ class ComponentChild
187
+ attr_accessor component_type: ::String
188
+ attr_accessor name: ::String
189
+ attr_accessor properties: ::Hash[::String, Types::ComponentProperty]
190
+ attr_accessor children: ::Array[Types::ComponentChild]
191
+ attr_accessor events: ::Hash[::String, Types::ComponentEvent]
192
+ attr_accessor source_id: ::String
193
+ SENSITIVE: []
194
+ end
195
+
196
+ class ComponentConditionProperty
197
+ attr_accessor property: ::String
198
+ attr_accessor field: ::String
199
+ attr_accessor operator: ::String
200
+ attr_accessor operand: ::String
201
+ attr_accessor then: Types::ComponentProperty
202
+ attr_accessor else: Types::ComponentProperty
203
+ attr_accessor operand_type: ::String
204
+ SENSITIVE: []
205
+ end
206
+
207
+ class ComponentDataConfiguration
208
+ attr_accessor model: ::String
209
+ attr_accessor sort: ::Array[Types::SortProperty]
210
+ attr_accessor predicate: Types::Predicate
211
+ attr_accessor identifiers: ::Array[::String]
212
+ SENSITIVE: []
213
+ end
214
+
215
+ class ComponentEvent
216
+ attr_accessor action: ::String
217
+ attr_accessor parameters: Types::ActionParameters
218
+ attr_accessor binding_event: ::String
219
+ SENSITIVE: []
220
+ end
221
+
222
+ class ComponentProperty
223
+ attr_accessor value: ::String
224
+ attr_accessor binding_properties: Types::ComponentPropertyBindingProperties
225
+ attr_accessor collection_binding_properties: Types::ComponentPropertyBindingProperties
226
+ attr_accessor default_value: ::String
227
+ attr_accessor model: ::String
228
+ attr_accessor bindings: ::Hash[::String, Types::FormBindingElement]
229
+ attr_accessor event: ::String
230
+ attr_accessor user_attribute: ::String
231
+ attr_accessor concat: ::Array[Types::ComponentProperty]
232
+ attr_accessor condition: Types::ComponentConditionProperty
233
+ attr_accessor configured: bool
234
+ attr_accessor type: ::String
235
+ attr_accessor imported_value: ::String
236
+ attr_accessor component_name: ::String
237
+ attr_accessor property: ::String
238
+ SENSITIVE: []
239
+ end
240
+
241
+ class ComponentPropertyBindingProperties
242
+ attr_accessor property: ::String
243
+ attr_accessor field: ::String
244
+ SENSITIVE: []
245
+ end
246
+
247
+ class ComponentSummary
248
+ attr_accessor app_id: ::String
249
+ attr_accessor environment_name: ::String
250
+ attr_accessor id: ::String
251
+ attr_accessor name: ::String
252
+ attr_accessor component_type: ::String
253
+ SENSITIVE: []
254
+ end
255
+
256
+ class ComponentVariant
257
+ attr_accessor variant_values: ::Hash[::String, ::String]
258
+ attr_accessor overrides: ::Hash[::String, ::Hash[::String, ::String]]
259
+ SENSITIVE: []
260
+ end
261
+
262
+ class CreateComponentData
263
+ attr_accessor name: ::String
264
+ attr_accessor source_id: ::String
265
+ attr_accessor component_type: ::String
266
+ attr_accessor properties: ::Hash[::String, Types::ComponentProperty]
267
+ attr_accessor children: ::Array[Types::ComponentChild]
268
+ attr_accessor variants: ::Array[Types::ComponentVariant]
269
+ attr_accessor overrides: ::Hash[::String, ::Hash[::String, ::String]]
270
+ attr_accessor binding_properties: ::Hash[::String, Types::ComponentBindingPropertiesValue]
271
+ attr_accessor collection_properties: ::Hash[::String, Types::ComponentDataConfiguration]
272
+ attr_accessor tags: ::Hash[::String, ::String]
273
+ attr_accessor events: ::Hash[::String, Types::ComponentEvent]
274
+ attr_accessor schema_version: ::String
275
+ SENSITIVE: []
276
+ end
277
+
278
+ class CreateComponentRequest
279
+ attr_accessor app_id: ::String
280
+ attr_accessor environment_name: ::String
281
+ attr_accessor client_token: ::String
282
+ attr_accessor component_to_create: Types::CreateComponentData
283
+ SENSITIVE: []
284
+ end
285
+
286
+ class CreateComponentResponse
287
+ attr_accessor entity: Types::Component
288
+ SENSITIVE: []
289
+ end
290
+
291
+ class CreateFormData
292
+ attr_accessor name: ::String
293
+ attr_accessor data_type: Types::FormDataTypeConfig
294
+ attr_accessor form_action_type: ("create" | "update")
295
+ attr_accessor fields: ::Hash[::String, Types::FieldConfig]
296
+ attr_accessor style: Types::FormStyle
297
+ attr_accessor sectional_elements: ::Hash[::String, Types::SectionalElement]
298
+ attr_accessor schema_version: ::String
299
+ attr_accessor cta: Types::FormCTA
300
+ attr_accessor tags: ::Hash[::String, ::String]
301
+ attr_accessor label_decorator: ("required" | "optional" | "none")
302
+ SENSITIVE: []
303
+ end
304
+
305
+ class CreateFormRequest
306
+ attr_accessor app_id: ::String
307
+ attr_accessor environment_name: ::String
308
+ attr_accessor client_token: ::String
309
+ attr_accessor form_to_create: Types::CreateFormData
310
+ SENSITIVE: []
311
+ end
312
+
313
+ class CreateFormResponse
314
+ attr_accessor entity: Types::Form
315
+ SENSITIVE: []
316
+ end
317
+
318
+ class CreateThemeData
319
+ attr_accessor name: ::String
320
+ attr_accessor values: ::Array[Types::ThemeValues]
321
+ attr_accessor overrides: ::Array[Types::ThemeValues]
322
+ attr_accessor tags: ::Hash[::String, ::String]
323
+ SENSITIVE: []
324
+ end
325
+
326
+ class CreateThemeRequest
327
+ attr_accessor app_id: ::String
328
+ attr_accessor environment_name: ::String
329
+ attr_accessor client_token: ::String
330
+ attr_accessor theme_to_create: Types::CreateThemeData
331
+ SENSITIVE: []
332
+ end
333
+
334
+ class CreateThemeResponse
335
+ attr_accessor entity: Types::Theme
336
+ SENSITIVE: []
337
+ end
338
+
339
+ class DataStoreRenderConfig < Aws::EmptyStructure
340
+ end
341
+
342
+ class DeleteComponentRequest
343
+ attr_accessor app_id: ::String
344
+ attr_accessor environment_name: ::String
345
+ attr_accessor id: ::String
346
+ SENSITIVE: []
347
+ end
348
+
349
+ class DeleteFormRequest
350
+ attr_accessor app_id: ::String
351
+ attr_accessor environment_name: ::String
352
+ attr_accessor id: ::String
353
+ SENSITIVE: []
354
+ end
355
+
356
+ class DeleteThemeRequest
357
+ attr_accessor app_id: ::String
358
+ attr_accessor environment_name: ::String
359
+ attr_accessor id: ::String
360
+ SENSITIVE: []
361
+ end
362
+
363
+ class ExchangeCodeForTokenRequest
364
+ attr_accessor provider: ("figma")
365
+ attr_accessor request: Types::ExchangeCodeForTokenRequestBody
366
+ SENSITIVE: []
367
+ end
368
+
369
+ class ExchangeCodeForTokenRequestBody
370
+ attr_accessor code: ::String
371
+ attr_accessor redirect_uri: ::String
372
+ attr_accessor client_id: ::String
373
+ SENSITIVE: [:code, :client_id]
374
+ end
375
+
376
+ class ExchangeCodeForTokenResponse
377
+ attr_accessor access_token: ::String
378
+ attr_accessor expires_in: ::Integer
379
+ attr_accessor refresh_token: ::String
380
+ SENSITIVE: [:access_token, :refresh_token]
381
+ end
382
+
383
+ class ExportComponentsRequest
384
+ attr_accessor app_id: ::String
385
+ attr_accessor environment_name: ::String
386
+ attr_accessor next_token: ::String
387
+ SENSITIVE: []
388
+ end
389
+
390
+ class ExportComponentsResponse
391
+ attr_accessor entities: ::Array[Types::Component]
392
+ attr_accessor next_token: ::String
393
+ SENSITIVE: []
394
+ end
395
+
396
+ class ExportFormsRequest
397
+ attr_accessor app_id: ::String
398
+ attr_accessor environment_name: ::String
399
+ attr_accessor next_token: ::String
400
+ SENSITIVE: []
401
+ end
402
+
403
+ class ExportFormsResponse
404
+ attr_accessor entities: ::Array[Types::Form]
405
+ attr_accessor next_token: ::String
406
+ SENSITIVE: []
407
+ end
408
+
409
+ class ExportThemesRequest
410
+ attr_accessor app_id: ::String
411
+ attr_accessor environment_name: ::String
412
+ attr_accessor next_token: ::String
413
+ SENSITIVE: []
414
+ end
415
+
416
+ class ExportThemesResponse
417
+ attr_accessor entities: ::Array[Types::Theme]
418
+ attr_accessor next_token: ::String
419
+ SENSITIVE: []
420
+ end
421
+
422
+ class FieldConfig
423
+ attr_accessor label: ::String
424
+ attr_accessor position: Types::FieldPosition
425
+ attr_accessor excluded: bool
426
+ attr_accessor input_type: Types::FieldInputConfig
427
+ attr_accessor validations: ::Array[Types::FieldValidationConfiguration]
428
+ SENSITIVE: []
429
+ end
430
+
431
+ class FieldInputConfig
432
+ attr_accessor type: ::String
433
+ attr_accessor required: bool
434
+ attr_accessor read_only: bool
435
+ attr_accessor placeholder: ::String
436
+ attr_accessor default_value: ::String
437
+ attr_accessor descriptive_text: ::String
438
+ attr_accessor default_checked: bool
439
+ attr_accessor default_country_code: ::String
440
+ attr_accessor value_mappings: Types::ValueMappings
441
+ attr_accessor name: ::String
442
+ attr_accessor min_value: ::Float
443
+ attr_accessor max_value: ::Float
444
+ attr_accessor step: ::Float
445
+ attr_accessor value: ::String
446
+ attr_accessor is_array: bool
447
+ attr_accessor file_uploader_config: Types::FileUploaderFieldConfig
448
+ SENSITIVE: []
449
+ end
450
+
451
+ class FieldPosition
452
+ attr_accessor fixed: ("first")
453
+ attr_accessor right_of: ::String
454
+ attr_accessor below: ::String
455
+ attr_accessor unknown: untyped
456
+ SENSITIVE: []
457
+
458
+ class Fixed < FieldPosition
459
+ end
460
+ class RightOf < FieldPosition
461
+ end
462
+ class Below < FieldPosition
463
+ end
464
+ class Unknown < FieldPosition
465
+ end
466
+ end
467
+
468
+ class FieldValidationConfiguration
469
+ attr_accessor type: ::String
470
+ attr_accessor str_values: ::Array[::String]
471
+ attr_accessor num_values: ::Array[::Integer]
472
+ attr_accessor validation_message: ::String
473
+ SENSITIVE: []
474
+ end
475
+
476
+ class FileUploaderFieldConfig
477
+ attr_accessor access_level: ("public" | "protected" | "private")
478
+ attr_accessor accepted_file_types: ::Array[::String]
479
+ attr_accessor show_thumbnails: bool
480
+ attr_accessor is_resumable: bool
481
+ attr_accessor max_file_count: ::Integer
482
+ attr_accessor max_size: ::Integer
483
+ SENSITIVE: []
484
+ end
485
+
486
+ class Form
487
+ attr_accessor app_id: ::String
488
+ attr_accessor environment_name: ::String
489
+ attr_accessor id: ::String
490
+ attr_accessor name: ::String
491
+ attr_accessor form_action_type: ("create" | "update")
492
+ attr_accessor style: Types::FormStyle
493
+ attr_accessor data_type: Types::FormDataTypeConfig
494
+ attr_accessor fields: ::Hash[::String, Types::FieldConfig]
495
+ attr_accessor sectional_elements: ::Hash[::String, Types::SectionalElement]
496
+ attr_accessor schema_version: ::String
497
+ attr_accessor tags: ::Hash[::String, ::String]
498
+ attr_accessor cta: Types::FormCTA
499
+ attr_accessor label_decorator: ("required" | "optional" | "none")
500
+ SENSITIVE: []
501
+ end
502
+
503
+ class FormBindingElement
504
+ attr_accessor element: ::String
505
+ attr_accessor property: ::String
506
+ SENSITIVE: []
507
+ end
508
+
509
+ class FormButton
510
+ attr_accessor excluded: bool
511
+ attr_accessor children: ::String
512
+ attr_accessor position: Types::FieldPosition
513
+ SENSITIVE: []
514
+ end
515
+
516
+ class FormCTA
517
+ attr_accessor position: ("top" | "bottom" | "top_and_bottom")
518
+ attr_accessor clear: Types::FormButton
519
+ attr_accessor cancel: Types::FormButton
520
+ attr_accessor submit: Types::FormButton
521
+ SENSITIVE: []
522
+ end
523
+
524
+ class FormDataTypeConfig
525
+ attr_accessor data_source_type: ("DataStore" | "Custom")
526
+ attr_accessor data_type_name: ::String
527
+ SENSITIVE: []
528
+ end
529
+
530
+ class FormInputBindingPropertiesValue
531
+ attr_accessor type: ::String
532
+ attr_accessor binding_properties: Types::FormInputBindingPropertiesValueProperties
533
+ SENSITIVE: []
534
+ end
535
+
536
+ class FormInputBindingPropertiesValueProperties
537
+ attr_accessor model: ::String
538
+ SENSITIVE: []
539
+ end
540
+
541
+ class FormInputValueProperty
542
+ attr_accessor value: ::String
543
+ attr_accessor binding_properties: Types::FormInputValuePropertyBindingProperties
544
+ attr_accessor concat: ::Array[Types::FormInputValueProperty]
545
+ SENSITIVE: []
546
+ end
547
+
548
+ class FormInputValuePropertyBindingProperties
549
+ attr_accessor property: ::String
550
+ attr_accessor field: ::String
551
+ SENSITIVE: []
552
+ end
553
+
554
+ class FormStyle
555
+ attr_accessor horizontal_gap: Types::FormStyleConfig
556
+ attr_accessor vertical_gap: Types::FormStyleConfig
557
+ attr_accessor outer_padding: Types::FormStyleConfig
558
+ SENSITIVE: []
559
+ end
560
+
561
+ class FormStyleConfig
562
+ attr_accessor token_reference: ::String
563
+ attr_accessor value: ::String
564
+ attr_accessor unknown: untyped
565
+ SENSITIVE: []
566
+
567
+ class TokenReference < FormStyleConfig
568
+ end
569
+ class Value < FormStyleConfig
570
+ end
571
+ class Unknown < FormStyleConfig
572
+ end
573
+ end
574
+
575
+ class FormSummary
576
+ attr_accessor app_id: ::String
577
+ attr_accessor data_type: Types::FormDataTypeConfig
578
+ attr_accessor environment_name: ::String
579
+ attr_accessor form_action_type: ("create" | "update")
580
+ attr_accessor id: ::String
581
+ attr_accessor name: ::String
582
+ SENSITIVE: []
583
+ end
584
+
585
+ class GetCodegenJobRequest
586
+ attr_accessor app_id: ::String
587
+ attr_accessor environment_name: ::String
588
+ attr_accessor id: ::String
589
+ SENSITIVE: []
590
+ end
591
+
592
+ class GetCodegenJobResponse
593
+ attr_accessor job: Types::CodegenJob
594
+ SENSITIVE: []
595
+ end
596
+
597
+ class GetComponentRequest
598
+ attr_accessor app_id: ::String
599
+ attr_accessor environment_name: ::String
600
+ attr_accessor id: ::String
601
+ SENSITIVE: []
602
+ end
603
+
604
+ class GetComponentResponse
605
+ attr_accessor component: Types::Component
606
+ SENSITIVE: []
607
+ end
608
+
609
+ class GetFormRequest
610
+ attr_accessor app_id: ::String
611
+ attr_accessor environment_name: ::String
612
+ attr_accessor id: ::String
613
+ SENSITIVE: []
614
+ end
615
+
616
+ class GetFormResponse
617
+ attr_accessor form: Types::Form
618
+ SENSITIVE: []
619
+ end
620
+
621
+ class GetMetadataRequest
622
+ attr_accessor app_id: ::String
623
+ attr_accessor environment_name: ::String
624
+ SENSITIVE: []
625
+ end
626
+
627
+ class GetMetadataResponse
628
+ attr_accessor features: ::Hash[::String, ::String]
629
+ SENSITIVE: []
630
+ end
631
+
632
+ class GetThemeRequest
633
+ attr_accessor app_id: ::String
634
+ attr_accessor environment_name: ::String
635
+ attr_accessor id: ::String
636
+ SENSITIVE: []
637
+ end
638
+
639
+ class GetThemeResponse
640
+ attr_accessor theme: Types::Theme
641
+ SENSITIVE: []
642
+ end
643
+
644
+ class GraphQLRenderConfig
645
+ attr_accessor types_file_path: ::String
646
+ attr_accessor queries_file_path: ::String
647
+ attr_accessor mutations_file_path: ::String
648
+ attr_accessor subscriptions_file_path: ::String
649
+ attr_accessor fragments_file_path: ::String
650
+ SENSITIVE: []
651
+ end
652
+
653
+ class InternalServerException
654
+ attr_accessor message: ::String
655
+ SENSITIVE: []
656
+ end
657
+
658
+ class InvalidParameterException
659
+ attr_accessor message: ::String
660
+ SENSITIVE: []
661
+ end
662
+
663
+ class ListCodegenJobsRequest
664
+ attr_accessor app_id: ::String
665
+ attr_accessor environment_name: ::String
666
+ attr_accessor next_token: ::String
667
+ attr_accessor max_results: ::Integer
668
+ SENSITIVE: []
669
+ end
670
+
671
+ class ListCodegenJobsResponse
672
+ attr_accessor entities: ::Array[Types::CodegenJobSummary]
673
+ attr_accessor next_token: ::String
674
+ SENSITIVE: []
675
+ end
676
+
677
+ class ListComponentsRequest
678
+ attr_accessor app_id: ::String
679
+ attr_accessor environment_name: ::String
680
+ attr_accessor next_token: ::String
681
+ attr_accessor max_results: ::Integer
682
+ SENSITIVE: []
683
+ end
684
+
685
+ class ListComponentsResponse
686
+ attr_accessor entities: ::Array[Types::ComponentSummary]
687
+ attr_accessor next_token: ::String
688
+ SENSITIVE: []
689
+ end
690
+
691
+ class ListFormsRequest
692
+ attr_accessor app_id: ::String
693
+ attr_accessor environment_name: ::String
694
+ attr_accessor next_token: ::String
695
+ attr_accessor max_results: ::Integer
696
+ SENSITIVE: []
697
+ end
698
+
699
+ class ListFormsResponse
700
+ attr_accessor entities: ::Array[Types::FormSummary]
701
+ attr_accessor next_token: ::String
702
+ SENSITIVE: []
703
+ end
704
+
705
+ class ListThemesRequest
706
+ attr_accessor app_id: ::String
707
+ attr_accessor environment_name: ::String
708
+ attr_accessor next_token: ::String
709
+ attr_accessor max_results: ::Integer
710
+ SENSITIVE: []
711
+ end
712
+
713
+ class ListThemesResponse
714
+ attr_accessor entities: ::Array[Types::ThemeSummary]
715
+ attr_accessor next_token: ::String
716
+ SENSITIVE: []
717
+ end
718
+
719
+ class MutationActionSetStateParameter
720
+ attr_accessor component_name: ::String
721
+ attr_accessor property: ::String
722
+ attr_accessor set: Types::ComponentProperty
723
+ SENSITIVE: []
724
+ end
725
+
726
+ class NoApiRenderConfig < Aws::EmptyStructure
727
+ end
728
+
729
+ class Predicate
730
+ attr_accessor or: ::Array[Types::Predicate]
731
+ attr_accessor and: ::Array[Types::Predicate]
732
+ attr_accessor field: ::String
733
+ attr_accessor operator: ::String
734
+ attr_accessor operand: ::String
735
+ attr_accessor operand_type: ::String
736
+ SENSITIVE: []
737
+ end
738
+
739
+ class PutMetadataFlagBody
740
+ attr_accessor new_value: ::String
741
+ SENSITIVE: []
742
+ end
743
+
744
+ class PutMetadataFlagRequest
745
+ attr_accessor app_id: ::String
746
+ attr_accessor environment_name: ::String
747
+ attr_accessor feature_name: ::String
748
+ attr_accessor body: Types::PutMetadataFlagBody
749
+ SENSITIVE: []
750
+ end
751
+
752
+ class ReactStartCodegenJobData
753
+ attr_accessor module: ("es2020" | "esnext")
754
+ attr_accessor target: ("es2015" | "es2020")
755
+ attr_accessor script: ("jsx" | "tsx" | "js")
756
+ attr_accessor render_type_declarations: bool
757
+ attr_accessor inline_source_map: bool
758
+ attr_accessor api_configuration: Types::ApiConfiguration
759
+ attr_accessor dependencies: ::Hash[::String, ::String]
760
+ SENSITIVE: []
761
+ end
762
+
763
+ class RefreshTokenRequest
764
+ attr_accessor provider: ("figma")
765
+ attr_accessor refresh_token_body: Types::RefreshTokenRequestBody
766
+ SENSITIVE: []
767
+ end
768
+
769
+ class RefreshTokenRequestBody
770
+ attr_accessor token: ::String
771
+ attr_accessor client_id: ::String
772
+ SENSITIVE: [:token, :client_id]
773
+ end
774
+
775
+ class RefreshTokenResponse
776
+ attr_accessor access_token: ::String
777
+ attr_accessor expires_in: ::Integer
778
+ SENSITIVE: [:access_token]
779
+ end
780
+
781
+ class ResourceConflictException
782
+ attr_accessor message: ::String
783
+ SENSITIVE: []
784
+ end
785
+
786
+ class ResourceNotFoundException
787
+ attr_accessor message: ::String
788
+ SENSITIVE: []
789
+ end
790
+
791
+ class SectionalElement
792
+ attr_accessor type: ::String
793
+ attr_accessor position: Types::FieldPosition
794
+ attr_accessor text: ::String
795
+ attr_accessor level: ::Integer
796
+ attr_accessor orientation: ::String
797
+ attr_accessor excluded: bool
798
+ SENSITIVE: []
799
+ end
800
+
801
+ class ServiceQuotaExceededException
802
+ attr_accessor message: ::String
803
+ SENSITIVE: []
804
+ end
805
+
806
+ class SortProperty
807
+ attr_accessor field: ::String
808
+ attr_accessor direction: ("ASC" | "DESC")
809
+ SENSITIVE: []
810
+ end
811
+
812
+ class StartCodegenJobData
813
+ attr_accessor render_config: Types::CodegenJobRenderConfig
814
+ attr_accessor generic_data_schema: Types::CodegenJobGenericDataSchema
815
+ attr_accessor auto_generate_forms: bool
816
+ attr_accessor features: Types::CodegenFeatureFlags
817
+ attr_accessor tags: ::Hash[::String, ::String]
818
+ SENSITIVE: []
819
+ end
820
+
821
+ class StartCodegenJobRequest
822
+ attr_accessor app_id: ::String
823
+ attr_accessor environment_name: ::String
824
+ attr_accessor client_token: ::String
825
+ attr_accessor codegen_job_to_create: Types::StartCodegenJobData
826
+ SENSITIVE: []
827
+ end
828
+
829
+ class StartCodegenJobResponse
830
+ attr_accessor entity: Types::CodegenJob
831
+ SENSITIVE: []
832
+ end
833
+
834
+ class Theme
835
+ attr_accessor app_id: ::String
836
+ attr_accessor environment_name: ::String
837
+ attr_accessor id: ::String
838
+ attr_accessor name: ::String
839
+ attr_accessor created_at: ::Time
840
+ attr_accessor modified_at: ::Time
841
+ attr_accessor values: ::Array[Types::ThemeValues]
842
+ attr_accessor overrides: ::Array[Types::ThemeValues]
843
+ attr_accessor tags: ::Hash[::String, ::String]
844
+ SENSITIVE: []
845
+ end
846
+
847
+ class ThemeSummary
848
+ attr_accessor app_id: ::String
849
+ attr_accessor environment_name: ::String
850
+ attr_accessor id: ::String
851
+ attr_accessor name: ::String
852
+ SENSITIVE: []
853
+ end
854
+
855
+ class ThemeValue
856
+ attr_accessor value: ::String
857
+ attr_accessor children: ::Array[Types::ThemeValues]
858
+ SENSITIVE: []
859
+ end
860
+
861
+ class ThemeValues
862
+ attr_accessor key: ::String
863
+ attr_accessor value: Types::ThemeValue
864
+ SENSITIVE: []
865
+ end
866
+
867
+ class ThrottlingException
868
+ attr_accessor message: ::String
869
+ SENSITIVE: []
870
+ end
871
+
872
+ class UnauthorizedException
873
+ attr_accessor message: ::String
874
+ SENSITIVE: []
875
+ end
876
+
877
+ class UpdateComponentData
878
+ attr_accessor id: ::String
879
+ attr_accessor name: ::String
880
+ attr_accessor source_id: ::String
881
+ attr_accessor component_type: ::String
882
+ attr_accessor properties: ::Hash[::String, Types::ComponentProperty]
883
+ attr_accessor children: ::Array[Types::ComponentChild]
884
+ attr_accessor variants: ::Array[Types::ComponentVariant]
885
+ attr_accessor overrides: ::Hash[::String, ::Hash[::String, ::String]]
886
+ attr_accessor binding_properties: ::Hash[::String, Types::ComponentBindingPropertiesValue]
887
+ attr_accessor collection_properties: ::Hash[::String, Types::ComponentDataConfiguration]
888
+ attr_accessor events: ::Hash[::String, Types::ComponentEvent]
889
+ attr_accessor schema_version: ::String
890
+ SENSITIVE: []
891
+ end
892
+
893
+ class UpdateComponentRequest
894
+ attr_accessor app_id: ::String
895
+ attr_accessor environment_name: ::String
896
+ attr_accessor id: ::String
897
+ attr_accessor client_token: ::String
898
+ attr_accessor updated_component: Types::UpdateComponentData
899
+ SENSITIVE: []
900
+ end
901
+
902
+ class UpdateComponentResponse
903
+ attr_accessor entity: Types::Component
904
+ SENSITIVE: []
905
+ end
906
+
907
+ class UpdateFormData
908
+ attr_accessor name: ::String
909
+ attr_accessor data_type: Types::FormDataTypeConfig
910
+ attr_accessor form_action_type: ("create" | "update")
911
+ attr_accessor fields: ::Hash[::String, Types::FieldConfig]
912
+ attr_accessor style: Types::FormStyle
913
+ attr_accessor sectional_elements: ::Hash[::String, Types::SectionalElement]
914
+ attr_accessor schema_version: ::String
915
+ attr_accessor cta: Types::FormCTA
916
+ attr_accessor label_decorator: ("required" | "optional" | "none")
917
+ SENSITIVE: []
918
+ end
919
+
920
+ class UpdateFormRequest
921
+ attr_accessor app_id: ::String
922
+ attr_accessor environment_name: ::String
923
+ attr_accessor id: ::String
924
+ attr_accessor client_token: ::String
925
+ attr_accessor updated_form: Types::UpdateFormData
926
+ SENSITIVE: []
927
+ end
928
+
929
+ class UpdateFormResponse
930
+ attr_accessor entity: Types::Form
931
+ SENSITIVE: []
932
+ end
933
+
934
+ class UpdateThemeData
935
+ attr_accessor id: ::String
936
+ attr_accessor name: ::String
937
+ attr_accessor values: ::Array[Types::ThemeValues]
938
+ attr_accessor overrides: ::Array[Types::ThemeValues]
939
+ SENSITIVE: []
940
+ end
941
+
942
+ class UpdateThemeRequest
943
+ attr_accessor app_id: ::String
944
+ attr_accessor environment_name: ::String
945
+ attr_accessor id: ::String
946
+ attr_accessor client_token: ::String
947
+ attr_accessor updated_theme: Types::UpdateThemeData
948
+ SENSITIVE: []
949
+ end
950
+
951
+ class UpdateThemeResponse
952
+ attr_accessor entity: Types::Theme
953
+ SENSITIVE: []
954
+ end
955
+
956
+ class ValueMapping
957
+ attr_accessor display_value: Types::FormInputValueProperty
958
+ attr_accessor value: Types::FormInputValueProperty
959
+ SENSITIVE: []
960
+ end
961
+
962
+ class ValueMappings
963
+ attr_accessor values: ::Array[Types::ValueMapping]
964
+ attr_accessor binding_properties: ::Hash[::String, Types::FormInputBindingPropertiesValue]
965
+ SENSITIVE: []
966
+ end
967
+ end
968
+ end