From b4bd7e1f07f2b0dec51ba5fc093dc1d09feb068d Mon Sep 17 00:00:00 2001 From: AWS <> Date: Thu, 5 Dec 2024 01:19:17 +0000 Subject: [PATCH] QBusiness Update: This release removes the deprecated UserId and UserGroups fields from SearchRelevantContent api's request parameters. --- .../next-release/feature-QBusiness-aebbaf0.json | 6 ++++++ .../resources/codegen-resources/service-2.json | 14 +------------- 2 files changed, 7 insertions(+), 13 deletions(-) create mode 100644 .changes/next-release/feature-QBusiness-aebbaf0.json diff --git a/.changes/next-release/feature-QBusiness-aebbaf0.json b/.changes/next-release/feature-QBusiness-aebbaf0.json new file mode 100644 index 00000000000..92187e942b9 --- /dev/null +++ b/.changes/next-release/feature-QBusiness-aebbaf0.json @@ -0,0 +1,6 @@ +{ + "type": "feature", + "category": "QBusiness", + "contributor": "", + "description": "This release removes the deprecated UserId and UserGroups fields from SearchRelevantContent api's request parameters." +} diff --git a/services/qbusiness/src/main/resources/codegen-resources/service-2.json b/services/qbusiness/src/main/resources/codegen-resources/service-2.json index cad3f65daf3..da91069559d 100644 --- a/services/qbusiness/src/main/resources/codegen-resources/service-2.json +++ b/services/qbusiness/src/main/resources/codegen-resources/service-2.json @@ -1102,7 +1102,7 @@ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], - "documentation":"
Searches for relevant content in a Q Business application based on a query. This operation takes a search query text, the Q Business application identifier, and optional filters (such as user ID, user groups, content source, and maximum results) as input. It returns a list of relevant content items, where each item includes the content text, the unique document identifier, the document title, the document URI, any relevant document attributes, and score attributes indicating the confidence level of the relevance.
" + "documentation":"Searches for relevant content in a Q Business application based on a query. This operation takes a search query text, the Q Business application identifier, and optional filters (such as content source and maximum results) as input. It returns a list of relevant content items, where each item includes the content text, the unique document identifier, the document title, the document URI, any relevant document attributes, and score attributes indicating the confidence level of the relevance.
" }, "StartDataSourceSyncJob":{ "name":"StartDataSourceSyncJob", @@ -7289,18 +7289,6 @@ "location":"uri", "locationName":"applicationId" }, - "userId":{ - "shape":"UserId", - "documentation":"The ID of the user performing the search. Used for access control.
", - "location":"querystring", - "locationName":"userId" - }, - "userGroups":{ - "shape":"UserGroups", - "documentation":"The groups the user belongs to. Used for access control.
", - "location":"querystring", - "locationName":"userGroups" - }, "queryText":{ "shape":"QueryText", "documentation":"The text to search for.
"