aws-sdk-amplifyuibuilder 1.17.0 → 1.19.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-amplifyuibuilder/client.rb +55 -6
- data/lib/aws-sdk-amplifyuibuilder/client_api.rb +42 -0
- data/lib/aws-sdk-amplifyuibuilder/types.rb +145 -4
- data/lib/aws-sdk-amplifyuibuilder.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f3b9afedf35e641338b64ad215c1607c69a6707a845093c2d59dac241eaf5bb
|
4
|
+
data.tar.gz: c92521ec88bf9299a1ed35dd9c431d814a7849653082151b2ae932f1c8942a4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da36ced57348ebe3698dcf697e943524fec178524da18853fc6e64dcd3a7dba5957c910c959acd4026b32fe9b1022a7d93b3d9ca704dac1847845e218152afea
|
7
|
+
data.tar.gz: d9de0283497bfbab9801494c0f2affd03055c049a4d927d879bdb5ce512bdf9286778b4b14b806939c5b37072ac8d2dec6448815ff0cc9ab9dcd8b1f25fc8f44
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.19.0 (2023-09-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Support for generating code that is compatible with future versions of amplify project dependencies.
|
8
|
+
|
9
|
+
1.18.0 (2023-07-31)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amplify Studio releases GraphQL support for codegen job action.
|
13
|
+
|
4
14
|
1.17.0 (2023-07-11)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.19.0
|
@@ -1889,7 +1889,7 @@ module Aws::AmplifyUIBuilder
|
|
1889
1889
|
req.send_request(options)
|
1890
1890
|
end
|
1891
1891
|
|
1892
|
-
# Creates a new form for an Amplify.
|
1892
|
+
# Creates a new form for an Amplify app.
|
1893
1893
|
#
|
1894
1894
|
# @option params [required, String] :app_id
|
1895
1895
|
# The unique ID of the Amplify app to associate with the form.
|
@@ -2348,7 +2348,11 @@ module Aws::AmplifyUIBuilder
|
|
2348
2348
|
req.send_request(options)
|
2349
2349
|
end
|
2350
2350
|
|
2351
|
-
#
|
2351
|
+
# <note markdown="1"> This is for internal use.
|
2352
|
+
#
|
2353
|
+
# </note>
|
2354
|
+
#
|
2355
|
+
# Amplify uses this action to exchange an access code for a token.
|
2352
2356
|
#
|
2353
2357
|
# @option params [required, String] :provider
|
2354
2358
|
# The third-party provider for the token. The only valid value is
|
@@ -3194,6 +3198,13 @@ module Aws::AmplifyUIBuilder
|
|
3194
3198
|
# resp.job.render_config.react.script #=> String, one of "jsx", "tsx", "js"
|
3195
3199
|
# resp.job.render_config.react.render_type_declarations #=> Boolean
|
3196
3200
|
# resp.job.render_config.react.inline_source_map #=> Boolean
|
3201
|
+
# resp.job.render_config.react.api_configuration.graph_ql_config.types_file_path #=> String
|
3202
|
+
# resp.job.render_config.react.api_configuration.graph_ql_config.queries_file_path #=> String
|
3203
|
+
# resp.job.render_config.react.api_configuration.graph_ql_config.mutations_file_path #=> String
|
3204
|
+
# resp.job.render_config.react.api_configuration.graph_ql_config.subscriptions_file_path #=> String
|
3205
|
+
# resp.job.render_config.react.api_configuration.graph_ql_config.fragments_file_path #=> String
|
3206
|
+
# resp.job.render_config.react.dependencies #=> Hash
|
3207
|
+
# resp.job.render_config.react.dependencies["String"] #=> String
|
3197
3208
|
# resp.job.generic_data_schema.data_source_type #=> String, one of "DataStore"
|
3198
3209
|
# resp.job.generic_data_schema.models #=> Hash
|
3199
3210
|
# resp.job.generic_data_schema.models["String"].fields #=> Hash
|
@@ -3247,6 +3258,11 @@ module Aws::AmplifyUIBuilder
|
|
3247
3258
|
# resp.job.tags["TagKey"] #=> String
|
3248
3259
|
# resp.job.created_at #=> Time
|
3249
3260
|
# resp.job.modified_at #=> Time
|
3261
|
+
# resp.job.dependencies #=> Array
|
3262
|
+
# resp.job.dependencies[0].name #=> String
|
3263
|
+
# resp.job.dependencies[0].supported_version #=> String
|
3264
|
+
# resp.job.dependencies[0].is_sem_ver #=> Boolean
|
3265
|
+
# resp.job.dependencies[0].reason #=> String
|
3250
3266
|
#
|
3251
3267
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/GetCodegenJob AWS API Documentation
|
3252
3268
|
#
|
@@ -4279,7 +4295,12 @@ module Aws::AmplifyUIBuilder
|
|
4279
4295
|
req.send_request(options)
|
4280
4296
|
end
|
4281
4297
|
|
4282
|
-
#
|
4298
|
+
# <note markdown="1"> This is for internal use.
|
4299
|
+
#
|
4300
|
+
# </note>
|
4301
|
+
#
|
4302
|
+
# Amplify uses this action to refresh a previously issued access token
|
4303
|
+
# that might have expired.
|
4283
4304
|
#
|
4284
4305
|
# @option params [required, String] :provider
|
4285
4306
|
# The third-party provider for the token. The only valid value is
|
@@ -4317,8 +4338,8 @@ module Aws::AmplifyUIBuilder
|
|
4317
4338
|
req.send_request(options)
|
4318
4339
|
end
|
4319
4340
|
|
4320
|
-
# Starts a code generation job for
|
4321
|
-
#
|
4341
|
+
# Starts a code generation job for a specified Amplify app and backend
|
4342
|
+
# environment.
|
4322
4343
|
#
|
4323
4344
|
# @option params [required, String] :app_id
|
4324
4345
|
# The unique ID for the Amplify app.
|
@@ -4354,6 +4375,22 @@ module Aws::AmplifyUIBuilder
|
|
4354
4375
|
# script: "jsx", # accepts jsx, tsx, js
|
4355
4376
|
# render_type_declarations: false,
|
4356
4377
|
# inline_source_map: false,
|
4378
|
+
# api_configuration: {
|
4379
|
+
# graph_ql_config: {
|
4380
|
+
# types_file_path: "String", # required
|
4381
|
+
# queries_file_path: "String", # required
|
4382
|
+
# mutations_file_path: "String", # required
|
4383
|
+
# subscriptions_file_path: "String", # required
|
4384
|
+
# fragments_file_path: "String", # required
|
4385
|
+
# },
|
4386
|
+
# data_store_config: {
|
4387
|
+
# },
|
4388
|
+
# no_api_config: {
|
4389
|
+
# },
|
4390
|
+
# },
|
4391
|
+
# dependencies: {
|
4392
|
+
# "String" => "String",
|
4393
|
+
# },
|
4357
4394
|
# },
|
4358
4395
|
# },
|
4359
4396
|
# generic_data_schema: {
|
@@ -4435,6 +4472,13 @@ module Aws::AmplifyUIBuilder
|
|
4435
4472
|
# resp.entity.render_config.react.script #=> String, one of "jsx", "tsx", "js"
|
4436
4473
|
# resp.entity.render_config.react.render_type_declarations #=> Boolean
|
4437
4474
|
# resp.entity.render_config.react.inline_source_map #=> Boolean
|
4475
|
+
# resp.entity.render_config.react.api_configuration.graph_ql_config.types_file_path #=> String
|
4476
|
+
# resp.entity.render_config.react.api_configuration.graph_ql_config.queries_file_path #=> String
|
4477
|
+
# resp.entity.render_config.react.api_configuration.graph_ql_config.mutations_file_path #=> String
|
4478
|
+
# resp.entity.render_config.react.api_configuration.graph_ql_config.subscriptions_file_path #=> String
|
4479
|
+
# resp.entity.render_config.react.api_configuration.graph_ql_config.fragments_file_path #=> String
|
4480
|
+
# resp.entity.render_config.react.dependencies #=> Hash
|
4481
|
+
# resp.entity.render_config.react.dependencies["String"] #=> String
|
4438
4482
|
# resp.entity.generic_data_schema.data_source_type #=> String, one of "DataStore"
|
4439
4483
|
# resp.entity.generic_data_schema.models #=> Hash
|
4440
4484
|
# resp.entity.generic_data_schema.models["String"].fields #=> Hash
|
@@ -4488,6 +4532,11 @@ module Aws::AmplifyUIBuilder
|
|
4488
4532
|
# resp.entity.tags["TagKey"] #=> String
|
4489
4533
|
# resp.entity.created_at #=> Time
|
4490
4534
|
# resp.entity.modified_at #=> Time
|
4535
|
+
# resp.entity.dependencies #=> Array
|
4536
|
+
# resp.entity.dependencies[0].name #=> String
|
4537
|
+
# resp.entity.dependencies[0].supported_version #=> String
|
4538
|
+
# resp.entity.dependencies[0].is_sem_ver #=> Boolean
|
4539
|
+
# resp.entity.dependencies[0].reason #=> String
|
4491
4540
|
#
|
4492
4541
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/StartCodegenJob AWS API Documentation
|
4493
4542
|
#
|
@@ -6385,7 +6434,7 @@ module Aws::AmplifyUIBuilder
|
|
6385
6434
|
params: params,
|
6386
6435
|
config: config)
|
6387
6436
|
context[:gem_name] = 'aws-sdk-amplifyuibuilder'
|
6388
|
-
context[:gem_version] = '1.
|
6437
|
+
context[:gem_version] = '1.19.0'
|
6389
6438
|
Seahorse::Client::Request.new(handlers, context)
|
6390
6439
|
end
|
6391
6440
|
|
@@ -14,9 +14,12 @@ module Aws::AmplifyUIBuilder
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
ActionParameters = Shapes::StructureShape.new(name: 'ActionParameters')
|
17
|
+
ApiConfiguration = Shapes::UnionShape.new(name: 'ApiConfiguration')
|
17
18
|
AppId = Shapes::StringShape.new(name: 'AppId')
|
18
19
|
AssociatedFieldsList = Shapes::ListShape.new(name: 'AssociatedFieldsList')
|
19
20
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
21
|
+
CodegenDependencies = Shapes::ListShape.new(name: 'CodegenDependencies')
|
22
|
+
CodegenDependency = Shapes::StructureShape.new(name: 'CodegenDependency')
|
20
23
|
CodegenFeatureFlags = Shapes::StructureShape.new(name: 'CodegenFeatureFlags')
|
21
24
|
CodegenGenericDataEnum = Shapes::StructureShape.new(name: 'CodegenGenericDataEnum')
|
22
25
|
CodegenGenericDataEnumValuesList = Shapes::ListShape.new(name: 'CodegenGenericDataEnumValuesList')
|
@@ -73,6 +76,7 @@ module Aws::AmplifyUIBuilder
|
|
73
76
|
CreateThemeData = Shapes::StructureShape.new(name: 'CreateThemeData')
|
74
77
|
CreateThemeRequest = Shapes::StructureShape.new(name: 'CreateThemeRequest')
|
75
78
|
CreateThemeResponse = Shapes::StructureShape.new(name: 'CreateThemeResponse')
|
79
|
+
DataStoreRenderConfig = Shapes::StructureShape.new(name: 'DataStoreRenderConfig')
|
76
80
|
DeleteComponentRequest = Shapes::StructureShape.new(name: 'DeleteComponentRequest')
|
77
81
|
DeleteFormRequest = Shapes::StructureShape.new(name: 'DeleteFormRequest')
|
78
82
|
DeleteThemeRequest = Shapes::StructureShape.new(name: 'DeleteThemeRequest')
|
@@ -126,6 +130,7 @@ module Aws::AmplifyUIBuilder
|
|
126
130
|
GetMetadataResponse = Shapes::StructureShape.new(name: 'GetMetadataResponse')
|
127
131
|
GetThemeRequest = Shapes::StructureShape.new(name: 'GetThemeRequest')
|
128
132
|
GetThemeResponse = Shapes::StructureShape.new(name: 'GetThemeResponse')
|
133
|
+
GraphQLRenderConfig = Shapes::StructureShape.new(name: 'GraphQLRenderConfig')
|
129
134
|
IdentifierList = Shapes::ListShape.new(name: 'IdentifierList')
|
130
135
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
131
136
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
@@ -147,12 +152,14 @@ module Aws::AmplifyUIBuilder
|
|
147
152
|
ListThemesRequest = Shapes::StructureShape.new(name: 'ListThemesRequest')
|
148
153
|
ListThemesResponse = Shapes::StructureShape.new(name: 'ListThemesResponse')
|
149
154
|
MutationActionSetStateParameter = Shapes::StructureShape.new(name: 'MutationActionSetStateParameter')
|
155
|
+
NoApiRenderConfig = Shapes::StructureShape.new(name: 'NoApiRenderConfig')
|
150
156
|
NumValues = Shapes::ListShape.new(name: 'NumValues')
|
151
157
|
OperandType = Shapes::StringShape.new(name: 'OperandType')
|
152
158
|
Predicate = Shapes::StructureShape.new(name: 'Predicate')
|
153
159
|
PredicateList = Shapes::ListShape.new(name: 'PredicateList')
|
154
160
|
PutMetadataFlagBody = Shapes::StructureShape.new(name: 'PutMetadataFlagBody')
|
155
161
|
PutMetadataFlagRequest = Shapes::StructureShape.new(name: 'PutMetadataFlagRequest')
|
162
|
+
ReactCodegenDependencies = Shapes::MapShape.new(name: 'ReactCodegenDependencies')
|
156
163
|
ReactStartCodegenJobData = Shapes::StructureShape.new(name: 'ReactStartCodegenJobData')
|
157
164
|
RefreshTokenRequest = Shapes::StructureShape.new(name: 'RefreshTokenRequest')
|
158
165
|
RefreshTokenRequestBody = Shapes::StructureShape.new(name: 'RefreshTokenRequestBody')
|
@@ -214,8 +221,26 @@ module Aws::AmplifyUIBuilder
|
|
214
221
|
ActionParameters.add_member(:state, Shapes::ShapeRef.new(shape: MutationActionSetStateParameter, location_name: "state"))
|
215
222
|
ActionParameters.struct_class = Types::ActionParameters
|
216
223
|
|
224
|
+
ApiConfiguration.add_member(:graph_ql_config, Shapes::ShapeRef.new(shape: GraphQLRenderConfig, location_name: "graphQLConfig"))
|
225
|
+
ApiConfiguration.add_member(:data_store_config, Shapes::ShapeRef.new(shape: DataStoreRenderConfig, location_name: "dataStoreConfig"))
|
226
|
+
ApiConfiguration.add_member(:no_api_config, Shapes::ShapeRef.new(shape: NoApiRenderConfig, location_name: "noApiConfig"))
|
227
|
+
ApiConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
228
|
+
ApiConfiguration.add_member_subclass(:graph_ql_config, Types::ApiConfiguration::GraphQlConfig)
|
229
|
+
ApiConfiguration.add_member_subclass(:data_store_config, Types::ApiConfiguration::DataStoreConfig)
|
230
|
+
ApiConfiguration.add_member_subclass(:no_api_config, Types::ApiConfiguration::NoApiConfig)
|
231
|
+
ApiConfiguration.add_member_subclass(:unknown, Types::ApiConfiguration::Unknown)
|
232
|
+
ApiConfiguration.struct_class = Types::ApiConfiguration
|
233
|
+
|
217
234
|
AssociatedFieldsList.member = Shapes::ShapeRef.new(shape: String)
|
218
235
|
|
236
|
+
CodegenDependencies.member = Shapes::ShapeRef.new(shape: CodegenDependency)
|
237
|
+
|
238
|
+
CodegenDependency.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
239
|
+
CodegenDependency.add_member(:supported_version, Shapes::ShapeRef.new(shape: String, location_name: "supportedVersion"))
|
240
|
+
CodegenDependency.add_member(:is_sem_ver, Shapes::ShapeRef.new(shape: Boolean, location_name: "isSemVer"))
|
241
|
+
CodegenDependency.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
242
|
+
CodegenDependency.struct_class = Types::CodegenDependency
|
243
|
+
|
219
244
|
CodegenFeatureFlags.add_member(:is_relationship_supported, Shapes::ShapeRef.new(shape: Boolean, location_name: "isRelationshipSupported"))
|
220
245
|
CodegenFeatureFlags.add_member(:is_non_model_supported, Shapes::ShapeRef.new(shape: Boolean, location_name: "isNonModelSupported"))
|
221
246
|
CodegenFeatureFlags.struct_class = Types::CodegenFeatureFlags
|
@@ -280,6 +305,7 @@ module Aws::AmplifyUIBuilder
|
|
280
305
|
CodegenJob.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
281
306
|
CodegenJob.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
282
307
|
CodegenJob.add_member(:modified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "modifiedAt"))
|
308
|
+
CodegenJob.add_member(:dependencies, Shapes::ShapeRef.new(shape: CodegenDependencies, location_name: "dependencies"))
|
283
309
|
CodegenJob.struct_class = Types::CodegenJob
|
284
310
|
|
285
311
|
CodegenJobAsset.add_member(:download_url, Shapes::ShapeRef.new(shape: String, location_name: "downloadUrl"))
|
@@ -504,6 +530,8 @@ module Aws::AmplifyUIBuilder
|
|
504
530
|
CreateThemeResponse[:payload] = :entity
|
505
531
|
CreateThemeResponse[:payload_member] = CreateThemeResponse.member(:entity)
|
506
532
|
|
533
|
+
DataStoreRenderConfig.struct_class = Types::DataStoreRenderConfig
|
534
|
+
|
507
535
|
DeleteComponentRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
|
508
536
|
DeleteComponentRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
|
509
537
|
DeleteComponentRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
|
@@ -747,6 +775,13 @@ module Aws::AmplifyUIBuilder
|
|
747
775
|
GetThemeResponse[:payload] = :theme
|
748
776
|
GetThemeResponse[:payload_member] = GetThemeResponse.member(:theme)
|
749
777
|
|
778
|
+
GraphQLRenderConfig.add_member(:types_file_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "typesFilePath"))
|
779
|
+
GraphQLRenderConfig.add_member(:queries_file_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "queriesFilePath"))
|
780
|
+
GraphQLRenderConfig.add_member(:mutations_file_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "mutationsFilePath"))
|
781
|
+
GraphQLRenderConfig.add_member(:subscriptions_file_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "subscriptionsFilePath"))
|
782
|
+
GraphQLRenderConfig.add_member(:fragments_file_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "fragmentsFilePath"))
|
783
|
+
GraphQLRenderConfig.struct_class = Types::GraphQLRenderConfig
|
784
|
+
|
750
785
|
IdentifierList.member = Shapes::ShapeRef.new(shape: String)
|
751
786
|
|
752
787
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
@@ -800,6 +835,8 @@ module Aws::AmplifyUIBuilder
|
|
800
835
|
MutationActionSetStateParameter.add_member(:set, Shapes::ShapeRef.new(shape: ComponentProperty, required: true, location_name: "set"))
|
801
836
|
MutationActionSetStateParameter.struct_class = Types::MutationActionSetStateParameter
|
802
837
|
|
838
|
+
NoApiRenderConfig.struct_class = Types::NoApiRenderConfig
|
839
|
+
|
803
840
|
NumValues.member = Shapes::ShapeRef.new(shape: Integer)
|
804
841
|
|
805
842
|
Predicate.add_member(:or, Shapes::ShapeRef.new(shape: PredicateList, location_name: "or"))
|
@@ -823,11 +860,16 @@ module Aws::AmplifyUIBuilder
|
|
823
860
|
PutMetadataFlagRequest[:payload] = :body
|
824
861
|
PutMetadataFlagRequest[:payload_member] = PutMetadataFlagRequest.member(:body)
|
825
862
|
|
863
|
+
ReactCodegenDependencies.key = Shapes::ShapeRef.new(shape: String)
|
864
|
+
ReactCodegenDependencies.value = Shapes::ShapeRef.new(shape: String)
|
865
|
+
|
826
866
|
ReactStartCodegenJobData.add_member(:module, Shapes::ShapeRef.new(shape: JSModule, location_name: "module"))
|
827
867
|
ReactStartCodegenJobData.add_member(:target, Shapes::ShapeRef.new(shape: JSTarget, location_name: "target"))
|
828
868
|
ReactStartCodegenJobData.add_member(:script, Shapes::ShapeRef.new(shape: JSScript, location_name: "script"))
|
829
869
|
ReactStartCodegenJobData.add_member(:render_type_declarations, Shapes::ShapeRef.new(shape: Boolean, location_name: "renderTypeDeclarations"))
|
830
870
|
ReactStartCodegenJobData.add_member(:inline_source_map, Shapes::ShapeRef.new(shape: Boolean, location_name: "inlineSourceMap"))
|
871
|
+
ReactStartCodegenJobData.add_member(:api_configuration, Shapes::ShapeRef.new(shape: ApiConfiguration, location_name: "apiConfiguration"))
|
872
|
+
ReactStartCodegenJobData.add_member(:dependencies, Shapes::ShapeRef.new(shape: ReactCodegenDependencies, location_name: "dependencies"))
|
831
873
|
ReactStartCodegenJobData.struct_class = Types::ReactStartCodegenJobData
|
832
874
|
|
833
875
|
RefreshTokenRequest.add_member(:provider, Shapes::ShapeRef.new(shape: TokenProviders, required: true, location: "uri", location_name: "provider"))
|
@@ -77,6 +77,73 @@ module Aws::AmplifyUIBuilder
|
|
77
77
|
include Aws::Structure
|
78
78
|
end
|
79
79
|
|
80
|
+
# Describes the API configuration for a code generation job.
|
81
|
+
#
|
82
|
+
# @note ApiConfiguration is a union - when making an API calls you must set exactly one of the members.
|
83
|
+
#
|
84
|
+
# @note ApiConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ApiConfiguration corresponding to the set member.
|
85
|
+
#
|
86
|
+
# @!attribute [rw] graph_ql_config
|
87
|
+
# The configuration for an application using GraphQL APIs.
|
88
|
+
# @return [Types::GraphQLRenderConfig]
|
89
|
+
#
|
90
|
+
# @!attribute [rw] data_store_config
|
91
|
+
# The configuration for an application using DataStore APIs.
|
92
|
+
# @return [Types::DataStoreRenderConfig]
|
93
|
+
#
|
94
|
+
# @!attribute [rw] no_api_config
|
95
|
+
# The configuration for an application with no API being used.
|
96
|
+
# @return [Types::NoApiRenderConfig]
|
97
|
+
#
|
98
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ApiConfiguration AWS API Documentation
|
99
|
+
#
|
100
|
+
class ApiConfiguration < Struct.new(
|
101
|
+
:graph_ql_config,
|
102
|
+
:data_store_config,
|
103
|
+
:no_api_config,
|
104
|
+
:unknown)
|
105
|
+
SENSITIVE = []
|
106
|
+
include Aws::Structure
|
107
|
+
include Aws::Structure::Union
|
108
|
+
|
109
|
+
class GraphQlConfig < ApiConfiguration; end
|
110
|
+
class DataStoreConfig < ApiConfiguration; end
|
111
|
+
class NoApiConfig < ApiConfiguration; end
|
112
|
+
class Unknown < ApiConfiguration; end
|
113
|
+
end
|
114
|
+
|
115
|
+
# Dependency package that may be required for the project code to run.
|
116
|
+
#
|
117
|
+
# @!attribute [rw] name
|
118
|
+
# Name of the dependency package.
|
119
|
+
# @return [String]
|
120
|
+
#
|
121
|
+
# @!attribute [rw] supported_version
|
122
|
+
# Indicates the version of the supported dependency package.
|
123
|
+
# @return [String]
|
124
|
+
#
|
125
|
+
# @!attribute [rw] is_sem_ver
|
126
|
+
# Determines if the dependency package is using Semantic versioning.
|
127
|
+
# If set to true, it indicates that the dependency package uses
|
128
|
+
# Semantic versioning.
|
129
|
+
# @return [Boolean]
|
130
|
+
#
|
131
|
+
# @!attribute [rw] reason
|
132
|
+
# Indicates the reason to include the dependency package in your
|
133
|
+
# project code.
|
134
|
+
# @return [String]
|
135
|
+
#
|
136
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/CodegenDependency AWS API Documentation
|
137
|
+
#
|
138
|
+
class CodegenDependency < Struct.new(
|
139
|
+
:name,
|
140
|
+
:supported_version,
|
141
|
+
:is_sem_ver,
|
142
|
+
:reason)
|
143
|
+
SENSITIVE = []
|
144
|
+
include Aws::Structure
|
145
|
+
end
|
146
|
+
|
80
147
|
# Describes the feature flags that you can specify for a code generation
|
81
148
|
# job.
|
82
149
|
#
|
@@ -261,7 +328,7 @@ module Aws::AmplifyUIBuilder
|
|
261
328
|
#
|
262
329
|
# @!attribute [rw] render_config
|
263
330
|
# Describes the configuration information for rendering the UI
|
264
|
-
# component associated the code generation job.
|
331
|
+
# component associated with the code generation job.
|
265
332
|
# @return [Types::CodegenJobRenderConfig]
|
266
333
|
#
|
267
334
|
# @!attribute [rw] generic_data_schema
|
@@ -302,6 +369,11 @@ module Aws::AmplifyUIBuilder
|
|
302
369
|
# The time that the code generation job was modified.
|
303
370
|
# @return [Time]
|
304
371
|
#
|
372
|
+
# @!attribute [rw] dependencies
|
373
|
+
# Lists the dependency packages that may be required for the project
|
374
|
+
# code to run.
|
375
|
+
# @return [Array<Types::CodegenDependency>]
|
376
|
+
#
|
305
377
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/CodegenJob AWS API Documentation
|
306
378
|
#
|
307
379
|
class CodegenJob < Struct.new(
|
@@ -317,7 +389,8 @@ module Aws::AmplifyUIBuilder
|
|
317
389
|
:asset,
|
318
390
|
:tags,
|
319
391
|
:created_at,
|
320
|
-
:modified_at
|
392
|
+
:modified_at,
|
393
|
+
:dependencies)
|
321
394
|
SENSITIVE = []
|
322
395
|
include Aws::Structure
|
323
396
|
end
|
@@ -367,7 +440,7 @@ module Aws::AmplifyUIBuilder
|
|
367
440
|
end
|
368
441
|
|
369
442
|
# Describes the configuration information for rendering the UI component
|
370
|
-
# associated the code generation job.
|
443
|
+
# associated with the code generation job.
|
371
444
|
#
|
372
445
|
# @note CodegenJobRenderConfig is a union - when making an API calls you must set exactly one of the members.
|
373
446
|
#
|
@@ -1237,6 +1310,15 @@ module Aws::AmplifyUIBuilder
|
|
1237
1310
|
include Aws::Structure
|
1238
1311
|
end
|
1239
1312
|
|
1313
|
+
# Describes the DataStore configuration for an API for a code generation
|
1314
|
+
# job.
|
1315
|
+
#
|
1316
|
+
# @api private
|
1317
|
+
#
|
1318
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/DataStoreRenderConfig AWS API Documentation
|
1319
|
+
#
|
1320
|
+
class DataStoreRenderConfig < Aws::EmptyStructure; end
|
1321
|
+
|
1240
1322
|
# @!attribute [rw] app_id
|
1241
1323
|
# The unique ID of the Amplify app associated with the component to
|
1242
1324
|
# delete.
|
@@ -2266,6 +2348,46 @@ module Aws::AmplifyUIBuilder
|
|
2266
2348
|
include Aws::Structure
|
2267
2349
|
end
|
2268
2350
|
|
2351
|
+
# Describes the GraphQL configuration for an API for a code generation
|
2352
|
+
# job.
|
2353
|
+
#
|
2354
|
+
# @!attribute [rw] types_file_path
|
2355
|
+
# The path to the GraphQL types file, relative to the component output
|
2356
|
+
# directory.
|
2357
|
+
# @return [String]
|
2358
|
+
#
|
2359
|
+
# @!attribute [rw] queries_file_path
|
2360
|
+
# The path to the GraphQL queries file, relative to the component
|
2361
|
+
# output directory.
|
2362
|
+
# @return [String]
|
2363
|
+
#
|
2364
|
+
# @!attribute [rw] mutations_file_path
|
2365
|
+
# The path to the GraphQL mutations file, relative to the component
|
2366
|
+
# output directory.
|
2367
|
+
# @return [String]
|
2368
|
+
#
|
2369
|
+
# @!attribute [rw] subscriptions_file_path
|
2370
|
+
# The path to the GraphQL subscriptions file, relative to the
|
2371
|
+
# component output directory.
|
2372
|
+
# @return [String]
|
2373
|
+
#
|
2374
|
+
# @!attribute [rw] fragments_file_path
|
2375
|
+
# The path to the GraphQL fragments file, relative to the component
|
2376
|
+
# output directory.
|
2377
|
+
# @return [String]
|
2378
|
+
#
|
2379
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/GraphQLRenderConfig AWS API Documentation
|
2380
|
+
#
|
2381
|
+
class GraphQLRenderConfig < Struct.new(
|
2382
|
+
:types_file_path,
|
2383
|
+
:queries_file_path,
|
2384
|
+
:mutations_file_path,
|
2385
|
+
:subscriptions_file_path,
|
2386
|
+
:fragments_file_path)
|
2387
|
+
SENSITIVE = []
|
2388
|
+
include Aws::Structure
|
2389
|
+
end
|
2390
|
+
|
2269
2391
|
# An internal error has occurred. Please retry your request.
|
2270
2392
|
#
|
2271
2393
|
# @!attribute [rw] message
|
@@ -2498,6 +2620,14 @@ module Aws::AmplifyUIBuilder
|
|
2498
2620
|
include Aws::Structure
|
2499
2621
|
end
|
2500
2622
|
|
2623
|
+
# Describes the configuration for an application with no API being used.
|
2624
|
+
#
|
2625
|
+
# @api private
|
2626
|
+
#
|
2627
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/NoApiRenderConfig AWS API Documentation
|
2628
|
+
#
|
2629
|
+
class NoApiRenderConfig < Aws::EmptyStructure; end
|
2630
|
+
|
2501
2631
|
# Stores information for generating Amplify DataStore queries. Use a
|
2502
2632
|
# `Predicate` to retrieve a subset of the data in a collection.
|
2503
2633
|
#
|
@@ -2603,6 +2733,15 @@ module Aws::AmplifyUIBuilder
|
|
2603
2733
|
# source maps.
|
2604
2734
|
# @return [Boolean]
|
2605
2735
|
#
|
2736
|
+
# @!attribute [rw] api_configuration
|
2737
|
+
# The API configuration for the code generation job.
|
2738
|
+
# @return [Types::ApiConfiguration]
|
2739
|
+
#
|
2740
|
+
# @!attribute [rw] dependencies
|
2741
|
+
# Lists the dependency packages that may be required for the project
|
2742
|
+
# code to run.
|
2743
|
+
# @return [Hash<String,String>]
|
2744
|
+
#
|
2606
2745
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ReactStartCodegenJobData AWS API Documentation
|
2607
2746
|
#
|
2608
2747
|
class ReactStartCodegenJobData < Struct.new(
|
@@ -2610,7 +2749,9 @@ module Aws::AmplifyUIBuilder
|
|
2610
2749
|
:target,
|
2611
2750
|
:script,
|
2612
2751
|
:render_type_declarations,
|
2613
|
-
:inline_source_map
|
2752
|
+
:inline_source_map,
|
2753
|
+
:api_configuration,
|
2754
|
+
:dependencies)
|
2614
2755
|
SENSITIVE = []
|
2615
2756
|
include Aws::Structure
|
2616
2757
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-amplifyuibuilder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|