aws-sdk-amplifyuibuilder 1.23.0 → 1.25.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: aeb590bbb7d0482c434e3c5d64ca2c0a12d0c7589430a3d0d4380d79ba461c3f
4
+ data.tar.gz: 95a9d63225f1158d0478d4f5bbc0b97ba180570b6070c53bf80b131f6a68f0a2
5
5
  SHA512:
6
- metadata.gz: f4b4fecd574638a32f045587779c206306be4cdaf3eea425e3dc6ac887545bf9463fad04ce9aa1b95921ca7987bf364441aa4a2b5b20690e1ecaf9395dbbcea3
7
- data.tar.gz: 1f45f14b97fbb476262b7f9df71ff1a945455d8afe15ecddeb247cbdff3f50deb0d7393119e544576240fe882afe966079701494c2e40fad400ccbbfe71ccca8
6
+ metadata.gz: 40ff86a0bd852e4751cd629eb2d78baca1ba19d92ea246263fcf0f7cc053bdf6827c258d6fc9d2cc963b7e386b567774e2fce8afe96b9ce05aab0557f04eec45
7
+ data.tar.gz: 95019268b1b098b90cd824197b5a2f6535a577fa219a498553c7f58ad7174706c871cee2f5f0d58ca5135f6448e5b5518ae731613925b9138f93537a2101471b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.25.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.24.0 (2024-02-27)
10
+ ------------------
11
+
12
+ * Feature - We have added the ability to tag resources after they are created
13
+
4
14
  1.23.0 (2024-01-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.23.0
1
+ 1.25.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::AmplifyUIBuilder
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::AmplifyUIBuilder
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -337,50 +346,65 @@ module Aws::AmplifyUIBuilder
337
346
  # @option options [Aws::AmplifyUIBuilder::EndpointProvider] :endpoint_provider
338
347
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::AmplifyUIBuilder::EndpointParameters`
339
348
  #
340
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
341
- # requests through. Formatted like 'http://proxy.com:123'.
342
- #
343
- # @option options [Float] :http_open_timeout (15) The number of
344
- # seconds to wait when opening a HTTP session before raising a
345
- # `Timeout::Error`.
346
- #
347
- # @option options [Float] :http_read_timeout (60) The default
348
- # number of seconds to wait for response data. This value can
349
- # safely be set per-request on the session.
350
- #
351
- # @option options [Float] :http_idle_timeout (5) The number of
352
- # seconds a connection is allowed to sit idle before it is
353
- # considered stale. Stale connections are closed and removed
354
- # from the pool before making a request.
355
- #
356
- # @option options [Float] :http_continue_timeout (1) The number of
357
- # seconds to wait for a 100-continue response before sending the
358
- # request body. This option has no effect unless the request has
359
- # "Expect" header set to "100-continue". Defaults to `nil` which
360
- # disables this behaviour. This value can safely be set per
361
- # request on the session.
362
- #
363
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
364
- # in seconds.
365
- #
366
- # @option options [Boolean] :http_wire_trace (false) When `true`,
367
- # HTTP debug output will be sent to the `:logger`.
349
+ # @option options [Float] :http_continue_timeout (1)
350
+ # The number of seconds to wait for a 100-continue response before sending the
351
+ # request body. This option has no effect unless the request has "Expect"
352
+ # header set to "100-continue". Defaults to `nil` which disables this
353
+ # behaviour. This value can safely be set per request on the session.
354
+ #
355
+ # @option options [Float] :http_idle_timeout (5)
356
+ # The number of seconds a connection is allowed to sit idle before it
357
+ # is considered stale. Stale connections are closed and removed from the
358
+ # pool before making a request.
359
+ #
360
+ # @option options [Float] :http_open_timeout (15)
361
+ # The default number of seconds to wait for response data.
362
+ # This value can safely be set per-request on the session.
363
+ #
364
+ # @option options [URI::HTTP,String] :http_proxy
365
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
366
+ #
367
+ # @option options [Float] :http_read_timeout (60)
368
+ # The default number of seconds to wait for response data.
369
+ # This value can safely be set per-request on the session.
370
+ #
371
+ # @option options [Boolean] :http_wire_trace (false)
372
+ # When `true`, HTTP debug output will be sent to the `:logger`.
373
+ #
374
+ # @option options [Proc] :on_chunk_received
375
+ # When a Proc object is provided, it will be used as callback when each chunk
376
+ # of the response body is received. It provides three arguments: the chunk,
377
+ # the number of bytes received, and the total number of
378
+ # bytes in the response (or nil if the server did not send a `content-length`).
379
+ #
380
+ # @option options [Proc] :on_chunk_sent
381
+ # When a Proc object is provided, it will be used as callback when each chunk
382
+ # of the request body is sent. It provides three arguments: the chunk,
383
+ # the number of bytes read from the body, and the total number of
384
+ # bytes in the body.
385
+ #
386
+ # @option options [Boolean] :raise_response_errors (true)
387
+ # When `true`, response errors are raised.
388
+ #
389
+ # @option options [String] :ssl_ca_bundle
390
+ # Full path to the SSL certificate authority bundle file that should be used when
391
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
392
+ # `:ssl_ca_directory` the the system default will be used if available.
393
+ #
394
+ # @option options [String] :ssl_ca_directory
395
+ # Full path of the directory that contains the unbundled SSL certificate
396
+ # authority files for verifying peer certificates. If you do
397
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
398
+ # default will be used if available.
368
399
  #
369
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
370
- # SSL peer certificates are verified when establishing a
371
- # connection.
400
+ # @option options [String] :ssl_ca_store
401
+ # Sets the X509::Store to verify peer certificate.
372
402
  #
373
- # @option options [String] :ssl_ca_bundle Full path to the SSL
374
- # certificate authority bundle file that should be used when
375
- # verifying peer certificates. If you do not pass
376
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
377
- # will be used if available.
403
+ # @option options [Float] :ssl_timeout
404
+ # Sets the SSL timeout in seconds
378
405
  #
379
- # @option options [String] :ssl_ca_directory Full path of the
380
- # directory that contains the unbundled SSL certificate
381
- # authority files for verifying peer certificates. If you do
382
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
383
- # system default will be used if available.
406
+ # @option options [Boolean] :ssl_verify_peer (true)
407
+ # When `true`, SSL peer certificates are verified when establishing a connection.
384
408
  #
385
409
  def initialize(*args)
386
410
  super
@@ -4210,6 +4234,35 @@ module Aws::AmplifyUIBuilder
4210
4234
  req.send_request(options)
4211
4235
  end
4212
4236
 
4237
+ # Returns a list of tags for a specified Amazon Resource Name (ARN).
4238
+ #
4239
+ # @option params [required, String] :resource_arn
4240
+ # The Amazon Resource Name (ARN) to use to list tags.
4241
+ #
4242
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4243
+ #
4244
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
4245
+ #
4246
+ # @example Request syntax with placeholder values
4247
+ #
4248
+ # resp = client.list_tags_for_resource({
4249
+ # resource_arn: "String", # required
4250
+ # })
4251
+ #
4252
+ # @example Response structure
4253
+ #
4254
+ # resp.tags #=> Hash
4255
+ # resp.tags["TagKey"] #=> String
4256
+ #
4257
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ListTagsForResource AWS API Documentation
4258
+ #
4259
+ # @overload list_tags_for_resource(params = {})
4260
+ # @param [Hash] params ({})
4261
+ def list_tags_for_resource(params = {}, options = {})
4262
+ req = build_request(:list_tags_for_resource, params)
4263
+ req.send_request(options)
4264
+ end
4265
+
4213
4266
  # Retrieves a list of themes for a specified Amplify app and backend
4214
4267
  # environment.
4215
4268
  #
@@ -4547,6 +4600,61 @@ module Aws::AmplifyUIBuilder
4547
4600
  req.send_request(options)
4548
4601
  end
4549
4602
 
4603
+ # Tags the resource with a tag key and value.
4604
+ #
4605
+ # @option params [required, String] :resource_arn
4606
+ # The Amazon Resource Name (ARN) to use to tag a resource.
4607
+ #
4608
+ # @option params [required, Hash<String,String>] :tags
4609
+ # A list of tag key value pairs for a specified Amazon Resource Name
4610
+ # (ARN).
4611
+ #
4612
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4613
+ #
4614
+ # @example Request syntax with placeholder values
4615
+ #
4616
+ # resp = client.tag_resource({
4617
+ # resource_arn: "String", # required
4618
+ # tags: { # required
4619
+ # "TagKey" => "TagValue",
4620
+ # },
4621
+ # })
4622
+ #
4623
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/TagResource AWS API Documentation
4624
+ #
4625
+ # @overload tag_resource(params = {})
4626
+ # @param [Hash] params ({})
4627
+ def tag_resource(params = {}, options = {})
4628
+ req = build_request(:tag_resource, params)
4629
+ req.send_request(options)
4630
+ end
4631
+
4632
+ # Untags a resource with a specified Amazon Resource Name (ARN).
4633
+ #
4634
+ # @option params [required, String] :resource_arn
4635
+ # The Amazon Resource Name (ARN) to use to untag a resource.
4636
+ #
4637
+ # @option params [required, Array<String>] :tag_keys
4638
+ # The tag keys to use to untag a resource.
4639
+ #
4640
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4641
+ #
4642
+ # @example Request syntax with placeholder values
4643
+ #
4644
+ # resp = client.untag_resource({
4645
+ # resource_arn: "String", # required
4646
+ # tag_keys: ["TagKey"], # required
4647
+ # })
4648
+ #
4649
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/UntagResource AWS API Documentation
4650
+ #
4651
+ # @overload untag_resource(params = {})
4652
+ # @param [Hash] params ({})
4653
+ def untag_resource(params = {}, options = {})
4654
+ req = build_request(:untag_resource, params)
4655
+ req.send_request(options)
4656
+ end
4657
+
4550
4658
  # Updates an existing component.
4551
4659
  #
4552
4660
  # @option params [required, String] :app_id
@@ -6434,7 +6542,7 @@ module Aws::AmplifyUIBuilder
6434
6542
  params: params,
6435
6543
  config: config)
6436
6544
  context[:gem_name] = 'aws-sdk-amplifyuibuilder'
6437
- context[:gem_version] = '1.23.0'
6545
+ context[:gem_version] = '1.25.0'
6438
6546
  Seahorse::Client::Request.new(handlers, context)
6439
6547
  end
6440
6548
 
@@ -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.25.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.25.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-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.191.0
22
+ version: 3.193.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement