aws-sdk-amplifyuibuilder 1.5.0 → 1.7.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,22 +100,31 @@ 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')
82
122
  SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
83
123
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
84
124
  SortDirection = Shapes::StringShape.new(name: 'SortDirection')
85
125
  SortProperty = Shapes::StructureShape.new(name: 'SortProperty')
86
126
  SortPropertyList = Shapes::ListShape.new(name: 'SortPropertyList')
127
+ StrValues = Shapes::ListShape.new(name: 'StrValues')
87
128
  String = Shapes::StringShape.new(name: 'String')
88
129
  SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
89
130
  TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -98,13 +139,21 @@ module Aws::AmplifyUIBuilder
98
139
  ThemeValues = Shapes::StructureShape.new(name: 'ThemeValues')
99
140
  ThemeValuesList = Shapes::ListShape.new(name: 'ThemeValuesList')
100
141
  TokenProviders = Shapes::StringShape.new(name: 'TokenProviders')
142
+ UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
101
143
  UpdateComponentData = Shapes::StructureShape.new(name: 'UpdateComponentData')
102
144
  UpdateComponentRequest = Shapes::StructureShape.new(name: 'UpdateComponentRequest')
103
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')
104
149
  UpdateThemeData = Shapes::StructureShape.new(name: 'UpdateThemeData')
105
150
  UpdateThemeRequest = Shapes::StructureShape.new(name: 'UpdateThemeRequest')
106
151
  UpdateThemeResponse = Shapes::StructureShape.new(name: 'UpdateThemeResponse')
107
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')
108
157
 
109
158
  ActionParameters.add_member(:anchor, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "anchor"))
110
159
  ActionParameters.add_member(:fields, Shapes::ShapeRef.new(shape: ComponentProperties, location_name: "fields"))
@@ -150,6 +199,7 @@ module Aws::AmplifyUIBuilder
150
199
  ComponentBindingPropertiesValueProperties.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
151
200
  ComponentBindingPropertiesValueProperties.add_member(:model, Shapes::ShapeRef.new(shape: String, location_name: "model"))
152
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"))
153
203
  ComponentBindingPropertiesValueProperties.add_member(:user_attribute, Shapes::ShapeRef.new(shape: String, location_name: "userAttribute"))
154
204
  ComponentBindingPropertiesValueProperties.struct_class = Types::ComponentBindingPropertiesValueProperties
155
205
 
@@ -268,6 +318,30 @@ module Aws::AmplifyUIBuilder
268
318
  CreateComponentResponse[:payload] = :entity
269
319
  CreateComponentResponse[:payload_member] = CreateComponentResponse.member(:entity)
270
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
+
271
345
  CreateThemeData.add_member(:name, Shapes::ShapeRef.new(shape: ThemeName, required: true, location_name: "name"))
272
346
  CreateThemeData.add_member(:overrides, Shapes::ShapeRef.new(shape: ThemeValuesList, location_name: "overrides"))
273
347
  CreateThemeData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
@@ -292,6 +366,11 @@ module Aws::AmplifyUIBuilder
292
366
  DeleteComponentRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
293
367
  DeleteComponentRequest.struct_class = Types::DeleteComponentRequest
294
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
+
295
374
  DeleteThemeRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
296
375
  DeleteThemeRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
297
376
  DeleteThemeRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
@@ -321,6 +400,15 @@ module Aws::AmplifyUIBuilder
321
400
  ExportComponentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
322
401
  ExportComponentsResponse.struct_class = Types::ExportComponentsResponse
323
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
+
324
412
  ExportThemesRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
325
413
  ExportThemesRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
326
414
  ExportThemesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
@@ -330,6 +418,66 @@ module Aws::AmplifyUIBuilder
330
418
  ExportThemesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
331
419
  ExportThemesResponse.struct_class = Types::ExportThemesResponse
