aws-sdk-amplifyuibuilder 1.23.0 → 1.24.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: e36f4997d19f3eabd001ce5bafd98ead4b7c0e72aa4eb0d2eeab7edbd49b6f40
4
- data.tar.gz: 683abc475b7350ac13b5de3d648fe2f51fbacbe4c586e5983694f6de9e2f9bbb
3
+ metadata.gz: 45649d4b93f388193a495c7c8e88dcf578bfd0fadefe8a833535b0a092edcaa1
4
+ data.tar.gz: 906e7f201f150fd0bd80468c83a86f65577682b62ae271267b92e26822068544
5
5
  SHA512:
6
- metadata.gz: f4b4fecd574638a32f045587779c206306be4cdaf3eea425e3dc6ac887545bf9463fad04ce9aa1b95921ca7987bf364441aa4a2b5b20690e1ecaf9395dbbcea3
7
- data.tar.gz: 1f45f14b97fbb476262b7f9df71ff1a945455d8afe15ecddeb247cbdff3f50deb0d7393119e544576240fe882afe966079701494c2e40fad400ccbbfe71ccca8
6
+ metadata.gz: 8fa27abe2d0c4fd8f8c8b281bfa913f06737e846ae84c1b29019a70dbb24c150808f9d3c4b3e9a9342666bc2abc2ddc248c1da38f449a727f843130c1c214fce
7
+ data.tar.gz: 69f2b530bfec4eda09fe448502ca88c68fa6deee6265429a0c8201ba6794bfce330e64c4d11b13f97d7160324f0738c733c66233a583c1fd1704f6203080ff67
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.24.0 (2024-02-27)
5
+ ------------------
6
+
7
+ * Feature - We have added the ability to tag resources after they are created
8
+
4
9
  1.23.0 (2024-01-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.23.0
1
+ 1.24.0
@@ -4210,6 +4210,35 @@ module Aws::AmplifyUIBuilder
4210
4210
  req.send_request(options)
4211
4211
  end
4212
4212
 
4213
+ # Returns a list of tags for a specified Amazon Resource Name (ARN).
4214
+ #
4215
+ # @option params [required, String] :resource_arn
4216
+ # The Amazon Resource Name (ARN) to use to list tags.
4217
+ #
4218
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4219
+ #
4220
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
4221
+ #
4222
+ # @example Request syntax with placeholder values
4223
+ #
4224
+ # resp = client.list_tags_for_resource({
4225
+ # resource_arn: "String", # required
4226
+ # })
4227
+ #
4228
+ # @example Response structure
4229
+ #
4230
+ # resp.tags #=> Hash
4231
+ # resp.tags["TagKey"] #=> String
4232
+ #
4233
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ListTagsForResource AWS API Documentation
4234
+ #
4235
+ # @overload list_tags_for_resource(params = {})
4236
+ # @param [Hash] params ({})
4237
+ def list_tags_for_resource(params = {}, options = {})
4238
+ req = build_request(:list_tags_for_resource, params)
4239
+ req.send_request(options)
4240
+ end
4241
+
4213
4242
  # Retrieves a list of themes for a specified Amplify app and backend
4214
4243
  # environment.
4215
4244
  #
@@ -4547,6 +4576,61 @@ module Aws::AmplifyUIBuilder
4547
4576
  req.send_request(options)
4548
4577
  end
4549
4578
 
4579
+ # Tags the resource with a tag key and value.
4580
+ #
4581
+ # @option params [required, String] :resource_arn
4582
+ # The Amazon Resource Name (ARN) to use to tag a resource.
4583
+ #
4584
+ # @option params [required, Hash<String,String>] :tags
4585
+ # A list of tag key value pairs for a specified Amazon Resource Name
4586
+ # (ARN).
4587
+ #
4588
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4589
+ #
4590
+ # @example Request syntax with placeholder values
4591
+ #
4592
+ # resp = client.tag_resource({
4593
+ # resource_arn: "String", # required
4594
+ # tags: { # required
4595
+ # "TagKey" => "TagValue",
4596
+ # },
4597
+ # })
4598
+ #
4599
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/TagResource AWS API Documentation
4600
+ #
4601
+ # @overload tag_resource(params = {})
4602
+ # @param [Hash] params ({})
4603
+ def tag_resource(params = {}, options = {})
4604
+ req = build_request(:tag_resource, params)
4605
+ req.send_request(options)
4606
+ end
4607
+
4608
+ # Untags a resource with a specified Amazon Resource Name (ARN).
4609
+ #
4610
+ # @option params [required, String] :resource_arn
4611
+ # The Amazon Resource Name (ARN) to use to untag a resource.
4612
+ #
4613
+ # @option params [required, Array<String>] :tag_keys
4614
+ # The tag keys to use to untag a resource.
4615
+ #
4616
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4617
+ #
4618
+ # @example Request syntax with placeholder values
4619
+ #
4620
+ # resp = client.untag_resource({
4621
+ # resource_arn: "String", # required
4622
+ # tag_keys: ["TagKey"], # required
4623
+ # })
4624
+ #
4625
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/UntagResource AWS API Documentation
4626
+ #
4627
+ # @overload untag_resource(params = {})
4628
+ # @param [Hash] params ({})
4629
+ def untag_resource(params = {}, options = {})
4630
+ req = build_request(:untag_resource, params)
4631
+ req.send_request(options)
4632
+ end
4633
+
4550
4634
  # Updates an existing component.
4551
4635
  #
4552
4636
  # @option params [required, String] :app_id
@@ -6434,7 +6518,7 @@ module Aws::AmplifyUIBuilder
6434
6518
  params: params,
6435
6519
  config: config)
