aws-sdk-amplifyuibuilder 1.3.0 → 1.4.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.
@@ -13,6 +13,7 @@ module Aws::AmplifyUIBuilder
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ ActionParameters = Shapes::StructureShape.new(name: 'ActionParameters')
16
17
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
17
18
  Component = Shapes::StructureShape.new(name: 'Component')
18
19
  ComponentBindingProperties = Shapes::MapShape.new(name: 'ComponentBindingProperties')
@@ -23,6 +24,8 @@ module Aws::AmplifyUIBuilder
23
24
  ComponentCollectionProperties = Shapes::MapShape.new(name: 'ComponentCollectionProperties')
24
25
  ComponentConditionProperty = Shapes::StructureShape.new(name: 'ComponentConditionProperty')
25
26
  ComponentDataConfiguration = Shapes::StructureShape.new(name: 'ComponentDataConfiguration')
27
+ ComponentEvent = Shapes::StructureShape.new(name: 'ComponentEvent')
28
+ ComponentEvents = Shapes::MapShape.new(name: 'ComponentEvents')
26
29
  ComponentList = Shapes::ListShape.new(name: 'ComponentList')
27
30
  ComponentName = Shapes::StringShape.new(name: 'ComponentName')
28
31
  ComponentOverrides = Shapes::MapShape.new(name: 'ComponentOverrides')
@@ -68,6 +71,7 @@ module Aws::AmplifyUIBuilder
68
71
  ListThemesLimit = Shapes::IntegerShape.new(name: 'ListThemesLimit')
69
72
  ListThemesRequest = Shapes::StructureShape.new(name: 'ListThemesRequest')
70
73
  ListThemesResponse = Shapes::StructureShape.new(name: 'ListThemesResponse')
74
+ MutationActionSetStateParameter = Shapes::StructureShape.new(name: 'MutationActionSetStateParameter')
71
75
  Predicate = Shapes::StructureShape.new(name: 'Predicate')
72
76
  PredicateList = Shapes::ListShape.new(name: 'PredicateList')
73
77
  RefreshTokenRequest = Shapes::StructureShape.new(name: 'RefreshTokenRequest')
@@ -105,6 +109,17 @@ module Aws::AmplifyUIBuilder
105
109
  UpdateThemeResponse = Shapes::StructureShape.new(name: 'UpdateThemeResponse')
106
110
  Uuid = Shapes::StringShape.new(name: 'Uuid')
107
111
 
112
+ ActionParameters.add_member(:anchor, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "anchor"))
113
+ ActionParameters.add_member(:fields, Shapes::ShapeRef.new(shape: ComponentProperties, location_name: "fields"))
114
+ ActionParameters.add_member(:global, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "global"))
115
+ ActionParameters.add_member(:id, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "id"))
116
+ ActionParameters.add_member(:model, Shapes::ShapeRef.new(shape: String, location_name: "model"))
117
+ ActionParameters.add_member(:state, Shapes::ShapeRef.new(shape: MutationActionSetStateParameter, location_name: "state"))
118
+ ActionParameters.add_member(:target, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "target"))
119
+ ActionParameters.add_member(:type, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "type"))
120
+ ActionParameters.add_member(:url, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "url"))
121
+ ActionParameters.struct_class = Types::ActionParameters
122
+
108
123
  Component.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "appId"))
109
124
  Component.add_member(:binding_properties, Shapes::ShapeRef.new(shape: ComponentBindingProperties, required: true, location_name: "bindingProperties"))
110
125
  Component.add_member(:children, Shapes::ShapeRef.new(shape: ComponentChildList, location_name: "children"))
@@ -112,11 +127,13 @@ module Aws::AmplifyUIBuilder
112
127
  Component.add_member(:component_type, Shapes::ShapeRef.new(shape: ComponentType, required: true, location_name: "componentType"))
113
128
  Component.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
114
129
  Component.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "environmentName"))
