ListQApps
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..
Request Syntax
GET /apps.list?limit=limit
&nextToken=nextToken
HTTP/1.1
instance-id: instanceId
URI Request Parameters
The request uses the following URI parameters.
- instanceId
-
The unique identifier of the Amazon Q Business application environment instance.
Required: Yes
- limit
-
The maximum number of Q Apps to return in the response.
Valid Range: Minimum value of 1. Maximum value of 100.
- nextToken
-
The token to request the next page of results.
Length Constraints: Minimum length of 0. Maximum length of 300.
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"apps": [
{
"appArn": "string",
"appId": "string",
"canEdit": boolean,
"createdAt": "string",
"description": "string",
"isVerified": boolean,
"status": "string",
"title": "string"
}
],
"nextToken": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- apps
-
The list of Amazon Q Apps meeting the request criteria.
Type: Array of UserAppItem objects
- nextToken
-
The token to use to request the next page of results.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
- AccessDeniedException
-
The client is not authorized to perform the requested operation.
HTTP Status Code: 403
- InternalServerException
-
An internal service error occurred while processing the request.
HTTP Status Code: 500
- ThrottlingException
-
The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later.
HTTP Status Code: 429
- UnauthorizedException
-
The client is not authenticated or authorized to perform the requested operation.
HTTP Status Code: 401
- ValidationException
-
The input failed to satisfy the constraints specified by the service.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: