aws-sdk-amplifyuibuilder 1.2.0 → 1.5.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')
@@ -75,15 +79,12 @@ module Aws::AmplifyUIBuilder
75
79
  RefreshTokenResponse = Shapes::StructureShape.new(name: 'RefreshTokenResponse')
76
80
  ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
77
81
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
82
+ SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
78
83
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
79
84
  SortDirection = Shapes::StringShape.new(name: 'SortDirection')
80
85
  SortProperty = Shapes::StructureShape.new(name: 'SortProperty')
81
86
  SortPropertyList = Shapes::ListShape.new(name: 'SortPropertyList')
82
87
  String = Shapes::StringShape.new(name: 'String')
83
- SyntheticExchangeCodeForTokenRequestBodyString = Shapes::StringShape.new(name: 'SyntheticExchangeCodeForTokenRequestBodyString')
84
- SyntheticExchangeCodeForTokenResponseString = Shapes::StringShape.new(name: 'SyntheticExchangeCodeForTokenResponseString')
85
- SyntheticRefreshTokenRequestBodyString = Shapes::StringShape.new(name: 'SyntheticRefreshTokenRequestBodyString')
86
- SyntheticRefreshTokenResponseString = Shapes::StringShape.new(name: 'SyntheticRefreshTokenResponseString')
87
88
  SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
88
89
  TagKey = Shapes::StringShape.new(name: 'TagKey')
89
90
  TagValue = Shapes::StringShape.new(name: 'TagValue')
@@ -105,6 +106,17 @@ module Aws::AmplifyUIBuilder
105
106
  UpdateThemeResponse = Shapes::StructureShape.new(name: 'UpdateThemeResponse')
106
107
  Uuid = Shapes::StringShape.new(name: 'Uuid')
107
108
 
109
+ ActionParameters.add_member(:anchor, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "anchor"))
110
+ ActionParameters.add_member(:fields, Shapes::ShapeRef.new(shape: ComponentProperties, location_name: "fields"))
111
+ ActionParameters.add_member(:global, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "global"))
112
+ ActionParameters.add_member(:id, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "id"))
113
+ ActionParameters.add_member(:model, Shapes::ShapeRef.new(shape: String, location_name: "model"))
114
+ ActionParameters.add_member(:state, Shapes::ShapeRef.new(shape: MutationActionSetStateParameter, location_name: "state"))
115
+ ActionParameters.add_member(:target, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "target"))
116
+ ActionParameters.add_member(:type, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "type"))
117
+ ActionParameters.add_member(:url, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "url"))
118
+ ActionParameters.struct_class = Types::ActionParameters
119
+
108
120
  Component.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "appId"))
109
121
  Component.add_member(:binding_properties, Shapes::ShapeRef.new(shape: ComponentBindingProperties, required: true, location_name: "bindingProperties"))
110
122
  Component.add_member(:children, Shapes::ShapeRef.new(shape: ComponentChildList, location_name: "children"))
@@ -112,11 +124,13 @@ module Aws::AmplifyUIBuilder
112
124
  Component.add_member(:component_type, Shapes::ShapeRef.new(shape: ComponentType, required: true, location_name: "componentType"))
113
125
  Component.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
114
126
  Component.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "environmentName"))
127
+ Component.add_member(:events, Shapes::ShapeRef.new(shape: ComponentEvents, location_name: "events"))
115
128
  Component.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
116
129
  Component.add_member(:modified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "modifiedAt"))
117
130
  Component.add_member(:name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "name"))
118
131
  Component.add_member(:overrides, Shapes::ShapeRef.new(shape: ComponentOverrides, required: true, location_name: "overrides"))
119
132
  Component.add_member(:properties, Shapes::ShapeRef.new(shape: ComponentProperties, required: true, location_name: "properties"))
133
+ Component.add_member(:schema_version, Shapes::ShapeRef.new(shape: String, location_name: "schemaVersion"))
120
134
  Component.add_member(:source_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceId"))
121
135
  Component.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
122
136
  Component.add_member(:variants, Shapes::ShapeRef.new(shape: ComponentVariants, required: true, location_name: "variants"))
@@ -141,8 +155,10 @@ module Aws::AmplifyUIBuilder
141
155
 
142
156
  ComponentChild.add_member(:children, Shapes::ShapeRef.new(shape: ComponentChildList, location_name: "children"))
143
157
  ComponentChild.add_member(:component_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "componentType"))
158
+ ComponentChild.add_member(:events, Shapes::ShapeRef.new(shape: ComponentEvents, location_name: "events"))
144
159
  ComponentChild.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