130
+ Component.add_member(:events, Shapes::ShapeRef.new(shape: ComponentEvents, location_name: "events"))
115
131
  Component.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
116
132
  Component.add_member(:modified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "modifiedAt"))
117
133
  Component.add_member(:name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "name"))
118
134
  Component.add_member(:overrides, Shapes::ShapeRef.new(shape: ComponentOverrides, required: true, location_name: "overrides"))
119
135
  Component.add_member(:properties, Shapes::ShapeRef.new(shape: ComponentProperties, required: true, location_name: "properties"))
136
+ Component.add_member(:schema_version, Shapes::ShapeRef.new(shape: String, location_name: "schemaVersion"))
120
137
  Component.add_member(:source_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceId"))
121
138
  Component.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
122
139
  Component.add_member(:variants, Shapes::ShapeRef.new(shape: ComponentVariants, required: true, location_name: "variants"))
@@ -141,6 +158,7 @@ module Aws::AmplifyUIBuilder
141
158
 
142
159
  ComponentChild.add_member(:children, Shapes::ShapeRef.new(shape: ComponentChildList, location_name: "children"))
143
160
  ComponentChild.add_member(:component_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "componentType"))
161
+ ComponentChild.add_member(:events, Shapes::ShapeRef.new(shape: ComponentEvents, location_name: "events"))
144
162
  ComponentChild.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
145
163
  ComponentChild.add_member(:properties, Shapes::ShapeRef.new(shape: ComponentProperties, required: true, location_name: "properties"))
146
164
  ComponentChild.struct_class = Types::ComponentChild
@@ -153,6 +171,7 @@ module Aws::AmplifyUIBuilder
153
171
  ComponentConditionProperty.add_member(:else, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "else"))
154
172
  ComponentConditionProperty.add_member(:field, Shapes::ShapeRef.new(shape: String, location_name: "field"))
155
173
  ComponentConditionProperty.add_member(:operand, Shapes::ShapeRef.new(shape: String, location_name: "operand"))
174
+ ComponentConditionProperty.add_member(:operand_type, Shapes::ShapeRef.new(shape: String, location_name: "operandType"))
156
175
  ComponentConditionProperty.add_member(:operator, Shapes::ShapeRef.new(shape: String, location_name: "operator"))
157
176
  ComponentConditionProperty.add_member(:property, Shapes::ShapeRef.new(shape: String, location_name: "property"))
158
177
  ComponentConditionProperty.add_member(:then, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "then"))
@@ -164,6 +183,13 @@ module Aws::AmplifyUIBuilder
164
183
  ComponentDataConfiguration.add_member(:sort, Shapes::ShapeRef.new(shape: SortPropertyList, location_name: "sort"))
165
184
  ComponentDataConfiguration.struct_class = Types::ComponentDataConfiguration
166
185
 
186
+ ComponentEvent.add_member(:action, Shapes::ShapeRef.new(shape: String, location_name: "action"))
187
+ ComponentEvent.add_member(:parameters, Shapes::ShapeRef.new(shape: ActionParameters, location_name: "parameters"))
188
+ ComponentEvent.struct_class = Types::ComponentEvent
189
+
190
+ ComponentEvents.key = Shapes::ShapeRef.new(shape: String)
191
+ ComponentEvents.value = Shapes::ShapeRef.new(shape: ComponentEvent)
192
+
167
193
  ComponentList.member = Shapes::ShapeRef.new(shape: Component)
168
194
 
169
195
  ComponentOverrides.key = Shapes::ShapeRef.new(shape: String)
@@ -178,6 +204,7 @@ module Aws::AmplifyUIBuilder
178
204
  ComponentProperty.add_member(:binding_properties, Shapes::ShapeRef.new(shape: ComponentPropertyBindingProperties, location_name: "bindingProperties"))
179
205
  ComponentProperty.add_member(:bindings, Shapes::ShapeRef.new(shape: FormBindings, location_name: "bindings"))
