Skip to content

Commit 13e44cd

Browse files
Update models for release
1 parent 9e0cfc4 commit 13e44cd

File tree

9 files changed

+212
-47
lines changed

9 files changed

+212
-47
lines changed

.changes/3.300.6

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"type": "api-change",
4+
"category": "AmplifyUIBuilder",
5+
"description": "We have added the ability to tag resources after they are created"
6+
}
7+
]

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## next release
4+
5+
* `Aws\AmplifyUIBuilder` - We have added the ability to tag resources after they are created
6+
37
## 3.300.5 - 2024-02-26
48

59
* `Aws\KafkaConnect` - Adds support for tagging, with new TagResource, UntagResource and ListTagsForResource APIs to manage tags and updates to existing APIs to allow tag on create. This release also adds support for the new DeleteWorkerConfiguration API.

src/AmplifyUIBuilder/AmplifyUIBuilderClient.php

+6
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
* @method \GuzzleHttp\Promise\Promise listComponentsAsync(array $args = [])
4242
* @method \Aws\Result listForms(array $args = [])
4343
* @method \GuzzleHttp\Promise\Promise listFormsAsync(array $args = [])
44+
* @method \Aws\Result listTagsForResource(array $args = [])
45+
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
4446
* @method \Aws\Result listThemes(array $args = [])
4547
* @method \GuzzleHttp\Promise\Promise listThemesAsync(array $args = [])
4648
* @method \Aws\Result putMetadataFlag(array $args = [])
@@ -49,6 +51,10 @@
4951
* @method \GuzzleHttp\Promise\Promise refreshTokenAsync(array $args = [])
5052
* @method \Aws\Result startCodegenJob(array $args = [])
5153
* @method \GuzzleHttp\Promise\Promise startCodegenJobAsync(array $args = [])
54+
* @method \Aws\Result tagResource(array $args = [])
55+
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
56+
* @method \Aws\Result untagResource(array $args = [])
57+
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
5258
* @method \Aws\Result updateComponent(array $args = [])
5359
* @method \GuzzleHttp\Promise\Promise updateComponentAsync(array $args = [])
5460
* @method \Aws\Result updateForm(array $args = [])

src/data/amplifyuibuilder/2021-08-11/api-2.json