145
160
  ComponentChild.add_member(:properties, Shapes::ShapeRef.new(shape: ComponentProperties, required: true, location_name: "properties"))
161
+ ComponentChild.add_member(:source_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceId"))
146
162
  ComponentChild.struct_class = Types::ComponentChild
147
163
 
148
164
  ComponentChildList.member = Shapes::ShapeRef.new(shape: ComponentChild)
@@ -153,6 +169,7 @@ module Aws::AmplifyUIBuilder
153
169
  ComponentConditionProperty.add_member(:else, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "else"))
154
170
  ComponentConditionProperty.add_member(:field, Shapes::ShapeRef.new(shape: String, location_name: "field"))
155
171
  ComponentConditionProperty.add_member(:operand, Shapes::ShapeRef.new(shape: String, location_name: "operand"))
172
+ ComponentConditionProperty.add_member(:operand_type, Shapes::ShapeRef.new(shape: String, location_name: "operandType"))
156
173
  ComponentConditionProperty.add_member(:operator, Shapes::ShapeRef.new(shape: String, location_name: "operator"))
157
174
  ComponentConditionProperty.add_member(:property, Shapes::ShapeRef.new(shape: String, location_name: "property"))
158
175
  ComponentConditionProperty.add_member(:then, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "then"))
@@ -164,6 +181,14 @@ module Aws::AmplifyUIBuilder
164
181
  ComponentDataConfiguration.add_member(:sort, Shapes::ShapeRef.new(shape: SortPropertyList, location_name: "sort"))
165
182
  ComponentDataConfiguration.struct_class = Types::ComponentDataConfiguration
166
183
 
184
+ ComponentEvent.add_member(:action, Shapes::ShapeRef.new(shape: String, location_name: "action"))
185
+ ComponentEvent.add_member(:binding_event, Shapes::ShapeRef.new(shape: String, location_name: "bindingEvent"))
186
+ ComponentEvent.add_member(:parameters, Shapes::ShapeRef.new(shape: ActionParameters, location_name: "parameters"))
187
+ ComponentEvent.struct_class = Types::ComponentEvent
188
+
189
+ ComponentEvents.key = Shapes::ShapeRef.new(shape: String)
190
+ ComponentEvents.value = Shapes::ShapeRef.new(shape: ComponentEvent)
191
+
167
192
  ComponentList.member = Shapes::ShapeRef.new(shape: Component)
168
193
 
169
194
  ComponentOverrides.key = Shapes::ShapeRef.new(shape: String)
@@ -178,6 +203,7 @@ module Aws::AmplifyUIBuilder
178
203
  ComponentProperty.add_member(:binding_properties, Shapes::ShapeRef.new(shape: ComponentPropertyBindingProperties, location_name: "bindingProperties"))
179
204
  ComponentProperty.add_member(:bindings, Shapes::ShapeRef.new(shape: FormBindings, location_name: "bindings"))
180
205
  ComponentProperty.add_member(:collection_binding_properties, Shapes::ShapeRef.new(shape: ComponentPropertyBindingProperties, location_name: "collectionBindingProperties"))
206
+ ComponentProperty.add_member(:component_name, Shapes::ShapeRef.new(shape: String, location_name: "componentName"))
181
207
  ComponentProperty.add_member(:concat, Shapes::ShapeRef.new(shape: ComponentPropertyList, location_name: "concat"))
182
208
  ComponentProperty.add_member(:condition, Shapes::ShapeRef.new(shape: ComponentConditionProperty, location_name: "condition"))
183
209
  ComponentProperty.add_member(:configured, Shapes::ShapeRef.new(shape: Boolean, location_name: "configured"))
@@ -185,6 +211,7 @@ module Aws::AmplifyUIBuilder
185
211
  ComponentProperty.add_member(:event, Shapes::ShapeRef.new(shape: String, location_name: "event"))
186
212
  ComponentProperty.add_member(:imported_value, Shapes::ShapeRef.new(shape: String, location_name: "importedValue"))
187
213
  ComponentProperty.add_member(:model, Shapes::ShapeRef.new(shape: String, location_name: "model"))
214
+ ComponentProperty.add_member(:property, Shapes::ShapeRef.new(shape: String, location_name: "property"))
188
215
  ComponentProperty.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
189
216
  ComponentProperty.add_member(:user_attribute, Shapes::ShapeRef.new(shape: String, location_name: "userAttribute"))
190
217
  ComponentProperty.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
