aws-sdk-amplifyuibuilder 1.11.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,31 @@ module Aws::AmplifyUIBuilder
14
14
  include Seahorse::Model
15
15
 
16
16
  ActionParameters = Shapes::StructureShape.new(name: 'ActionParameters')
17
+ AppId = Shapes::StringShape.new(name: 'AppId')
18
+ AssociatedFieldsList = Shapes::ListShape.new(name: 'AssociatedFieldsList')
17
19
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
20
+ CodegenFeatureFlags = Shapes::StructureShape.new(name: 'CodegenFeatureFlags')
21
+ CodegenGenericDataEnum = Shapes::StructureShape.new(name: 'CodegenGenericDataEnum')
22
+ CodegenGenericDataEnumValuesList = Shapes::ListShape.new(name: 'CodegenGenericDataEnumValuesList')
23
+ CodegenGenericDataEnums = Shapes::MapShape.new(name: 'CodegenGenericDataEnums')
24
+ CodegenGenericDataField = Shapes::StructureShape.new(name: 'CodegenGenericDataField')
25
+ CodegenGenericDataFieldDataType = Shapes::StringShape.new(name: 'CodegenGenericDataFieldDataType')
26
+ CodegenGenericDataFields = Shapes::MapShape.new(name: 'CodegenGenericDataFields')
27
+ CodegenGenericDataModel = Shapes::StructureShape.new(name: 'CodegenGenericDataModel')
28
+ CodegenGenericDataModels = Shapes::MapShape.new(name: 'CodegenGenericDataModels')
29
+ CodegenGenericDataNonModel = Shapes::StructureShape.new(name: 'CodegenGenericDataNonModel')
30
+ CodegenGenericDataNonModelFields = Shapes::MapShape.new(name: 'CodegenGenericDataNonModelFields')
31
+ CodegenGenericDataNonModels = Shapes::MapShape.new(name: 'CodegenGenericDataNonModels')
32
+ CodegenGenericDataRelationshipType = Shapes::StructureShape.new(name: 'CodegenGenericDataRelationshipType')
33
+ CodegenJob = Shapes::StructureShape.new(name: 'CodegenJob')
34
+ CodegenJobAsset = Shapes::StructureShape.new(name: 'CodegenJobAsset')
35
+ CodegenJobGenericDataSchema = Shapes::StructureShape.new(name: 'CodegenJobGenericDataSchema')
36
+ CodegenJobGenericDataSourceType = Shapes::StringShape.new(name: 'CodegenJobGenericDataSourceType')
37
+ CodegenJobRenderConfig = Shapes::UnionShape.new(name: 'CodegenJobRenderConfig')
38
+ CodegenJobStatus = Shapes::StringShape.new(name: 'CodegenJobStatus')
39
+ CodegenJobSummary = Shapes::StructureShape.new(name: 'CodegenJobSummary')
40
+ CodegenJobSummaryList = Shapes::ListShape.new(name: 'CodegenJobSummaryList')
41
+ CodegenPrimaryKeysList = Shapes::ListShape.new(name: 'CodegenPrimaryKeysList')
18
42
  Component = Shapes::StructureShape.new(name: 'Component')
19
43
  ComponentBindingProperties = Shapes::MapShape.new(name: 'ComponentBindingProperties')
20
44
  ComponentBindingPropertiesValue = Shapes::StructureShape.new(name: 'ComponentBindingPropertiesValue')
@@ -91,6 +115,9 @@ module Aws::AmplifyUIBuilder
91
115
  FormStyleConfig = Shapes::UnionShape.new(name: 'FormStyleConfig')
92
116
  FormSummary = Shapes::StructureShape.new(name: 'FormSummary')
93
117
  FormSummaryList = Shapes::ListShape.new(name: 'FormSummaryList')
118
+ GenericDataRelationshipType = Shapes::StringShape.new(name: 'GenericDataRelationshipType')
119
+ GetCodegenJobRequest = Shapes::StructureShape.new(name: 'GetCodegenJobRequest')
120
+ GetCodegenJobResponse = Shapes::StructureShape.new(name: 'GetCodegenJobResponse')
94
121
  GetComponentRequest = Shapes::StructureShape.new(name: 'GetComponentRequest')