6436
6520
  context[:gem_name] = 'aws-sdk-amplifyuibuilder'
6437
- context[:gem_version] = '1.23.0'
6521
+ context[:gem_version] = '1.24.0'
6438
6522
  Seahorse::Client::Request.new(handlers, context)
6439
6523
  end
6440
6524
 
@@ -142,13 +142,13 @@ module Aws::AmplifyUIBuilder
142
142
  ListCodegenJobsLimit = Shapes::IntegerShape.new(name: 'ListCodegenJobsLimit')
143
143
  ListCodegenJobsRequest = Shapes::StructureShape.new(name: 'ListCodegenJobsRequest')
144
144
  ListCodegenJobsResponse = Shapes::StructureShape.new(name: 'ListCodegenJobsResponse')
145
- ListComponentsLimit = Shapes::IntegerShape.new(name: 'ListComponentsLimit')
146
145
  ListComponentsRequest = Shapes::StructureShape.new(name: 'ListComponentsRequest')
147
146
  ListComponentsResponse = Shapes::StructureShape.new(name: 'ListComponentsResponse')
148
- ListFormsLimit = Shapes::IntegerShape.new(name: 'ListFormsLimit')
147
+ ListEntityLimit = Shapes::IntegerShape.new(name: 'ListEntityLimit')
149
148
  ListFormsRequest = Shapes::StructureShape.new(name: 'ListFormsRequest')
150
149
  ListFormsResponse = Shapes::StructureShape.new(name: 'ListFormsResponse')
151
- ListThemesLimit = Shapes::IntegerShape.new(name: 'ListThemesLimit')
150
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
151
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
152
152
  ListThemesRequest = Shapes::StructureShape.new(name: 'ListThemesRequest')
153
153
  ListThemesResponse = Shapes::StructureShape.new(name: 'ListThemesResponse')
154
154
  MutationActionSetStateParameter = Shapes::StructureShape.new(name: 'MutationActionSetStateParameter')
@@ -182,6 +182,9 @@ module Aws::AmplifyUIBuilder
182
182
  String = Shapes::StringShape.new(name: 'String')
183
183
  SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
184
184
  TagKey = Shapes::StringShape.new(name: 'TagKey')
185
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
186
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
187
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
185
188
  TagValue = Shapes::StringShape.new(name: 'TagValue')
186
189
  Tags = Shapes::MapShape.new(name: 'Tags')
