Skip to content

Commit

Permalink
feat(client-qconnect): QueryAssistant and GetRecommendations will be …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
awstools committed Jan 10, 2024
1 parent 5696dd1 commit 27cbbe0
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/amazon-q-connect/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-qconnect/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/amazon-q-connect/latest/APIReference/API_GetRecommendations.html">GetRecommendations</a>.
* </p>
Expand Down
6 changes: 6 additions & 0 deletions codegen/sdk-codegen/aws-models/qconnect.json
Original file line number Diff line number Diff line change
Expand Up @@ -2642,6 +2642,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/amazon-q-connect/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/amazon-q-connect/latest/APIReference/API_QueryAssistant.html\">QueryAssistant</a>.</p>",
"smithy.api#http": {
"uri": "/assistants/{assistantId}/sessions/{sessionId}/recommendations",
Expand Down Expand Up @@ -4235,6 +4238,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/amazon-q-connect/latest/APIReference/API_GetRecommendations.html\">GetRecommendations</a>.\n </p>",
"smithy.api#http": {
"uri": "/assistants/{assistantId}/query",
Expand Down

0 comments on commit 27cbbe0

Please sign in to comment.