aws-sdk-amplifyuibuilder 1.17.0 → 1.18.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a46666981e4e078b7b7fae1619ab6677411cc3c7ea139cceaef18250edfae16
4
- data.tar.gz: c348d05d6373aa9855b1b3ba252356610d14e71331f6ed4e375e5f5866e3f931
3
+ metadata.gz: 81cac522760277a6955fc198a849a7ecf41b83b776452532d77c827faff9c88a
4
+ data.tar.gz: f14b86ce7e53543a1d719c9e58dabb1defefa21b16db1cfdd7c6671540770152
5
5
  SHA512:
6
- metadata.gz: 499521013f819f7c2fd6aba435738ef50952af6f314e6d5987de1d5981ce8f237ff8c692be30867ab33f017c4139046bb27f882711e665063337c8ce1cba3091
7
- data.tar.gz: fbca3c1e57aa9b09f07e35d094625c5fa53d24da07c8fe268cc32e46e63034d8ee0301bcd4947412c2e00cf01b1b177736bf0809dd62e96c0bc8dbc19225f1c1
6
+ metadata.gz: f1c942cfc27ea3fdb60f4da4b5ae79cdf8511387051223e263cb0cd47d36432b56f239037f8e07e59e1730f2950a1b1e187d33917c62ad8addc750e4da4f0dde
7
+ data.tar.gz: adb9f7217e0bd9d631be102da241233d63f2cea0152fac8e6aea14dce3e602d30128e7b09eafa340874e009ee4a7d7c825e094f1ff2284c756a555d45fd8787b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.18.0 (2023-07-31)
5
+ ------------------
6
+
7
+ * Feature - Amplify Studio releases GraphQL support for codegen job action.
8
+
4
9
  1.17.0 (2023-07-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.17.0
1
+ 1.18.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.
@@ -3194,6 +3194,11 @@ module Aws::AmplifyUIBuilder
3194
3194
  # resp.job.render_config.react.script #=> String, one of "jsx", "tsx", "js"
3195
3195
  # resp.job.render_config.react.render_type_declarations #=> Boolean
3196
3196
  # resp.job.render_config.react.inline_source_map #=> Boolean
3197
+ # resp.job.render_config.react.api_configuration.graph_ql_config.types_file_path #=> String
3198
+ # resp.job.render_config.react.api_configuration.graph_ql_config.queries_file_path #=> String
3199
+ # resp.job.render_config.react.api_configuration.graph_ql_config.mutations_file_path #=> String
3200
+ # resp.job.render_config.react.api_configuration.graph_ql_config.subscriptions_file_path #=> String
3201
+ # resp.job.render_config.react.api_configuration.graph_ql_config.fragments_file_path #=> String
3197
3202
  # resp.job.generic_data_schema.data_source_type #=> String, one of "DataStore"
3198
3203
  # resp.job.generic_data_schema.models #=> Hash
3199
3204
  # resp.job.generic_data_schema.models["String"].fields #=> Hash
@@ -4317,8 +4322,8 @@ module Aws::AmplifyUIBuilder
4317
4322
  req.send_request(options)
4318
4323
  end
4319
4324
 
4320
- # Starts a code generation job for for a specified Amplify app and
4321
- # backend environment.
4325
+ # Starts a code generation job for a specified Amplify app and backend
4326
+ # environment.
4322
4327
  #
4323
4328
  # @option params [required, String] :app_id
4324
4329
  # The unique ID for the Amplify app.
@@ -4354,6 +4359,19 @@ module Aws::AmplifyUIBuilder
4354
4359
  # script: "jsx", # accepts jsx, tsx, js
4355
4360
  # render_type_declarations: false,
4356
4361
  # inline_source_map: false,
4362
+ # api_configuration: {
4363
+ # graph_ql_config: {
4364
+ # types_file_path: "String", # required
4365
+ # queries_file_path: "String", # required
4366
+ # mutations_file_path: "String", # required
4367
+ # subscriptions_file_path: "String", # required
4368
+ # fragments_file_path: "String", # required
4369
+ # },
4370
+ # data_store_config: {
4371
+ # },
4372
+ # no_api_config: {
4373
+ # },
4374
+ # },
4357
4375
  # },
4358
4376
  # },
4359
4377
  # generic_data_schema: {
@@ -4435,6 +4453,11 @@ module Aws::AmplifyUIBuilder
4435
4453
  # resp.entity.render_config.react.script #=> String, one of "jsx", "tsx", "js"
4436
4454
  # resp.entity.render_config.react.render_type_declarations #=> Boolean
4437
4455
  # resp.entity.render_config.react.inline_source_map #=> Boolean
4456
+ # resp.entity.render_config.react.api_configuration.graph_ql_config.types_file_path #=> String
4457
+ # resp.entity.render_config.react.api_configuration.graph_ql_config.queries_file_path #=> String
4458
+ # resp.entity.render_config.react.api_configuration.graph_ql_config.mutations_file_path #=> String
4459
+ # resp.entity.render_config.react.api_configuration.graph_ql_config.subscriptions_file_path #=> String
4460
+ # resp.entity.render_config.react.api_configuration.graph_ql_config.fragments_file_path #=> String
4438
4461
  # resp.entity.generic_data_schema.data_source_type #=> String, one of "DataStore"
4439
4462
  # resp.entity.generic_data_schema.models #=> Hash
4440
4463
  # resp.entity.generic_data_schema.models["String"].fields #=> Hash
@@ -6385,7 +6408,7 @@ module Aws::AmplifyUIBuilder
6385
6408
  params: params,
6386
6409
  config: config)