+127-14
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,23 @@
281281
{"shape":"InvalidParameterException"}
282282
]
283283
},
284+
"ListTagsForResource":{
285+
"name":"ListTagsForResource",
286+
"http":{
287+
"method":"GET",
288+
"requestUri":"/tags/{resourceArn}",
289+
"responseCode":200
290+
},
291+
"input":{"shape":"ListTagsForResourceRequest"},
292+
"output":{"shape":"ListTagsForResourceResponse"},
293+
"errors":[
294+
{"shape":"UnauthorizedException"},
295+
{"shape":"InternalServerException"},
296+
{"shape":"InvalidParameterException"},
297+
{"shape":"ThrottlingException"},
298+
{"shape":"ResourceNotFoundException"}
299+
]
300+
},
284301
"ListThemes":{
285302
"name":"ListThemes",
286303
"http":{
@@ -306,7 +323,8 @@
306323
"errors":[
307324
{"shape":"UnauthorizedException"},
308325
{"shape":"InvalidParameterException"}
309-
]
326+
],
327+
"idempotent":true
310328
},
311329
"RefreshToken":{
312330
"name":"RefreshToken",
@@ -336,6 +354,42 @@
336354
{"shape":"ThrottlingException"}
337355
]
338356
},
357+
"TagResource":{
358+
"name":"TagResource",
359+
"http":{
360+
"method":"POST",
361+
"requestUri":"/tags/{resourceArn}",
362+
"responseCode":200
363+
},
364+
"input":{"shape":"TagResourceRequest"},
365+
"output":{"shape":"TagResourceResponse"},
366+
"errors":[
367+
{"shape":"UnauthorizedException"},
368+
{"shape":"InternalServerException"},
369+
{"shape":"InvalidParameterException"},
370+
{"shape":"ThrottlingException"},
371+
{"shape":"ResourceNotFoundException"}
372+
],
373+
"idempotent":true
374+
},
375+
"UntagResource":{
376+
"name":"UntagResource",
377+
"http":{
378+
"method":"DELETE",
379+
"requestUri":"/tags/{resourceArn}",
380+
"responseCode":200
381+
},
382+
"input":{"shape":"UntagResourceRequest"},
383+
"output":{"shape":"UntagResourceResponse"},
384+
"errors":[
385+
{"shape":"UnauthorizedException"},
386+
{"shape":"InternalServerException"},
387+
{"shape":"InvalidParameterException"},
388+
{"shape":"ThrottlingException"},
389+
{"shape":"ResourceNotFoundException"}
390+
],
391+
"idempotent":true
392+
},
339393
"UpdateComponent":{
340394
"name":"UpdateComponent",
341395
"http":{
@@ -1791,11 +1845,6 @@
17911845
"nextToken":{"shape":"String"}
17921846
}
17931847
},
1794-
"ListComponentsLimit":{
1795-
"type":"integer",
1796-
"max":100,
1797-
"min":1
1798-
},
17991848
"ListComponentsRequest":{
18001849
"type":"structure",
18011850
"required":[
@@ -1819,7 +1868,7 @@
18191868
"locationName":"nextToken"
18201869
},
18211870
"maxResults":{
1822-
"shape":"ListComponentsLimit",
1871+
"shape":"ListEntityLimit",
18231872
"location":"querystring",
18241873
"locationName":"maxResults"
18251874
}
@@ -1833,8 +1882,9 @@
18331882
"nextToken":{"shape":"String"}
18341883
}
18351884
},
1836-
"ListFormsLimit":{
1885+
"ListEntityLimit":{
18371886
"type":"integer",
1887+
"box":true,
18381888
"max":100,
18391889
"min":1
18401890
},
@@ -1861,7 +1911,7 @@
18611911
"locationName":"nextToken"
18621912
},
18631913
"maxResults":{
1864-
"shape":"ListFormsLimit",
1914+
"shape":"ListEntityLimit",
18651915
"location":"querystring",
18661916
"locationName":"maxResults"
18671917
}
@@ -1875,10 +1925,23 @@
18751925
"nextToken":{"shape":"String"}
18761926
}
18771927
},
1878-
"ListThemesLimit":{
1879-
"type":"integer",
1880-
"max":100,
1881-
"min":1
1928+
"ListTagsForResourceRequest":{
1929+
"type":"structure",
1930+
"required":["resourceArn"],
1931+
"members":{
1932+
"resourceArn":{
1933+
"shape":"String",
1934+
"location":"uri",
1935+
"locationName":"resourceArn"
1936+
}
1937+
}
1938+
},
1939+
"ListTagsForResourceResponse":{
1940+
"type":"structure",
1941+
"required":["tags"],
1942+
"members":{
1943+
"tags":{"shape":"Tags"}
1944+
}
18821945
},
18831946
"ListThemesRequest":{
18841947
"type":"structure",
@@ -1903,7 +1966,7 @@
19031966
"locationName":"nextToken"
19041967
},
19051968
"maxResults":{
1906-
"shape":"ListThemesLimit",
1969+
"shape":"ListEntityLimit",
19071970
"location":"querystring",
19081971
"locationName":"maxResults"
19091972
}
@@ -2194,6 +2257,32 @@
21942257
"min":1,
21952258
"pattern":"(?!aws:)[a-zA-Z+-=._:/]+"
21962259
},
2260+
"TagKeyList":{
2261+
"type":"list",
2262+
"member":{"shape":"TagKey"},
2263+
"max":200,
2264+
"min":0
2265+
},
2266+
"TagResourceRequest":{
2267+
"type":"structure",
2268+
"required":[
2269+
"resourceArn",
2270+
"tags"
2271+
],
2272+
"members":{
2273+
"resourceArn":{
2274+
"shape":"String",
2275+
"location":"uri",
2276+
"locationName":"resourceArn"
2277+
},
2278+
"tags":{"shape":"Tags"}
2279+
}
2280+
},
2281+
"TagResourceResponse":{
2282+
"type":"structure",
2283+
"members":{
2284+
}
2285+
},
21972286
"TagValue":{
21982287
"type":"string",
21992288
"max":256,
@@ -2298,6 +2387,30 @@
22982387
},
22992388
"exception":true
23002389
},
2390+
"UntagResourceRequest":{
2391+
"type":"structure",
2392+
"required":[
2393+
"resourceArn",
2394+
"tagKeys"
2395+
],
2396+
"members":{
2397+
"resourceArn":{
2398+
"shape":"String",
2399+
"location":"uri",
2400+
"locationName":"resourceArn"
2401+
},
2402+
"tagKeys":{
2403+
"shape":"TagKeyList",
2404+
"location":"querystring",
2405+
"locationName":"tagKeys"
2406+
}
2407+
}
2408+
},
2409+
"UntagResourceResponse":{
2410+
"type":"structure",
2411+
"members":{
2412+
}
2413+
},
23012414
"UpdateComponentData":{
23022415
"type":"structure",
23032416
"members":{

src/data/amplifyuibuilder/2021-08-11/api-2.json.php

+1-1
Large diffs are not rendered by default.

src/data/amplifyuibuilder/2021-08-11/docs-2.json

+45-10
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@
2020
"ListCodegenJobs": "<p>Retrieves a list of code generation jobs for a specified Amplify app and backend environment.</p>",
2121
"ListComponents": "<p>Retrieves a list of components for a specified Amplify app and backend environment.</p>",
2222
"ListForms": "<p>Retrieves a list of forms for a specified Amplify app and backend environment.</p>",
23+
"ListTagsForResource": "<p>Returns a list of tags for a specified Amazon Resource Name (ARN).</p>",
2324
"ListThemes": "<p>Retrieves a list of themes for a specified Amplify app and backend environment.</p>",
2425
"PutMetadataFlag": "<p>Stores the metadata information about a feature on a form.</p>",
2526
"RefreshToken": "<note> <p>This is for internal use.</p> </note> <p>Amplify uses this action to refresh a previously issued access token that might have expired.</p>",
2627
"StartCodegenJob": "<p>Starts a code generation job for a specified Amplify app and backend environment.</p>",
28+
"TagResource": "<p>Tags the resource with a tag key and value.</p>",
29+
"UntagResource": "<p>Untags a resource with a specified Amazon Resource Name (ARN).</p>",
2730
"UpdateComponent": "<p>Updates an existing component.</p>",
2831
"UpdateForm": "<p>Updates an existing form.</p>",
2932
"UpdateTheme": "<p>Updates an existing theme.</p>"
@@ -877,12 +880,6 @@
877880
"refs": {
878881
}
879882
},
880-
"ListComponentsLimit": {
881-
"base": null,
882-
"refs": {
883-
"ListComponentsRequest$maxResults": "<p>The maximum number of components to retrieve.</p>"
884-
}
885-
},
886883
"ListComponentsRequest": {
887884
"base": null,
888885
"refs": {
@@ -893,10 +890,12 @@
893890
"refs": {
894891
}
895892
},
896-
"ListFormsLimit": {
893+
"ListEntityLimit": {
897894
"base": null,
898895
"refs": {
899-
"ListFormsRequest$maxResults": "<p>The maximum number of forms to retrieve.</p>"
896+
"ListComponentsRequest$maxResults": "<p>The maximum number of components to retrieve.</p>",
897+
"ListFormsRequest$maxResults": "<p>The maximum number of forms to retrieve.</p>",
898+
"ListThemesRequest$maxResults": "<p>The maximum number of theme results to return in the response.</p>"
900899
}
901900
},
902901
"ListFormsRequest": {
@@ -909,10 +908,14 @@
909908
"refs": {
910909
}
911910
},
912-
"ListThemesLimit": {
911+
"ListTagsForResourceRequest": {
912+
"base": null,
913+
"refs": {
914+
}
915+
},
916+
"ListTagsForResourceResponse": {
913917
"base": null,
914918
"refs": {
915-
"ListThemesRequest$maxResults": "<p>The maximum number of theme results to return in the response.</p>"
916919
}
917920
},
918921
"ListThemesRequest": {
@@ -1259,6 +1262,7 @@
12591262
"ListFormsRequest$environmentName": "<p>The name of the backend environment that is a part of the Amplify app.</p>",
12601263
"ListFormsRequest$nextToken": "<p>The token to request the next page of results.</p>",
12611264
"ListFormsResponse$nextToken": "<p>The pagination token that's included if more results are available.</p>",
1265+
"ListTagsForResourceRequest$resourceArn": "<p>The Amazon Resource Name (ARN) to use to list tags.</p>",
12621266
"ListThemesRequest$appId": "<p>The unique ID for the Amplify app.</p>",
12631267
"ListThemesRequest$environmentName": "<p>The name of the backend environment that is a part of the Amplify app.</p>",
12641268
"ListThemesRequest$nextToken": "<p>The token to request the next page of results.</p>",
@@ -1286,6 +1290,7 @@
12861290
"StartCodegenJobRequest$environmentName": "<p>The name of the backend environment that is a part of the Amplify app.</p>",
12871291
"StartCodegenJobRequest$clientToken": "<p>The idempotency token used to ensure that the code generation job request completes only once.</p>",
12881292
"StrValues$member": null,
1293+
"TagResourceRequest$resourceArn": "<p>The Amazon Resource Name (ARN) to use to tag a resource.</p>",
12891294
"Theme$appId": "<p>The unique ID for the Amplify app associated with the theme.</p>",
12901295
"Theme$environmentName": "<p>The name of the backend environment that is a part of the Amplify app.</p>",
12911296
"ThemeSummary$appId": "<p>The unique ID for the app associated with the theme summary.</p>",
@@ -1294,6 +1299,7 @@
12941299
"ThemeValues$key": "<p>The name of the property.</p>",
12951300
"ThrottlingException$message": null,
12961301
"UnauthorizedException$message": null,
1302+
"UntagResourceRequest$resourceArn": "<p>The Amazon Resource Name (ARN) to use to untag a resource.</p>",
12971303
"UpdateComponentData$sourceId": "<p>The unique ID of the component in its original source system, such as Figma.</p>",
12981304
"UpdateComponentData$schemaVersion": "<p>The schema version of the component when it was imported.</p>",
12991305
"UpdateComponentRequest$appId": "<p>The unique ID for the Amplify app.</p>",
@@ -1324,9 +1330,26 @@
13241330
"TagKey": {
13251331
"base": null,
13261332
"refs": {
1333+
"TagKeyList$member": null,
13271334
"Tags$key": null
13281335
}
13291336
},
1337+
"TagKeyList": {
1338+
"base": null,
1339+
"refs": {
1340+
"UntagResourceRequest$tagKeys": "<p>The tag keys to use to untag a resource.</p>"
1341+
}
1342+
},
1343+
"TagResourceRequest": {
1344+
"base": null,
1345+
"refs": {
1346+
}
1347+
},
1348+
"TagResourceResponse": {
1349+
"base": null,
1350+
"refs": {
1351+
}
1352+
},
13301353
"TagValue": {
13311354
"base": null,
13321355
"refs": {
@@ -1342,7 +1365,9 @@
13421365
"CreateFormData$tags": "<p>One or more key-value pairs to use when tagging the form data.</p>",
13431366
"CreateThemeData$tags": "<p>One or more key-value pairs to use when tagging the theme data.</p>",
13441367
"Form$tags": "<p>One or more key-value pairs to use when tagging the form.</p>",
1368+
"ListTagsForResourceResponse$tags": "<p>A list of tag key value pairs for a specified Amazon Resource Name (ARN).</p>",
13451369
"StartCodegenJobData$tags": "<p>One or more key-value pairs to use when tagging the code generation job data.</p>",
1370+
"TagResourceRequest$tags": "<p>A list of tag key value pairs for a specified Amazon Resource Name (ARN).</p>",
13461371
"Theme$tags": "<p>One or more key-value pairs to use when tagging the theme.</p>"
13471372
}
13481373
},
@@ -1423,6 +1448,16 @@
14231448
"refs": {
14241449
}
14251450
},
1451+
"UntagResourceRequest": {
1452+
"base": null,
1453+
"refs": {
1454+
}
1455+
},
1456+
"UntagResourceResponse": {
1457+
"base": null,
1458+
"refs": {
1459+
}
1460+
},
14261461
"UpdateComponentData": {
14271462
"base": "<p>Updates and saves all of the information about a component, based on component ID.</p>",
14281463
"refs": {

src/data/amplifyuibuilder/2021-08-11/docs-2.json.php

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)