@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSQApps extends Object implements AWSQApps
AWSQApps. Convenient method forms pass through to the corresponding overload that
takes a request object, which throws an UnsupportedOperationException.ENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
AssociateLibraryItemReviewResult |
associateLibraryItemReview(AssociateLibraryItemReviewRequest request)
Associates a rating or review for a library item with the user submitting the request.
|
AssociateQAppWithUserResult |
associateQAppWithUser(AssociateQAppWithUserRequest request)
This operation creates a link between the user's identity calling the operation and a specific Q App.
|
CreateLibraryItemResult |
createLibraryItem(CreateLibraryItemRequest request)
Creates a new library item for an Amazon Q App, allowing it to be discovered and used by other allowed users.
|
CreateQAppResult |
createQApp(CreateQAppRequest request)
Creates a new Amazon Q App based on the provided definition.
|
DeleteLibraryItemResult |
deleteLibraryItem(DeleteLibraryItemRequest request)
Deletes a library item for an Amazon Q App, removing it from the library so it can no longer be discovered or
used by other users.
|
DeleteQAppResult |
deleteQApp(DeleteQAppRequest request)
Deletes an Amazon Q App owned by the user.
|
DisassociateLibraryItemReviewResult |
disassociateLibraryItemReview(DisassociateLibraryItemReviewRequest request)
Removes a rating or review previously submitted by the user for a library item.
|
DisassociateQAppFromUserResult |
disassociateQAppFromUser(DisassociateQAppFromUserRequest request)
Disassociates a Q App from a user removing the user's access to run the Q App.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetLibraryItemResult |
getLibraryItem(GetLibraryItemRequest request)
Retrieves details about a library item for an Amazon Q App, including its metadata, categories, ratings, and
usage statistics.
|
GetQAppResult |
getQApp(GetQAppRequest request)
Retrieves the full details of an Q App, including its definition specifying the cards and flow.
|
GetQAppSessionResult |
getQAppSession(GetQAppSessionRequest request)
Retrieves the current state and results for an active session of an Amazon Q App.
|
ImportDocumentResult |
importDocument(ImportDocumentRequest request)
Uploads a file that can then be used either as a default in a
FileUploadCard from Q App definition
or as a file that is used inside a single Q App run. |
ListLibraryItemsResult |
listLibraryItems(ListLibraryItemsRequest request)
Lists the library items for Amazon Q Apps that are published and available for users in your Amazon Web Services
account.
|
ListQAppsResult |
listQApps(ListQAppsRequest request)
Lists the Amazon Q Apps owned by or associated with the user either because they created it or because they used
it from the library in the past.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists the tags associated with an Amazon Q Apps resource.
|
PredictQAppResult |
predictQApp(PredictQAppRequest request)
Generates an Amazon Q App definition based on either a conversation or a problem statement provided as input.The
resulting app definition can be used to call
CreateQApp. |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartQAppSessionResult |
startQAppSession(StartQAppSessionRequest request)
Starts a new session for an Amazon Q App, allowing inputs to be provided and the app to be run.
|
StopQAppSessionResult |
stopQAppSession(StopQAppSessionRequest request)
Stops an active session for an Amazon Q App.This deletes all data related to the session and makes it invalid for
future uses.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Associates tags with an Amazon Q Apps resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Disassociates tags from an Amazon Q Apps resource.
|
UpdateLibraryItemResult |
updateLibraryItem(UpdateLibraryItemRequest request)
Updates the metadata and status of a library item for an Amazon Q App.
|
UpdateQAppResult |
updateQApp(UpdateQAppRequest request)
Updates an existing Amazon Q App, allowing modifications to its title, description, and definition.
|
UpdateQAppSessionResult |
updateQAppSession(UpdateQAppSessionRequest request)
Updates the session for a given Q App
sessionId. |
public AssociateLibraryItemReviewResult associateLibraryItemReview(AssociateLibraryItemReviewRequest request)
AWSQAppsAssociates a rating or review for a library item with the user submitting the request. This increments the rating count for the specified library item.
associateLibraryItemReview in interface AWSQAppspublic AssociateQAppWithUserResult associateQAppWithUser(AssociateQAppWithUserRequest request)
AWSQAppsThis 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 favorite 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.
associateQAppWithUser in interface AWSQAppspublic CreateLibraryItemResult createLibraryItem(CreateLibraryItemRequest request)
AWSQAppsCreates a new library item for an Amazon Q App, allowing it to be discovered and used by other allowed users.
createLibraryItem in interface AWSQAppspublic CreateQAppResult createQApp(CreateQAppRequest request)
AWSQAppsCreates a new Amazon Q App based on the provided definition. The Q App definition specifies the cards and flow of the Q App. This operation also calculates the dependencies between the cards by inspecting the references in the prompts.
createQApp in interface AWSQAppspublic DeleteLibraryItemResult deleteLibraryItem(DeleteLibraryItemRequest request)
AWSQAppsDeletes a library item for an Amazon Q App, removing it from the library so it can no longer be discovered or used by other users.
deleteLibraryItem in interface AWSQAppspublic DeleteQAppResult deleteQApp(DeleteQAppRequest request)
AWSQAppsDeletes an Amazon Q App owned by the user. If the Q App was previously published to the library, it is also removed from the library.
deleteQApp in interface AWSQAppspublic DisassociateLibraryItemReviewResult disassociateLibraryItemReview(DisassociateLibraryItemReviewRequest request)
AWSQAppsRemoves a rating or review previously submitted by the user for a library item.
disassociateLibraryItemReview in interface AWSQAppspublic DisassociateQAppFromUserResult disassociateQAppFromUser(DisassociateQAppFromUserRequest request)
AWSQAppsDisassociates a Q App from a user removing the user's access to run the Q App.
disassociateQAppFromUser in interface AWSQAppspublic GetLibraryItemResult getLibraryItem(GetLibraryItemRequest request)
AWSQAppsRetrieves details about a library item for an Amazon Q App, including its metadata, categories, ratings, and usage statistics.
getLibraryItem in interface AWSQAppspublic GetQAppResult getQApp(GetQAppRequest request)
AWSQAppsRetrieves the full details of an Q App, including its definition specifying the cards and flow.
getQApp in interface AWSQAppspublic GetQAppSessionResult getQAppSession(GetQAppSessionRequest request)
AWSQAppsRetrieves the current state and results for an active session of an Amazon Q App.
getQAppSession in interface AWSQAppspublic ImportDocumentResult importDocument(ImportDocumentRequest request)
AWSQApps
Uploads a file that can then be used either as a default in a FileUploadCard from Q App definition
or as a file that is used inside a single Q App run. The purpose of the document is determined by a scope
parameter that indicates whether it is at the app definition level or at the app session level.
importDocument in interface AWSQAppspublic ListLibraryItemsResult listLibraryItems(ListLibraryItemsRequest request)
AWSQAppsLists the library items for Amazon Q Apps that are published and available for users in your Amazon Web Services account.
listLibraryItems in interface AWSQAppspublic ListQAppsResult listQApps(ListQAppsRequest request)
AWSQAppsLists the Amazon Q Apps owned by or associated with the user either because they created it or because they used it from the library in the past. The user identity is extracted from the credentials used to invoke this operation..
listQApps in interface AWSQAppspublic ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AWSQAppsLists the tags associated with an Amazon Q Apps resource.
listTagsForResource in interface AWSQAppspublic PredictQAppResult predictQApp(PredictQAppRequest request)
AWSQApps
Generates an Amazon Q App definition based on either a conversation or a problem statement provided as input.The
resulting app definition can be used to call CreateQApp. This API doesn't create Amazon Q Apps
directly.
predictQApp in interface AWSQAppspublic StartQAppSessionResult startQAppSession(StartQAppSessionRequest request)
AWSQAppsStarts a new session for an Amazon Q App, allowing inputs to be provided and the app to be run.
Each Q App session will be condensed into a single conversation in the web experience.
startQAppSession in interface AWSQAppspublic StopQAppSessionResult stopQAppSession(StopQAppSessionRequest request)
AWSQAppsStops 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.
stopQAppSession in interface AWSQAppspublic TagResourceResult tagResource(TagResourceRequest request)
AWSQAppsAssociates tags with an Amazon Q Apps resource.
tagResource in interface AWSQAppspublic UntagResourceResult untagResource(UntagResourceRequest request)
AWSQAppsDisassociates tags from an Amazon Q Apps resource.
untagResource in interface AWSQAppspublic UpdateLibraryItemResult updateLibraryItem(UpdateLibraryItemRequest request)
AWSQAppsUpdates the metadata and status of a library item for an Amazon Q App.
updateLibraryItem in interface AWSQAppspublic UpdateQAppResult updateQApp(UpdateQAppRequest request)
AWSQAppsUpdates an existing Amazon Q App, allowing modifications to its title, description, and definition.
updateQApp in interface AWSQAppspublic UpdateQAppSessionResult updateQAppSession(UpdateQAppSessionRequest request)
AWSQApps
Updates the session for a given Q App sessionId. This is only valid when at least one card of the
session is in the WAITING state. Data for each WAITING 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 WAITING status will be ignored.
updateQAppSession in interface AWSQAppspublic void shutdown()
AWSQAppspublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSQAppsResponse metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata in interface AWSQAppsrequest - The originally executed request.