6387
6410
  context[:gem_name] = 'aws-sdk-amplifyuibuilder'
6388
- context[:gem_version] = '1.17.0'
6411
+ context[:gem_version] = '1.18.0'
6389
6412
  Seahorse::Client::Request.new(handlers, context)
6390
6413
  end
6391
6414
 
@@ -14,6 +14,7 @@ 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')
@@ -73,6 +74,7 @@ module Aws::AmplifyUIBuilder
73
74
  CreateThemeData = Shapes::StructureShape.new(name: 'CreateThemeData')
74
75
  CreateThemeRequest = Shapes::StructureShape.new(name: 'CreateThemeRequest')
75
76
  CreateThemeResponse = Shapes::StructureShape.new(name: 'CreateThemeResponse')
77
+ DataStoreRenderConfig = Shapes::StructureShape.new(name: 'DataStoreRenderConfig')
76
78
  DeleteComponentRequest = Shapes::StructureShape.new(name: 'DeleteComponentRequest')
77
79
  DeleteFormRequest = Shapes::StructureShape.new(name: 'DeleteFormRequest')
78
80
  DeleteThemeRequest = Shapes::StructureShape.new(name: 'DeleteThemeRequest')
@@ -126,6 +128,7 @@ module Aws::AmplifyUIBuilder
126
128
  GetMetadataResponse = Shapes::StructureShape.new(name: 'GetMetadataResponse')
127
129
  GetThemeRequest = Shapes::StructureShape.new(name: 'GetThemeRequest')
128
130
  GetThemeResponse = Shapes::StructureShape.new(name: 'GetThemeResponse')
131
+ GraphQLRenderConfig = Shapes::StructureShape.new(name: 'GraphQLRenderConfig')
129
132
  IdentifierList = Shapes::ListShape.new(name: 'IdentifierList')
130
133
  Integer = Shapes::IntegerShape.new(name: 'Integer')
131
134
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
@@ -147,6 +150,7 @@ module Aws::AmplifyUIBuilder
147
150
  ListThemesRequest = Shapes::StructureShape.new(name: 'ListThemesRequest')
148
151
  ListThemesResponse = Shapes::StructureShape.new(name: 'ListThemesResponse')
149
152
  MutationActionSetStateParameter = Shapes::StructureShape.new(name: 'MutationActionSetStateParameter')
153
+ NoApiRenderConfig = Shapes::StructureShape.new(name: 'NoApiRenderConfig')
150
154
  NumValues = Shapes::ListShape.new(name: 'NumValues')
151
155
  OperandType = Shapes::StringShape.new(name: 'OperandType')
152
156
  Predicate = Shapes::StructureShape.new(name: 'Predicate')
@@ -214,6 +218,16 @@ module Aws::AmplifyUIBuilder
214
218
  ActionParameters.add_member(:state, Shapes::ShapeRef.new(shape: MutationActionSetStateParameter, location_name: "state"))
215
219
  ActionParameters.struct_class = Types::ActionParameters
216
220
 
221
+ ApiConfiguration.add_member(:graph_ql_config, Shapes::ShapeRef.new(shape: GraphQLRenderConfig, location_name: "graphQLConfig"))
222
+ ApiConfiguration.add_member(:data_store_config, Shapes::ShapeRef.new(shape: DataStoreRenderConfig, location_name: "dataStoreConfig"))
223
+ ApiConfiguration.add_member(:no_api_config, Shapes::ShapeRef.new(shape: NoApiRenderConfig, location_name: "noApiConfig"))
224
+ ApiConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
225
+ ApiConfiguration.add_member_subclass(:graph_ql_config, Types::ApiConfiguration::GraphQlConfig)
226
+ ApiConfiguration.add_member_subclass(:data_store_config, Types::ApiConfiguration::DataStoreConfig)
227
+ ApiConfiguration.add_member_subclass(:no_api_config, Types::ApiConfiguration::NoApiConfig)
228
+ ApiConfiguration.add_member_subclass(:unknown, Types::ApiConfiguration::Unknown)
229
+ ApiConfiguration.struct_class = Types::ApiConfiguration
230
+
217
231
  AssociatedFieldsList.member = Shapes::ShapeRef.new(shape: String)
