aws-sdk-amplifyuibuilder 1.22.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-amplifyuibuilder/client.rb +85 -1
- data/lib/aws-sdk-amplifyuibuilder/client_api.rb +70 -6
- data/lib/aws-sdk-amplifyuibuilder/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-amplifyuibuilder/endpoints.rb +42 -0
- data/lib/aws-sdk-amplifyuibuilder/plugins/endpoints.rb +7 -0
- data/lib/aws-sdk-amplifyuibuilder/types.rb +68 -0
- data/lib/aws-sdk-amplifyuibuilder.rb +1 -1
- data/sig/client.rbs +2291 -0
- data/sig/errors.rbs +37 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +996 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45649d4b93f388193a495c7c8e88dcf578bfd0fadefe8a833535b0a092edcaa1
|
4
|
+
data.tar.gz: 906e7f201f150fd0bd80468c83a86f65577682b62ae271267b92e26822068544
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fa27abe2d0c4fd8f8c8b281bfa913f06737e846ae84c1b29019a70dbb24c150808f9d3c4b3e9a9342666bc2abc2ddc248c1da38f449a727f843130c1c214fce
|
7
|
+
data.tar.gz: 69f2b530bfec4eda09fe448502ca88c68fa6deee6265429a0c8201ba6794bfce330e64c4d11b13f97d7160324f0738c733c66233a583c1fd1704f6203080ff67
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
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
|
+
|
9
|
+
1.23.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.22.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
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.
|
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
|
-
|
147
|
+
ListEntityLimit = Shapes::IntegerShape.new(name: 'ListEntityLimit')
|
149
148
|
ListFormsRequest = Shapes::StructureShape.new(name: 'ListFormsRequest')
|
150
149
|
ListFormsResponse = Shapes::StructureShape.new(name: 'ListFormsResponse')
|
151
|
-
|
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:
|
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:
|
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:
|
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?(
|
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
|
@@ -14,6 +14,7 @@ module Aws::AmplifyUIBuilder
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::AmplifyUIBuilder::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
@@ -93,6 +94,8 @@ module Aws::AmplifyUIBuilder
|
|
93
94
|
Aws::AmplifyUIBuilder::Endpoints::ListComponents.build(context)
|
94
95
|
when :list_forms
|
95
96
|
Aws::AmplifyUIBuilder::Endpoints::ListForms.build(context)
|
97
|
+
when :list_tags_for_resource
|
98
|
+
Aws::AmplifyUIBuilder::Endpoints::ListTagsForResource.build(context)
|
96
99
|
when :list_themes
|
97
100
|
Aws::AmplifyUIBuilder::Endpoints::ListThemes.build(context)
|
98
101
|
when :put_metadata_flag
|
@@ -101,6 +104,10 @@ module Aws::AmplifyUIBuilder
|
|
101
104
|
Aws::AmplifyUIBuilder::Endpoints::RefreshToken.build(context)
|
102
105
|
when :start_codegen_job
|
103
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)
|
104
111
|
when :update_component
|
105
112
|
Aws::AmplifyUIBuilder::Endpoints::UpdateComponent.build(context)
|
106
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
|
#
|