@@ -218,9 +245,11 @@ module Aws::AmplifyUIBuilder
218
245
  CreateComponentData.add_member(:children, Shapes::ShapeRef.new(shape: ComponentChildList, location_name: "children"))
219
246
  CreateComponentData.add_member(:collection_properties, Shapes::ShapeRef.new(shape: ComponentCollectionProperties, location_name: "collectionProperties"))
220
247
  CreateComponentData.add_member(:component_type, Shapes::ShapeRef.new(shape: ComponentType, required: true, location_name: "componentType"))
248
+ CreateComponentData.add_member(:events, Shapes::ShapeRef.new(shape: ComponentEvents, location_name: "events"))
221
249
  CreateComponentData.add_member(:name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "name"))
222
250
  CreateComponentData.add_member(:overrides, Shapes::ShapeRef.new(shape: ComponentOverrides, required: true, location_name: "overrides"))
223
251
  CreateComponentData.add_member(:properties, Shapes::ShapeRef.new(shape: ComponentProperties, required: true, location_name: "properties"))
252
+ CreateComponentData.add_member(:schema_version, Shapes::ShapeRef.new(shape: String, location_name: "schemaVersion"))
224
253
  CreateComponentData.add_member(:source_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceId"))
225
254
  CreateComponentData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
226
255
  CreateComponentData.add_member(:variants, Shapes::ShapeRef.new(shape: ComponentVariants, required: true, location_name: "variants"))
@@ -274,27 +303,31 @@ module Aws::AmplifyUIBuilder
274
303
  ExchangeCodeForTokenRequest[:payload] = :request
275
304
  ExchangeCodeForTokenRequest[:payload_member] = ExchangeCodeForTokenRequest.member(:request)
276
305
 
277
- ExchangeCodeForTokenRequestBody.add_member(:code, Shapes::ShapeRef.new(shape: SyntheticExchangeCodeForTokenRequestBodyString, required: true, location_name: "code"))
306
+ ExchangeCodeForTokenRequestBody.add_member(:code, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "code"))
278
307
  ExchangeCodeForTokenRequestBody.add_member(:redirect_uri, Shapes::ShapeRef.new(shape: String, required: true, location_name: "redirectUri"))
279
308
  ExchangeCodeForTokenRequestBody.struct_class = Types::ExchangeCodeForTokenRequestBody
280
309
 
281
- ExchangeCodeForTokenResponse.add_member(:access_token, Shapes::ShapeRef.new(shape: SyntheticExchangeCodeForTokenResponseString, required: true, location_name: "accessToken"))
310
+ ExchangeCodeForTokenResponse.add_member(:access_token, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "accessToken"))
282
311
  ExchangeCodeForTokenResponse.add_member(:expires_in, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "expiresIn"))
283
- ExchangeCodeForTokenResponse.add_member(:refresh_token, Shapes::ShapeRef.new(shape: SyntheticExchangeCodeForTokenResponseString, required: true, location_name: "refreshToken"))
312
+ ExchangeCodeForTokenResponse.add_member(:refresh_token, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "refreshToken"))
284
313
  ExchangeCodeForTokenResponse.struct_class = Types::ExchangeCodeForTokenResponse
285
314
 
286
315
  ExportComponentsRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
287
316
  ExportComponentsRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
317
+ ExportComponentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
288
318
  ExportComponentsRequest.struct_class = Types::ExportComponentsRequest
289
319
 
290
320
  ExportComponentsResponse.add_member(:entities, Shapes::ShapeRef.new(shape: ComponentList, required: true, location_name: "entities"))
321
+ ExportComponentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
291
322
  ExportComponentsResponse.struct_class = Types::ExportComponentsResponse
292
323
 
293
324
  ExportThemesRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
294
325
  ExportThemesRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
326
+ ExportThemesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
295
327
  ExportThemesRequest.struct_class = Types::ExportThemesRequest
296
328
 
297
329
  ExportThemesResponse.add_member(:entities, Shapes::ShapeRef.new(shape: ThemeList, required: true, location_name: "entities"))
330
+ ExportThemesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
298
331
  ExportThemesResponse.struct_class = Types::ExportThemesResponse
299
332
 
300
333
  FormBindingElement.add_member(:element, Shapes::ShapeRef.new(shape: String, required: true, location_name: "element"))
@@ -352,6 +385,11 @@ module Aws::AmplifyUIBuilder
352
385
  ListThemesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
353
386
  ListThemesResponse.struct_class = Types::ListThemesResponse