180
206
  ComponentProperty.add_member(:collection_binding_properties, Shapes::ShapeRef.new(shape: ComponentPropertyBindingProperties, location_name: "collectionBindingProperties"))
207
+ ComponentProperty.add_member(:component_name, Shapes::ShapeRef.new(shape: String, location_name: "componentName"))
181
208
  ComponentProperty.add_member(:concat, Shapes::ShapeRef.new(shape: ComponentPropertyList, location_name: "concat"))
182
209
  ComponentProperty.add_member(:condition, Shapes::ShapeRef.new(shape: ComponentConditionProperty, location_name: "condition"))
183
210
  ComponentProperty.add_member(:configured, Shapes::ShapeRef.new(shape: Boolean, location_name: "configured"))
@@ -185,6 +212,7 @@ module Aws::AmplifyUIBuilder
185
212
  ComponentProperty.add_member(:event, Shapes::ShapeRef.new(shape: String, location_name: "event"))
186
213
  ComponentProperty.add_member(:imported_value, Shapes::ShapeRef.new(shape: String, location_name: "importedValue"))
187
214
  ComponentProperty.add_member(:model, Shapes::ShapeRef.new(shape: String, location_name: "model"))
215
+ ComponentProperty.add_member(:property, Shapes::ShapeRef.new(shape: String, location_name: "property"))
188
216
  ComponentProperty.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
189
217
  ComponentProperty.add_member(:user_attribute, Shapes::ShapeRef.new(shape: String, location_name: "userAttribute"))
190
218
  ComponentProperty.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
@@ -218,9 +246,11 @@ module Aws::AmplifyUIBuilder
218
246
  CreateComponentData.add_member(:children, Shapes::ShapeRef.new(shape: ComponentChildList, location_name: "children"))
219
247
  CreateComponentData.add_member(:collection_properties, Shapes::ShapeRef.new(shape: ComponentCollectionProperties, location_name: "collectionProperties"))
220
248
  CreateComponentData.add_member(:component_type, Shapes::ShapeRef.new(shape: ComponentType, required: true, location_name: "componentType"))
249
+ CreateComponentData.add_member(:events, Shapes::ShapeRef.new(shape: ComponentEvents, location_name: "events"))
221
250
  CreateComponentData.add_member(:name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "name"))
222
251
  CreateComponentData.add_member(:overrides, Shapes::ShapeRef.new(shape: ComponentOverrides, required: true, location_name: "overrides"))
223
252
  CreateComponentData.add_member(:properties, Shapes::ShapeRef.new(shape: ComponentProperties, required: true, location_name: "properties"))
253
+ CreateComponentData.add_member(:schema_version, Shapes::ShapeRef.new(shape: String, location_name: "schemaVersion"))
224
254
  CreateComponentData.add_member(:source_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceId"))
225
255
  CreateComponentData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
226
256
  CreateComponentData.add_member(:variants, Shapes::ShapeRef.new(shape: ComponentVariants, required: true, location_name: "variants"))
@@ -285,16 +315,20 @@ module Aws::AmplifyUIBuilder
285
315
 
286
316
  ExportComponentsRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
287
317
  ExportComponentsRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
318
+ ExportComponentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
288
319
  ExportComponentsRequest.struct_class = Types::ExportComponentsRequest
289
320
 
290
321
  ExportComponentsResponse.add_member(:entities, Shapes::ShapeRef.new(shape: ComponentList, required: true, location_name: "entities"))
322
+ ExportComponentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
291
323
  ExportComponentsResponse.struct_class = Types::ExportComponentsResponse
292
324
 
293
325
  ExportThemesRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
294
326
  ExportThemesRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
327
+ ExportThemesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
295
328
  ExportThemesRequest.struct_class = Types::ExportThemesRequest
296
329
 
297
330
  ExportThemesResponse.add_member(:entities, Shapes::ShapeRef.new(shape: ThemeList, required: true, location_name: "entities"))
331
+ ExportThemesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
298
332
  ExportThemesResponse.struct_class = Types::ExportThemesResponse
299
333
 
300
334
  FormBindingElement.add_member(:element, Shapes::ShapeRef.new(shape: String, required: true, location_name: "element"))
@@ -352,6 +386,11 @@ module Aws::AmplifyUIBuilder
352
386
  ListThemesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
353
387
  ListThemesResponse.struct_class = Types::ListThemesResponse
354
388
 
389
+ MutationActionSetStateParameter.add_member(:component_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "componentName"))
390
+ MutationActionSetStateParameter.add_member(:property, Shapes::ShapeRef.new(shape: String, required: true, location_name: "property"))
391
+ MutationActionSetStateParameter.add_member(:set, Shapes::ShapeRef.new(shape: ComponentProperty, required: true, location_name: "set"))
392
+ MutationActionSetStateParameter.struct_class = Types::MutationActionSetStateParameter
393
+
355
394
  Predicate.add_member(:and, Shapes::ShapeRef.new(shape: PredicateList, location_name: "and"))
