aws-sdk-amplifyuibuilder 1.18.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81cac522760277a6955fc198a849a7ecf41b83b776452532d77c827faff9c88a
4
- data.tar.gz: f14b86ce7e53543a1d719c9e58dabb1defefa21b16db1cfdd7c6671540770152
3
+ metadata.gz: 1f3b9afedf35e641338b64ad215c1607c69a6707a845093c2d59dac241eaf5bb
4
+ data.tar.gz: c92521ec88bf9299a1ed35dd9c431d814a7849653082151b2ae932f1c8942a4b
5
5
  SHA512:
6
- metadata.gz: f1c942cfc27ea3fdb60f4da4b5ae79cdf8511387051223e263cb0cd47d36432b56f239037f8e07e59e1730f2950a1b1e187d33917c62ad8addc750e4da4f0dde
7
- data.tar.gz: adb9f7217e0bd9d631be102da241233d63f2cea0152fac8e6aea14dce3e602d30128e7b09eafa340874e009ee4a7d7c825e094f1ff2284c756a555d45fd8787b
6
+ metadata.gz: da36ced57348ebe3698dcf697e943524fec178524da18853fc6e64dcd3a7dba5957c910c959acd4026b32fe9b1022a7d93b3d9ca704dac1847845e218152afea
7
+ data.tar.gz: d9de0283497bfbab9801494c0f2affd03055c049a4d927d879bdb5ce512bdf9286778b4b14b806939c5b37072ac8d2dec6448815ff0cc9ab9dcd8b1f25fc8f44
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.18.0 (2023-07-31)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.18.0
1
+ 1.19.0
@@ -2348,7 +2348,11 @@ module Aws::AmplifyUIBuilder
2348
2348
  req.send_request(options)
2349
2349
  end
2350
2350
 
2351
- # Exchanges an access code for a token.
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
@@ -3199,6 +3203,8 @@ module Aws::AmplifyUIBuilder
3199
3203
  # resp.job.render_config.react.api_configuration.graph_ql_config.mutations_file_path #=> String
3200
3204
  # resp.job.render_config.react.api_configuration.graph_ql_config.subscriptions_file_path #=> String
3201
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
3202
3208
  # resp.job.generic_data_schema.data_source_type #=> String, one of "DataStore"
3203
3209
  # resp.job.generic_data_schema.models #=> Hash
3204
3210
  # resp.job.generic_data_schema.models["String"].fields #=> Hash
@@ -3252,6 +3258,11 @@ module Aws::AmplifyUIBuilder
3252
3258
  # resp.job.tags["TagKey"] #=> String
3253
3259
  # resp.job.created_at #=> Time
3254
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
3255
3266
  #
3256
3267
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/GetCodegenJob AWS API Documentation
3257
3268
  #
@@ -4284,7 +4295,12 @@ module Aws::AmplifyUIBuilder
4284
4295
  req.send_request(options)
4285
4296
  end
4286
4297
 
4287
- # Refreshes a previously issued access token that might have expired.
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.
4288
4304
  #
4289
4305
  # @option params [required, String] :provider
4290
4306
  # The third-party provider for the token. The only valid value is
@@ -4372,6 +4388,9 @@ module Aws::AmplifyUIBuilder
4372
4388
  # no_api_config: {
4373
4389
  # },
4374
4390
  # },
4391
+ # dependencies: {
4392
+ # "String" => "String",
4393
+ # },
4375
4394
  # },
4376
4395
  # },
4377
4396
  # generic_data_schema: {
@@ -4458,6 +4477,8 @@ module Aws::AmplifyUIBuilder
4458
4477
  # resp.entity.render_config.react.api_configuration.graph_ql_config.mutations_file_path #=> String
4459
4478
  # resp.entity.render_config.react.api_configuration.graph_ql_config.subscriptions_file_path #=> String
4460
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
4461
4482
  # resp.entity.generic_data_schema.data_source_type #=> String, one of "DataStore"
4462
4483
  # resp.entity.generic_data_schema.models #=> Hash
4463
4484
  # resp.entity.generic_data_schema.models["String"].fields #=> Hash
@@ -4511,6 +4532,11 @@ module Aws::AmplifyUIBuilder
4511
4532
  # resp.entity.tags["TagKey"] #=> String
4512
4533
  # resp.entity.created_at #=> Time
4513
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
4514
4540
  #
4515
4541
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/StartCodegenJob AWS API Documentation
4516
4542
  #
@@ -6408,7 +6434,7 @@ module Aws::AmplifyUIBuilder
6408
6434
  params: params,
6409
6435
  config: config)
6410
6436
  context[:gem_name] = 'aws-sdk-amplifyuibuilder'
6411
- context[:gem_version] = '1.18.0'
6437
+ context[:gem_version] = '1.19.0'
6412
6438
  Seahorse::Client::Request.new(handlers, context)
6413
6439
  end
6414
6440
 
@@ -18,6 +18,8 @@ module Aws::AmplifyUIBuilder
18
18
  AppId = Shapes::StringShape.new(name: 'AppId')
19
19
  AssociatedFieldsList = Shapes::ListShape.new(name: 'AssociatedFieldsList')
20
20
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
21
+ CodegenDependencies = Shapes::ListShape.new(name: 'CodegenDependencies')
22
+ CodegenDependency = Shapes::StructureShape.new(name: 'CodegenDependency')
21
23
  CodegenFeatureFlags = Shapes::StructureShape.new(name: 'CodegenFeatureFlags')