95
122
  GetComponentResponse = Shapes::StructureShape.new(name: 'GetComponentResponse')
96
123
  GetFormRequest = Shapes::StructureShape.new(name: 'GetFormRequest')
@@ -103,7 +130,13 @@ module Aws::AmplifyUIBuilder
103
130
  Integer = Shapes::IntegerShape.new(name: 'Integer')
104
131
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
105
132
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
133
+ JSModule = Shapes::StringShape.new(name: 'JSModule')
134
+ JSScript = Shapes::StringShape.new(name: 'JSScript')
135
+ JSTarget = Shapes::StringShape.new(name: 'JSTarget')
106
136
  LabelDecorator = Shapes::StringShape.new(name: 'LabelDecorator')
137
+ ListCodegenJobsLimit = Shapes::IntegerShape.new(name: 'ListCodegenJobsLimit')
138
+ ListCodegenJobsRequest = Shapes::StructureShape.new(name: 'ListCodegenJobsRequest')
139
+ ListCodegenJobsResponse = Shapes::StructureShape.new(name: 'ListCodegenJobsResponse')
107
140
  ListComponentsLimit = Shapes::IntegerShape.new(name: 'ListComponentsLimit')
108
141
  ListComponentsRequest = Shapes::StructureShape.new(name: 'ListComponentsRequest')
109
142
  ListComponentsResponse = Shapes::StructureShape.new(name: 'ListComponentsResponse')
@@ -120,9 +153,11 @@ module Aws::AmplifyUIBuilder
120
153
  PredicateList = Shapes::ListShape.new(name: 'PredicateList')
121
154
  PutMetadataFlagBody = Shapes::StructureShape.new(name: 'PutMetadataFlagBody')
122
155
  PutMetadataFlagRequest = Shapes::StructureShape.new(name: 'PutMetadataFlagRequest')
156
+ ReactStartCodegenJobData = Shapes::StructureShape.new(name: 'ReactStartCodegenJobData')
123
157
  RefreshTokenRequest = Shapes::StructureShape.new(name: 'RefreshTokenRequest')
124
158
  RefreshTokenRequestBody = Shapes::StructureShape.new(name: 'RefreshTokenRequestBody')
125
159
  RefreshTokenResponse = Shapes::StructureShape.new(name: 'RefreshTokenResponse')
160
+ RelatedModelFieldsList = Shapes::ListShape.new(name: 'RelatedModelFieldsList')
126
161
  ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
127
162
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
128
163
  SectionalElement = Shapes::StructureShape.new(name: 'SectionalElement')
@@ -132,6 +167,9 @@ module Aws::AmplifyUIBuilder
132
167
  SortDirection = Shapes::StringShape.new(name: 'SortDirection')
133
168
  SortProperty = Shapes::StructureShape.new(name: 'SortProperty')
134
169
  SortPropertyList = Shapes::ListShape.new(name: 'SortPropertyList')
170
+ StartCodegenJobData = Shapes::StructureShape.new(name: 'StartCodegenJobData')
171
+ StartCodegenJobRequest = Shapes::StructureShape.new(name: 'StartCodegenJobRequest')
172
+ StartCodegenJobResponse = Shapes::StructureShape.new(name: 'StartCodegenJobResponse')
135
173
  StorageAccessLevel = Shapes::StringShape.new(name: 'StorageAccessLevel')
136
174
  StrValues = Shapes::ListShape.new(name: 'StrValues')
137
175
  String = Shapes::StringShape.new(name: 'String')
@@ -147,6 +185,7 @@ module Aws::AmplifyUIBuilder
147
185
  ThemeValue = Shapes::StructureShape.new(name: 'ThemeValue')
148
186
  ThemeValues = Shapes::StructureShape.new(name: 'ThemeValues')
