@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSQAppsAsync extends AbstractAWSQApps implements AWSQAppsAsync
AWSQAppsAsync
. Convenient method forms pass through to the corresponding overload
that takes a request object and an AsyncHandler
, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<AssociateLibraryItemReviewResult> |
associateLibraryItemReviewAsync(AssociateLibraryItemReviewRequest request)
Associates a rating or review for a library item with the user submitting the request.
|
Future<AssociateLibraryItemReviewResult> |
associateLibraryItemReviewAsync(AssociateLibraryItemReviewRequest request,
AsyncHandler<AssociateLibraryItemReviewRequest,AssociateLibraryItemReviewResult> asyncHandler)
Associates a rating or review for a library item with the user submitting the request.
|
Future<AssociateQAppWithUserResult> |
associateQAppWithUserAsync(AssociateQAppWithUserRequest request)
This operation creates a link between the user's identity calling the operation and a specific Q App.
|
Future<AssociateQAppWithUserResult> |
associateQAppWithUserAsync(AssociateQAppWithUserRequest request,
AsyncHandler<AssociateQAppWithUserRequest,AssociateQAppWithUserResult> asyncHandler)
This operation creates a link between the user's identity calling the operation and a specific Q App.
|
Future<CreateLibraryItemResult> |
createLibraryItemAsync(CreateLibraryItemRequest request)
Creates a new library item for an Amazon Q App, allowing it to be discovered and used by other allowed users.
|
Future<CreateLibraryItemResult> |
createLibraryItemAsync(CreateLibraryItemRequest request,
AsyncHandler<CreateLibraryItemRequest,CreateLibraryItemResult> asyncHandler)
Creates a new library item for an Amazon Q App, allowing it to be discovered and used by other allowed users.
|
Future<CreateQAppResult> |
createQAppAsync(CreateQAppRequest request)
Creates a new Amazon Q App based on the provided definition.
|
Future<CreateQAppResult> |
createQAppAsync(CreateQAppRequest request,
AsyncHandler<CreateQAppRequest,CreateQAppResult> asyncHandler)
Creates a new Amazon Q App based on the provided definition.
|
Future<DeleteLibraryItemResult> |
deleteLibraryItemAsync(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.
|
Future<DeleteLibraryItemResult> |
deleteLibraryItemAsync(DeleteLibraryItemRequest request,
AsyncHandler<DeleteLibraryItemRequest,DeleteLibraryItemResult> asyncHandler)
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.
|
Future<DeleteQAppResult> |
deleteQAppAsync(DeleteQAppRequest request)
Deletes an Amazon Q App owned by the user.
|
Future<DeleteQAppResult> |
deleteQAppAsync(DeleteQAppRequest request,
AsyncHandler<DeleteQAppRequest,DeleteQAppResult> asyncHandler)
Deletes an Amazon Q App owned by the user.
|
Future<DisassociateLibraryItemReviewResult> |
disassociateLibraryItemReviewAsync(DisassociateLibraryItemReviewRequest request)
Removes a rating or review previously submitted by the user for a library item.
|
Future<DisassociateLibraryItemReviewResult> |
disassociateLibraryItemReviewAsync(DisassociateLibraryItemReviewRequest request,
AsyncHandler<DisassociateLibraryItemReviewRequest,DisassociateLibraryItemReviewResult> asyncHandler)
Removes a rating or review previously submitted by the user for a library item.
|
Future<DisassociateQAppFromUserResult> |
disassociateQAppFromUserAsync(DisassociateQAppFromUserRequest request)
Disassociates a Q App from a user removing the user's access to run the Q App.
|
Future<DisassociateQAppFromUserResult> |
disassociateQAppFromUserAsync(DisassociateQAppFromUserRequest request,
AsyncHandler<DisassociateQAppFromUserRequest,DisassociateQAppFromUserResult> asyncHandler)
Disassociates a Q App from a user removing the user's access to run the Q App.
|
Future<GetLibraryItemResult> |
getLibraryItemAsync(GetLibraryItemRequest request)
Retrieves details about a library item for an Amazon Q App, including its metadata, categories, ratings, and
usage statistics.
|
Future<GetLibraryItemResult> |
getLibraryItemAsync(GetLibraryItemRequest request,
AsyncHandler<GetLibraryItemRequest,GetLibraryItemResult> asyncHandler)
Retrieves details about a library item for an Amazon Q App, including its metadata, categories, ratings, and
usage statistics.
|
Future<GetQAppResult> |
getQAppAsync(GetQAppRequest request)
Retrieves the full details of an Q App, including its definition specifying the cards and flow.
|
Future<GetQAppResult> |
getQAppAsync(GetQAppRequest request,
AsyncHandler<GetQAppRequest,GetQAppResult> asyncHandler)
Retrieves the full details of an Q App, including its definition specifying the cards and flow.
|
Future<GetQAppSessionResult> |
getQAppSessionAsync(GetQAppSessionRequest request)
Retrieves the current state and results for an active session of an Amazon Q App.
|
Future<GetQAppSessionResult> |
getQAppSessionAsync(GetQAppSessionRequest request,
AsyncHandler<GetQAppSessionRequest,GetQAppSessionResult> asyncHandler)
Retrieves the current state and results for an active session of an Amazon Q App.
|
Future<ImportDocumentResult> |
importDocumentAsync(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. |
Future<ImportDocumentResult> |
importDocumentAsync(ImportDocumentRequest request,
AsyncHandler<ImportDocumentRequest,ImportDocumentResult> asyncHandler)
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. |
Future<ListLibraryItemsResult> |
listLibraryItemsAsync(ListLibraryItemsRequest request)
Lists the library items for Amazon Q Apps that are published and available for users in your Amazon Web Services
account.
|
Future<ListLibraryItemsResult> |
listLibraryItemsAsync(ListLibraryItemsRequest request,
AsyncHandler<ListLibraryItemsRequest,ListLibraryItemsResult> asyncHandler)
Lists the library items for Amazon Q Apps that are published and available for users in your Amazon Web Services
account.
|
Future<ListQAppsResult> |
listQAppsAsync(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.
|
Future<ListQAppsResult> |
listQAppsAsync(ListQAppsRequest request,
AsyncHandler<ListQAppsRequest,ListQAppsResult> asyncHandler)
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.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest request)
Lists the tags associated with an Amazon Q Apps resource.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest request,
AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists the tags associated with an Amazon Q Apps resource.
|
Future<PredictQAppResult> |
predictQAppAsync(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 . |
Future<PredictQAppResult> |
predictQAppAsync(PredictQAppRequest request,
AsyncHandler<PredictQAppRequest,PredictQAppResult> asyncHandler)
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 . |
Future<StartQAppSessionResult> |
startQAppSessionAsync(StartQAppSessionRequest request)
Starts a new session for an Amazon Q App, allowing inputs to be provided and the app to be run.
|
Future<StartQAppSessionResult> |
startQAppSessionAsync(StartQAppSessionRequest request,
AsyncHandler<StartQAppSessionRequest,StartQAppSessionResult> asyncHandler)
Starts a new session for an Amazon Q App, allowing inputs to be provided and the app to be run.
|
Future<StopQAppSessionResult> |
stopQAppSessionAsync(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.
|
Future<StopQAppSessionResult> |
stopQAppSessionAsync(StopQAppSessionRequest request,
AsyncHandler<StopQAppSessionRequest,StopQAppSessionResult> asyncHandler)
Stops an active session for an Amazon Q App.This deletes all data related to the session and makes it invalid for
future uses.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest request)
Associates tags with an Amazon Q Apps resource.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest request,
AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Associates tags with an Amazon Q Apps resource.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest request)
Disassociates tags from an Amazon Q Apps resource.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest request,
AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Disassociates tags from an Amazon Q Apps resource.
|
Future<UpdateLibraryItemResult> |
updateLibraryItemAsync(UpdateLibraryItemRequest request)
Updates the metadata and status of a library item for an Amazon Q App.
|
Future<UpdateLibraryItemResult> |
updateLibraryItemAsync(UpdateLibraryItemRequest request,
AsyncHandler<UpdateLibraryItemRequest,UpdateLibraryItemResult> asyncHandler)
Updates the metadata and status of a library item for an Amazon Q App.
|
Future<UpdateQAppResult> |
updateQAppAsync(UpdateQAppRequest request)
Updates an existing Amazon Q App, allowing modifications to its title, description, and definition.
|
Future<UpdateQAppResult> |
updateQAppAsync(UpdateQAppRequest request,
AsyncHandler<UpdateQAppRequest,UpdateQAppResult> asyncHandler)
Updates an existing Amazon Q App, allowing modifications to its title, description, and definition.
|
Future<UpdateQAppSessionResult> |
updateQAppSessionAsync(UpdateQAppSessionRequest request)
Updates the session for a given Q App
sessionId . |
Future<UpdateQAppSessionResult> |
updateQAppSessionAsync(UpdateQAppSessionRequest request,
AsyncHandler<UpdateQAppSessionRequest,UpdateQAppSessionResult> asyncHandler)
Updates the session for a given Q App
sessionId . |
associateLibraryItemReview, associateQAppWithUser, createLibraryItem, createQApp, deleteLibraryItem, deleteQApp, disassociateLibraryItemReview, disassociateQAppFromUser, getCachedResponseMetadata, getLibraryItem, getQApp, getQAppSession, importDocument, listLibraryItems, listQApps, listTagsForResource, predictQApp, shutdown, startQAppSession, stopQAppSession, tagResource, untagResource, updateLibraryItem, updateQApp, updateQAppSession
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associateLibraryItemReview, associateQAppWithUser, createLibraryItem, createQApp, deleteLibraryItem, deleteQApp, disassociateLibraryItemReview, disassociateQAppFromUser, getCachedResponseMetadata, getLibraryItem, getQApp, getQAppSession, importDocument, listLibraryItems, listQApps, listTagsForResource, predictQApp, shutdown, startQAppSession, stopQAppSession, tagResource, untagResource, updateLibraryItem, updateQApp, updateQAppSession
public Future<AssociateLibraryItemReviewResult> associateLibraryItemReviewAsync(AssociateLibraryItemReviewRequest request)
AWSQAppsAsync
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.
associateLibraryItemReviewAsync
in interface AWSQAppsAsync
public Future<AssociateLibraryItemReviewResult> associateLibraryItemReviewAsync(AssociateLibraryItemReviewRequest request, AsyncHandler<AssociateLibraryItemReviewRequest,AssociateLibraryItemReviewResult> asyncHandler)
AWSQAppsAsync
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.
associateLibraryItemReviewAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AssociateQAppWithUserResult> associateQAppWithUserAsync(AssociateQAppWithUserRequest request)
AWSQAppsAsync
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.
associateQAppWithUserAsync
in interface AWSQAppsAsync
public Future<AssociateQAppWithUserResult> associateQAppWithUserAsync(AssociateQAppWithUserRequest request, AsyncHandler<AssociateQAppWithUserRequest,AssociateQAppWithUserResult> asyncHandler)
AWSQAppsAsync
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.
associateQAppWithUserAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateLibraryItemResult> createLibraryItemAsync(CreateLibraryItemRequest request)
AWSQAppsAsync
Creates a new library item for an Amazon Q App, allowing it to be discovered and used by other allowed users.
createLibraryItemAsync
in interface AWSQAppsAsync
public Future<CreateLibraryItemResult> createLibraryItemAsync(CreateLibraryItemRequest request, AsyncHandler<CreateLibraryItemRequest,CreateLibraryItemResult> asyncHandler)
AWSQAppsAsync
Creates a new library item for an Amazon Q App, allowing it to be discovered and used by other allowed users.
createLibraryItemAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateQAppResult> createQAppAsync(CreateQAppRequest request)
AWSQAppsAsync
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.
createQAppAsync
in interface AWSQAppsAsync
public Future<CreateQAppResult> createQAppAsync(CreateQAppRequest request, AsyncHandler<CreateQAppRequest,CreateQAppResult> asyncHandler)
AWSQAppsAsync
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.
createQAppAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteLibraryItemResult> deleteLibraryItemAsync(DeleteLibraryItemRequest request)
AWSQAppsAsync
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.
deleteLibraryItemAsync
in interface AWSQAppsAsync
public Future<DeleteLibraryItemResult> deleteLibraryItemAsync(DeleteLibraryItemRequest request, AsyncHandler<DeleteLibraryItemRequest,DeleteLibraryItemResult> asyncHandler)
AWSQAppsAsync
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.
deleteLibraryItemAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteQAppResult> deleteQAppAsync(DeleteQAppRequest request)
AWSQAppsAsync
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.
deleteQAppAsync
in interface AWSQAppsAsync
public Future<DeleteQAppResult> deleteQAppAsync(DeleteQAppRequest request, AsyncHandler<DeleteQAppRequest,DeleteQAppResult> asyncHandler)
AWSQAppsAsync
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.
deleteQAppAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DisassociateLibraryItemReviewResult> disassociateLibraryItemReviewAsync(DisassociateLibraryItemReviewRequest request)
AWSQAppsAsync
Removes a rating or review previously submitted by the user for a library item.
disassociateLibraryItemReviewAsync
in interface AWSQAppsAsync
public Future<DisassociateLibraryItemReviewResult> disassociateLibraryItemReviewAsync(DisassociateLibraryItemReviewRequest request, AsyncHandler<DisassociateLibraryItemReviewRequest,DisassociateLibraryItemReviewResult> asyncHandler)
AWSQAppsAsync
Removes a rating or review previously submitted by the user for a library item.
disassociateLibraryItemReviewAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DisassociateQAppFromUserResult> disassociateQAppFromUserAsync(DisassociateQAppFromUserRequest request)
AWSQAppsAsync
Disassociates a Q App from a user removing the user's access to run the Q App.
disassociateQAppFromUserAsync
in interface AWSQAppsAsync
public Future<DisassociateQAppFromUserResult> disassociateQAppFromUserAsync(DisassociateQAppFromUserRequest request, AsyncHandler<DisassociateQAppFromUserRequest,DisassociateQAppFromUserResult> asyncHandler)
AWSQAppsAsync
Disassociates a Q App from a user removing the user's access to run the Q App.
disassociateQAppFromUserAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetLibraryItemResult> getLibraryItemAsync(GetLibraryItemRequest request)
AWSQAppsAsync
Retrieves details about a library item for an Amazon Q App, including its metadata, categories, ratings, and usage statistics.
getLibraryItemAsync
in interface AWSQAppsAsync
public Future<GetLibraryItemResult> getLibraryItemAsync(GetLibraryItemRequest request, AsyncHandler<GetLibraryItemRequest,GetLibraryItemResult> asyncHandler)
AWSQAppsAsync
Retrieves details about a library item for an Amazon Q App, including its metadata, categories, ratings, and usage statistics.
getLibraryItemAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetQAppResult> getQAppAsync(GetQAppRequest request)
AWSQAppsAsync
Retrieves the full details of an Q App, including its definition specifying the cards and flow.
getQAppAsync
in interface AWSQAppsAsync
public Future<GetQAppResult> getQAppAsync(GetQAppRequest request, AsyncHandler<GetQAppRequest,GetQAppResult> asyncHandler)
AWSQAppsAsync
Retrieves the full details of an Q App, including its definition specifying the cards and flow.
getQAppAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetQAppSessionResult> getQAppSessionAsync(GetQAppSessionRequest request)
AWSQAppsAsync
Retrieves the current state and results for an active session of an Amazon Q App.
getQAppSessionAsync
in interface AWSQAppsAsync
public Future<GetQAppSessionResult> getQAppSessionAsync(GetQAppSessionRequest request, AsyncHandler<GetQAppSessionRequest,GetQAppSessionResult> asyncHandler)
AWSQAppsAsync
Retrieves the current state and results for an active session of an Amazon Q App.
getQAppSessionAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ImportDocumentResult> importDocumentAsync(ImportDocumentRequest request)
AWSQAppsAsync
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.
importDocumentAsync
in interface AWSQAppsAsync
public Future<ImportDocumentResult> importDocumentAsync(ImportDocumentRequest request, AsyncHandler<ImportDocumentRequest,ImportDocumentResult> asyncHandler)
AWSQAppsAsync
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.
importDocumentAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListLibraryItemsResult> listLibraryItemsAsync(ListLibraryItemsRequest request)
AWSQAppsAsync
Lists the library items for Amazon Q Apps that are published and available for users in your Amazon Web Services account.
listLibraryItemsAsync
in interface AWSQAppsAsync
public Future<ListLibraryItemsResult> listLibraryItemsAsync(ListLibraryItemsRequest request, AsyncHandler<ListLibraryItemsRequest,ListLibraryItemsResult> asyncHandler)
AWSQAppsAsync
Lists the library items for Amazon Q Apps that are published and available for users in your Amazon Web Services account.
listLibraryItemsAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListQAppsResult> listQAppsAsync(ListQAppsRequest request)
AWSQAppsAsync
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..
listQAppsAsync
in interface AWSQAppsAsync
public Future<ListQAppsResult> listQAppsAsync(ListQAppsRequest request, AsyncHandler<ListQAppsRequest,ListQAppsResult> asyncHandler)
AWSQAppsAsync
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..
listQAppsAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSQAppsAsync
Lists the tags associated with an Amazon Q Apps resource.
listTagsForResourceAsync
in interface AWSQAppsAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSQAppsAsync
Lists the tags associated with an Amazon Q Apps resource.
listTagsForResourceAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PredictQAppResult> predictQAppAsync(PredictQAppRequest request)
AWSQAppsAsync
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.
predictQAppAsync
in interface AWSQAppsAsync
public Future<PredictQAppResult> predictQAppAsync(PredictQAppRequest request, AsyncHandler<PredictQAppRequest,PredictQAppResult> asyncHandler)
AWSQAppsAsync
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.
predictQAppAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartQAppSessionResult> startQAppSessionAsync(StartQAppSessionRequest request)
AWSQAppsAsync
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.
startQAppSessionAsync
in interface AWSQAppsAsync
public Future<StartQAppSessionResult> startQAppSessionAsync(StartQAppSessionRequest request, AsyncHandler<StartQAppSessionRequest,StartQAppSessionResult> asyncHandler)
AWSQAppsAsync
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.
startQAppSessionAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopQAppSessionResult> stopQAppSessionAsync(StopQAppSessionRequest request)
AWSQAppsAsync
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.
stopQAppSessionAsync
in interface AWSQAppsAsync
public Future<StopQAppSessionResult> stopQAppSessionAsync(StopQAppSessionRequest request, AsyncHandler<StopQAppSessionRequest,StopQAppSessionResult> asyncHandler)
AWSQAppsAsync
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.
stopQAppSessionAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSQAppsAsync
Associates tags with an Amazon Q Apps resource.
tagResourceAsync
in interface AWSQAppsAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSQAppsAsync
Associates tags with an Amazon Q Apps resource.
tagResourceAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSQAppsAsync
Disassociates tags from an Amazon Q Apps resource.
untagResourceAsync
in interface AWSQAppsAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSQAppsAsync
Disassociates tags from an Amazon Q Apps resource.
untagResourceAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateLibraryItemResult> updateLibraryItemAsync(UpdateLibraryItemRequest request)
AWSQAppsAsync
Updates the metadata and status of a library item for an Amazon Q App.
updateLibraryItemAsync
in interface AWSQAppsAsync
public Future<UpdateLibraryItemResult> updateLibraryItemAsync(UpdateLibraryItemRequest request, AsyncHandler<UpdateLibraryItemRequest,UpdateLibraryItemResult> asyncHandler)
AWSQAppsAsync
Updates the metadata and status of a library item for an Amazon Q App.
updateLibraryItemAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateQAppResult> updateQAppAsync(UpdateQAppRequest request)
AWSQAppsAsync
Updates an existing Amazon Q App, allowing modifications to its title, description, and definition.
updateQAppAsync
in interface AWSQAppsAsync
public Future<UpdateQAppResult> updateQAppAsync(UpdateQAppRequest request, AsyncHandler<UpdateQAppRequest,UpdateQAppResult> asyncHandler)
AWSQAppsAsync
Updates an existing Amazon Q App, allowing modifications to its title, description, and definition.
updateQAppAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateQAppSessionResult> updateQAppSessionAsync(UpdateQAppSessionRequest request)
AWSQAppsAsync
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.
updateQAppSessionAsync
in interface AWSQAppsAsync
public Future<UpdateQAppSessionResult> updateQAppSessionAsync(UpdateQAppSessionRequest request, AsyncHandler<UpdateQAppSessionRequest,UpdateQAppSessionResult> asyncHandler)
AWSQAppsAsync
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.
updateQAppSessionAsync
in interface AWSQAppsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.