Skip to content

Commit c11769c

Browse files
Updated API models and rebuilt service gems.
1 parent aa27c50 commit c11769c

File tree

21 files changed

+654
-65
lines changed

21 files changed

+654
-65
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,6 @@ RubyGems.org page under "LINKS" section.
396396
| AWS Key Management Service | Aws::KMS | aws-sdk-kms | 2014-11-01 |
397397
| AWS Lake Formation | Aws::LakeFormation | aws-sdk-lakeformation | 2017-03-31 |
398398
| AWS Lambda | Aws::Lambda | aws-sdk-lambda | 2015-03-31 |
399-
| AWS Lambda | Aws::LambdaPreview | aws-sdk-lambdapreview | 2014-11-11 |
400399
| AWS Launch Wizard | Aws::LaunchWizard | aws-sdk-launchwizard | 2018-05-10 |
401400
| AWS License Manager | Aws::LicenseManager | aws-sdk-licensemanager | 2018-08-01 |
402401
| AWS License Manager Linux Subscriptions | Aws::LicenseManagerLinuxSubscriptions | aws-sdk-licensemanagerlinuxsubscriptions | 2018-05-10 |

apis/qapps/2023-11-27/api-2.json

Lines changed: 50 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"errors":[
2525
{"shape":"ResourceNotFoundException"},
2626
{"shape":"AccessDeniedException"},
27+
{"shape":"ConflictException"},
2728
{"shape":"ValidationException"},
2829
{"shape":"InternalServerException"},
2930
{"shape":"UnauthorizedException"},
@@ -136,6 +137,7 @@
136137
"errors":[
137138
{"shape":"ResourceNotFoundException"},
138139
{"shape":"AccessDeniedException"},
140+
{"shape":"ConflictException"},
139141
{"shape":"ValidationException"},
140142
{"shape":"InternalServerException"},
141143
{"shape":"UnauthorizedException"},
@@ -390,12 +392,32 @@
390392
"errors":[
391393
{"shape":"ResourceNotFoundException"},
392394
{"shape":"AccessDeniedException"},
395+
{"shape":"ConflictException"},
393396
{"shape":"ValidationException"},
394397
{"shape":"InternalServerException"},
395398
{"shape":"UnauthorizedException"},
396399
{"shape":"ThrottlingException"}
397400
]
398401
},
402+
"UpdateLibraryItemMetadata":{
403+
"name":"UpdateLibraryItemMetadata",
404+
"http":{
405+
"method":"POST",
406+
"requestUri":"/catalog.updateItemMetadata",
407+
"responseCode":200
408+
},
409+
"input":{"shape":"UpdateLibraryItemMetadataInput"},
410+
"errors":[
411+
{"shape":"ResourceNotFoundException"},
412+
{"shape":"AccessDeniedException"},
413+
{"shape":"ConflictException"},
414+
{"shape":"ValidationException"},
415+
{"shape":"InternalServerException"},
416+
{"shape":"UnauthorizedException"},
417+
{"shape":"ThrottlingException"}
418+
],
419+
"idempotent":true
420+
},
399421
"UpdateQApp":{
400422
"name":"UpdateQApp",
401423
"http":{
@@ -750,7 +772,8 @@
750772
"createdBy":{"shape":"String"},
751773
"updatedAt":{"shape":"QAppsTimestamp"},
752774
"updatedBy":{"shape":"String"},
753-
"ratingCount":{"shape":"Integer"}
775+
"ratingCount":{"shape":"Integer"},
776+
"isVerified":{"shape":"Boolean"}
754777
}
755778
},
756779
"CreateQAppInput":{
@@ -1012,7 +1035,8 @@
10121035
"updatedBy":{"shape":"String"},
10131036
"ratingCount":{"shape":"Integer"},
10141037
"isRatedByUser":{"shape":"Boolean"},
1015-
"userCount":{"shape":"Integer"}
1038+
"userCount":{"shape":"Integer"},
1039+
"isVerified":{"shape":"Boolean"}
10161040
}
10171041
},
10181042
"GetQAppInput":{
@@ -1182,7 +1206,8 @@
11821206
"updatedBy":{"shape":"String"},
11831207
"ratingCount":{"shape":"Integer"},
11841208
"isRatedByUser":{"shape":"Boolean"},
1185-
"userCount":{"shape":"Integer"}
1209+
"userCount":{"shape":"Integer"},
1210+
"isVerified":{"shape":"Boolean"}
11861211
}
11871212
},
11881213
"LibraryItemStatus":{
@@ -1648,7 +1673,8 @@
16481673
"Title":{
16491674
"type":"string",
16501675
"max":100,
1651-
"min":0
1676+
"min":0,
1677+
"pattern":"[^{}\\\\\"<>]+"
16521678
},
16531679
"UUID":{
16541680
"type":"string",
@@ -1707,6 +1733,22 @@
17071733
"categories":{"shape":"CategoryIdList"}
17081734
}
17091735
},
1736+
"UpdateLibraryItemMetadataInput":{
1737+
"type":"structure",
1738+
"required":[
1739+
"instanceId",
1740+
"libraryItemId"
1741+
],
1742+
"members":{
1743+
"instanceId":{
1744+
"shape":"InstanceId",
1745+
"location":"header",
1746+
"locationName":"instance-id"
1747+
},
1748+
"libraryItemId":{"shape":"UUID"},
1749+
"isVerified":{"shape":"Boolean"}
1750+
}
1751+
},
17101752
"UpdateLibraryItemOutput":{
17111753
"type":"structure",
17121754
"required":[
@@ -1731,7 +1773,8 @@
17311773
"updatedBy":{"shape":"String"},
17321774
"ratingCount":{"shape":"Integer"},
17331775
"isRatedByUser":{"shape":"Boolean"},
1734-
"userCount":{"shape":"Integer"}
1776+
"userCount":{"shape":"Integer"},
1777+
"isVerified":{"shape":"Boolean"}
17351778
}
17361779
},
17371780
"UpdateQAppInput":{
@@ -1822,7 +1865,8 @@
18221865
"description":{"shape":"Description"},
18231866
"createdAt":{"shape":"QAppsTimestamp"},
18241867
"canEdit":{"shape":"Boolean"},
1825-
"status":{"shape":"String"}
1868+
"status":{"shape":"String"},
1869+
"isVerified":{"shape":"Boolean"}
18261870
}
18271871
},
18281872
"UserAppsList":{

apis/qapps/2023-11-27/docs-2.json

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": "2.0",
3-
"service": "<p>The Amazon Q Apps feature capability within Amazon Q Business allows web experience users to create lightweight, purpose-built AI apps to fulfill specific tasks from within their web experience. For example, users can create an Q Appthat exclusively generates marketing-related content to improve your marketing team's productivity or a Q App for marketing content-generation like writing customer emails and creating promotional content using a certain style of voice, tone, and branding. For more information, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/purpose-built-qapps.html\">Amazon Q App</a> in the <i>Amazon Q Business User Guide</i>. </p>",
3+
"service": "<p>The Amazon Q Apps feature capability within Amazon Q Business allows web experience users to create lightweight, purpose-built AI apps to fulfill specific tasks from within their web experience. For example, users can create a Q App that exclusively generates marketing-related content to improve your marketing team's productivity or a Q App for writing customer emails and creating promotional content using a certain style of voice, tone, and branding. For more information on the capabilities, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/deploy-experience-iam-role.html#q-apps-actions\">Amazon Q Apps capabilities</a> in the <i>Amazon Q Business User Guide</i>. </p> <p>For an overview of the Amazon Q App APIs, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/api-reference/API_Operations_QApps.html\">Overview of Amazon Q Apps API operations</a>.</p> <p>For information about the IAM access control permissions you need to use the Amazon Q Apps API, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/deploy-experience-iam-role.html\"> IAM role for the Amazon Q Business web experience including Amazon Q Apps</a> in the <i>Amazon Q Business User Guide</i>.</p>",
44
"operations": {
55
"AssociateLibraryItemReview": "<p>Associates a rating or review for a library item with the user submitting the request. This increments the rating count for the specified library item.</p>",
66
"AssociateQAppWithUser": "<p>This operation creates a link between the user's identity calling the operation and a specific Q App. This is useful to mark the Q App as a <i>favorite</i> for the user if the user doesn't own the Amazon Q App so they can still run it and see it in their inventory of Q Apps.</p>",
@@ -22,7 +22,8 @@
2222
"StopQAppSession": "<p>Stops an active session for an Amazon Q App.This deletes all data related to the session and makes it invalid for future uses. The results of the session will be persisted as part of the conversation.</p>",
2323
"TagResource": "<p>Associates tags with an Amazon Q Apps resource.</p>",
2424
"UntagResource": "<p>Disassociates tags from an Amazon Q Apps resource.</p>",
25-
"UpdateLibraryItem": "<p>Updates the metadata and status of a library item for an Amazon Q App.</p>",
25+
"UpdateLibraryItem": "<p>Updates the library item for an Amazon Q App.</p>",
26+
"UpdateLibraryItemMetadata": "<p>Updates the verification status of a library item for an Amazon Q App.</p>",
2627
"UpdateQApp": "<p>Updates an existing Amazon Q App, allowing modifications to its title, description, and definition.</p>",
2728
"UpdateQAppSession": "<p>Updates the session for a given Q App <code>sessionId</code>. This is only valid when at least one card of the session is in the <code>WAITING</code> state. Data for each <code>WAITING</code> card can be provided as input. If inputs are not provided, the call will be accepted but session will not move forward. Inputs for cards that are not in the <code>WAITING</code> status will be ignored.</p>"
2829
},
@@ -128,12 +129,18 @@
128129
"base": null,
129130
"refs": {
130131
"AppDefinition$canEdit": "<p>A flag indicating whether the Q App's definition can be edited by the user.</p>",
132+
"CreateLibraryItemOutput$isVerified": "<p>Indicates whether the library item has been verified.</p>",
131133
"FileUploadCard$allowOverride": "<p>A flag indicating if the user can override the default file for the upload card.</p>",
132134
"FileUploadCardInput$allowOverride": "<p>A flag indicating if the user can override the default file for the upload card.</p>",
133135
"GetLibraryItemOutput$isRatedByUser": "<p>Whether the current user has rated the library item.</p>",
136+
"GetLibraryItemOutput$isVerified": "<p>Indicates whether the library item has been verified.</p>",
134137
"LibraryItemMember$isRatedByUser": "<p>Whether the current user has rated the library item.</p>",
138+
"LibraryItemMember$isVerified": "<p>Indicates whether the library item has been verified.</p>",
139+
"UpdateLibraryItemMetadataInput$isVerified": "<p>The verification status of the library item</p>",
135140
"UpdateLibraryItemOutput$isRatedByUser": "<p>Whether the current user has rated the library item.</p>",
136-
"UserAppItem$canEdit": "<p>A flag indicating whether the user can edit the Q App.</p>"
141+
"UpdateLibraryItemOutput$isVerified": "<p>Indicates whether the library item has been verified.</p>",
142+
"UserAppItem$canEdit": "<p>A flag indicating whether the user can edit the Q App.</p>",
143+
"UserAppItem$isVerified": "<p>Indicates whether the Q App has been verified.</p>"
137144
}
138145
},
139146
"Card": {
@@ -460,6 +467,7 @@
460467
"StartQAppSessionInput$instanceId": "<p>The unique identifier of the Amazon Q Business application environment instance.</p>",
461468
"StopQAppSessionInput$instanceId": "<p>The unique identifier of the Amazon Q Business application environment instance.</p>",
462469
"UpdateLibraryItemInput$instanceId": "<p>The unique identifier of the Amazon Q Business application environment instance.</p>",
470+
"UpdateLibraryItemMetadataInput$instanceId": "<p>The unique identifier of the Amazon Q Business application environment instance.</p>",
463471
"UpdateQAppInput$instanceId": "<p>The unique identifier of the Amazon Q Business application environment instance.</p>",
464472
"UpdateQAppSessionInput$instanceId": "<p>The unique identifier of the Amazon Q Business application environment instance.</p>"
465473
}
@@ -886,6 +894,7 @@
886894
"TextInputCard$id": "<p>The unique identifier of the text input card.</p>",
887895
"TextInputCardInput$id": "<p>The unique identifier of the text input card.</p>",
888896
"UpdateLibraryItemInput$libraryItemId": "<p>The unique identifier of the library item to update.</p>",
897+
"UpdateLibraryItemMetadataInput$libraryItemId": "<p>The unique identifier of the updated library item.</p>",
889898
"UpdateLibraryItemOutput$libraryItemId": "<p>The unique identifier of the updated library item.</p>",
890899
"UpdateLibraryItemOutput$appId": "<p>The unique identifier of the Q App associated with the library item.</p>",
891900
"UpdateQAppInput$appId": "<p>The unique identifier of the Q App to update.</p>",
@@ -914,6 +923,11 @@
914923
"refs": {
915924
}
916925
},
926+
"UpdateLibraryItemMetadataInput": {
927+
"base": null,
928+
"refs": {
929+
}
930+
},
917931
"UpdateLibraryItemOutput": {
918932
"base": null,
919933
"refs": {

apis/qapps/2023-11-27/examples-1.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"output": {
3535
"createdAt": "2024-05-21T23:17:27.350Z",
3636
"createdBy": "a841e300-40c1-7062-fa34-5b46dadbbaac",
37+
"isVerified": false,
3738
"libraryItemId": "cb9ecf72-8563-450d-9db9-994f98297316",
3839
"ratingCount": 0,
3940
"status": "PUBLISHED",
@@ -155,6 +156,7 @@
155156
"createdAt": "2024-05-08T16:09:56.080Z",
156157
"createdBy": "a841e300-40c1-7062-fa34-5b46dadbbaac",
157158
"isRatedByUser": false,
159+
"isVerified": false,
158160
"libraryItemId": "18cbebaa-196a-4aa5-a840-88d548e07f8f",
159161
"ratingCount": 0,
160162
"status": "PUBLISHED",
@@ -296,6 +298,7 @@
296298
"createdAt": "2024-05-21T23:17:27.350Z",
297299
"createdBy": "a841e300-40c1-7062-fa34-5b46dadbbaac",
298300
"isRatedByUser": true,
301+
"isVerified": false,
299302
"libraryItemId": "cb9ecf72-8563-450d-9db9-994f98297316",
300303
"ratingCount": 3,
301304
"status": "PUBLISHED",
@@ -315,6 +318,7 @@
315318
"createdAt": "2024-05-08T16:09:56.080Z",
316319
"createdBy": "a841e300-40c1-7062-fa34-5b46dadbbaac",
317320
"isRatedByUser": false,
321+
"isVerified": false,
318322
"libraryItemId": "18cbebaa-196a-4aa5-a840-88d548e07f8f",
319323
"ratingCount": 5,
320324
"status": "PUBLISHED",
@@ -334,6 +338,7 @@
334338
"createdAt": "2024-05-07T22:57:59.327Z",
335339
"createdBy": "a841e300-40c1-7062-fa34-5b46dadbbaac",
336340
"isRatedByUser": false,
341+
"isVerified": false,
337342
"libraryItemId": "549abfe0-f5c4-45a2-bb9b-c05987a49c6d",
338343
"ratingCount": 8,
339344
"status": "PUBLISHED",
@@ -361,6 +366,7 @@
361366
"appId": "7b9fe303-18bb-4643-952c-bfcf9f4c427f",
362367
"createdAt": "2024-05-21T04:09:10.401Z",
363368
"description": "Description 1",
369+
"isVerified": false,
364370
"status": "DRAFT",
365371
"title": "App 1"
366372
},
@@ -369,6 +375,7 @@
369375
"appId": "dd178fd6-ad3d-49b3-a32d-e915cf423e37",
370376
"createdAt": "2024-05-21T04:09:10.401Z",
371377
"description": "Description 2",
378+
"isVerified": true,
372379
"status": "PUBLISHED",
373380
"title": "App 2"
374381
},
@@ -377,6 +384,7 @@
377384
"appId": "3274b744-1a13-4aad-953f-eda2e4149e6e",
378385
"createdAt": "2024-05-21T04:09:10.401Z",
379386
"description": "Description 3",
387+
"isVerified": false,
380388
"status": "DRAFT",
381389
"title": "App 3"
382390
}
@@ -399,6 +407,7 @@
399407
"appId": "bec8ee64-2635-41e8-aace-e1e418f4f295",
400408
"createdAt": "2024-05-21T04:09:10.401Z",
401409
"description": "Description 4",
410+
"isVerified": true,
402411
"status": "PUBLISHED",
403412
"title": "App 4"
404413
},
@@ -407,6 +416,7 @@
407416
"appId": "c380a45d-bd77-45b0-a0e5-8a266c1d8bc4",
408417
"createdAt": "2024-05-21T04:09:10.401Z",
409418
"description": "Description 5",
419+
"isVerified": false,
410420
"status": "PUBLISHED",
411421
"title": "App 5"
412422
},
@@ -415,6 +425,7 @@
415425
"appId": "afc4ee80-9722-4396-85a6-7aeaff52c177",
416426
"createdAt": "2024-05-21T04:09:10.401Z",
417427
"description": "Description 6",
428+
"isVerified": false,
418429
"status": "PUBLISHED",
419430
"title": "App 6"
420431
}
@@ -510,6 +521,7 @@
510521
],
511522
"createdAt": "2024-05-21T23:17:27.350Z",
512523
"createdBy": "a841e300-40c1-7062-fa34-5b46dadbbaac",
524+
"isVerified": false,
513525
"libraryItemId": "cb9ecf72-8563-450d-9db9-994f98297316",
514526
"ratingCount": 24,
515527
"status": "DISABLED",
@@ -520,6 +532,17 @@
520532
"title": "Sets the status of a library item to DISABLED"
521533
}
522534
],
535+
"UpdateLibraryItemMetadata": [
536+
{
537+
"input": {
538+
"instanceId": "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
539+
"isVerified": true,
540+
"libraryItemId": "cb9ecf72-8563-450d-9db9-994f98297316"
541+
},
542+
"id": "example-1",
543+
"title": "Update a library item to be verified"
544+
}
545+
],
523546
"UpdateQApp": [
524547
{
525548
"input": {

0 commit comments

Comments
 (0)