149
187
  ThemeValuesList = Shapes::ListShape.new(name: 'ThemeValuesList')
188
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
150
189
  TokenProviders = Shapes::StringShape.new(name: 'TokenProviders')
151
190
  UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
152
191
  UpdateComponentData = Shapes::StructureShape.new(name: 'UpdateComponentData')
@@ -175,6 +214,100 @@ module Aws::AmplifyUIBuilder
175
214
  ActionParameters.add_member(:state, Shapes::ShapeRef.new(shape: MutationActionSetStateParameter, location_name: "state"))
176
215
  ActionParameters.struct_class = Types::ActionParameters
177
216
 
217
+ AssociatedFieldsList.member = Shapes::ShapeRef.new(shape: String)
218
+
219
+ CodegenFeatureFlags.add_member(:is_relationship_supported, Shapes::ShapeRef.new(shape: Boolean, location_name: "isRelationshipSupported"))
220
+ CodegenFeatureFlags.add_member(:is_non_model_supported, Shapes::ShapeRef.new(shape: Boolean, location_name: "isNonModelSupported"))
221
+ CodegenFeatureFlags.struct_class = Types::CodegenFeatureFlags
222
+
223
+ CodegenGenericDataEnum.add_member(:values, Shapes::ShapeRef.new(shape: CodegenGenericDataEnumValuesList, required: true, location_name: "values"))
224
+ CodegenGenericDataEnum.struct_class = Types::CodegenGenericDataEnum
225
+
226
+ CodegenGenericDataEnumValuesList.member = Shapes::ShapeRef.new(shape: String)
227
+
228
+ CodegenGenericDataEnums.key = Shapes::ShapeRef.new(shape: String)
229
+ CodegenGenericDataEnums.value = Shapes::ShapeRef.new(shape: CodegenGenericDataEnum)
230
+
231
+ CodegenGenericDataField.add_member(:data_type, Shapes::ShapeRef.new(shape: CodegenGenericDataFieldDataType, required: true, location_name: "dataType"))
232
+ CodegenGenericDataField.add_member(:data_type_value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "dataTypeValue"))
233
+ CodegenGenericDataField.add_member(:required, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "required"))
234
+ CodegenGenericDataField.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "readOnly"))
235
+ CodegenGenericDataField.add_member(:is_array, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "isArray"))
236
+ CodegenGenericDataField.add_member(:relationship, Shapes::ShapeRef.new(shape: CodegenGenericDataRelationshipType, location_name: "relationship"))
237
+ CodegenGenericDataField.struct_class = Types::CodegenGenericDataField
238
+
239
+ CodegenGenericDataFields.key = Shapes::ShapeRef.new(shape: String)
240
+ CodegenGenericDataFields.value = Shapes::ShapeRef.new(shape: CodegenGenericDataField)
241
+
242
+ CodegenGenericDataModel.add_member(:fields, Shapes::ShapeRef.new(shape: CodegenGenericDataFields, required: true, location_name: "fields"))
243
+ CodegenGenericDataModel.add_member(:is_join_table, Shapes::ShapeRef.new(shape: Boolean, location_name: "isJoinTable"))
244
+ CodegenGenericDataModel.add_member(:primary_keys, Shapes::ShapeRef.new(shape: CodegenPrimaryKeysList, required: true, location_name: "primaryKeys"))
245
+ CodegenGenericDataModel.struct_class = Types::CodegenGenericDataModel
246
+
247
+ CodegenGenericDataModels.key = Shapes::ShapeRef.new(shape: String)
248
+ CodegenGenericDataModels.value = Shapes::ShapeRef.new(shape: CodegenGenericDataModel)
249
+
250
+ CodegenGenericDataNonModel.add_member(:fields, Shapes::ShapeRef.new(shape: CodegenGenericDataNonModelFields, required: true, location_name: "fields"))
251
+ CodegenGenericDataNonModel.struct_class = Types::CodegenGenericDataNonModel
252
+
253
+ CodegenGenericDataNonModelFields.key = Shapes::ShapeRef.new(shape: String)
254
+ CodegenGenericDataNonModelFields.value = Shapes::ShapeRef.new(shape: CodegenGenericDataField)
255
+
256
+ CodegenGenericDataNonModels.key = Shapes::ShapeRef.new(shape: String)
257
+ CodegenGenericDataNonModels.value = Shapes::ShapeRef.new(shape: CodegenGenericDataNonModel)
258
+
259
+ CodegenGenericDataRelationshipType.add_member(:type, Shapes::ShapeRef.new(shape: GenericDataRelationshipType, required: true, location_name: "type"))
260
+ CodegenGenericDataRelationshipType.add_member(:related_model_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "relatedModelName"))
261
+ CodegenGenericDataRelationshipType.add_member(:related_model_fields, Shapes::ShapeRef.new(shape: RelatedModelFieldsList, location_name: "relatedModelFields"))
262
+ CodegenGenericDataRelationshipType.add_member(:can_unlink_associated_model, Shapes::ShapeRef.new(shape: Boolean, location_name: "canUnlinkAssociatedModel"))
263
+ CodegenGenericDataRelationshipType.add_member(:related_join_field_name, Shapes::ShapeRef.new(shape: String, location_name: "relatedJoinFieldName"))
264
+ CodegenGenericDataRelationshipType.add_member(:related_join_table_name, Shapes::ShapeRef.new(shape: String, location_name: "relatedJoinTableName"))
265
+ CodegenGenericDataRelationshipType.add_member(:belongs_to_field_on_related_model, Shapes::ShapeRef.new(shape: String, location_name: "belongsToFieldOnRelatedModel"))
266
+ CodegenGenericDataRelationshipType.add_member(:associated_fields, Shapes::ShapeRef.new(shape: AssociatedFieldsList, location_name: "associatedFields"))
267
+ CodegenGenericDataRelationshipType.add_member(:is_has_many_index, Shapes::ShapeRef.new(shape: Boolean, location_name: "isHasManyIndex"))
268
+ CodegenGenericDataRelationshipType.struct_class = Types::CodegenGenericDataRelationshipType
269
+
270
+ CodegenJob.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
271
+ CodegenJob.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location_name: "appId"))
272
+ CodegenJob.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "environmentName"))
273
+ CodegenJob.add_member(:render_config, Shapes::ShapeRef.new(shape: CodegenJobRenderConfig, location_name: "renderConfig"))
274
+ CodegenJob.add_member(:generic_data_schema, Shapes::ShapeRef.new(shape: CodegenJobGenericDataSchema, location_name: "genericDataSchema"))
275
+ CodegenJob.add_member(:auto_generate_forms, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoGenerateForms"))
276
+ CodegenJob.add_member(:features, Shapes::ShapeRef.new(shape: CodegenFeatureFlags, location_name: "features"))
277
+ CodegenJob.add_member(:status, Shapes::ShapeRef.new(shape: CodegenJobStatus, location_name: "status"))
278
+ CodegenJob.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
279
+ CodegenJob.add_member(:asset, Shapes::ShapeRef.new(shape: CodegenJobAsset, location_name: "asset"))
280
+ CodegenJob.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
281
+ CodegenJob.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
282
+ CodegenJob.add_member(:modified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "modifiedAt"))
283
+ CodegenJob.struct_class = Types::CodegenJob
284
+
285
+ CodegenJobAsset.add_member(:download_url, Shapes::ShapeRef.new(shape: String, location_name: "downloadUrl"))
286
+ CodegenJobAsset.struct_class = Types::CodegenJobAsset
287
+
288
+ CodegenJobGenericDataSchema.add_member(:data_source_type, Shapes::ShapeRef.new(shape: CodegenJobGenericDataSourceType, required: true, location_name: "dataSourceType"))
289
+ CodegenJobGenericDataSchema.add_member(:models, Shapes::ShapeRef.new(shape: CodegenGenericDataModels, required: true, location_name: "models"))
290
+ CodegenJobGenericDataSchema.add_member(:enums, Shapes::ShapeRef.new(shape: CodegenGenericDataEnums, required: true, location_name: "enums"))
291
+ CodegenJobGenericDataSchema.add_member(:non_models, Shapes::ShapeRef.new(shape: CodegenGenericDataNonModels, required: true, location_name: "nonModels"))
292
+ CodegenJobGenericDataSchema.struct_class = Types::CodegenJobGenericDataSchema
293
+
294
+ CodegenJobRenderConfig.add_member(:react, Shapes::ShapeRef.new(shape: ReactStartCodegenJobData, location_name: "react"))
295
+ CodegenJobRenderConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
296
+ CodegenJobRenderConfig.add_member_subclass(:react, Types::CodegenJobRenderConfig::React)
297
+ CodegenJobRenderConfig.add_member_subclass(:unknown, Types::CodegenJobRenderConfig::Unknown)
298
+ CodegenJobRenderConfig.struct_class = Types::CodegenJobRenderConfig
299
+
300
+ CodegenJobSummary.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location_name: "appId"))
301
+ CodegenJobSummary.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "environmentName"))
302
+ CodegenJobSummary.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
303
+ CodegenJobSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
304
+ CodegenJobSummary.add_member(:modified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "modifiedAt"))
305
+ CodegenJobSummary.struct_class = Types::CodegenJobSummary
306
+
307
+ CodegenJobSummaryList.member = Shapes::ShapeRef.new(shape: CodegenJobSummary)
308
+
309
+ CodegenPrimaryKeysList.member = Shapes::ShapeRef.new(shape: String)
310
+
178
311
  Component.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "appId"))
