Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-ruby-automation committed Sep 6, 2024
1 parent aa27c50 commit c11769c
Show file tree
Hide file tree
Showing 21 changed files with 654 additions and 65 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,6 @@ RubyGems.org page under "LINKS" section.
| AWS Key Management Service | Aws::KMS | aws-sdk-kms | 2014-11-01 |
| AWS Lake Formation | Aws::LakeFormation | aws-sdk-lakeformation | 2017-03-31 |
| AWS Lambda | Aws::Lambda | aws-sdk-lambda | 2015-03-31 |
| AWS Lambda | Aws::LambdaPreview | aws-sdk-lambdapreview | 2014-11-11 |
| AWS Launch Wizard | Aws::LaunchWizard | aws-sdk-launchwizard | 2018-05-10 |
| AWS License Manager | Aws::LicenseManager | aws-sdk-licensemanager | 2018-08-01 |
| AWS License Manager Linux Subscriptions | Aws::LicenseManagerLinuxSubscriptions | aws-sdk-licensemanagerlinuxsubscriptions | 2018-05-10 |
Expand Down
56 changes: 50 additions & 6 deletions apis/qapps/2023-11-27/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"AccessDeniedException"},
{"shape":"ConflictException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"},
{"shape":"UnauthorizedException"},
Expand Down Expand Up @@ -136,6 +137,7 @@
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"AccessDeniedException"},
{"shape":"ConflictException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"},
{"shape":"UnauthorizedException"},
Expand Down Expand Up @@ -390,12 +392,32 @@
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"AccessDeniedException"},
{"shape":"ConflictException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"},
{"shape":"UnauthorizedException"},
{"shape":"ThrottlingException"}
]
},
"UpdateLibraryItemMetadata":{
"name":"UpdateLibraryItemMetadata",
"http":{
"method":"POST",
"requestUri":"/catalog.updateItemMetadata",
"responseCode":200
},
"input":{"shape":"UpdateLibraryItemMetadataInput"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"AccessDeniedException"},
{"shape":"ConflictException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"},
{"shape":"UnauthorizedException"},
{"shape":"ThrottlingException"}
],
"idempotent":true
},
"UpdateQApp":{
"name":"UpdateQApp",
"http":{
Expand Down Expand Up @@ -750,7 +772,8 @@
"createdBy":{"shape":"String"},
"updatedAt":{"shape":"QAppsTimestamp"},
"updatedBy":{"shape":"String"},
"ratingCount":{"shape":"Integer"}
"ratingCount":{"shape":"Integer"},
"isVerified":{"shape":"Boolean"}
}
},
"CreateQAppInput":{
Expand Down Expand Up @@ -1012,7 +1035,8 @@
"updatedBy":{"shape":"String"},
"ratingCount":{"shape":"Integer"},
"isRatedByUser":{"shape":"Boolean"},
"userCount":{"shape":"Integer"}
"userCount":{"shape":"Integer"},
"isVerified":{"shape":"Boolean"}
}
},
"GetQAppInput":{
Expand Down Expand Up @@ -1182,7 +1206,8 @@
"updatedBy":{"shape":"String"},
"ratingCount":{"shape":"Integer"},
"isRatedByUser":{"shape":"Boolean"},
"userCount":{"shape":"Integer"}
"userCount":{"shape":"Integer"},
"isVerified":{"shape":"Boolean"}
}
},
"LibraryItemStatus":{
Expand Down Expand Up @@ -1648,7 +1673,8 @@
"Title":{
"type":"string",
"max":100,
"min":0
"min":0,
"pattern":"[^{}\\\\\"<>]+"
},
"UUID":{
"type":"string",
Expand Down Expand Up @@ -1707,6 +1733,22 @@
"categories":{"shape":"CategoryIdList"}
}
},
"UpdateLibraryItemMetadataInput":{
"type":"structure",
"required":[
"instanceId",
"libraryItemId"
],
"members":{
"instanceId":{
"shape":"InstanceId",
"location":"header",
"locationName":"instance-id"
},
"libraryItemId":{"shape":"UUID"},
"isVerified":{"shape":"Boolean"}
}
},
"UpdateLibraryItemOutput":{
"type":"structure",
"required":[
Expand All @@ -1731,7 +1773,8 @@
"updatedBy":{"shape":"String"},
"ratingCount":{"shape":"Integer"},
"isRatedByUser":{"shape":"Boolean"},
"userCount":{"shape":"Integer"}
"userCount":{"shape":"Integer"},
"isVerified":{"shape":"Boolean"}
}
},
"UpdateQAppInput":{
Expand Down Expand Up @@ -1822,7 +1865,8 @@
"description":{"shape":"Description"},
"createdAt":{"shape":"QAppsTimestamp"},
"canEdit":{"shape":"Boolean"},
"status":{"shape":"String"}
"status":{"shape":"String"},
"isVerified":{"shape":"Boolean"}
}
},
"UserAppsList":{
Expand Down
20 changes: 17 additions & 3 deletions apis/qapps/2023-11-27/docs-2.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.0",
"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>",
"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>",
"operations": {
"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>",
"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>",
Expand All @@ -22,7 +22,8 @@
"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>",
"TagResource": "<p>Associates tags with an Amazon Q Apps resource.</p>",
"UntagResource": "<p>Disassociates tags from an Amazon Q Apps resource.</p>",
"UpdateLibraryItem": "<p>Updates the metadata and status of a library item for an Amazon Q App.</p>",
"UpdateLibraryItem": "<p>Updates the library item for an Amazon Q App.</p>",
"UpdateLibraryItemMetadata": "<p>Updates the verification status of a library item for an Amazon Q App.</p>",
"UpdateQApp": "<p>Updates an existing Amazon Q App, allowing modifications to its title, description, and definition.</p>",
"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>"
},
Expand Down Expand Up @@ -128,12 +129,18 @@
"base": null,
"refs": {
"AppDefinition$canEdit": "<p>A flag indicating whether the Q App's definition can be edited by the user.</p>",
"CreateLibraryItemOutput$isVerified": "<p>Indicates whether the library item has been verified.</p>",
"FileUploadCard$allowOverride": "<p>A flag indicating if the user can override the default file for the upload card.</p>",
"FileUploadCardInput$allowOverride": "<p>A flag indicating if the user can override the default file for the upload card.</p>",
"GetLibraryItemOutput$isRatedByUser": "<p>Whether the current user has rated the library item.</p>",
"GetLibraryItemOutput$isVerified": "<p>Indicates whether the library item has been verified.</p>",
"LibraryItemMember$isRatedByUser": "<p>Whether the current user has rated the library item.</p>",
"LibraryItemMember$isVerified": "<p>Indicates whether the library item has been verified.</p>",
"UpdateLibraryItemMetadataInput$isVerified": "<p>The verification status of the library item</p>",
"UpdateLibraryItemOutput$isRatedByUser": "<p>Whether the current user has rated the library item.</p>",
"UserAppItem$canEdit": "<p>A flag indicating whether the user can edit the Q App.</p>"
"UpdateLibraryItemOutput$isVerified": "<p>Indicates whether the library item has been verified.</p>",
"UserAppItem$canEdit": "<p>A flag indicating whether the user can edit the Q App.</p>",
"UserAppItem$isVerified": "<p>Indicates whether the Q App has been verified.</p>"
}
},
"Card": {
Expand Down Expand Up @@ -460,6 +467,7 @@
"StartQAppSessionInput$instanceId": "<p>The unique identifier of the Amazon Q Business application environment instance.</p>",
"StopQAppSessionInput$instanceId": "<p>The unique identifier of the Amazon Q Business application environment instance.</p>",
"UpdateLibraryItemInput$instanceId": "<p>The unique identifier of the Amazon Q Business application environment instance.</p>",
"UpdateLibraryItemMetadataInput$instanceId": "<p>The unique identifier of the Amazon Q Business application environment instance.</p>",
"UpdateQAppInput$instanceId": "<p>The unique identifier of the Amazon Q Business application environment instance.</p>",
"UpdateQAppSessionInput$instanceId": "<p>The unique identifier of the Amazon Q Business application environment instance.</p>"
}
Expand Down Expand Up @@ -886,6 +894,7 @@
"TextInputCard$id": "<p>The unique identifier of the text input card.</p>",
"TextInputCardInput$id": "<p>The unique identifier of the text input card.</p>",
"UpdateLibraryItemInput$libraryItemId": "<p>The unique identifier of the library item to update.</p>",
"UpdateLibraryItemMetadataInput$libraryItemId": "<p>The unique identifier of the updated library item.</p>",
"UpdateLibraryItemOutput$libraryItemId": "<p>The unique identifier of the updated library item.</p>",
"UpdateLibraryItemOutput$appId": "<p>The unique identifier of the Q App associated with the library item.</p>",
"UpdateQAppInput$appId": "<p>The unique identifier of the Q App to update.</p>",
Expand Down Expand Up @@ -914,6 +923,11 @@
"refs": {
}
},
"UpdateLibraryItemMetadataInput": {
"base": null,
"refs": {
}
},
"UpdateLibraryItemOutput": {
"base": null,
"refs": {
Expand Down
23 changes: 23 additions & 0 deletions apis/qapps/2023-11-27/examples-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"output": {
"createdAt": "2024-05-21T23:17:27.350Z",
"createdBy": "a841e300-40c1-7062-fa34-5b46dadbbaac",
"isVerified": false,
"libraryItemId": "cb9ecf72-8563-450d-9db9-994f98297316",
"ratingCount": 0,
"status": "PUBLISHED",
Expand Down Expand Up @@ -155,6 +156,7 @@
"createdAt": "2024-05-08T16:09:56.080Z",
"createdBy": "a841e300-40c1-7062-fa34-5b46dadbbaac",
"isRatedByUser": false,
"isVerified": false,
"libraryItemId": "18cbebaa-196a-4aa5-a840-88d548e07f8f",
"ratingCount": 0,
"status": "PUBLISHED",
Expand Down Expand Up @@ -296,6 +298,7 @@
"createdAt": "2024-05-21T23:17:27.350Z",
"createdBy": "a841e300-40c1-7062-fa34-5b46dadbbaac",
"isRatedByUser": true,
"isVerified": false,
"libraryItemId": "cb9ecf72-8563-450d-9db9-994f98297316",
"ratingCount": 3,
"status": "PUBLISHED",
Expand All @@ -315,6 +318,7 @@
"createdAt": "2024-05-08T16:09:56.080Z",
"createdBy": "a841e300-40c1-7062-fa34-5b46dadbbaac",
"isRatedByUser": false,
"isVerified": false,
"libraryItemId": "18cbebaa-196a-4aa5-a840-88d548e07f8f",
"ratingCount": 5,
"status": "PUBLISHED",
Expand All @@ -334,6 +338,7 @@
"createdAt": "2024-05-07T22:57:59.327Z",
"createdBy": "a841e300-40c1-7062-fa34-5b46dadbbaac",
"isRatedByUser": false,
"isVerified": false,
"libraryItemId": "549abfe0-f5c4-45a2-bb9b-c05987a49c6d",
"ratingCount": 8,
"status": "PUBLISHED",
Expand Down Expand Up @@ -361,6 +366,7 @@
"appId": "7b9fe303-18bb-4643-952c-bfcf9f4c427f",
"createdAt": "2024-05-21T04:09:10.401Z",
"description": "Description 1",
"isVerified": false,
"status": "DRAFT",
"title": "App 1"
},
Expand All @@ -369,6 +375,7 @@
"appId": "dd178fd6-ad3d-49b3-a32d-e915cf423e37",
"createdAt": "2024-05-21T04:09:10.401Z",
"description": "Description 2",
"isVerified": true,
"status": "PUBLISHED",
"title": "App 2"
},
Expand All @@ -377,6 +384,7 @@
"appId": "3274b744-1a13-4aad-953f-eda2e4149e6e",
"createdAt": "2024-05-21T04:09:10.401Z",
"description": "Description 3",
"isVerified": false,
"status": "DRAFT",
"title": "App 3"
}
Expand All @@ -399,6 +407,7 @@
"appId": "bec8ee64-2635-41e8-aace-e1e418f4f295",
"createdAt": "2024-05-21T04:09:10.401Z",
"description": "Description 4",
"isVerified": true,
"status": "PUBLISHED",
"title": "App 4"
},
Expand All @@ -407,6 +416,7 @@
"appId": "c380a45d-bd77-45b0-a0e5-8a266c1d8bc4",
"createdAt": "2024-05-21T04:09:10.401Z",
"description": "Description 5",
"isVerified": false,
"status": "PUBLISHED",
"title": "App 5"
},
Expand All @@ -415,6 +425,7 @@
"appId": "afc4ee80-9722-4396-85a6-7aeaff52c177",
"createdAt": "2024-05-21T04:09:10.401Z",
"description": "Description 6",
"isVerified": false,
"status": "PUBLISHED",
"title": "App 6"
}
Expand Down Expand Up @@ -510,6 +521,7 @@
],
"createdAt": "2024-05-21T23:17:27.350Z",
"createdBy": "a841e300-40c1-7062-fa34-5b46dadbbaac",
"isVerified": false,
"libraryItemId": "cb9ecf72-8563-450d-9db9-994f98297316",
"ratingCount": 24,
"status": "DISABLED",
Expand All @@ -520,6 +532,17 @@
"title": "Sets the status of a library item to DISABLED"
}
],
"UpdateLibraryItemMetadata": [
{
"input": {
"instanceId": "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
"isVerified": true,
"libraryItemId": "cb9ecf72-8563-450d-9db9-994f98297316"
},
"id": "example-1",
"title": "Update a library item to be verified"
}
],
"UpdateQApp": [
{
"input": {
Expand Down
Loading

0 comments on commit c11769c

Please sign in to comment.