218
232
 
219
233
  CodegenFeatureFlags.add_member(:is_relationship_supported, Shapes::ShapeRef.new(shape: Boolean, location_name: "isRelationshipSupported"))
@@ -504,6 +518,8 @@ module Aws::AmplifyUIBuilder
504
518
  CreateThemeResponse[:payload] = :entity
505
519
  CreateThemeResponse[:payload_member] = CreateThemeResponse.member(:entity)
506
520
 
521
+ DataStoreRenderConfig.struct_class = Types::DataStoreRenderConfig
522
+
507
523
  DeleteComponentRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
508
524
  DeleteComponentRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
509
525
  DeleteComponentRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
@@ -747,6 +763,13 @@ module Aws::AmplifyUIBuilder
747
763
  GetThemeResponse[:payload] = :theme
748
764
  GetThemeResponse[:payload_member] = GetThemeResponse.member(:theme)
749
765
 
766
+ GraphQLRenderConfig.add_member(:types_file_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "typesFilePath"))
767
+ GraphQLRenderConfig.add_member(:queries_file_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "queriesFilePath"))
768
+ GraphQLRenderConfig.add_member(:mutations_file_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "mutationsFilePath"))
769
+ GraphQLRenderConfig.add_member(:subscriptions_file_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "subscriptionsFilePath"))
770
+ GraphQLRenderConfig.add_member(:fragments_file_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "fragmentsFilePath"))
771
+ GraphQLRenderConfig.struct_class = Types::GraphQLRenderConfig
772
+
750
773
  IdentifierList.member = Shapes::ShapeRef.new(shape: String)
751
774
 
752
775
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
@@ -800,6 +823,8 @@ module Aws::AmplifyUIBuilder
800
823
  MutationActionSetStateParameter.add_member(:set, Shapes::ShapeRef.new(shape: ComponentProperty, required: true, location_name: "set"))
801
824
  MutationActionSetStateParameter.struct_class = Types::MutationActionSetStateParameter
802
825
 
826
+ NoApiRenderConfig.struct_class = Types::NoApiRenderConfig
827
+
803
828
  NumValues.member = Shapes::ShapeRef.new(shape: Integer)
804
829
 
805
830
  Predicate.add_member(:or, Shapes::ShapeRef.new(shape: PredicateList, location_name: "or"))
@@ -828,6 +853,7 @@ module Aws::AmplifyUIBuilder
828
853
  ReactStartCodegenJobData.add_member(:script, Shapes::ShapeRef.new(shape: JSScript, location_name: "script"))
829
854
  ReactStartCodegenJobData.add_member(:render_type_declarations, Shapes::ShapeRef.new(shape: Boolean, location_name: "renderTypeDeclarations"))
830
855
  ReactStartCodegenJobData.add_member(:inline_source_map, Shapes::ShapeRef.new(shape: Boolean, location_name: "inlineSourceMap"))
856
+ ReactStartCodegenJobData.add_member(:api_configuration, Shapes::ShapeRef.new(shape: ApiConfiguration, location_name: "apiConfiguration"))
831
857
  ReactStartCodegenJobData.struct_class = Types::ReactStartCodegenJobData
832
858
 
833
859
  RefreshTokenRequest.add_member(:provider, Shapes::ShapeRef.new(shape: TokenProviders, required: true, location: "uri", location_name: "provider"))
@@ -77,6 +77,41 @@ 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
+
80
115
  # Describes the feature flags that you can specify for a code generation
81
116
  # job.
82
117
  #
@@ -261,7 +296,7 @@ module Aws::AmplifyUIBuilder
261
296
  #
262
297
  # @!attribute [rw] render_config
263
298
  # Describes the configuration information for rendering the UI
264
- # component associated the code generation job.
299
+ # component associated with the code generation job.
265
300
  # @return [Types::CodegenJobRenderConfig]
266
301
  #
267
302
  # @!attribute [rw] generic_data_schema
@@ -367,7 +402,7 @@ module Aws::AmplifyUIBuilder
367
402
  end
368
403
 
369
404
  # Describes the configuration information for rendering the UI component
