aws-sdk-amplifyuibuilder 1.4.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -43,22 +43,54 @@ module Aws::AmplifyUIBuilder
43
43
  CreateComponentData = Shapes::StructureShape.new(name: 'CreateComponentData')
44
44
  CreateComponentRequest = Shapes::StructureShape.new(name: 'CreateComponentRequest')
45
45
  CreateComponentResponse = Shapes::StructureShape.new(name: 'CreateComponentResponse')
46
+ CreateFormData = Shapes::StructureShape.new(name: 'CreateFormData')
47
+ CreateFormRequest = Shapes::StructureShape.new(name: 'CreateFormRequest')
48
+ CreateFormResponse = Shapes::StructureShape.new(name: 'CreateFormResponse')
46
49
  CreateThemeData = Shapes::StructureShape.new(name: 'CreateThemeData')
47
50
  CreateThemeRequest = Shapes::StructureShape.new(name: 'CreateThemeRequest')
48
51
  CreateThemeResponse = Shapes::StructureShape.new(name: 'CreateThemeResponse')
49
52
  DeleteComponentRequest = Shapes::StructureShape.new(name: 'DeleteComponentRequest')
53
+ DeleteFormRequest = Shapes::StructureShape.new(name: 'DeleteFormRequest')
50
54
  DeleteThemeRequest = Shapes::StructureShape.new(name: 'DeleteThemeRequest')
51
55
  ExchangeCodeForTokenRequest = Shapes::StructureShape.new(name: 'ExchangeCodeForTokenRequest')
52
56
  ExchangeCodeForTokenRequestBody = Shapes::StructureShape.new(name: 'ExchangeCodeForTokenRequestBody')
53
57
  ExchangeCodeForTokenResponse = Shapes::StructureShape.new(name: 'ExchangeCodeForTokenResponse')
54
58
  ExportComponentsRequest = Shapes::StructureShape.new(name: 'ExportComponentsRequest')
55
59
  ExportComponentsResponse = Shapes::StructureShape.new(name: 'ExportComponentsResponse')
60
+ ExportFormsRequest = Shapes::StructureShape.new(name: 'ExportFormsRequest')
61
+ ExportFormsResponse = Shapes::StructureShape.new(name: 'ExportFormsResponse')
56
62
  ExportThemesRequest = Shapes::StructureShape.new(name: 'ExportThemesRequest')
57
63
  ExportThemesResponse = Shapes::StructureShape.new(name: 'ExportThemesResponse')
64
+ FeaturesMap = Shapes::MapShape.new(name: 'FeaturesMap')
65
+ FieldConfig = Shapes::StructureShape.new(name: 'FieldConfig')
66
+ FieldInputConfig = Shapes::StructureShape.new(name: 'FieldInputConfig')
67
+ FieldPosition = Shapes::UnionShape.new(name: 'FieldPosition')
68
+ FieldValidationConfiguration = Shapes::StructureShape.new(name: 'FieldValidationConfiguration')
69
+ FieldsMap = Shapes::MapShape.new(name: 'FieldsMap')
70
+ FixedPosition = Shapes::StringShape.new(name: 'FixedPosition')
71
+ Float = Shapes::FloatShape.new(name: 'Float')
72
+ Form = Shapes::StructureShape.new(name: 'Form')
73
+ FormActionType = Shapes::StringShape.new(name: 'FormActionType')
58
74
  FormBindingElement = Shapes::StructureShape.new(name: 'FormBindingElement')
59
75
  FormBindings = Shapes::MapShape.new(name: 'FormBindings')
76
+ FormButton = Shapes::StructureShape.new(name: 'FormButton')
77
+ FormButtonsPosition = Shapes::StringShape.new(name: 'FormButtonsPosition')
78
+ FormCTA = Shapes::StructureShape.new(name: 'FormCTA')
79
+ FormDataSourceType = Shapes::StringShape.new(name: 'FormDataSourceType')
80
+ FormDataTypeConfig = Shapes::StructureShape.new(name: 'FormDataTypeConfig')
81
+ FormInputValueProperty = Shapes::StructureShape.new(name: 'FormInputValueProperty')
82
+ FormList = Shapes::ListShape.new(name: 'FormList')
83
+ FormName = Shapes::StringShape.new(name: 'FormName')
84
+ FormStyle = Shapes::StructureShape.new(name: 'FormStyle')
85
+ FormStyleConfig = Shapes::UnionShape.new(name: 'FormStyleConfig')
86
+ FormSummary = Shapes::StructureShape.new(name: 'FormSummary')
87
+ FormSummaryList = Shapes::ListShape.new(name: 'FormSummaryList')
60
88
  GetComponentRequest = Shapes::StructureShape.new(name: 'GetComponentRequest')
61
89
  GetComponentResponse = Shapes::StructureShape.new(name: 'GetComponentResponse')
90
+ GetFormRequest = Shapes::StructureShape.new(name: 'GetFormRequest')
91
+ GetFormResponse = Shapes::StructureShape.new(name: 'GetFormResponse')
92
+ GetMetadataRequest = Shapes::StructureShape.new(name: 'GetMetadataRequest')
93
+ GetMetadataResponse = Shapes::StructureShape.new(name: 'GetMetadataResponse')
62
94
  GetThemeRequest = Shapes::StructureShape.new(name: 'GetThemeRequest')
63
95
  GetThemeResponse = Shapes::StructureShape.new(name: 'GetThemeResponse')
64
96
  IdentifierList = Shapes::ListShape.new(name: 'IdentifierList')
@@ -68,26 +100,32 @@ module Aws::AmplifyUIBuilder
68
100
  ListComponentsLimit = Shapes::IntegerShape.new(name: 'ListComponentsLimit')
69
101
  ListComponentsRequest = Shapes::StructureShape.new(name: 'ListComponentsRequest')
70
102
  ListComponentsResponse = Shapes::StructureShape.new(name: 'ListComponentsResponse')