356
395
  Predicate.add_member(:field, Shapes::ShapeRef.new(shape: String, location_name: "field"))
357
396
  Predicate.add_member(:operand, Shapes::ShapeRef.new(shape: String, location_name: "operand"))
@@ -427,10 +466,12 @@ module Aws::AmplifyUIBuilder
427
466
  UpdateComponentData.add_member(:children, Shapes::ShapeRef.new(shape: ComponentChildList, location_name: "children"))
428
467
  UpdateComponentData.add_member(:collection_properties, Shapes::ShapeRef.new(shape: ComponentCollectionProperties, location_name: "collectionProperties"))
429
468
  UpdateComponentData.add_member(:component_type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "componentType"))
469
+ UpdateComponentData.add_member(:events, Shapes::ShapeRef.new(shape: ComponentEvents, location_name: "events"))
430
470
  UpdateComponentData.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, location_name: "id"))
431
471
  UpdateComponentData.add_member(:name, Shapes::ShapeRef.new(shape: ComponentName, location_name: "name"))
432
472
  UpdateComponentData.add_member(:overrides, Shapes::ShapeRef.new(shape: ComponentOverrides, location_name: "overrides"))
433
473
  UpdateComponentData.add_member(:properties, Shapes::ShapeRef.new(shape: ComponentProperties, location_name: "properties"))
474
+ UpdateComponentData.add_member(:schema_version, Shapes::ShapeRef.new(shape: String, location_name: "schemaVersion"))
434
475
  UpdateComponentData.add_member(:source_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceId"))
435
476
  UpdateComponentData.add_member(:variants, Shapes::ShapeRef.new(shape: ComponentVariants, location_name: "variants"))
436
477
  UpdateComponentData.struct_class = Types::UpdateComponentData
@@ -550,6 +591,11 @@ module Aws::AmplifyUIBuilder
550
591
  o.output = Shapes::ShapeRef.new(shape: ExportComponentsResponse)
551
592
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
552
593
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
594
+ o[:pager] = Aws::Pager.new(
595
+ tokens: {
596
+ "next_token" => "next_token"
597
+ }
598
+ )
553
599
  end)
554
600
 
555
601
  api.add_operation(:export_themes, Seahorse::Model::Operation.new.tap do |o|
@@ -560,6 +606,11 @@ module Aws::AmplifyUIBuilder
560
606
  o.output = Shapes::ShapeRef.new(shape: ExportThemesResponse)
561
607
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
562
608
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
609
+ o[:pager] = Aws::Pager.new(
610
+ tokens: {
611
+ "next_token" => "next_token"
612
+ }
613
+ )
563
614
  end)
564
615
 
565
616
  api.add_operation(:get_component, Seahorse::Model::Operation.new.tap do |o|