187
190
  Theme = Shapes::StructureShape.new(name: 'Theme')
@@ -195,6 +198,8 @@ module Aws::AmplifyUIBuilder
195
198
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
196
199
  TokenProviders = Shapes::StringShape.new(name: 'TokenProviders')
197
200
  UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
201
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
202
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
198
203
  UpdateComponentData = Shapes::StructureShape.new(name: 'UpdateComponentData')
199
204
  UpdateComponentRequest = Shapes::StructureShape.new(name: 'UpdateComponentRequest')
200
205
  UpdateComponentResponse = Shapes::StructureShape.new(name: 'UpdateComponentResponse')
@@ -803,7 +808,7 @@ module Aws::AmplifyUIBuilder
803
808
  ListComponentsRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
804
809
  ListComponentsRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
805
810
  ListComponentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
806
- ListComponentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListComponentsLimit, location: "querystring", location_name: "maxResults"))
811
+ ListComponentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEntityLimit, location: "querystring", location_name: "maxResults"))
807
812
  ListComponentsRequest.struct_class = Types::ListComponentsRequest
808
813
 
809
814
  ListComponentsResponse.add_member(:entities, Shapes::ShapeRef.new(shape: ComponentSummaryList, required: true, location_name: "entities"))
@@ -813,17 +818,23 @@ module Aws::AmplifyUIBuilder
813
818
  ListFormsRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
814
819
  ListFormsRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
815
820
  ListFormsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
816
- ListFormsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListFormsLimit, location: "querystring", location_name: "maxResults"))
821
+ ListFormsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEntityLimit, location: "querystring", location_name: "maxResults"))
817
822
  ListFormsRequest.struct_class = Types::ListFormsRequest
818
823
 
819
824
  ListFormsResponse.add_member(:entities, Shapes::ShapeRef.new(shape: FormSummaryList, required: true, location_name: "entities"))
820
825
  ListFormsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
821
826
  ListFormsResponse.struct_class = Types::ListFormsResponse
822
827
 
828
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
829
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
830
+
831
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
832
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
833
+
823
834
  ListThemesRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
824
835
  ListThemesRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
825
836
  ListThemesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
826
- ListThemesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListThemesLimit, location: "querystring", location_name: "maxResults"))
837
+ ListThemesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEntityLimit, location: "querystring", location_name: "maxResults"))
827
838
  ListThemesRequest.struct_class = Types::ListThemesRequest
828
839
 
829
840
  ListThemesResponse.add_member(:entities, Shapes::ShapeRef.new(shape: ThemeSummaryList, required: true, location_name: "entities"))
@@ -936,6 +947,14 @@ module Aws::AmplifyUIBuilder
936
947
 
937
948
  StrValues.member = Shapes::ShapeRef.new(shape: String)
938
949
 
950
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
951
+
952
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
953
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
954
+ TagResourceRequest.struct_class = Types::TagResourceRequest
955
+
956
+ TagResourceResponse.struct_class = Types::TagResourceResponse
957
+
939
958
  Tags.key = Shapes::ShapeRef.new(shape: TagKey)
940
959
  Tags.value = Shapes::ShapeRef.new(shape: TagValue)
941
960
 
@@ -976,6 +995,12 @@ module Aws::AmplifyUIBuilder
976
995
  UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
977
996
  UnauthorizedException.struct_class = Types::UnauthorizedException
978
997
 
998
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
999
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
1000
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
1001
+
1002
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
1003
+
979
1004
  UpdateComponentData.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, location_name: "id"))
980
1005
  UpdateComponentData.add_member(:name, Shapes::ShapeRef.new(shape: ComponentName, location_name: "name"))
981
1006
  UpdateComponentData.add_member(:source_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceId"))
@@ -1306,6 +1331,19 @@ module Aws::AmplifyUIBuilder
1306
1331
  )
1307
1332
  end)
1308
1333
 