332
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"))
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"))
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(:is_array, Shapes::ShapeRef.new(shape: Boolean, location_name: "isArray"))
436
+ FieldInputConfig.add_member(:max_value, Shapes::ShapeRef.new(shape: Float, location_name: "maxValue"))
437
+ FieldInputConfig.add_member(:min_value, Shapes::ShapeRef.new(shape: Float, location_name: "minValue"))
438
+ FieldInputConfig.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
439
+ FieldInputConfig.add_member(:placeholder, Shapes::ShapeRef.new(shape: String, location_name: "placeholder"))
440
+ FieldInputConfig.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "readOnly"))
441
+ FieldInputConfig.add_member(:required, Shapes::ShapeRef.new(shape: Boolean, location_name: "required"))
442
+ FieldInputConfig.add_member(:step, Shapes::ShapeRef.new(shape: Float, location_name: "step"))
443
+ FieldInputConfig.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "type"))
444
+ FieldInputConfig.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
445
+ FieldInputConfig.add_member(:value_mappings, Shapes::ShapeRef.new(shape: ValueMappings, location_name: "valueMappings"))
446
+ FieldInputConfig.struct_class = Types::FieldInputConfig
447
+
448
+ FieldPosition.add_member(:below, Shapes::ShapeRef.new(shape: String, location_name: "below"))
449
+ FieldPosition.add_member(:fixed, Shapes::ShapeRef.new(shape: FixedPosition, location_name: "fixed"))
450
+ FieldPosition.add_member(:right_of, Shapes::ShapeRef.new(shape: String, location_name: "rightOf"))
451
+ FieldPosition.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
452
+ FieldPosition.add_member_subclass(:below, Types::FieldPosition::Below)
453
+ FieldPosition.add_member_subclass(:fixed, Types::FieldPosition::Fixed)
454
+ FieldPosition.add_member_subclass(:right_of, Types::FieldPosition::RightOf)
455
+ FieldPosition.add_member_subclass(:unknown, Types::FieldPosition::Unknown)
456
+ FieldPosition.struct_class = Types::FieldPosition
457
+
458
+ FieldValidationConfiguration.add_member(:num_values, Shapes::ShapeRef.new(shape: NumValues, location_name: "numValues"))
459
+ FieldValidationConfiguration.add_member(:str_values, Shapes::ShapeRef.new(shape: StrValues, location_name: "strValues"))
460
+ FieldValidationConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "type"))
461
+ FieldValidationConfiguration.add_member(:validation_message, Shapes::ShapeRef.new(shape: String, location_name: "validationMessage"))
462
+ FieldValidationConfiguration.struct_class = Types::FieldValidationConfiguration
463
+
464
+ FieldsMap.key = Shapes::ShapeRef.new(shape: String)
465
+ FieldsMap.value = Shapes::ShapeRef.new(shape: FieldConfig)
466
+
467
+ Form.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "appId"))
468
+ Form.add_member(:cta, Shapes::ShapeRef.new(shape: FormCTA, location_name: "cta"))
469
+ Form.add_member(:data_type, Shapes::ShapeRef.new(shape: FormDataTypeConfig, required: true, location_name: "dataType"))
470
+ Form.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "environmentName"))
471
+ Form.add_member(:fields, Shapes::ShapeRef.new(shape: FieldsMap, required: true, location_name: "fields"))
472
+ Form.add_member(:form_action_type, Shapes::ShapeRef.new(shape: FormActionType, required: true, location_name: "formActionType"))
473
+ Form.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
474
+ Form.add_member(:name, Shapes::ShapeRef.new(shape: FormName, required: true, location_name: "name"))
475
+ Form.add_member(:schema_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "schemaVersion"))
476
+ Form.add_member(:sectional_elements, Shapes::ShapeRef.new(shape: SectionalElementMap, required: true, location_name: "sectionalElements"))
477
+ Form.add_member(:style, Shapes::ShapeRef.new(shape: FormStyle, required: true, location_name: "style"))
478
+ Form.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
479
+ Form.struct_class = Types::Form
480
+
333
481
  FormBindingElement.add_member(:element, Shapes::ShapeRef.new(shape: String, required: true, location_name: "element"))
334
482
  FormBindingElement.add_member(:property, Shapes::ShapeRef.new(shape: String, required: true, location_name: "property"))
335
483
  FormBindingElement.struct_class = Types::FormBindingElement
@@ -337,6 +485,49 @@ module Aws::AmplifyUIBuilder
337
485
  FormBindings.key = Shapes::ShapeRef.new(shape: String)
338
486
  FormBindings.value = Shapes::ShapeRef.new(shape: FormBindingElement)
339
487
 