179
312
  Component.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "environmentName"))
180
313
  Component.add_member(:source_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceId"))
@@ -567,6 +700,16 @@ module Aws::AmplifyUIBuilder
567
700
 
568
701
  FormSummaryList.member = Shapes::ShapeRef.new(shape: FormSummary)
569
702
 
703
+ GetCodegenJobRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
704
+ GetCodegenJobRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
705
+ GetCodegenJobRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
706
+ GetCodegenJobRequest.struct_class = Types::GetCodegenJobRequest
707
+
708
+ GetCodegenJobResponse.add_member(:job, Shapes::ShapeRef.new(shape: CodegenJob, location_name: "job"))
709
+ GetCodegenJobResponse.struct_class = Types::GetCodegenJobResponse
710
+ GetCodegenJobResponse[:payload] = :job
711
+ GetCodegenJobResponse[:payload_member] = GetCodegenJobResponse.member(:job)
712
+
570
713
  GetComponentRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
571
714
  GetComponentRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
572
715
  GetComponentRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
@@ -612,6 +755,16 @@ module Aws::AmplifyUIBuilder
612
755
  InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
613
756
  InvalidParameterException.struct_class = Types::InvalidParameterException
614
757
 
758
+ ListCodegenJobsRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
759
+ ListCodegenJobsRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
760
+ ListCodegenJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
761
+ ListCodegenJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListCodegenJobsLimit, location: "querystring", location_name: "maxResults"))
762
+ ListCodegenJobsRequest.struct_class = Types::ListCodegenJobsRequest
763
+
764
+ ListCodegenJobsResponse.add_member(:entities, Shapes::ShapeRef.new(shape: CodegenJobSummaryList, required: true, location_name: "entities"))
765
+ ListCodegenJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
766
+ ListCodegenJobsResponse.struct_class = Types::ListCodegenJobsResponse
767
+
615
768
  ListComponentsRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
