createLibraryItem
Creates a new library item for an Amazon Q App, allowing it to be discovered and used by other allowed users.
Samples
fun main() {
//sampleStart
// Create a Library Item
val resp = qAppsClient.createLibraryItem {
instanceId = "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f"
appId = "7a11f34b-42d4-4bc8-b668-ae4a788dae1e"
appVersion = 6
categories = listOf<String>(
"9c871ed4-1c41-4065-aefe-321cd4b61cf8"
)
}
//sampleEnd
}