103
+ ListFormsLimit = Shapes::IntegerShape.new(name: 'ListFormsLimit')
104
+ ListFormsRequest = Shapes::StructureShape.new(name: 'ListFormsRequest')
105
+ ListFormsResponse = Shapes::StructureShape.new(name: 'ListFormsResponse')
71
106
  ListThemesLimit = Shapes::IntegerShape.new(name: 'ListThemesLimit')
72
107
  ListThemesRequest = Shapes::StructureShape.new(name: 'ListThemesRequest')
73
108
  ListThemesResponse = Shapes::StructureShape.new(name: 'ListThemesResponse')
74
109
  MutationActionSetStateParameter = Shapes::StructureShape.new(name: 'MutationActionSetStateParameter')
110
+ NumValues = Shapes::ListShape.new(name: 'NumValues')
75
111
  Predicate = Shapes::StructureShape.new(name: 'Predicate')
76
112
  PredicateList = Shapes::ListShape.new(name: 'PredicateList')
113
+ PutMetadataFlagBody = Shapes::StructureShape.new(name: 'PutMetadataFlagBody')
114
+ PutMetadataFlagRequest = Shapes::StructureShape.new(name: 'PutMetadataFlagRequest')
77
115
  RefreshTokenRequest = Shapes::StructureShape.new(name: 'RefreshTokenRequest')
78
116
  RefreshTokenRequestBody = Shapes::StructureShape.new(name: 'RefreshTokenRequestBody')
79
117
  RefreshTokenResponse = Shapes::StructureShape.new(name: 'RefreshTokenResponse')
80
118
  ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
81
119
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
120
+ SectionalElement = Shapes::StructureShape.new(name: 'SectionalElement')
121
+ SectionalElementMap = Shapes::MapShape.new(name: 'SectionalElementMap')
122
+ SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
82
123
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
83
124
  SortDirection = Shapes::StringShape.new(name: 'SortDirection')
84
125
  SortProperty = Shapes::StructureShape.new(name: 'SortProperty')
85
126
  SortPropertyList = Shapes::ListShape.new(name: 'SortPropertyList')
127
+ StrValues = Shapes::ListShape.new(name: 'StrValues')
86
128
  String = Shapes::StringShape.new(name: 'String')
87
- SyntheticExchangeCodeForTokenRequestBodyString = Shapes::StringShape.new(name: 'SyntheticExchangeCodeForTokenRequestBodyString')
88
- SyntheticExchangeCodeForTokenResponseString = Shapes::StringShape.new(name: 'SyntheticExchangeCodeForTokenResponseString')
89
- SyntheticRefreshTokenRequestBodyString = Shapes::StringShape.new(name: 'SyntheticRefreshTokenRequestBodyString')
90
- SyntheticRefreshTokenResponseString = Shapes::StringShape.new(name: 'SyntheticRefreshTokenResponseString')
91
129
  SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
92
130
  TagKey = Shapes::StringShape.new(name: 'TagKey')
93
131
  TagValue = Shapes::StringShape.new(name: 'TagValue')
@@ -101,13 +139,21 @@ module Aws::AmplifyUIBuilder
101
139
  ThemeValues = Shapes::StructureShape.new(name: 'ThemeValues')
102
140
  ThemeValuesList = Shapes::ListShape.new(name: 'ThemeValuesList')
103
141
  TokenProviders = Shapes::StringShape.new(name: 'TokenProviders')
142
+ UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
104
143
  UpdateComponentData = Shapes::StructureShape.new(name: 'UpdateComponentData')
105
144
  UpdateComponentRequest = Shapes::StructureShape.new(name: 'UpdateComponentRequest')
106
145
  UpdateComponentResponse = Shapes::StructureShape.new(name: 'UpdateComponentResponse')
146
+ UpdateFormData = Shapes::StructureShape.new(name: 'UpdateFormData')
147
+ UpdateFormRequest = Shapes::StructureShape.new(name: 'UpdateFormRequest')
148
+ UpdateFormResponse = Shapes::StructureShape.new(name: 'UpdateFormResponse')
107
149
  UpdateThemeData = Shapes::StructureShape.new(name: 'UpdateThemeData')
108
150
  UpdateThemeRequest = Shapes::StructureShape.new(name: 'UpdateThemeRequest')
109
151
  UpdateThemeResponse = Shapes::StructureShape.new(name: 'UpdateThemeResponse')
110
152
  Uuid = Shapes::StringShape.new(name: 'Uuid')
153
+ ValidationsList = Shapes::ListShape.new(name: 'ValidationsList')
154
+ ValueMapping = Shapes::StructureShape.new(name: 'ValueMapping')
155
+ ValueMappingList = Shapes::ListShape.new(name: 'ValueMappingList')
156
+ ValueMappings = Shapes::StructureShape.new(name: 'ValueMappings')
111
157
 
112
158
  ActionParameters.add_member(:anchor, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "anchor"))
113
159
  ActionParameters.add_member(:fields, Shapes::ShapeRef.new(shape: ComponentProperties, location_name: "fields"))
@@ -153,6 +199,7 @@ module Aws::AmplifyUIBuilder
153
199
  ComponentBindingPropertiesValueProperties.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
154
200
  ComponentBindingPropertiesValueProperties.add_member(:model, Shapes::ShapeRef.new(shape: String, location_name: "model"))
155
201
  ComponentBindingPropertiesValueProperties.add_member(:predicates, Shapes::ShapeRef.new(shape: PredicateList, location_name: "predicates"))
202
+ ComponentBindingPropertiesValueProperties.add_member(:slot_name, Shapes::ShapeRef.new(shape: String, location_name: "slotName"))
156
203
  ComponentBindingPropertiesValueProperties.add_member(:user_attribute, Shapes::ShapeRef.new(shape: String, location_name: "userAttribute"))
157
204
  ComponentBindingPropertiesValueProperties.struct_class = Types::ComponentBindingPropertiesValueProperties
158
205
 
@@ -161,6 +208,7 @@ module Aws::AmplifyUIBuilder
161
208
  ComponentChild.add_member(:events, Shapes::ShapeRef.new(shape: ComponentEvents, location_name: "events"))
162
209
  ComponentChild.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
