@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)
AWSQApps
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.
associateLibraryItemReview
in interface AWSQApps
public AssociateQAppWithUserResult associateQAppWithUser(AssociateQAppWithUserRequest request)
AWSQApps
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 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 AWSQApps
public CreateLibraryItemResult createLibraryItem(CreateLibraryItemRequest request)
AWSQApps
Creates a new library item for an Amazon Q App, allowing it to be discovered and used by other allowed users.
createLibraryItem
in interface AWSQApps
public CreateQAppResult createQApp(CreateQAppRequest request)
AWSQApps
Creates 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 AWSQApps
public DeleteLibraryItemResult deleteLibraryItem(DeleteLibraryItemRequest request)
AWSQApps
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.
deleteLibraryItem
in interface AWSQApps
public DeleteQAppResult deleteQApp(DeleteQAppRequest request)
AWSQApps
Deletes 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 AWSQApps
public DisassociateLibraryItemReviewResult disassociateLibraryItemReview(DisassociateLibraryItemReviewRequest request)
AWSQApps
Removes a rating or review previously submitted by the user for a library item.
disassociateLibraryItemReview
in interface AWSQApps
public DisassociateQAppFromUserResult disassociateQAppFromUser(DisassociateQAppFromUserRequest request)
AWSQApps
Disassociates a Q App from a user removing the user's access to run the Q App.
disassociateQAppFromUser
in interface AWSQApps
public GetLibraryItemResult getLibraryItem(GetLibraryItemRequest request)
AWSQApps
Retrieves details about a library item for an Amazon Q App, including its metadata, categories, ratings, and usage statistics.
getLibraryItem
in interface AWSQApps
public GetQAppResult getQApp(GetQAppRequest request)
AWSQApps
Retrieves the full details of an Q App, including its definition specifying the cards and flow.
getQApp
in interface AWSQApps
public GetQAppSessionResult getQAppSession(GetQAppSessionRequest request)
AWSQApps
Retrieves the current state and results for an active session of an Amazon Q App.
getQAppSession
in interface AWSQApps
public 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 AWSQApps
public ListLibraryItemsResult listLibraryItems(ListLibraryItemsRequest request)
AWSQApps
Lists the library items for Amazon Q Apps that are published and available for users in your Amazon Web Services account.
listLibraryItems
in interface AWSQApps
public ListQAppsResult listQApps(ListQAppsRequest request)
AWSQApps
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. The user identity is extracted from the credentials used to invoke this operation..
listQApps
in interface AWSQApps
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AWSQApps
Lists the tags associated with an Amazon Q Apps resource.
listTagsForResource
in interface AWSQApps
public 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 AWSQApps
public StartQAppSessionResult startQAppSession(StartQAppSessionRequest request)
AWSQApps
Starts 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 AWSQApps
public StopQAppSessionResult stopQAppSession(StopQAppSessionRequest request)
AWSQApps
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.
stopQAppSession
in interface AWSQApps
public TagResourceResult tagResource(TagResourceRequest request)
AWSQApps
Associates tags with an Amazon Q Apps resource.
tagResource
in interface AWSQApps
public UntagResourceResult untagResource(UntagResourceRequest request)
AWSQApps
Disassociates tags from an Amazon Q Apps resource.
untagResource
in interface AWSQApps
public UpdateLibraryItemResult updateLibraryItem(UpdateLibraryItemRequest request)
AWSQApps
Updates the metadata and status of a library item for an Amazon Q App.
updateLibraryItem
in interface AWSQApps
public UpdateQAppResult updateQApp(UpdateQAppRequest request)
AWSQApps
Updates an existing Amazon Q App, allowing modifications to its title, description, and definition.
updateQApp
in interface AWSQApps
public 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 AWSQApps
public void shutdown()
AWSQApps
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSQApps
Response 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 AWSQApps
request
- The originally executed request.