616
769
  ListComponentsRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
617
770
  ListComponentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
@@ -670,6 +823,13 @@ module Aws::AmplifyUIBuilder
670
823
  PutMetadataFlagRequest[:payload] = :body
671
824
  PutMetadataFlagRequest[:payload_member] = PutMetadataFlagRequest.member(:body)
672
825
 
826
+ ReactStartCodegenJobData.add_member(:module, Shapes::ShapeRef.new(shape: JSModule, location_name: "module"))
827
+ ReactStartCodegenJobData.add_member(:target, Shapes::ShapeRef.new(shape: JSTarget, location_name: "target"))
828
+ ReactStartCodegenJobData.add_member(:script, Shapes::ShapeRef.new(shape: JSScript, location_name: "script"))
829
+ ReactStartCodegenJobData.add_member(:render_type_declarations, Shapes::ShapeRef.new(shape: Boolean, location_name: "renderTypeDeclarations"))
830
+ ReactStartCodegenJobData.add_member(:inline_source_map, Shapes::ShapeRef.new(shape: Boolean, location_name: "inlineSourceMap"))
831
+ ReactStartCodegenJobData.struct_class = Types::ReactStartCodegenJobData
832
+
673
833
  RefreshTokenRequest.add_member(:provider, Shapes::ShapeRef.new(shape: TokenProviders, required: true, location: "uri", location_name: "provider"))