163
210
  ComponentChild.add_member(:properties, Shapes::ShapeRef.new(shape: ComponentProperties, required: true, location_name: "properties"))
211
+ ComponentChild.add_member(:source_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceId"))
164
212
  ComponentChild.struct_class = Types::ComponentChild
165
213
 
166
214
  ComponentChildList.member = Shapes::ShapeRef.new(shape: ComponentChild)
@@ -184,6 +232,7 @@ module Aws::AmplifyUIBuilder
184
232
  ComponentDataConfiguration.struct_class = Types::ComponentDataConfiguration
185
233
 
186
234
  ComponentEvent.add_member(:action, Shapes::ShapeRef.new(shape: String, location_name: "action"))
235
+ ComponentEvent.add_member(:binding_event, Shapes::ShapeRef.new(shape: String, location_name: "bindingEvent"))
187
236
  ComponentEvent.add_member(:parameters, Shapes::ShapeRef.new(shape: ActionParameters, location_name: "parameters"))
188
237
  ComponentEvent.struct_class = Types::ComponentEvent
189
238
 
@@ -207,7 +256,7 @@ module Aws::AmplifyUIBuilder
207
256
  ComponentProperty.add_member(:component_name, Shapes::ShapeRef.new(shape: String, location_name: "componentName"))
208
257
  ComponentProperty.add_member(:concat, Shapes::ShapeRef.new(shape: ComponentPropertyList, location_name: "concat"))
209
258
  ComponentProperty.add_member(:condition, Shapes::ShapeRef.new(shape: ComponentConditionProperty, location_name: "condition"))
210
- ComponentProperty.add_member(:configured, Shapes::ShapeRef.new(shape: Boolean, location_name: "configured"))
259
+ ComponentProperty.add_member(:configured, Shapes::ShapeRef.new(shape: Boolean, location_name: "configured", metadata: {"box"=>true}))
211
260
  ComponentProperty.add_member(:default_value, Shapes::ShapeRef.new(shape: String, location_name: "defaultValue"))
212
261
  ComponentProperty.add_member(:event, Shapes::ShapeRef.new(shape: String, location_name: "event"))
213
262
  ComponentProperty.add_member(:imported_value, Shapes::ShapeRef.new(shape: String, location_name: "importedValue"))
@@ -269,6 +318,30 @@ module Aws::AmplifyUIBuilder
269
318
  CreateComponentResponse[:payload] = :entity
270
319
  CreateComponentResponse[:payload_member] = CreateComponentResponse.member(:entity)
271
320
 
321
+ CreateFormData.add_member(:cta, Shapes::ShapeRef.new(shape: FormCTA, location_name: "cta"))
322
+ CreateFormData.add_member(:data_type, Shapes::ShapeRef.new(shape: FormDataTypeConfig, required: true, location_name: "dataType"))
323
+ CreateFormData.add_member(:fields, Shapes::ShapeRef.new(shape: FieldsMap, required: true, location_name: "fields"))
324
+ CreateFormData.add_member(:form_action_type, Shapes::ShapeRef.new(shape: FormActionType, required: true, location_name: "formActionType"))
325
+ CreateFormData.add_member(:name, Shapes::ShapeRef.new(shape: FormName, required: true, location_name: "name"))
326
+ CreateFormData.add_member(:schema_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "schemaVersion"))
327
+ CreateFormData.add_member(:sectional_elements, Shapes::ShapeRef.new(shape: SectionalElementMap, required: true, location_name: "sectionalElements"))
328
+ CreateFormData.add_member(:style, Shapes::ShapeRef.new(shape: FormStyle, required: true, location_name: "style"))
329
+ CreateFormData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
330
+ CreateFormData.struct_class = Types::CreateFormData
331
+
332
+ CreateFormRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
333
+ CreateFormRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
334
+ CreateFormRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
335
+ CreateFormRequest.add_member(:form_to_create, Shapes::ShapeRef.new(shape: CreateFormData, required: true, location_name: "formToCreate"))
336
+ CreateFormRequest.struct_class = Types::CreateFormRequest
337
+ CreateFormRequest[:payload] = :form_to_create
338
+ CreateFormRequest[:payload_member] = CreateFormRequest.member(:form_to_create)
339
+
340
+ CreateFormResponse.add_member(:entity, Shapes::ShapeRef.new(shape: Form, location_name: "entity"))
341
+ CreateFormResponse.struct_class = Types::CreateFormResponse
342
+ CreateFormResponse[:payload] = :entity
343
+ CreateFormResponse[:payload_member] = CreateFormResponse.member(:entity)
344
+
272
345
  CreateThemeData.add_member(:name, Shapes::ShapeRef.new(shape: ThemeName, required: true, location_name: "name"))
273
346
  CreateThemeData.add_member(:overrides, Shapes::ShapeRef.new(shape: ThemeValuesList, location_name: "overrides"))
274
347
  CreateThemeData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
@@ -293,6 +366,11 @@ module Aws::AmplifyUIBuilder
293
366
  DeleteComponentRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
294
367
  DeleteComponentRequest.struct_class = Types::DeleteComponentRequest
295
368
 
369
+ DeleteFormRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
370
+ DeleteFormRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
371
+ DeleteFormRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
372
+ DeleteFormRequest.struct_class = Types::DeleteFormRequest
373
+
296
374
  DeleteThemeRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
297
375
  DeleteThemeRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
298
376
  DeleteThemeRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
@@ -304,13 +382,13 @@ module Aws::AmplifyUIBuilder
304
382
  ExchangeCodeForTokenRequest[:payload] = :request
305
383
  ExchangeCodeForTokenRequest[:payload_member] = ExchangeCodeForTokenRequest.member(:request)
306
384
 
307
- ExchangeCodeForTokenRequestBody.add_member(:code, Shapes::ShapeRef.new(shape: SyntheticExchangeCodeForTokenRequestBodyString, required: true, location_name: "code"))
385
+ ExchangeCodeForTokenRequestBody.add_member(:code, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "code"))
308
386
  ExchangeCodeForTokenRequestBody.add_member(:redirect_uri, Shapes::ShapeRef.new(shape: String, required: true, location_name: "redirectUri"))
