listQApps

inline suspend fun QAppsClient.listQApps(crossinline block: ListQAppsRequest.Builder.() -> Unit): ListQAppsResponse

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..

Samples


fun main() { 
   //sampleStart 
   // List at most 3 Amazon Q Apps in an Q Business application
val resp = qAppsClient.listQApps {
    instanceId = "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f"
    limit = 3
} 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // Retrieve the next page of Amazon Q Apps
val resp = qAppsClient.listQApps {
    instanceId = "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f"
    limit = 3
    nextToken = "bXlzdGVyaW91c1BhZ2luYXRpb25Ub2tlbg=="
} 
   //sampleEnd
}