488
+ FormButton.add_member(:children, Shapes::ShapeRef.new(shape: String, location_name: "children"))
489
+ FormButton.add_member(:excluded, Shapes::ShapeRef.new(shape: Boolean, location_name: "excluded"))
490
+ FormButton.add_member(:position, Shapes::ShapeRef.new(shape: FieldPosition, location_name: "position"))
491
+ FormButton.struct_class = Types::FormButton
492
+
493
+ FormCTA.add_member(:cancel, Shapes::ShapeRef.new(shape: FormButton, location_name: "cancel"))
494
+ FormCTA.add_member(:clear, Shapes::ShapeRef.new(shape: FormButton, location_name: "clear"))
495
+ FormCTA.add_member(:position, Shapes::ShapeRef.new(shape: FormButtonsPosition, location_name: "position"))
496
+ FormCTA.add_member(:submit, Shapes::ShapeRef.new(shape: FormButton, location_name: "submit"))
497
+ FormCTA.struct_class = Types::FormCTA
498
+
499
+ FormDataTypeConfig.add_member(:data_source_type, Shapes::ShapeRef.new(shape: FormDataSourceType, required: true, location_name: "dataSourceType"))
500
+ FormDataTypeConfig.add_member(:data_type_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "dataTypeName"))
501
+ FormDataTypeConfig.struct_class = Types::FormDataTypeConfig
502
+
503
+ FormInputValueProperty.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
504
+ FormInputValueProperty.struct_class = Types::FormInputValueProperty
505
+
506
+ FormList.member = Shapes::ShapeRef.new(shape: Form)
507
+
508
+ FormStyle.add_member(:horizontal_gap, Shapes::ShapeRef.new(shape: FormStyleConfig, location_name: "horizontalGap"))
509
+ FormStyle.add_member(:outer_padding, Shapes::ShapeRef.new(shape: FormStyleConfig, location_name: "outerPadding"))
510
+ FormStyle.add_member(:vertical_gap, Shapes::ShapeRef.new(shape: FormStyleConfig, location_name: "verticalGap"))
511
+ FormStyle.struct_class = Types::FormStyle
512
+
513
+ FormStyleConfig.add_member(:token_reference, Shapes::ShapeRef.new(shape: String, location_name: "tokenReference"))
514
+ FormStyleConfig.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
515
+ FormStyleConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
516
+ FormStyleConfig.add_member_subclass(:token_reference, Types::FormStyleConfig::TokenReference)
517
+ FormStyleConfig.add_member_subclass(:value, Types::FormStyleConfig::Value)
518
+ FormStyleConfig.add_member_subclass(:unknown, Types::FormStyleConfig::Unknown)
519
+ FormStyleConfig.struct_class = Types::FormStyleConfig
520
+
521
+ FormSummary.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "appId"))
522
+ FormSummary.add_member(:data_type, Shapes::ShapeRef.new(shape: FormDataTypeConfig, required: true, location_name: "dataType"))
523
+ FormSummary.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "environmentName"))
524
+ FormSummary.add_member(:form_action_type, Shapes::ShapeRef.new(shape: FormActionType, required: true, location_name: "formActionType"))
525
+ FormSummary.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
526
+ FormSummary.add_member(:name, Shapes::ShapeRef.new(shape: FormName, required: true, location_name: "name"))
527
+ FormSummary.struct_class = Types::FormSummary
528
+
529
+ FormSummaryList.member = Shapes::ShapeRef.new(shape: FormSummary)
530
+
340
531
  GetComponentRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
341
532
  GetComponentRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
342
533
  GetComponentRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
@@ -347,6 +538,23 @@ module Aws::AmplifyUIBuilder
347
538
  GetComponentResponse[:payload] = :component
348
539
  GetComponentResponse[:payload_member] = GetComponentResponse.member(:component)
349
540
 