309
387
  ExchangeCodeForTokenRequestBody.struct_class = Types::ExchangeCodeForTokenRequestBody
310
388
 
311
- ExchangeCodeForTokenResponse.add_member(:access_token, Shapes::ShapeRef.new(shape: SyntheticExchangeCodeForTokenResponseString, required: true, location_name: "accessToken"))
312
- ExchangeCodeForTokenResponse.add_member(:expires_in, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "expiresIn"))
313
- ExchangeCodeForTokenResponse.add_member(:refresh_token, Shapes::ShapeRef.new(shape: SyntheticExchangeCodeForTokenResponseString, required: true, location_name: "refreshToken"))
389
+ ExchangeCodeForTokenResponse.add_member(:access_token, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "accessToken"))
390
+ ExchangeCodeForTokenResponse.add_member(:expires_in, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "expiresIn", metadata: {"box"=>true}))
391
+ ExchangeCodeForTokenResponse.add_member(:refresh_token, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "refreshToken"))
314
392
  ExchangeCodeForTokenResponse.struct_class = Types::ExchangeCodeForTokenResponse
315
393
 
316
394
  ExportComponentsRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
@@ -322,6 +400,15 @@ module Aws::AmplifyUIBuilder
322
400
  ExportComponentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
323
401
  ExportComponentsResponse.struct_class = Types::ExportComponentsResponse
324
402
 
403
+ ExportFormsRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
404
+ ExportFormsRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
405
+ ExportFormsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
406
+ ExportFormsRequest.struct_class = Types::ExportFormsRequest
407
+
408
+ ExportFormsResponse.add_member(:entities, Shapes::ShapeRef.new(shape: FormList, required: true, location_name: "entities"))
409
+ ExportFormsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
410
+ ExportFormsResponse.struct_class = Types::ExportFormsResponse
411
+
325
412
  ExportThemesRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
326
413
  ExportThemesRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
327
414
  ExportThemesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
@@ -331,6 +418,65 @@ module Aws::AmplifyUIBuilder
331
418
  ExportThemesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
332
419
  ExportThemesResponse.struct_class = Types::ExportThemesResponse
333
420
 
421
+ FeaturesMap.key = Shapes::ShapeRef.new(shape: String)
422
+ FeaturesMap.value = Shapes::ShapeRef.new(shape: String)
423
+
424
+ FieldConfig.add_member(:excluded, Shapes::ShapeRef.new(shape: Boolean, location_name: "excluded", metadata: {"box"=>true}))
425
+ FieldConfig.add_member(:input_type, Shapes::ShapeRef.new(shape: FieldInputConfig, location_name: "inputType"))
426
+ FieldConfig.add_member(:label, Shapes::ShapeRef.new(shape: String, location_name: "label"))
427
+ FieldConfig.add_member(:position, Shapes::ShapeRef.new(shape: FieldPosition, location_name: "position"))
428
+ FieldConfig.add_member(:validations, Shapes::ShapeRef.new(shape: ValidationsList, location_name: "validations"))
429
+ FieldConfig.struct_class = Types::FieldConfig
430
+
431
+ FieldInputConfig.add_member(:default_checked, Shapes::ShapeRef.new(shape: Boolean, location_name: "defaultChecked", metadata: {"box"=>true}))
432
+ FieldInputConfig.add_member(:default_country_code, Shapes::ShapeRef.new(shape: String, location_name: "defaultCountryCode"))
433
+ FieldInputConfig.add_member(:default_value, Shapes::ShapeRef.new(shape: String, location_name: "defaultValue"))
434
+ FieldInputConfig.add_member(:descriptive_text, Shapes::ShapeRef.new(shape: String, location_name: "descriptiveText"))
435
+ FieldInputConfig.add_member(:max_value, Shapes::ShapeRef.new(shape: Float, location_name: "maxValue", metadata: {"box"=>true}))
436
+ FieldInputConfig.add_member(:min_value, Shapes::ShapeRef.new(shape: Float, location_name: "minValue", metadata: {"box"=>true}))
437
+ FieldInputConfig.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
438
+ FieldInputConfig.add_member(:placeholder, Shapes::ShapeRef.new(shape: String, location_name: "placeholder"))
439
+ FieldInputConfig.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "readOnly", metadata: {"box"=>true}))
440
+ FieldInputConfig.add_member(:required, Shapes::ShapeRef.new(shape: Boolean, location_name: "required", metadata: {"box"=>true}))
441
+ FieldInputConfig.add_member(:step, Shapes::ShapeRef.new(shape: Float, location_name: "step", metadata: {"box"=>true}))
442
+ FieldInputConfig.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "type"))
443
+ FieldInputConfig.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
444
+ FieldInputConfig.add_member(:value_mappings, Shapes::ShapeRef.new(shape: ValueMappings, location_name: "valueMappings"))
445
+ FieldInputConfig.struct_class = Types::FieldInputConfig
446
+
447
+ FieldPosition.add_member(:below, Shapes::ShapeRef.new(shape: String, location_name: "below"))
448
+ FieldPosition.add_member(:fixed, Shapes::ShapeRef.new(shape: FixedPosition, location_name: "fixed"))
449
+ FieldPosition.add_member(:right_of, Shapes::ShapeRef.new(shape: String, location_name: "rightOf"))
450
+ FieldPosition.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
451
+ FieldPosition.add_member_subclass(:below, Types::FieldPosition::Below)
452
+ FieldPosition.add_member_subclass(:fixed, Types::FieldPosition::Fixed)
453
+ FieldPosition.add_member_subclass(:right_of, Types::FieldPosition::RightOf)
454
+ FieldPosition.add_member_subclass(:unknown, Types::FieldPosition::Unknown)
455
+ FieldPosition.struct_class = Types::FieldPosition
456
+
457
+ FieldValidationConfiguration.add_member(:num_values, Shapes::ShapeRef.new(shape: NumValues, location_name: "numValues"))
458
+ FieldValidationConfiguration.add_member(:str_values, Shapes::ShapeRef.new(shape: StrValues, location_name: "strValues"))
459
+ FieldValidationConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "type"))
460
+ FieldValidationConfiguration.add_member(:validation_message, Shapes::ShapeRef.new(shape: String, location_name: "validationMessage"))
461
+ FieldValidationConfiguration.struct_class = Types::FieldValidationConfiguration
462
+
463
+ FieldsMap.key = Shapes::ShapeRef.new(shape: String)
464
+ FieldsMap.value = Shapes::ShapeRef.new(shape: FieldConfig)
465
+
466
+ Form.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "appId"))
467
+ Form.add_member(:cta, Shapes::ShapeRef.new(shape: FormCTA, location_name: "cta"))
468
+ Form.add_member(:data_type, Shapes::ShapeRef.new(shape: FormDataTypeConfig, required: true, location_name: "dataType"))
469
+ Form.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "environmentName"))
470
+ Form.add_member(:fields, Shapes::ShapeRef.new(shape: FieldsMap, required: true, location_name: "fields"))
471
+ Form.add_member(:form_action_type, Shapes::ShapeRef.new(shape: FormActionType, required: true, location_name: "formActionType"))
472
+ Form.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
473
+ Form.add_member(:name, Shapes::ShapeRef.new(shape: FormName, required: true, location_name: "name"))
474
+ Form.add_member(:schema_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "schemaVersion"))
475
+ Form.add_member(:sectional_elements, Shapes::ShapeRef.new(shape: SectionalElementMap, required: true, location_name: "sectionalElements"))
476
+ Form.add_member(:style, Shapes::ShapeRef.new(shape: FormStyle, required: true, location_name: "style"))
477
+ Form.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
478
+ Form.struct_class = Types::Form
479
+
334
480
  FormBindingElement.add_member(:element, Shapes::ShapeRef.new(shape: String, required: true, location_name: "element"))
