Skip to content

Commit e7c58be

Browse files
author
awstools
committed
feat(client-wisdom): QueryAssistant and GetRecommendations will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024 you will need to create a new Assistant in the Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.
1 parent 950e4a0 commit e7c58be

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

clients/client-wisdom/src/commands/GetRecommendationsCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ export interface GetRecommendationsCommandOutput extends GetRecommendationsRespo
3232

3333
/**
3434
* @public
35+
* @deprecated
36+
*
3537
* <p>Retrieves recommendations for the specified session. To avoid retrieving the same
3638
* recommendations in subsequent calls, use <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_NotifyRecommendationsReceived.html">NotifyRecommendationsReceived</a>. This API supports long-polling behavior with the
3739
* <code>waitTimeSeconds</code> parameter. Short poll is the default behavior and only returns

clients/client-wisdom/src/commands/QueryAssistantCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ export interface QueryAssistantCommandOutput extends QueryAssistantResponse, __M
3333

3434
/**
3535
* @public
36+
* @deprecated
37+
*
3638
* <p>Performs a manual search against the specified assistant. To retrieve recommendations for
3739
* an assistant, use <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetRecommendations.html">GetRecommendations</a>.
3840
* </p>

codegen/sdk-codegen/aws-models/wisdom.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2427,6 +2427,9 @@
24272427
}
24282428
],
24292429
"traits": {
2430+
"smithy.api#deprecated": {
2431+
"message": "GetRecommendations API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024 you will need to create a new Assistant in the Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications."
2432+
},
24302433
"smithy.api#documentation": "<p>Retrieves recommendations for the specified session. To avoid retrieving the same\n recommendations in subsequent calls, use <a href=\"https://docs.aws.amazon.com/wisdom/latest/APIReference/API_NotifyRecommendationsReceived.html\">NotifyRecommendationsReceived</a>. This API supports long-polling behavior with the\n <code>waitTimeSeconds</code> parameter. Short poll is the default behavior and only returns\n recommendations already available. To perform a manual query against an assistant, use <a href=\"https://docs.aws.amazon.com/wisdom/latest/APIReference/API_QueryAssistant.html\">QueryAssistant</a>.</p>",
24312434
"smithy.api#http": {
24322435
"uri": "/assistants/{assistantId}/sessions/{sessionId}/recommendations",
@@ -3903,6 +3906,9 @@
39033906
}
39043907
],
39053908
"traits": {
3909+
"smithy.api#deprecated": {
3910+
"message": "QueryAssistant API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024 you will need to create a new Assistant in the Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications."
3911+
},
39063912
"smithy.api#documentation": "<p>Performs a manual search against the specified assistant. To retrieve recommendations for\n an assistant, use <a href=\"https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetRecommendations.html\">GetRecommendations</a>.\n </p>",
39073913
"smithy.api#http": {
39083914
"uri": "/assistants/{assistantId}/query",

0 commit comments

Comments
 (0)