674
834
  RefreshTokenRequest.add_member(:refresh_token_body, Shapes::ShapeRef.new(shape: RefreshTokenRequestBody, required: true, location_name: "refreshTokenBody"))
675
835
  RefreshTokenRequest.struct_class = Types::RefreshTokenRequest
@@ -684,6 +844,8 @@ module Aws::AmplifyUIBuilder
684
844
  RefreshTokenResponse.add_member(:expires_in, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "expiresIn"))
685
845
  RefreshTokenResponse.struct_class = Types::RefreshTokenResponse
686
846
 
847
+ RelatedModelFieldsList.member = Shapes::ShapeRef.new(shape: String)
848
+
687
849
  ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
688
850
  ResourceConflictException.struct_class = Types::ResourceConflictException
689
851
 
@@ -710,6 +872,26 @@ module Aws::AmplifyUIBuilder
710
872
 
711
873
  SortPropertyList.member = Shapes::ShapeRef.new(shape: SortProperty)
712
874
 
875
+ StartCodegenJobData.add_member(:render_config, Shapes::ShapeRef.new(shape: CodegenJobRenderConfig, required: true, location_name: "renderConfig"))
876
+ StartCodegenJobData.add_member(:generic_data_schema, Shapes::ShapeRef.new(shape: CodegenJobGenericDataSchema, location_name: "genericDataSchema"))
877
+ StartCodegenJobData.add_member(:auto_generate_forms, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoGenerateForms"))
878
+ StartCodegenJobData.add_member(:features, Shapes::ShapeRef.new(shape: CodegenFeatureFlags, location_name: "features"))
879
+ StartCodegenJobData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
880
+ StartCodegenJobData.struct_class = Types::StartCodegenJobData
881
+
882
+ StartCodegenJobRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
883
+ StartCodegenJobRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
884
+ StartCodegenJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
885
+ StartCodegenJobRequest.add_member(:codegen_job_to_create, Shapes::ShapeRef.new(shape: StartCodegenJobData, required: true, location_name: "codegenJobToCreate"))
886
+ StartCodegenJobRequest.struct_class = Types::StartCodegenJobRequest
887
+ StartCodegenJobRequest[:payload] = :codegen_job_to_create
888
+ StartCodegenJobRequest[:payload_member] = StartCodegenJobRequest.member(:codegen_job_to_create)
889
+
890
+ StartCodegenJobResponse.add_member(:entity, Shapes::ShapeRef.new(shape: CodegenJob, location_name: "entity"))
891
+ StartCodegenJobResponse.struct_class = Types::StartCodegenJobResponse
892
+ StartCodegenJobResponse[:payload] = :entity
893
+ StartCodegenJobResponse[:payload_member] = StartCodegenJobResponse.member(:entity)
894
+
713
895
  StrValues.member = Shapes::ShapeRef.new(shape: String)
714
896
 
715
897
  Tags.key = Shapes::ShapeRef.new(shape: TagKey)
@@ -746,6 +928,9 @@ module Aws::AmplifyUIBuilder
746
928
 
747
929
  ThemeValuesList.member = Shapes::ShapeRef.new(shape: ThemeValues)
748
930
 
931
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
932
+ ThrottlingException.struct_class = Types::ThrottlingException
933
+
749
934
  UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
750
935
  UnauthorizedException.struct_class = Types::UnauthorizedException
751
936
 
@@ -975,6 +1160,18 @@ module Aws::AmplifyUIBuilder
975
1160
  )