335
481
  FormBindingElement.add_member(:property, Shapes::ShapeRef.new(shape: String, required: true, location_name: "property"))
336
482
  FormBindingElement.struct_class = Types::FormBindingElement
@@ -338,6 +484,49 @@ module Aws::AmplifyUIBuilder
338
484
  FormBindings.key = Shapes::ShapeRef.new(shape: String)
339
485
  FormBindings.value = Shapes::ShapeRef.new(shape: FormBindingElement)
340
486
 
487
+ FormButton.add_member(:children, Shapes::ShapeRef.new(shape: String, location_name: "children"))
488
+ FormButton.add_member(:excluded, Shapes::ShapeRef.new(shape: Boolean, location_name: "excluded", metadata: {"box"=>true}))
489
+ FormButton.add_member(:position, Shapes::ShapeRef.new(shape: FieldPosition, location_name: "position"))
490
+ FormButton.struct_class = Types::FormButton
491
+
492
+ FormCTA.add_member(:cancel, Shapes::ShapeRef.new(shape: FormButton, location_name: "cancel"))
493
+ FormCTA.add_member(:clear, Shapes::ShapeRef.new(shape: FormButton, location_name: "clear"))
494
+ FormCTA.add_member(:position, Shapes::ShapeRef.new(shape: FormButtonsPosition, location_name: "position"))
495
+ FormCTA.add_member(:submit, Shapes::ShapeRef.new(shape: FormButton, location_name: "submit"))
496
+ FormCTA.struct_class = Types::FormCTA
497
+
498
+ FormDataTypeConfig.add_member(:data_source_type, Shapes::ShapeRef.new(shape: FormDataSourceType, required: true, location_name: "dataSourceType"))
499
+ FormDataTypeConfig.add_member(:data_type_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "dataTypeName"))
500
+ FormDataTypeConfig.struct_class = Types::FormDataTypeConfig
501
+
502
+ FormInputValueProperty.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
503
+ FormInputValueProperty.struct_class = Types::FormInputValueProperty
504
+
505
+ FormList.member = Shapes::ShapeRef.new(shape: Form)
506
+
507
+ FormStyle.add_member(:horizontal_gap, Shapes::ShapeRef.new(shape: FormStyleConfig, location_name: "horizontalGap"))
508
+ FormStyle.add_member(:outer_padding, Shapes::ShapeRef.new(shape: FormStyleConfig, location_name: "outerPadding"))
509
+ FormStyle.add_member(:vertical_gap, Shapes::ShapeRef.new(shape: FormStyleConfig, location_name: "verticalGap"))
510
+ FormStyle.struct_class = Types::FormStyle
511
+
512
+ FormStyleConfig.add_member(:token_reference, Shapes::ShapeRef.new(shape: String, location_name: "tokenReference"))
513
+ FormStyleConfig.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
514
+ FormStyleConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
515
+ FormStyleConfig.add_member_subclass(:token_reference, Types::FormStyleConfig::TokenReference)
516
+ FormStyleConfig.add_member_subclass(:value, Types::FormStyleConfig::Value)
517
+ FormStyleConfig.add_member_subclass(:unknown, Types::FormStyleConfig::Unknown)
518
+ FormStyleConfig.struct_class = Types::FormStyleConfig
519
+
520
+ FormSummary.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "appId"))
521
+ FormSummary.add_member(:data_type, Shapes::ShapeRef.new(shape: FormDataTypeConfig, required: true, location_name: "dataType"))
522
+ FormSummary.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "environmentName"))
523
+ FormSummary.add_member(:form_action_type, Shapes::ShapeRef.new(shape: FormActionType, required: true, location_name: "formActionType"))
524
+ FormSummary.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
525
+ FormSummary.add_member(:name, Shapes::ShapeRef.new(shape: FormName, required: true, location_name: "name"))
526
+ FormSummary.struct_class = Types::FormSummary
527
+
528
+ FormSummaryList.member = Shapes::ShapeRef.new(shape: FormSummary)
529
+
341
530
  GetComponentRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
342
531
  GetComponentRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
343
532
  GetComponentRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
@@ -348,6 +537,23 @@ module Aws::AmplifyUIBuilder
348
537
  GetComponentResponse[:payload] = :component