354
387
 
388
+ MutationActionSetStateParameter.add_member(:component_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "componentName"))
389
+ MutationActionSetStateParameter.add_member(:property, Shapes::ShapeRef.new(shape: String, required: true, location_name: "property"))
390
+ MutationActionSetStateParameter.add_member(:set, Shapes::ShapeRef.new(shape: ComponentProperty, required: true, location_name: "set"))
391
+ MutationActionSetStateParameter.struct_class = Types::MutationActionSetStateParameter
392
+
355
393
  Predicate.add_member(:and, Shapes::ShapeRef.new(shape: PredicateList, location_name: "and"))
356
394
  Predicate.add_member(:field, Shapes::ShapeRef.new(shape: String, location_name: "field"))
357
395
  Predicate.add_member(:operand, Shapes::ShapeRef.new(shape: String, location_name: "operand"))
@@ -367,10 +405,10 @@ module Aws::AmplifyUIBuilder
367
405
  RefreshTokenRequest[:payload] = :refresh_token_body
368
406
  RefreshTokenRequest[:payload_member] = RefreshTokenRequest.member(:refresh_token_body)
369
407
 
370
- RefreshTokenRequestBody.add_member(:token, Shapes::ShapeRef.new(shape: SyntheticRefreshTokenRequestBodyString, required: true, location_name: "token"))
408
+ RefreshTokenRequestBody.add_member(:token, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "token"))
371
409
  RefreshTokenRequestBody.struct_class = Types::RefreshTokenRequestBody
372
410
 
373
- RefreshTokenResponse.add_member(:access_token, Shapes::ShapeRef.new(shape: SyntheticRefreshTokenResponseString, required: true, location_name: "accessToken"))
411
+ RefreshTokenResponse.add_member(:access_token, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "accessToken"))
374
412
  RefreshTokenResponse.add_member(:expires_in, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "expiresIn"))
375
413
  RefreshTokenResponse.struct_class = Types::RefreshTokenResponse
376
414
 
@@ -427,10 +465,12 @@ module Aws::AmplifyUIBuilder
427
465
  UpdateComponentData.add_member(:children, Shapes::ShapeRef.new(shape: ComponentChildList, location_name: "children"))
428
466
  UpdateComponentData.add_member(:collection_properties, Shapes::ShapeRef.new(shape: ComponentCollectionProperties, location_name: "collectionProperties"))
429
467
  UpdateComponentData.add_member(:component_type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "componentType"))
468
+ UpdateComponentData.add_member(:events, Shapes::ShapeRef.new(shape: ComponentEvents, location_name: "events"))
430
469
  UpdateComponentData.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, location_name: "id"))
431
470
  UpdateComponentData.add_member(:name, Shapes::ShapeRef.new(shape: ComponentName, location_name: "name"))
432
471
  UpdateComponentData.add_member(:overrides, Shapes::ShapeRef.new(shape: ComponentOverrides, location_name: "overrides"))
433
472
  UpdateComponentData.add_member(:properties, Shapes::ShapeRef.new(shape: ComponentProperties, location_name: "properties"))
473
+ UpdateComponentData.add_member(:schema_version, Shapes::ShapeRef.new(shape: String, location_name: "schemaVersion"))
434
474
  UpdateComponentData.add_member(:source_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceId"))
435
475
  UpdateComponentData.add_member(:variants, Shapes::ShapeRef.new(shape: ComponentVariants, location_name: "variants"))
436
476
  UpdateComponentData.struct_class = Types::UpdateComponentData
@@ -550,6 +590,11 @@ module Aws::AmplifyUIBuilder
550
590
  o.output = Shapes::ShapeRef.new(shape: ExportComponentsResponse)
551
591
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
552
592
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
593
+ o[:pager] = Aws::Pager.new(
594
+ tokens: {
595
+ "next_token" => "next_token"
596
+ }
597
+ )
553
598
  end)
554
599
 
555
600
  api.add_operation(:export_themes, Seahorse::Model::Operation.new.tap do |o|
@@ -560,6 +605,11 @@ module Aws::AmplifyUIBuilder
560
605
  o.output = Shapes::ShapeRef.new(shape: ExportThemesResponse)
561
606
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
562
607
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
608
+ o[:pager] = Aws::Pager.new(
609
+ tokens: {
610
+ "next_token" => "next_token"
611
+ }
612
+ )
563
613
  end)
564
614
 
565
615
  api.add_operation(:get_component, Seahorse::Model::Operation.new.tap do |o|