541
+ GetFormRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
542
+ GetFormRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
543
+ GetFormRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
544
+ GetFormRequest.struct_class = Types::GetFormRequest
545
+
546
+ GetFormResponse.add_member(:form, Shapes::ShapeRef.new(shape: Form, location_name: "form"))
547
+ GetFormResponse.struct_class = Types::GetFormResponse
548
+ GetFormResponse[:payload] = :form
549
+ GetFormResponse[:payload_member] = GetFormResponse.member(:form)
550
+
551
+ GetMetadataRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
552
+ GetMetadataRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
553
+ GetMetadataRequest.struct_class = Types::GetMetadataRequest
554
+
555
+ GetMetadataResponse.add_member(:features, Shapes::ShapeRef.new(shape: FeaturesMap, required: true, location_name: "features"))
556
+ GetMetadataResponse.struct_class = Types::GetMetadataResponse
557
+
350
558
  GetThemeRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
351
559
  GetThemeRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
352
560
  GetThemeRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
@@ -375,6 +583,16 @@ module Aws::AmplifyUIBuilder
375
583
  ListComponentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
376
584
  ListComponentsResponse.struct_class = Types::ListComponentsResponse
377
585
 
586
+ ListFormsRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
587
+ ListFormsRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
588
+ ListFormsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListFormsLimit, location: "querystring", location_name: "maxResults"))
589
+ ListFormsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
590
+ ListFormsRequest.struct_class = Types::ListFormsRequest
591
+
592
+ ListFormsResponse.add_member(:entities, Shapes::ShapeRef.new(shape: FormSummaryList, required: true, location_name: "entities"))
593
+ ListFormsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
594
+ ListFormsResponse.struct_class = Types::ListFormsResponse
595
+
378
596
  ListThemesRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
379
597
  ListThemesRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
380
598
  ListThemesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListThemesLimit, location: "querystring", location_name: "maxResults"))
@@ -390,6 +608,8 @@ module Aws::AmplifyUIBuilder
390
608
  MutationActionSetStateParameter.add_member(:set, Shapes::ShapeRef.new(shape: ComponentProperty, required: true, location_name: "set"))
391
609
  MutationActionSetStateParameter.struct_class = Types::MutationActionSetStateParameter
392
610
 
611
+ NumValues.member = Shapes::ShapeRef.new(shape: Integer)
612
+
393
613
  Predicate.add_member(:and, Shapes::ShapeRef.new(shape: PredicateList, location_name: "and"))
394
614
  Predicate.add_member(:field, Shapes::ShapeRef.new(shape: String, location_name: "field"))
395
615
  Predicate.add_member(:operand, Shapes::ShapeRef.new(shape: String, location_name: "operand"))
@@ -399,6 +619,17 @@ module Aws::AmplifyUIBuilder
399
619
 
400
620
  PredicateList.member = Shapes::ShapeRef.new(shape: Predicate)
401
621
 
622
+ PutMetadataFlagBody.add_member(:new_value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "newValue"))
623
+ PutMetadataFlagBody.struct_class = Types::PutMetadataFlagBody
624
+
625
+ PutMetadataFlagRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
626
+ PutMetadataFlagRequest.add_member(:body, Shapes::ShapeRef.new(shape: PutMetadataFlagBody, required: true, location_name: "body"))
627
+ PutMetadataFlagRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
628
+ PutMetadataFlagRequest.add_member(:feature_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "featureName"))
629
+ PutMetadataFlagRequest.struct_class = Types::PutMetadataFlagRequest
630
+ PutMetadataFlagRequest[:payload] = :body
631
+ PutMetadataFlagRequest[:payload_member] = PutMetadataFlagRequest.member(:body)
632
+
402
633
  RefreshTokenRequest.add_member(:provider, Shapes::ShapeRef.new(shape: TokenProviders, required: true, location: "uri", location_name: "provider"))
403
634
  RefreshTokenRequest.add_member(:refresh_token_body, Shapes::ShapeRef.new(shape: RefreshTokenRequestBody, required: true, location_name: "refreshTokenBody"))
404
635
  RefreshTokenRequest.struct_class = Types::RefreshTokenRequest
@@ -418,6 +649,16 @@ module Aws::AmplifyUIBuilder
418
649
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
419
650
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
420
651
 
652
+ SectionalElement.add_member(:level, Shapes::ShapeRef.new(shape: Integer, location_name: "level"))
653
+ SectionalElement.add_member(:orientation, Shapes::ShapeRef.new(shape: String, location_name: "orientation"))
654
+ SectionalElement.add_member(:position, Shapes::ShapeRef.new(shape: FieldPosition, location_name: "position"))
655
+ SectionalElement.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
656
+ SectionalElement.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "type"))
657
+ SectionalElement.struct_class = Types::SectionalElement
658
+
659
+ SectionalElementMap.key = Shapes::ShapeRef.new(shape: String)
660
+ SectionalElementMap.value = Shapes::ShapeRef.new(shape: SectionalElement)
661
+
421
662
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
422
663
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
423
664
 