349
538
  GetComponentResponse[:payload_member] = GetComponentResponse.member(:component)
350
539
 
540
+ GetFormRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
541
+ GetFormRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
542
+ GetFormRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
543
+ GetFormRequest.struct_class = Types::GetFormRequest
544
+
545
+ GetFormResponse.add_member(:form, Shapes::ShapeRef.new(shape: Form, location_name: "form"))
546
+ GetFormResponse.struct_class = Types::GetFormResponse
547
+ GetFormResponse[:payload] = :form
548
+ GetFormResponse[:payload_member] = GetFormResponse.member(:form)
549
+
550
+ GetMetadataRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
551
+ GetMetadataRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
552
+ GetMetadataRequest.struct_class = Types::GetMetadataRequest
553
+
554
+ GetMetadataResponse.add_member(:features, Shapes::ShapeRef.new(shape: FeaturesMap, required: true, location_name: "features"))
555
+ GetMetadataResponse.struct_class = Types::GetMetadataResponse
556
+
351
557
  GetThemeRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
352
558
  GetThemeRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
353
559
  GetThemeRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
@@ -368,7 +574,7 @@ module Aws::AmplifyUIBuilder
368
574
 
369
575
  ListComponentsRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
370
576
  ListComponentsRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
371
- ListComponentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListComponentsLimit, location: "querystring", location_name: "maxResults"))
577
+ ListComponentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListComponentsLimit, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
372
578
  ListComponentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
373
579
  ListComponentsRequest.struct_class = Types::ListComponentsRequest
374
580
 
@@ -376,9 +582,19 @@ module Aws::AmplifyUIBuilder
376
582
  ListComponentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
377
583
  ListComponentsResponse.struct_class = Types::ListComponentsResponse
378
584
 
585
+ ListFormsRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
586
+ ListFormsRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
587
+ ListFormsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListFormsLimit, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
588
+ ListFormsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
589
+ ListFormsRequest.struct_class = Types::ListFormsRequest
590
+
591
+ ListFormsResponse.add_member(:entities, Shapes::ShapeRef.new(shape: FormSummaryList, required: true, location_name: "entities"))
592
+ ListFormsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
593
+ ListFormsResponse.struct_class = Types::ListFormsResponse
594
+
379
595
  ListThemesRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
380
596
  ListThemesRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
381
- ListThemesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListThemesLimit, location: "querystring", location_name: "maxResults"))
597
+ ListThemesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListThemesLimit, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
382
598
  ListThemesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
383
599
  ListThemesRequest.struct_class = Types::ListThemesRequest
384
600
 
@@ -391,6 +607,8 @@ module Aws::AmplifyUIBuilder
391
607
  MutationActionSetStateParameter.add_member(:set, Shapes::ShapeRef.new(shape: ComponentProperty, required: true, location_name: "set"))
392
608
  MutationActionSetStateParameter.struct_class = Types::MutationActionSetStateParameter
393
609
 
610
+ NumValues.member = Shapes::ShapeRef.new(shape: Integer)
611
+
394
612
  Predicate.add_member(:and, Shapes::ShapeRef.new(shape: PredicateList, location_name: "and"))
395
613
  Predicate.add_member(:field, Shapes::ShapeRef.new(shape: String, location_name: "field"))
396
614
  Predicate.add_member(:operand, Shapes::ShapeRef.new(shape: String, location_name: "operand"))
@@ -400,17 +618,28 @@ module Aws::AmplifyUIBuilder
400
618
 
401
619
  PredicateList.member = Shapes::ShapeRef.new(shape: Predicate)
402
620
 
621
+ PutMetadataFlagBody.add_member(:new_value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "newValue"))
622
+ PutMetadataFlagBody.struct_class = Types::PutMetadataFlagBody
623
+
624
+ PutMetadataFlagRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
625
+ PutMetadataFlagRequest.add_member(:body, Shapes::ShapeRef.new(shape: PutMetadataFlagBody, required: true, location_name: "body"))
626
+ PutMetadataFlagRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
627
+ PutMetadataFlagRequest.add_member(:feature_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "featureName"))
628
+ PutMetadataFlagRequest.struct_class = Types::PutMetadataFlagRequest
629
+ PutMetadataFlagRequest[:payload] = :body
630
+ PutMetadataFlagRequest[:payload_member] = PutMetadataFlagRequest.member(:body)
631
+
403
632
  RefreshTokenRequest.add_member(:provider, Shapes::ShapeRef.new(shape: TokenProviders, required: true, location: "uri", location_name: "provider"))
404
633
  RefreshTokenRequest.add_member(:refresh_token_body, Shapes::ShapeRef.new(shape: RefreshTokenRequestBody, required: true, location_name: "refreshTokenBody"))
405
634
  RefreshTokenRequest.struct_class = Types::RefreshTokenRequest
406
635
  RefreshTokenRequest[:payload] = :refresh_token_body
407
636
  RefreshTokenRequest[:payload_member] = RefreshTokenRequest.member(:refresh_token_body)
408
637
 
409
- RefreshTokenRequestBody.add_member(:token, Shapes::ShapeRef.new(shape: SyntheticRefreshTokenRequestBodyString, required: true, location_name: "token"))
638
+ RefreshTokenRequestBody.add_member(:token, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "token"))
410
639
  RefreshTokenRequestBody.struct_class = Types::RefreshTokenRequestBody
411
640
 
412
- RefreshTokenResponse.add_member(:access_token, Shapes::ShapeRef.new(shape: SyntheticRefreshTokenResponseString, required: true, location_name: "accessToken"))
413
- RefreshTokenResponse.add_member(:expires_in, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "expiresIn"))
641
+ RefreshTokenResponse.add_member(:access_token, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "accessToken"))
642
+ RefreshTokenResponse.add_member(:expires_in, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "expiresIn", metadata: {"box"=>true}))
414
643
  RefreshTokenResponse.struct_class = Types::RefreshTokenResponse
415
644
 
416
645
  ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
@@ -419,6 +648,16 @@ module Aws::AmplifyUIBuilder
419
648
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
420
649
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
421
650
 