1334
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1335
+ o.name = "ListTagsForResource"
1336
+ o.http_method = "GET"
1337
+ o.http_request_uri = "/tags/{resourceArn}"
1338
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1339
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
1340
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1341
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1342
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1343
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1344
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1345
+ end)
1346
+
1309
1347
  api.add_operation(:list_themes, Seahorse::Model::Operation.new.tap do |o|
1310
1348
  o.name = "ListThemes"
1311
1349
  o.http_method = "GET"
@@ -1352,6 +1390,32 @@ module Aws::AmplifyUIBuilder
1352
1390
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1353
1391
  end)
1354
1392
 
1393
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1394
+ o.name = "TagResource"
1395
+ o.http_method = "POST"
1396
+ o.http_request_uri = "/tags/{resourceArn}"
1397
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1398
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
1399
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1400
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1401
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1402
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1403
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1404
+ end)
1405
+
1406
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1407
+ o.name = "UntagResource"
1408
+ o.http_method = "DELETE"
1409
+ o.http_request_uri = "/tags/{resourceArn}"
1410
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1411
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1412
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1413
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1414
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1415
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1416
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1417
+ end)
1418
+
1355
1419
  api.add_operation(:update_component, Seahorse::Model::Operation.new.tap do |o|
1356
1420
  o.name = "UpdateComponent"
1357
1421
  o.http_method = "PATCH"
@@ -32,7 +32,7 @@ module Aws::AmplifyUIBuilder
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://amplifyuibuilder-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -264,6 +264,20 @@ module Aws::AmplifyUIBuilder
264
264
  end
265
265
  end
266
266
 
267
+ class ListTagsForResource
268
+ def self.build(context)
269
+ unless context.config.regional_endpoint
270
+ endpoint = context.config.endpoint.to_s
271
+ end
272
+ Aws::AmplifyUIBuilder::EndpointParameters.new(
273
+ region: context.config.region,
274
+ use_dual_stack: context.config.use_dualstack_endpoint,
275
+ use_fips: context.config.use_fips_endpoint,
276
+ endpoint: endpoint,
277
+ )
278
+ end
279
+ end
280
+
267
281
  class ListThemes
268
282
  def self.build(context)
269
283
  unless context.config.regional_endpoint
@@ -320,6 +334,34 @@ module Aws::AmplifyUIBuilder
320
334
  end
321
335
  end
322
336
 
337
+ class TagResource
338
+ def self.build(context)
339
+ unless context.config.regional_endpoint
340
+ endpoint = context.config.endpoint.to_s
341
+ end
342
+ Aws::AmplifyUIBuilder::EndpointParameters.new(
343
+ region: context.config.region,
344
+ use_dual_stack: context.config.use_dualstack_endpoint,
345
+ use_fips: context.config.use_fips_endpoint,
346
+ endpoint: endpoint,
347
+ )
348
+ end
349
+ end
350
+
351
+ class UntagResource
352
+ def self.build(context)
353
+ unless context.config.regional_endpoint
354
+ endpoint = context.config.endpoint.to_s
355
+ end
356
+ Aws::AmplifyUIBuilder::EndpointParameters.new(
357
+ region: context.config.region,
358
+ use_dual_stack: context.config.use_dualstack_endpoint,
359
+ use_fips: context.config.use_fips_endpoint,
360
+ endpoint: endpoint,
361
+ )
362
+ end
363
+ end
364
+
323
365
  class UpdateComponent
324
366
  def self.build(context)
325
367
  unless context.config.regional_endpoint
@@ -94,6 +94,8 @@ module Aws::AmplifyUIBuilder
94
94
  Aws::AmplifyUIBuilder::Endpoints::ListComponents.build(context)
95
95
  when :list_forms
96
96
  Aws::AmplifyUIBuilder::Endpoints::ListForms.build(context)
97
+ when :list_tags_for_resource
98
+ Aws::AmplifyUIBuilder::Endpoints::ListTagsForResource.build(context)
97
99
  when :list_themes
98
100
  Aws::AmplifyUIBuilder::Endpoints::ListThemes.build(context)
99
101
  when :put_metadata_flag
@@ -102,6 +104,10 @@ module Aws::AmplifyUIBuilder
102
104
  Aws::AmplifyUIBuilder::Endpoints::RefreshToken.build(context)
103
105
  when :start_codegen_job
104
106
  Aws::AmplifyUIBuilder::Endpoints::StartCodegenJob.build(context)
107
+ when :tag_resource
108
+ Aws::AmplifyUIBuilder::Endpoints::TagResource.build(context)
109
+ when :untag_resource
110
+ Aws::AmplifyUIBuilder::Endpoints::UntagResource.build(context)
105
111
  when :update_component
106
112
  Aws::AmplifyUIBuilder::Endpoints::UpdateComponent.build(context)
107
113
  when :update_form
@@ -2549,6 +2549,31 @@ module Aws::AmplifyUIBuilder
2549
2549
  include Aws::Structure
2550
2550
  end
2551
2551
 
2552
+ # @!attribute [rw] resource_arn
2553
+ # The Amazon Resource Name (ARN) to use to list tags.
2554
+ # @return [String]
2555
+ #
2556
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ListTagsForResourceRequest AWS API Documentation
2557
+ #
2558
+ class ListTagsForResourceRequest < Struct.new(
2559
+ :resource_arn)
2560
+ SENSITIVE = []
2561
+ include Aws::Structure
2562
+ end
2563
+
2564
+ # @!attribute [rw] tags
2565
+ # A list of tag key value pairs for a specified Amazon Resource Name
2566
+ # (ARN).
2567
+ # @return [Hash<String,String>]
2568
+ #
2569
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ListTagsForResourceResponse AWS API Documentation
2570
+ #
2571
+ class ListTagsForResourceResponse < Struct.new(
2572
+ :tags)
2573
+ SENSITIVE = []
2574
+ include Aws::Structure
2575
+ end
2576
+
2552
2577
  # @!attribute [rw] app_id
2553
2578
  # The unique ID for the Amplify app.
2554
2579
  # @return [String]
@@ -2998,6 +3023,28 @@ module Aws::AmplifyUIBuilder
2998
3023
  include Aws::Structure
2999
3024
  end
3000
3025
 
3026
+ # @!attribute [rw] resource_arn
3027
+ # The Amazon Resource Name (ARN) to use to tag a resource.
3028
+ # @return [String]
3029
+ #
3030
+ # @!attribute [rw] tags
3031
+ # A list of tag key value pairs for a specified Amazon Resource Name
3032
+ # (ARN).
3033
+ # @return [Hash<String,String>]
3034
+ #
3035
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/TagResourceRequest AWS API Documentation
3036
+ #
3037
+ class TagResourceRequest < Struct.new(
3038
+ :resource_arn,
3039
+ :tags)
3040
+ SENSITIVE = []
3041
+ include Aws::Structure
3042
+ end
3043
+
3044
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/TagResourceResponse AWS API Documentation
3045
+ #
3046
+ class TagResourceResponse < Aws::EmptyStructure; end
3047
+
3001
3048
  # A theme is a collection of style settings that apply globally to the
3002
3049
  # components associated with an Amplify application.
3003
3050
  #
@@ -3147,6 +3194,27 @@ module Aws::AmplifyUIBuilder
3147
3194
  include Aws::Structure
3148
3195
  end
3149
3196
 
3197
+ # @!attribute [rw] resource_arn
3198
+ # The Amazon Resource Name (ARN) to use to untag a resource.
3199
+ # @return [String]
3200
+ #
3201
+ # @!attribute [rw] tag_keys
3202
+ # The tag keys to use to untag a resource.
3203
+ # @return [Array<String>]
3204
+ #
3205
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/UntagResourceRequest AWS API Documentation
3206
+ #
3207
+ class UntagResourceRequest < Struct.new(
3208
+ :resource_arn,
3209
+ :tag_keys)
3210
+ SENSITIVE = []
3211
+ include Aws::Structure
3212
+ end
3213
+
3214
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/UntagResourceResponse AWS API Documentation
3215
+ #
3216
+ class UntagResourceResponse < Aws::EmptyStructure; end
3217
+
3150
3218
  # Updates and saves all of the information about a component, based on
3151
3219
  # component ID.
3152
3220
  #
@@ -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.23.0'
56
+ GEM_VERSION = '1.24.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -1188,6 +1188,16 @@ module Aws
1188
1188
  ) -> _ListFormsResponseSuccess