@@ -427,6 +668,8 @@ module Aws::AmplifyUIBuilder
427
668
 
428
669
  SortPropertyList.member = Shapes::ShapeRef.new(shape: SortProperty)
429
670
 
671
+ StrValues.member = Shapes::ShapeRef.new(shape: String)
672
+
430
673
  Tags.key = Shapes::ShapeRef.new(shape: TagKey)
431
674
  Tags.value = Shapes::ShapeRef.new(shape: TagValue)
432
675
 
@@ -461,6 +704,9 @@ module Aws::AmplifyUIBuilder
461
704
 
462
705
  ThemeValuesList.member = Shapes::ShapeRef.new(shape: ThemeValues)
463
706
 
707
+ UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
708
+ UnauthorizedException.struct_class = Types::UnauthorizedException
709
+
464
710
  UpdateComponentData.add_member(:binding_properties, Shapes::ShapeRef.new(shape: ComponentBindingProperties, location_name: "bindingProperties"))
465
711
  UpdateComponentData.add_member(:children, Shapes::ShapeRef.new(shape: ComponentChildList, location_name: "children"))
466
712
  UpdateComponentData.add_member(:collection_properties, Shapes::ShapeRef.new(shape: ComponentCollectionProperties, location_name: "collectionProperties"))
@@ -489,6 +735,30 @@ module Aws::AmplifyUIBuilder
489
735
  UpdateComponentResponse[:payload] = :entity
490
736
  UpdateComponentResponse[:payload_member] = UpdateComponentResponse.member(:entity)
491
737
 
738
+ UpdateFormData.add_member(:cta, Shapes::ShapeRef.new(shape: FormCTA, location_name: "cta"))
739
+ UpdateFormData.add_member(:data_type, Shapes::ShapeRef.new(shape: FormDataTypeConfig, location_name: "dataType"))
740
+ UpdateFormData.add_member(:fields, Shapes::ShapeRef.new(shape: FieldsMap, location_name: "fields"))
741
+ UpdateFormData.add_member(:form_action_type, Shapes::ShapeRef.new(shape: FormActionType, location_name: "formActionType"))
742
+ UpdateFormData.add_member(:name, Shapes::ShapeRef.new(shape: FormName, location_name: "name"))
743
+ UpdateFormData.add_member(:schema_version, Shapes::ShapeRef.new(shape: String, location_name: "schemaVersion"))
744
+ UpdateFormData.add_member(:sectional_elements, Shapes::ShapeRef.new(shape: SectionalElementMap, location_name: "sectionalElements"))
745
+ UpdateFormData.add_member(:style, Shapes::ShapeRef.new(shape: FormStyle, location_name: "style"))
746
+ UpdateFormData.struct_class = Types::UpdateFormData
747
+
748
+ UpdateFormRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
749
+ UpdateFormRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
750
+ UpdateFormRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
751
+ UpdateFormRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
752
+ UpdateFormRequest.add_member(:updated_form, Shapes::ShapeRef.new(shape: UpdateFormData, required: true, location_name: "updatedForm"))
753
+ UpdateFormRequest.struct_class = Types::UpdateFormRequest
754
+ UpdateFormRequest[:payload] = :updated_form
755
+ UpdateFormRequest[:payload_member] = UpdateFormRequest.member(:updated_form)
756
+
757
+ UpdateFormResponse.add_member(:entity, Shapes::ShapeRef.new(shape: Form, location_name: "entity"))
758
+ UpdateFormResponse.struct_class = Types::UpdateFormResponse
759
+ UpdateFormResponse[:payload] = :entity
760
+ UpdateFormResponse[:payload_member] = UpdateFormResponse.member(:entity)
761
+
492
762
  UpdateThemeData.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, location_name: "id"))
493
763
  UpdateThemeData.add_member(:name, Shapes::ShapeRef.new(shape: ThemeName, location_name: "name"))