651
+ SectionalElement.add_member(:level, Shapes::ShapeRef.new(shape: Integer, location_name: "level", metadata: {"box"=>true}))
652
+ SectionalElement.add_member(:orientation, Shapes::ShapeRef.new(shape: String, location_name: "orientation"))
653
+ SectionalElement.add_member(:position, Shapes::ShapeRef.new(shape: FieldPosition, location_name: "position"))
654
+ SectionalElement.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
655
+ SectionalElement.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "type"))
656
+ SectionalElement.struct_class = Types::SectionalElement
657
+
658
+ SectionalElementMap.key = Shapes::ShapeRef.new(shape: String)
659
+ SectionalElementMap.value = Shapes::ShapeRef.new(shape: SectionalElement)
660
+
422
661
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
423
662
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
424
663
 
@@ -428,6 +667,8 @@ module Aws::AmplifyUIBuilder
428
667
 
429
668
  SortPropertyList.member = Shapes::ShapeRef.new(shape: SortProperty)
430
669
 
670
+ StrValues.member = Shapes::ShapeRef.new(shape: String)
671
+
431
672
  Tags.key = Shapes::ShapeRef.new(shape: TagKey)
432
673
  Tags.value = Shapes::ShapeRef.new(shape: TagValue)
433
674
 
@@ -462,6 +703,9 @@ module Aws::AmplifyUIBuilder
462
703
 
463
704
  ThemeValuesList.member = Shapes::ShapeRef.new(shape: ThemeValues)
464
705
 
706
+ UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
707
+ UnauthorizedException.struct_class = Types::UnauthorizedException
708
+
465
709
  UpdateComponentData.add_member(:binding_properties, Shapes::ShapeRef.new(shape: ComponentBindingProperties, location_name: "bindingProperties"))
466
710
  UpdateComponentData.add_member(:children, Shapes::ShapeRef.new(shape: ComponentChildList, location_name: "children"))
467
711
  UpdateComponentData.add_member(:collection_properties, Shapes::ShapeRef.new(shape: ComponentCollectionProperties, location_name: "collectionProperties"))
@@ -490,6 +734,30 @@ module Aws::AmplifyUIBuilder
490
734
  UpdateComponentResponse[:payload] = :entity
491
735
  UpdateComponentResponse[:payload_member] = UpdateComponentResponse.member(:entity)
492
736
 
737
+ UpdateFormData.add_member(:cta, Shapes::ShapeRef.new(shape: FormCTA, location_name: "cta"))
738
+ UpdateFormData.add_member(:data_type, Shapes::ShapeRef.new(shape: FormDataTypeConfig, location_name: "dataType"))
739
+ UpdateFormData.add_member(:fields, Shapes::ShapeRef.new(shape: FieldsMap, location_name: "fields"))
740
+ UpdateFormData.add_member(:form_action_type, Shapes::ShapeRef.new(shape: FormActionType, location_name: "formActionType"))
741
+ UpdateFormData.add_member(:name, Shapes::ShapeRef.new(shape: FormName, location_name: "name"))
742
+ UpdateFormData.add_member(:schema_version, Shapes::ShapeRef.new(shape: String, location_name: "schemaVersion"))
743
+ UpdateFormData.add_member(:sectional_elements, Shapes::ShapeRef.new(shape: SectionalElementMap, location_name: "sectionalElements"))
744
+ UpdateFormData.add_member(:style, Shapes::ShapeRef.new(shape: FormStyle, location_name: "style"))
745
+ UpdateFormData.struct_class = Types::UpdateFormData
746
+
747
+ UpdateFormRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
748
+ UpdateFormRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
749
+ UpdateFormRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
750
+ UpdateFormRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
751
+ UpdateFormRequest.add_member(:updated_form, Shapes::ShapeRef.new(shape: UpdateFormData, required: true, location_name: "updatedForm"))
752
+ UpdateFormRequest.struct_class = Types::UpdateFormRequest
753
+ UpdateFormRequest[:payload] = :updated_form
754
+ UpdateFormRequest[:payload_member] = UpdateFormRequest.member(:updated_form)
755
+
756
+ UpdateFormResponse.add_member(:entity, Shapes::ShapeRef.new(shape: Form, location_name: "entity"))
757
+ UpdateFormResponse.struct_class = Types::UpdateFormResponse
758
+ UpdateFormResponse[:payload] = :entity
759
+ UpdateFormResponse[:payload_member] = UpdateFormResponse.member(:entity)
760
+
493
761
  UpdateThemeData.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, location_name: "id"))
494
762
  UpdateThemeData.add_member(:name, Shapes::ShapeRef.new(shape: ThemeName, location_name: "name"))
495
763
  UpdateThemeData.add_member(:overrides, Shapes::ShapeRef.new(shape: ThemeValuesList, location_name: "overrides"))
@@ -510,6 +778,17 @@ module Aws::AmplifyUIBuilder
510
778
  UpdateThemeResponse[:payload] = :entity
511
779
  UpdateThemeResponse[:payload_member] = UpdateThemeResponse.member(:entity)
512
780
 
781
+ ValidationsList.member = Shapes::ShapeRef.new(shape: FieldValidationConfiguration)
782
+
783
+ ValueMapping.add_member(:display_value, Shapes::ShapeRef.new(shape: FormInputValueProperty, location_name: "displayValue"))
784
+ ValueMapping.add_member(:value, Shapes::ShapeRef.new(shape: FormInputValueProperty, required: true, location_name: "value"))
785
+ ValueMapping.struct_class = Types::ValueMapping
786
+
787
+ ValueMappingList.member = Shapes::ShapeRef.new(shape: ValueMapping)
788
+
789
+ ValueMappings.add_member(:values, Shapes::ShapeRef.new(shape: ValueMappingList, required: true, location_name: "values"))
790
+ ValueMappings.struct_class = Types::ValueMappings
791
+
513
792
 
514
793
  # @api private
515
794
  API = Seahorse::Model::Api.new.tap do |api|