22
24
  CodegenGenericDataEnum = Shapes::StructureShape.new(name: 'CodegenGenericDataEnum')
23
25
  CodegenGenericDataEnumValuesList = Shapes::ListShape.new(name: 'CodegenGenericDataEnumValuesList')
@@ -157,6 +159,7 @@ module Aws::AmplifyUIBuilder
157
159
  PredicateList = Shapes::ListShape.new(name: 'PredicateList')
158
160
  PutMetadataFlagBody = Shapes::StructureShape.new(name: 'PutMetadataFlagBody')
159
161
  PutMetadataFlagRequest = Shapes::StructureShape.new(name: 'PutMetadataFlagRequest')
162
+ ReactCodegenDependencies = Shapes::MapShape.new(name: 'ReactCodegenDependencies')
160
163
  ReactStartCodegenJobData = Shapes::StructureShape.new(name: 'ReactStartCodegenJobData')
161
164
  RefreshTokenRequest = Shapes::StructureShape.new(name: 'RefreshTokenRequest')
162
165
  RefreshTokenRequestBody = Shapes::StructureShape.new(name: 'RefreshTokenRequestBody')
@@ -230,6 +233,14 @@ module Aws::AmplifyUIBuilder
230
233
 
231
234
  AssociatedFieldsList.member = Shapes::ShapeRef.new(shape: String)
232
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
+
233
244
  CodegenFeatureFlags.add_member(:is_relationship_supported, Shapes::ShapeRef.new(shape: Boolean, location_name: "isRelationshipSupported"))
234
245
  CodegenFeatureFlags.add_member(:is_non_model_supported, Shapes::ShapeRef.new(shape: Boolean, location_name: "isNonModelSupported"))
235
246
  CodegenFeatureFlags.struct_class = Types::CodegenFeatureFlags
@@ -294,6 +305,7 @@ module Aws::AmplifyUIBuilder
294
305
  CodegenJob.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
295
306
  CodegenJob.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
296
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"))
297
309
  CodegenJob.struct_class = Types::CodegenJob
298
310
 
299
311
  CodegenJobAsset.add_member(:download_url, Shapes::ShapeRef.new(shape: String, location_name: "downloadUrl"))
@@ -848,12 +860,16 @@ module Aws::AmplifyUIBuilder
848
860
  PutMetadataFlagRequest[:payload] = :body
849
861
  PutMetadataFlagRequest[:payload_member] = PutMetadataFlagRequest.member(:body)
850
862
 
863
+ ReactCodegenDependencies.key = Shapes::ShapeRef.new(shape: String)
864
+ ReactCodegenDependencies.value = Shapes::ShapeRef.new(shape: String)
865
+
851
866
  ReactStartCodegenJobData.add_member(:module, Shapes::ShapeRef.new(shape: JSModule, location_name: "module"))
852
867
  ReactStartCodegenJobData.add_member(:target, Shapes::ShapeRef.new(shape: JSTarget, location_name: "target"))
853
868
  ReactStartCodegenJobData.add_member(:script, Shapes::ShapeRef.new(shape: JSScript, location_name: "script"))
854
869
  ReactStartCodegenJobData.add_member(:render_type_declarations, Shapes::ShapeRef.new(shape: Boolean, location_name: "renderTypeDeclarations"))
855
870
  ReactStartCodegenJobData.add_member(:inline_source_map, Shapes::ShapeRef.new(shape: Boolean, location_name: "inlineSourceMap"))
856
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"))
857
873
  ReactStartCodegenJobData.struct_class = Types::ReactStartCodegenJobData
858
874
 
859
875
  RefreshTokenRequest.add_member(:provider, Shapes::ShapeRef.new(shape: TokenProviders, required: true, location: "uri", location_name: "provider"))
@@ -112,6 +112,38 @@ module Aws::AmplifyUIBuilder
112
112
  class Unknown < ApiConfiguration; end
113
113
  end
114
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
+
115
147
  # Describes the feature flags that you can specify for a code generation
116
148
  # job.
117
149
  #
@@ -337,6 +369,11 @@ module Aws::AmplifyUIBuilder
337
369
  # The time that the code generation job was modified.
338
370
  # @return [Time]
339
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
+ #
340
377
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/CodegenJob AWS API Documentation
341
378
  #
342
379
  class CodegenJob < Struct.new(
@@ -352,7 +389,8 @@ module Aws::AmplifyUIBuilder
352
389
  :asset,
353
390
  :tags,
354
391
  :created_at,
355
- :modified_at)
392
+ :modified_at,
393
+ :dependencies)
356
394
  SENSITIVE = []
357
395
  include Aws::Structure
358
396
  end
@@ -2699,6 +2737,11 @@ module Aws::AmplifyUIBuilder
2699
2737
  # The API configuration for the code generation job.
2700
2738
  # @return [Types::ApiConfiguration]
2701
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
+ #
2702
2745
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ReactStartCodegenJobData AWS API Documentation
2703
2746
  #
2704
2747
  class ReactStartCodegenJobData < Struct.new(
@@ -2707,7 +2750,8 @@ module Aws::AmplifyUIBuilder
2707
2750
  :script,
2708
2751
  :render_type_declarations,
2709
2752
  :inline_source_map,
2710
- :api_configuration)
2753
+ :api_configuration,
2754
+ :dependencies)
2711
2755
  SENSITIVE = []
2712
2756
  include Aws::Structure
2713
2757
  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.18.0'
56
+ GEM_VERSION = '1.19.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.18.0
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-07-31 00:00:00.000000000 Z
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