370
- # associated the code generation job.
405
+ # associated with the code generation job.
371
406
  #
372
407
  # @note CodegenJobRenderConfig is a union - when making an API calls you must set exactly one of the members.
373
408
  #
@@ -1237,6 +1272,15 @@ module Aws::AmplifyUIBuilder
1237
1272
  include Aws::Structure
1238
1273
  end
1239
1274
 
1275
+ # Describes the DataStore configuration for an API for a code generation
1276
+ # job.
1277
+ #
1278
+ # @api private
1279
+ #
1280
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/DataStoreRenderConfig AWS API Documentation
1281
+ #
1282
+ class DataStoreRenderConfig < Aws::EmptyStructure; end
1283
+
1240
1284
  # @!attribute [rw] app_id
1241
1285
  # The unique ID of the Amplify app associated with the component to
1242
1286
  # delete.
@@ -2266,6 +2310,46 @@ module Aws::AmplifyUIBuilder
2266
2310
  include Aws::Structure
2267
2311
  end
2268
2312
 
2313
+ # Describes the GraphQL configuration for an API for a code generation
2314
+ # job.
2315
+ #
2316
+ # @!attribute [rw] types_file_path
2317
+ # The path to the GraphQL types file, relative to the component output
2318
+ # directory.
2319
+ # @return [String]
2320
+ #
2321
+ # @!attribute [rw] queries_file_path
2322
+ # The path to the GraphQL queries file, relative to the component
2323
+ # output directory.
2324
+ # @return [String]
2325
+ #
2326
+ # @!attribute [rw] mutations_file_path
2327
+ # The path to the GraphQL mutations file, relative to the component
2328
+ # output directory.
2329
+ # @return [String]
2330
+ #
2331
+ # @!attribute [rw] subscriptions_file_path
2332
+ # The path to the GraphQL subscriptions file, relative to the
2333
+ # component output directory.
2334
+ # @return [String]
2335
+ #
2336
+ # @!attribute [rw] fragments_file_path
2337
+ # The path to the GraphQL fragments file, relative to the component
2338
+ # output directory.
2339
+ # @return [String]
2340
+ #
2341
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/GraphQLRenderConfig AWS API Documentation
2342
+ #
2343
+ class GraphQLRenderConfig < Struct.new(
2344
+ :types_file_path,
2345
+ :queries_file_path,
2346
+ :mutations_file_path,
2347
+ :subscriptions_file_path,
2348
+ :fragments_file_path)
2349
+ SENSITIVE = []
2350
+ include Aws::Structure
2351
+ end
2352
+
2269
2353
  # An internal error has occurred. Please retry your request.
2270
2354
  #
2271
2355
  # @!attribute [rw] message
@@ -2498,6 +2582,14 @@ module Aws::AmplifyUIBuilder
2498
2582
  include Aws::Structure
2499
2583
  end
2500
2584
 
2585
+ # Describes the configuration for an application with no API being used.
2586
+ #
2587
+ # @api private
2588
+ #
2589
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/NoApiRenderConfig AWS API Documentation
2590
+ #
2591
+ class NoApiRenderConfig < Aws::EmptyStructure; end
2592
+
2501
2593
  # Stores information for generating Amplify DataStore queries. Use a
2502
2594
  # `Predicate` to retrieve a subset of the data in a collection.
2503
2595
  #
@@ -2603,6 +2695,10 @@ module Aws::AmplifyUIBuilder
2603
2695
  # source maps.
2604
2696
  # @return [Boolean]
2605
2697
  #
2698
+ # @!attribute [rw] api_configuration
2699
+ # The API configuration for the code generation job.
2700
+ # @return [Types::ApiConfiguration]
2701
+ #
2606
2702
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ReactStartCodegenJobData AWS API Documentation
2607
2703
  #
2608
2704
  class ReactStartCodegenJobData < Struct.new(
@@ -2610,7 +2706,8 @@ module Aws::AmplifyUIBuilder
2610
2706
  :target,
2611
2707
  :script,
2612
2708
  :render_type_declarations,
2613
- :inline_source_map)
2709
+ :inline_source_map,
2710
+ :api_configuration)
2614
2711
  SENSITIVE = []
2615
2712
  include Aws::Structure
2616
2713
  end
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-amplifyuibuilder/customizations'
53
53
  # @!group service
54
54
  module Aws::AmplifyUIBuilder
55
55
 
56
- GEM_VERSION = '1.17.0'
56
+ GEM_VERSION = '1.18.0'
57
57
 
58
58
  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.17.0
4
+ version: 1.18.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-07-11 00:00:00.000000000 Z
11
+ date: 2023-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core