1189
1189
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFormsResponseSuccess
1190
1190
 
1191
+ interface _ListTagsForResourceResponseSuccess
1192
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
1193
+ def tags: () -> ::Hash[::String, ::String]
1194
+ end
1195
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AmplifyUIBuilder/Client.html#list_tags_for_resource-instance_method
1196
+ def list_tags_for_resource: (
1197
+ resource_arn: ::String
1198
+ ) -> _ListTagsForResourceResponseSuccess
1199
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
1200
+
1191
1201
  interface _ListThemesResponseSuccess
1192
1202
  include ::Seahorse::Client::_ResponseSuccess[Types::ListThemesResponse]
1193
1203
  def entities: () -> ::Array[Types::ThemeSummary]
@@ -1319,6 +1329,26 @@ module Aws
1319
1329
  ) -> _StartCodegenJobResponseSuccess
1320
1330
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCodegenJobResponseSuccess
1321
1331
 
1332
+ interface _TagResourceResponseSuccess
1333
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
1334
+ end
1335
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AmplifyUIBuilder/Client.html#tag_resource-instance_method
1336
+ def tag_resource: (
1337
+ resource_arn: ::String,
1338
+ tags: Hash[::String, ::String]
1339
+ ) -> _TagResourceResponseSuccess
1340
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
1341
+
1342
+ interface _UntagResourceResponseSuccess
1343
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
1344
+ end
1345
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AmplifyUIBuilder/Client.html#untag_resource-instance_method
1346
+ def untag_resource: (
1347
+ resource_arn: ::String,
1348
+ tag_keys: Array[::String]
1349
+ ) -> _UntagResourceResponseSuccess
1350
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
1351
+
1322
1352
  interface _UpdateComponentResponseSuccess