976
1161
  end)
977
1162
 
1163
+ api.add_operation(:get_codegen_job, Seahorse::Model::Operation.new.tap do |o|
1164
+ o.name = "GetCodegenJob"
1165
+ o.http_method = "GET"
1166
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/codegen-jobs/{id}"
1167
+ o.input = Shapes::ShapeRef.new(shape: GetCodegenJobRequest)
1168
+ o.output = Shapes::ShapeRef.new(shape: GetCodegenJobResponse)
1169
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1170
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1171
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1172
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1173
+ end)
1174
+
978
1175
  api.add_operation(:get_component, Seahorse::Model::Operation.new.tap do |o|
979
1176
  o.name = "GetComponent"
980
1177
  o.http_method = "GET"
@@ -1018,6 +1215,23 @@ module Aws::AmplifyUIBuilder
1018
1215
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1019
1216
  end)
1020
1217
 
1218
+ api.add_operation(:list_codegen_jobs, Seahorse::Model::Operation.new.tap do |o|
1219
+ o.name = "ListCodegenJobs"
1220
+ o.http_method = "GET"
1221
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/codegen-jobs"
1222
+ o.input = Shapes::ShapeRef.new(shape: ListCodegenJobsRequest)
1223
+ o.output = Shapes::ShapeRef.new(shape: ListCodegenJobsResponse)
1224
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1225
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1226
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1227
+ o[:pager] = Aws::Pager.new(
1228
+ limit_key: "max_results",
1229
+ tokens: {
1230
+ "next_token" => "next_token"
1231
+ }
1232
+ )
1233
+ end)
1234
+
1021
1235
  api.add_operation(:list_components, Seahorse::Model::Operation.new.tap do |o|
1022
1236
  o.name = "ListComponents"
1023
1237
  o.http_method = "GET"
@@ -1085,6 +1299,17 @@ module Aws::AmplifyUIBuilder
1085
1299
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1086
1300
  end)
1087
1301
 
