aws-sdk-amplifyuibuilder 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-amplifyuibuilder/client.rb +823 -1
- data/lib/aws-sdk-amplifyuibuilder/client_api.rb +381 -5
- data/lib/aws-sdk-amplifyuibuilder/errors.rb +16 -0
- data/lib/aws-sdk-amplifyuibuilder/types.rb +1784 -78
- data/lib/aws-sdk-amplifyuibuilder.rb +1 -1
- metadata +2 -2
@@ -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
|
|
@@ -206,7 +256,7 @@ module Aws::AmplifyUIBuilder
|
|
206
256
|
ComponentProperty.add_member(:component_name, Shapes::ShapeRef.new(shape: String, location_name: "componentName"))
|
207
257
|
ComponentProperty.add_member(:concat, Shapes::ShapeRef.new(shape: ComponentPropertyList, location_name: "concat"))
|
208
258
|
ComponentProperty.add_member(:condition, Shapes::ShapeRef.new(shape: ComponentConditionProperty, location_name: "condition"))
|
209
|
-
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}))
|
210
260
|
ComponentProperty.add_member(:default_value, Shapes::ShapeRef.new(shape: String, location_name: "defaultValue"))
|
211
261
|
ComponentProperty.add_member(:event, Shapes::ShapeRef.new(shape: String, location_name: "event"))
|
212
262
|
ComponentProperty.add_member(:imported_value, Shapes::ShapeRef.new(shape: String, location_name: "importedValue"))
|
@@ -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"))
|
@@ -308,7 +387,7 @@ module Aws::AmplifyUIBuilder
|
|
308
387
|
ExchangeCodeForTokenRequestBody.struct_class = Types::ExchangeCodeForTokenRequestBody
|
309
388
|
|
310
389
|
ExchangeCodeForTokenResponse.add_member(:access_token, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "accessToken"))
|
311
|
-
ExchangeCodeForTokenResponse.add_member(:expires_in, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "expiresIn"))
|
390
|
+
ExchangeCodeForTokenResponse.add_member(:expires_in, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "expiresIn", metadata: {"box"=>true}))
|
312
391
|
ExchangeCodeForTokenResponse.add_member(:refresh_token, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "refreshToken"))
|
313
392
|
ExchangeCodeForTokenResponse.struct_class = Types::ExchangeCodeForTokenResponse
|
314
393
|
|
@@ -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,65 @@ 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", 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
|
+
|
333
480
|
FormBindingElement.add_member(:element, Shapes::ShapeRef.new(shape: String, required: true, location_name: "element"))
|
334
481
|
FormBindingElement.add_member(:property, Shapes::ShapeRef.new(shape: String, required: true, location_name: "property"))
|
335
482
|
FormBindingElement.struct_class = Types::FormBindingElement
|
@@ -337,6 +484,49 @@ module Aws::AmplifyUIBuilder
|
|
337
484
|
FormBindings.key = Shapes::ShapeRef.new(shape: String)
|
338
485
|
FormBindings.value = Shapes::ShapeRef.new(shape: FormBindingElement)
|
339
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
|
+
|
340
530
|
GetComponentRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
|
341
531
|
GetComponentRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
|
342
532
|
GetComponentRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
|
@@ -347,6 +537,23 @@ module Aws::AmplifyUIBuilder
|
|
347
537
|
GetComponentResponse[:payload] = :component
|
348
538
|
GetComponentResponse[:payload_member] = GetComponentResponse.member(:component)
|
349
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
|
+
|
350
557
|
GetThemeRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
|
351
558
|
GetThemeRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
|
352
559
|
GetThemeRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
|
@@ -367,7 +574,7 @@ module Aws::AmplifyUIBuilder
|
|
367
574
|
|
368
575
|
ListComponentsRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
|
369
576
|
ListComponentsRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
|
370
|
-
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}))
|
371
578
|
ListComponentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
372
579
|
ListComponentsRequest.struct_class = Types::ListComponentsRequest
|
373
580
|
|
@@ -375,9 +582,19 @@ module Aws::AmplifyUIBuilder
|
|
375
582
|
ListComponentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
376
583
|
ListComponentsResponse.struct_class = Types::ListComponentsResponse
|
377
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
|
+
|
378
595
|
ListThemesRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
|
379
596
|
ListThemesRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
|
380
|
-
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}))
|
381
598
|
ListThemesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
382
599
|
ListThemesRequest.struct_class = Types::ListThemesRequest
|
383
600
|
|
@@ -390,6 +607,8 @@ module Aws::AmplifyUIBuilder
|
|
390
607
|
MutationActionSetStateParameter.add_member(:set, Shapes::ShapeRef.new(shape: ComponentProperty, required: true, location_name: "set"))
|
391
608
|
MutationActionSetStateParameter.struct_class = Types::MutationActionSetStateParameter
|
392
609
|
|
610
|
+
NumValues.member = Shapes::ShapeRef.new(shape: Integer)
|
611
|
+
|
393
612
|
Predicate.add_member(:and, Shapes::ShapeRef.new(shape: PredicateList, location_name: "and"))
|
394
613
|
Predicate.add_member(:field, Shapes::ShapeRef.new(shape: String, location_name: "field"))
|
395
614
|
Predicate.add_member(:operand, Shapes::ShapeRef.new(shape: String, location_name: "operand"))
|
@@ -399,6 +618,17 @@ module Aws::AmplifyUIBuilder
|
|
399
618
|
|
400
619
|
PredicateList.member = Shapes::ShapeRef.new(shape: Predicate)
|
401
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
|
+
|
402
632
|
RefreshTokenRequest.add_member(:provider, Shapes::ShapeRef.new(shape: TokenProviders, required: true, location: "uri", location_name: "provider"))
|
403
633
|
RefreshTokenRequest.add_member(:refresh_token_body, Shapes::ShapeRef.new(shape: RefreshTokenRequestBody, required: true, location_name: "refreshTokenBody"))
|
404
634
|
RefreshTokenRequest.struct_class = Types::RefreshTokenRequest
|
@@ -409,7 +639,7 @@ module Aws::AmplifyUIBuilder
|
|
409
639
|
RefreshTokenRequestBody.struct_class = Types::RefreshTokenRequestBody
|
410
640
|
|
411
641
|
RefreshTokenResponse.add_member(:access_token, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "accessToken"))
|
412
|
-
RefreshTokenResponse.add_member(:expires_in, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "expiresIn"))
|
642
|
+
RefreshTokenResponse.add_member(:expires_in, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "expiresIn", metadata: {"box"=>true}))
|
413
643
|
RefreshTokenResponse.struct_class = Types::RefreshTokenResponse
|
414
644
|
|
415
645
|
ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
@@ -418,6 +648,16 @@ module Aws::AmplifyUIBuilder
|
|
418
648
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
419
649
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
420
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
|
+
|
421
661
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
422
662
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
423
663
|
|
@@ -427,6 +667,8 @@ module Aws::AmplifyUIBuilder
|
|
427
667
|
|
428
668
|
SortPropertyList.member = Shapes::ShapeRef.new(shape: SortProperty)
|
429
669
|
|
670
|
+
StrValues.member = Shapes::ShapeRef.new(shape: String)
|
671
|
+
|
430
672
|
Tags.key = Shapes::ShapeRef.new(shape: TagKey)
|
431
673
|
Tags.value = Shapes::ShapeRef.new(shape: TagValue)
|
432
674
|
|
@@ -461,6 +703,9 @@ module Aws::AmplifyUIBuilder
|
|
461
703
|
|
462
704
|
ThemeValuesList.member = Shapes::ShapeRef.new(shape: ThemeValues)
|
463
705
|
|
706
|
+
UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
707
|
+
UnauthorizedException.struct_class = Types::UnauthorizedException
|
708
|
+
|
464
709
|
UpdateComponentData.add_member(:binding_properties, Shapes::ShapeRef.new(shape: ComponentBindingProperties, location_name: "bindingProperties"))
|
465
710
|
UpdateComponentData.add_member(:children, Shapes::ShapeRef.new(shape: ComponentChildList, location_name: "children"))
|
466
711
|
UpdateComponentData.add_member(:collection_properties, Shapes::ShapeRef.new(shape: ComponentCollectionProperties, location_name: "collectionProperties"))
|
@@ -489,6 +734,30 @@ module Aws::AmplifyUIBuilder
|
|
489
734
|
UpdateComponentResponse[:payload] = :entity
|
490
735
|
UpdateComponentResponse[:payload_member] = UpdateComponentResponse.member(:entity)
|
491
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
|
+
|
492
761
|
UpdateThemeData.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, location_name: "id"))
|
493
762
|
UpdateThemeData.add_member(:name, Shapes::ShapeRef.new(shape: ThemeName, location_name: "name"))
|
494
763
|
UpdateThemeData.add_member(:overrides, Shapes::ShapeRef.new(shape: ThemeValuesList, location_name: "overrides"))
|
@@ -509,6 +778,17 @@ module Aws::AmplifyUIBuilder
|
|
509
778
|
UpdateThemeResponse[:payload] = :entity
|
510
779
|
UpdateThemeResponse[:payload_member] = UpdateThemeResponse.member(:entity)
|
511
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
|
+
|
512
792
|
|
513
793
|
# @api private
|
514
794
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -539,6 +819,18 @@ module Aws::AmplifyUIBuilder
|
|
539
819
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
540
820
|
end)
|
541
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
|
+
|
542
834
|
api.add_operation(:create_theme, Seahorse::Model::Operation.new.tap do |o|
|
543
835
|
o.name = "CreateTheme"
|
544
836
|
o.http_method = "POST"
|
@@ -562,6 +854,17 @@ module Aws::AmplifyUIBuilder
|
|
562
854
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
563
855
|
end)
|
564
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
|
+
|
565
868
|
api.add_operation(:delete_theme, Seahorse::Model::Operation.new.tap do |o|
|
566
869
|
o.name = "DeleteTheme"
|
567
870
|
o.http_method = "DELETE"
|
@@ -597,6 +900,21 @@ module Aws::AmplifyUIBuilder
|
|
597
900
|
)
|
598
901
|
end)
|
599
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
|
+
|
600
918
|
api.add_operation(:export_themes, Seahorse::Model::Operation.new.tap do |o|
|
601
919
|
o.name = "ExportThemes"
|
602
920
|
o.http_method = "GET"
|
@@ -623,6 +941,27 @@ module Aws::AmplifyUIBuilder
|
|
623
941
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
624
942
|
end)
|
625
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
|
+
|
626
965
|
api.add_operation(:get_theme, Seahorse::Model::Operation.new.tap do |o|
|
627
966
|
o.name = "GetTheme"
|
628
967
|
o.http_method = "GET"
|
@@ -650,6 +989,22 @@ module Aws::AmplifyUIBuilder
|
|
650
989
|
)
|
651
990
|
end)
|
652
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
|
+
|
653
1008
|
api.add_operation(:list_themes, Seahorse::Model::Operation.new.tap do |o|
|
654
1009
|
o.name = "ListThemes"
|
655
1010
|
o.http_method = "GET"
|
@@ -666,6 +1021,16 @@ module Aws::AmplifyUIBuilder
|
|
666
1021
|
)
|
667
1022
|
end)
|
668
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
|
+
|
669
1034
|
api.add_operation(:refresh_token, Seahorse::Model::Operation.new.tap do |o|
|
670
1035
|
o.name = "RefreshToken"
|
671
1036
|
o.http_method = "POST"
|
@@ -686,6 +1051,17 @@ module Aws::AmplifyUIBuilder
|
|
686
1051
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
687
1052
|
end)
|
688
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
|
+
|
689
1065
|
api.add_operation(:update_theme, Seahorse::Model::Operation.new.tap do |o|
|
690
1066
|
o.name = "UpdateTheme"
|
691
1067
|
o.http_method = "PATCH"
|