@@ -540,6 +819,18 @@ module Aws::AmplifyUIBuilder
540
819
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
541
820
  end)
542
821
 
822
+ api.add_operation(:create_form, Seahorse::Model::Operation.new.tap do |o|
823
+ o.name = "CreateForm"
824
+ o.http_method = "POST"
825
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/forms"
826
+ o.input = Shapes::ShapeRef.new(shape: CreateFormRequest)
827
+ o.output = Shapes::ShapeRef.new(shape: CreateFormResponse)
828
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
829
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
830
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
831
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
832
+ end)
833
+
543
834
  api.add_operation(:create_theme, Seahorse::Model::Operation.new.tap do |o|
544
835
  o.name = "CreateTheme"
545
836
  o.http_method = "POST"
@@ -563,6 +854,17 @@ module Aws::AmplifyUIBuilder
563
854
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
564
855
  end)
565
856
 
857
+ api.add_operation(:delete_form, Seahorse::Model::Operation.new.tap do |o|
858
+ o.name = "DeleteForm"
859
+ o.http_method = "DELETE"
860
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/forms/{id}"
861
+ o.input = Shapes::ShapeRef.new(shape: DeleteFormRequest)
862
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
863
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
864
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
865
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
866
+ end)
867
+
566
868
  api.add_operation(:delete_theme, Seahorse::Model::Operation.new.tap do |o|
567
869
  o.name = "DeleteTheme"
568
870
  o.http_method = "DELETE"
@@ -598,6 +900,21 @@ module Aws::AmplifyUIBuilder
598
900
  )
599
901
  end)
600
902
 
903
+ api.add_operation(:export_forms, Seahorse::Model::Operation.new.tap do |o|
904
+ o.name = "ExportForms"
905
+ o.http_method = "GET"
906
+ o.http_request_uri = "/export/app/{appId}/environment/{environmentName}/forms"
907
+ o.input = Shapes::ShapeRef.new(shape: ExportFormsRequest)
908
+ o.output = Shapes::ShapeRef.new(shape: ExportFormsResponse)
909
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
910
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
911
+ o[:pager] = Aws::Pager.new(
912
+ tokens: {
913
+ "next_token" => "next_token"
914
+ }
915
+ )
916
+ end)
917
+
601
918
  api.add_operation(:export_themes, Seahorse::Model::Operation.new.tap do |o|
602
919
  o.name = "ExportThemes"
603
920
  o.http_method = "GET"
@@ -624,6 +941,27 @@ module Aws::AmplifyUIBuilder
624
941
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
625
942
  end)
626
943
 
944
+ api.add_operation(:get_form, Seahorse::Model::Operation.new.tap do |o|
945
+ o.name = "GetForm"
946
+ o.http_method = "GET"
947
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/forms/{id}"
948
+ o.input = Shapes::ShapeRef.new(shape: GetFormRequest)
949
+ o.output = Shapes::ShapeRef.new(shape: GetFormResponse)
950
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
951
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
952
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
953
+ end)
954
+
955
+ api.add_operation(:get_metadata, Seahorse::Model::Operation.new.tap do |o|
956
+ o.name = "GetMetadata"
957
+ o.http_method = "GET"
958
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/metadata"
959
+ o.input = Shapes::ShapeRef.new(shape: GetMetadataRequest)
960
+ o.output = Shapes::ShapeRef.new(shape: GetMetadataResponse)
961
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
962
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
963
+ end)
964
+
627
965
  api.add_operation(:get_theme, Seahorse::Model::Operation.new.tap do |o|
628
966
  o.name = "GetTheme"
629
967
  o.http_method = "GET"
@@ -651,6 +989,22 @@ module Aws::AmplifyUIBuilder
651
989
  )
652
990
  end)
653
991
 
992
+ api.add_operation(:list_forms, Seahorse::Model::Operation.new.tap do |o|
993
+ o.name = "ListForms"
994
+ o.http_method = "GET"
995
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/forms"
996
+ o.input = Shapes::ShapeRef.new(shape: ListFormsRequest)
997
+ o.output = Shapes::ShapeRef.new(shape: ListFormsResponse)
998
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
999
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1000
+ o[:pager] = Aws::Pager.new(
1001
+ limit_key: "max_results",
1002
+ tokens: {
1003
+ "next_token" => "next_token"
1004
+ }
1005
+ )
1006
+ end)
1007
+
654
1008
  api.add_operation(:list_themes, Seahorse::Model::Operation.new.tap do |o|
655
1009
  o.name = "ListThemes"
656
1010
  o.http_method = "GET"
@@ -667,6 +1021,16 @@ module Aws::AmplifyUIBuilder
667
1021
  )
668
1022
  end)
669
1023
 
1024
+ api.add_operation(:put_metadata_flag, Seahorse::Model::Operation.new.tap do |o|
1025
+ o.name = "PutMetadataFlag"
1026
+ o.http_method = "PUT"
1027
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/metadata/features/{featureName}"
1028
+ o.input = Shapes::ShapeRef.new(shape: PutMetadataFlagRequest)
1029
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1030
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1031
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1032
+ end)
1033
+
670
1034
  api.add_operation(:refresh_token, Seahorse::Model::Operation.new.tap do |o|
671
1035
  o.name = "RefreshToken"
672
1036
  o.http_method = "POST"
@@ -687,6 +1051,17 @@ module Aws::AmplifyUIBuilder
687
1051
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
688
1052
  end)
689
1053
 
1054
+ api.add_operation(:update_form, Seahorse::Model::Operation.new.tap do |o|
1055
+ o.name = "UpdateForm"
1056
+ o.http_method = "PATCH"
1057
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/forms/{id}"
1058
+ o.input = Shapes::ShapeRef.new(shape: UpdateFormRequest)
1059
+ o.output = Shapes::ShapeRef.new(shape: UpdateFormResponse)
1060
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1061
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1062
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1063
+ end)
1064
+
690
1065
  api.add_operation(:update_theme, Seahorse::Model::Operation.new.tap do |o|
691
1066
  o.name = "UpdateTheme"
692
1067
  o.http_method = "PATCH"