1323
1353
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateComponentResponse]
1324
1354
  def entity: () -> Types::Component
data/sig/types.rbs CHANGED
@@ -702,6 +702,16 @@ module Aws::AmplifyUIBuilder
702
702
  SENSITIVE: []
703
703
  end
704
704
 
705
+ class ListTagsForResourceRequest
706
+ attr_accessor resource_arn: ::String
707
+ SENSITIVE: []
708
+ end
709
+
710
+ class ListTagsForResourceResponse
711
+ attr_accessor tags: ::Hash[::String, ::String]
712
+ SENSITIVE: []
713
+ end
714
+
705
715
  class ListThemesRequest
706
716
  attr_accessor app_id: ::String
707
717
  attr_accessor environment_name: ::String
@@ -831,6 +841,15 @@ module Aws::AmplifyUIBuilder
831
841
  SENSITIVE: []
832
842
  end
833
843
 
844
+ class TagResourceRequest
845
+ attr_accessor resource_arn: ::String
846
+ attr_accessor tags: ::Hash[::String, ::String]
847
+ SENSITIVE: []
848
+ end
849
+
850
+ class TagResourceResponse < Aws::EmptyStructure
851
+ end
852
+
834
853
  class Theme
835
854
  attr_accessor app_id: ::String
836
855
  attr_accessor environment_name: ::String
@@ -874,6 +893,15 @@ module Aws::AmplifyUIBuilder
874
893
  SENSITIVE: []
875
894
  end
876
895
 
896
+ class UntagResourceRequest
897
+ attr_accessor resource_arn: ::String
898
+ attr_accessor tag_keys: ::Array[::String]
899
+ SENSITIVE: []
900
+ end
901
+
902
+ class UntagResourceResponse < Aws::EmptyStructure
903
+ end
904
+
877
905
  class UpdateComponentData
878
906
  attr_accessor id: ::String
879
907
  attr_accessor name: ::String
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.23.0
4
+ version: 1.24.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: 2024-01-26 00:00:00.000000000 Z
11
+ date: 2024-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core