494
764
  UpdateThemeData.add_member(:overrides, Shapes::ShapeRef.new(shape: ThemeValuesList, location_name: "overrides"))
@@ -509,6 +779,17 @@ module Aws::AmplifyUIBuilder
509
779
  UpdateThemeResponse[:payload] = :entity
510
780
  UpdateThemeResponse[:payload_member] = UpdateThemeResponse.member(:entity)
511
781
 
782
+ ValidationsList.member = Shapes::ShapeRef.new(shape: FieldValidationConfiguration)
783
+
784
+ ValueMapping.add_member(:display_value, Shapes::ShapeRef.new(shape: FormInputValueProperty, location_name: "displayValue"))
785
+ ValueMapping.add_member(:value, Shapes::ShapeRef.new(shape: FormInputValueProperty, required: true, location_name: "value"))
786
+ ValueMapping.struct_class = Types::ValueMapping
787
+
788
+ ValueMappingList.member = Shapes::ShapeRef.new(shape: ValueMapping)
789
+
790
+ ValueMappings.add_member(:values, Shapes::ShapeRef.new(shape: ValueMappingList, required: true, location_name: "values"))
791
+ ValueMappings.struct_class = Types::ValueMappings
792
+
512
793
 
513
794
  # @api private
514
795
  API = Seahorse::Model::Api.new.tap do |api|
@@ -539,6 +820,18 @@ module Aws::AmplifyUIBuilder
539
820
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
540
821
  end)
541
822
 
823
+ api.add_operation(:create_form, Seahorse::Model::Operation.new.tap do |o|
824
+ o.name = "CreateForm"
825
+ o.http_method = "POST"
826
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/forms"
827
+ o.input = Shapes::ShapeRef.new(shape: CreateFormRequest)
828
+ o.output = Shapes::ShapeRef.new(shape: CreateFormResponse)
829
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
830
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
831
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
832
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
833
+ end)
834
+
542
835
  api.add_operation(:create_theme, Seahorse::Model::Operation.new.tap do |o|
543
836
  o.name = "CreateTheme"
544
837
  o.http_method = "POST"
@@ -562,6 +855,17 @@ module Aws::AmplifyUIBuilder
562
855
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
563
856
  end)
564
857
 
858
+ api.add_operation(:delete_form, Seahorse::Model::Operation.new.tap do |o|
859
+ o.name = "DeleteForm"
860
+ o.http_method = "DELETE"
861
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/forms/{id}"
862
+ o.input = Shapes::ShapeRef.new(shape: DeleteFormRequest)
863
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
864
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
865
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
866
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
867
+ end)
868
+
565
869
  api.add_operation(:delete_theme, Seahorse::Model::Operation.new.tap do |o|
566
870
  o.name = "DeleteTheme"
567
871
  o.http_method = "DELETE"
@@ -597,6 +901,21 @@ module Aws::AmplifyUIBuilder
597
901
  )
598
902
  end)
599
903
 
904
+ api.add_operation(:export_forms, Seahorse::Model::Operation.new.tap do |o|
905
+ o.name = "ExportForms"
906
+ o.http_method = "GET"
907
+ o.http_request_uri = "/export/app/{appId}/environment/{environmentName}/forms"
908
+ o.input = Shapes::ShapeRef.new(shape: ExportFormsRequest)
909
+ o.output = Shapes::ShapeRef.new(shape: ExportFormsResponse)
910
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
911
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
912
+ o[:pager] = Aws::Pager.new(
913
+ tokens: {
914
+ "next_token" => "next_token"
915
+ }
916
+ )
917
+ end)
918
+
600
919
  api.add_operation(:export_themes, Seahorse::Model::Operation.new.tap do |o|
601
920
  o.name = "ExportThemes"
602
921
  o.http_method = "GET"
@@ -623,6 +942,27 @@ module Aws::AmplifyUIBuilder
623
942
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
624
943
  end)
625
944
 
