Skip to content

Commit

Permalink
feat(client-wisdom): QueryAssistant and GetRecommendations will be di…
Browse files Browse the repository at this point in the history
…scontinued 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.
  • Loading branch information
awstools committed Jan 10, 2024
1 parent 950e4a0 commit e7c58be
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ export interface GetRecommendationsCommandOutput extends GetRecommendationsRespo

/**
* @public
* @deprecated
*
* <p>Retrieves recommendations for the specified session. To avoid retrieving the same
* 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
* <code>waitTimeSeconds</code> parameter. Short poll is the default behavior and only returns
Expand Down
2 changes: 2 additions & 0 deletions clients/client-wisdom/src/commands/QueryAssistantCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ export interface QueryAssistantCommandOutput extends QueryAssistantResponse, __M

/**
* @public
* @deprecated
*
* <p>Performs a manual search against the specified assistant. To retrieve recommendations for
* an assistant, use <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetRecommendations.html">GetRecommendations</a>.
* </p>
Expand Down
6 changes: 6 additions & 0 deletions codegen/sdk-codegen/aws-models/wisdom.json
Original file line number Diff line number Diff line change
Expand Up @@ -2427,6 +2427,9 @@
}
],
"traits": {
"smithy.api#deprecated": {
"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."
},
"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>",
"smithy.api#http": {
"uri": "/assistants/{assistantId}/sessions/{sessionId}/recommendations",
Expand Down Expand Up @@ -3903,6 +3906,9 @@
}
],
"traits": {
"smithy.api#deprecated": {
"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."
},
"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>",
"smithy.api#http": {
"uri": "/assistants/{assistantId}/query",
Expand Down

0 comments on commit e7c58be

Please sign in to comment.