1302
+ api.add_operation(:start_codegen_job, Seahorse::Model::Operation.new.tap do |o|
1303
+ o.name = "StartCodegenJob"
1304
+ o.http_method = "POST"
1305
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/codegen-jobs"
1306
+ o.input = Shapes::ShapeRef.new(shape: StartCodegenJobRequest)
1307
+ o.output = Shapes::ShapeRef.new(shape: StartCodegenJobResponse)
1308
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1309
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1310
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1311
+ end)
1312
+
1088
1313
  api.add_operation(:update_component, Seahorse::Model::Operation.new.tap do |o|
1089
1314
  o.name = "UpdateComponent"
1090
1315
  o.http_method = "PATCH"
@@ -151,6 +151,20 @@ module Aws::AmplifyUIBuilder
151
151
  end
152
152
  end
153
153
 
154
+ class GetCodegenJob
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::AmplifyUIBuilder::EndpointParameters.new(
160
+ region: context.config.region,
161
+ use_dual_stack: context.config.use_dualstack_endpoint,
162
+ use_fips: context.config.use_fips_endpoint,
163
+ endpoint: endpoint,
164
+ )
165
+ end
166
+ end
167
+
154
168
  class GetComponent
155
169
  def self.build(context)
156
170
  unless context.config.regional_endpoint
@@ -207,6 +221,20 @@ module Aws::AmplifyUIBuilder
207
221
  end
208
222
  end
209
223
 
224
+ class ListCodegenJobs
225
+ def self.build(context)
226
+ unless context.config.regional_endpoint
227
+ endpoint = context.config.endpoint.to_s
228
+ end
229
+ Aws::AmplifyUIBuilder::EndpointParameters.new(
230
+ region: context.config.region,
231
+ use_dual_stack: context.config.use_dualstack_endpoint,
232
+ use_fips: context.config.use_fips_endpoint,
233
+ endpoint: endpoint,
234
+ )
235
+ end
236
+ end
237
+
210
238
  class ListComponents
211
239
  def self.build(context)
212
240
  unless context.config.regional_endpoint
@@ -277,6 +305,20 @@ module Aws::AmplifyUIBuilder
277
305
  end
278
306
  end
279
307
 
308
+ class StartCodegenJob
309
+ def self.build(context)
310
+ unless context.config.regional_endpoint
311
+ endpoint = context.config.endpoint.to_s
312
+ end
313
+ Aws::AmplifyUIBuilder::EndpointParameters.new(
314
+ region: context.config.region,
315
+ use_dual_stack: context.config.use_dualstack_endpoint,
316
+ use_fips: context.config.use_fips_endpoint,
317
+ endpoint: endpoint,
318
+ )
319
+ end
320
+ end
321
+
280
322
  class UpdateComponent
281
323
  def self.build(context)
282
324
  unless context.config.regional_endpoint
@@ -32,6 +32,7 @@ module Aws::AmplifyUIBuilder
32
32
  # * {ResourceConflictException}
33
33
  # * {ResourceNotFoundException}
34
34
  # * {ServiceQuotaExceededException}
35
+ # * {ThrottlingException}
35
36
  # * {UnauthorizedException}
36
37
  #
37
38
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -115,6 +116,21 @@ module Aws::AmplifyUIBuilder
115
116
  end
116
117
  end
117
118
 
119
+ class ThrottlingException < ServiceError
120
+
121
+ # @param [Seahorse::Client::RequestContext] context
122
+ # @param [String] message
123
+ # @param [Aws::AmplifyUIBuilder::Types::ThrottlingException] data
124
+ def initialize(context, message, data = Aws::EmptyStructure.new)
125
+ super(context, message, data)
126
+ end
127
+
128
+ # @return [String]
129
+ def message
130
+ @message || @data[:message]
131
+ end
132
+ end
133
+
118
134
  class UnauthorizedException < ServiceError
119
135
 
120
136
  # @param [Seahorse::Client::RequestContext] context
@@ -76,6 +76,8 @@ module Aws::AmplifyUIBuilder
76
76
  Aws::AmplifyUIBuilder::Endpoints::ExportForms.build(context)
77
77
  when :export_themes
78
78
  Aws::AmplifyUIBuilder::Endpoints::ExportThemes.build(context)
79
+ when :get_codegen_job
80
+ Aws::AmplifyUIBuilder::Endpoints::GetCodegenJob.build(context)
79
81
  when :get_component
80
82
  Aws::AmplifyUIBuilder::Endpoints::GetComponent.build(context)
81
83
  when :get_form
@@ -84,6 +86,8 @@ module Aws::AmplifyUIBuilder
84
86
  Aws::AmplifyUIBuilder::Endpoints::GetMetadata.build(context)
85
87
  when :get_theme
86
88
  Aws::AmplifyUIBuilder::Endpoints::GetTheme.build(context)
89
+ when :list_codegen_jobs
90
+ Aws::AmplifyUIBuilder::Endpoints::ListCodegenJobs.build(context)
87
91
  when :list_components
88
92
  Aws::AmplifyUIBuilder::Endpoints::ListComponents.build(context)
89
93
  when :list_forms
@@ -94,6 +98,8 @@ module Aws::AmplifyUIBuilder
94
98
  Aws::AmplifyUIBuilder::Endpoints::PutMetadataFlag.build(context)
95
99
  when :refresh_token
96
100
  Aws::AmplifyUIBuilder::Endpoints::RefreshToken.build(context)
101
+ when :start_codegen_job
102
+ Aws::AmplifyUIBuilder::Endpoints::StartCodegenJob.build(context)
97
103
  when :update_component
98
104
  Aws::AmplifyUIBuilder::Endpoints::UpdateComponent.build(context)
99
105
  when :update_form