945
+ api.add_operation(:get_form, Seahorse::Model::Operation.new.tap do |o|
946
+ o.name = "GetForm"
947
+ o.http_method = "GET"
948
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/forms/{id}"
949
+ o.input = Shapes::ShapeRef.new(shape: GetFormRequest)
950
+ o.output = Shapes::ShapeRef.new(shape: GetFormResponse)
951
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
952
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
953
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
954
+ end)
955
+
956
+ api.add_operation(:get_metadata, Seahorse::Model::Operation.new.tap do |o|
957
+ o.name = "GetMetadata"
958
+ o.http_method = "GET"
959
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/metadata"
960
+ o.input = Shapes::ShapeRef.new(shape: GetMetadataRequest)
961
+ o.output = Shapes::ShapeRef.new(shape: GetMetadataResponse)
962
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
963
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
964
+ end)
965
+
626
966
  api.add_operation(:get_theme, Seahorse::Model::Operation.new.tap do |o|
627
967
  o.name = "GetTheme"
628
968
  o.http_method = "GET"
@@ -650,6 +990,22 @@ module Aws::AmplifyUIBuilder
650
990
  )
651
991
  end)
652
992
 
993
+ api.add_operation(:list_forms, Seahorse::Model::Operation.new.tap do |o|
994
+ o.name = "ListForms"
995
+ o.http_method = "GET"
996
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/forms"
997
+ o.input = Shapes::ShapeRef.new(shape: ListFormsRequest)
998
+ o.output = Shapes::ShapeRef.new(shape: ListFormsResponse)
999
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1000
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1001
+ o[:pager] = Aws::Pager.new(
1002
+ limit_key: "max_results",
1003
+ tokens: {
1004
+ "next_token" => "next_token"
1005
+ }
1006
+ )
1007
+ end)
1008
+
653
1009
  api.add_operation(:list_themes, Seahorse::Model::Operation.new.tap do |o|
654
1010
  o.name = "ListThemes"
655
1011
  o.http_method = "GET"
@@ -666,6 +1022,16 @@ module Aws::AmplifyUIBuilder
666
1022
  )
667
1023
  end)
668
1024
 
1025
+ api.add_operation(:put_metadata_flag, Seahorse::Model::Operation.new.tap do |o|
1026
+ o.name = "PutMetadataFlag"
1027
+ o.http_method = "PUT"
1028
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/metadata/features/{featureName}"
1029
+ o.input = Shapes::ShapeRef.new(shape: PutMetadataFlagRequest)
1030
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1031
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1032
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1033
+ end)
1034
+
669
1035
  api.add_operation(:refresh_token, Seahorse::Model::Operation.new.tap do |o|
670
1036
  o.name = "RefreshToken"
671
1037
  o.http_method = "POST"
@@ -686,6 +1052,17 @@ module Aws::AmplifyUIBuilder
686
1052
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
687
1053
  end)
688
1054
 
1055
+ api.add_operation(:update_form, Seahorse::Model::Operation.new.tap do |o|
1056
+ o.name = "UpdateForm"
1057
+ o.http_method = "PATCH"
1058
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/forms/{id}"
1059
+ o.input = Shapes::ShapeRef.new(shape: UpdateFormRequest)
1060
+ o.output = Shapes::ShapeRef.new(shape: UpdateFormResponse)
1061
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1062
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1063
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1064
+ end)
1065
+
689
1066
  api.add_operation(:update_theme, Seahorse::Model::Operation.new.tap do |o|
690
1067
  o.name = "UpdateTheme"
691
1068
  o.http_method = "PATCH"
@@ -32,6 +32,7 @@ module Aws::AmplifyUIBuilder
32
32
  # * {ResourceConflictException}
33
33
  # * {ResourceNotFoundException}
34
34
  # * {ServiceQuotaExceededException}
35
+ # * {UnauthorizedException}
35
36
  #
36
37
  # Additionally, error classes are dynamically generated for service errors based on the error code
37
38
  # if they are not defined above.
@@ -114,5 +115,20 @@ module Aws::AmplifyUIBuilder
114
115
  end
115
116
  end
116
117
 
118
+ class UnauthorizedException < ServiceError
119
+
120
+ # @param [Seahorse::Client::RequestContext] context
121
+ # @param [String] message
122
+ # @param [Aws::AmplifyUIBuilder::Types::UnauthorizedException] data
123
+ def initialize(context, message, data = Aws::EmptyStructure.new)
124
+ super(context, message, data)
125
+ end
126
+
127
+ # @return [String]
128
+ def message
129
+ @message || @data[:message]
130
+ end
131
+ end
132
+
117
133
  end
118
134
  end