@aws-sdk/client-wisdom 3.187.0 → 3.190.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist-cjs/Wisdom.js +0 -15
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/models/models_0.js +3 -25
- package/dist-cjs/protocols/Aws_restJson1.js +2 -88
- package/dist-es/Wisdom.js +126 -148
- package/dist-es/WisdomClient.js +22 -28
- package/dist-es/commands/CreateAssistantAssociationCommand.js +21 -28
- package/dist-es/commands/CreateAssistantCommand.js +21 -28
- package/dist-es/commands/CreateContentCommand.js +21 -28
- package/dist-es/commands/CreateKnowledgeBaseCommand.js +21 -28
- package/dist-es/commands/CreateSessionCommand.js +21 -28
- package/dist-es/commands/DeleteAssistantAssociationCommand.js +21 -28
- package/dist-es/commands/DeleteAssistantCommand.js +21 -28
- package/dist-es/commands/DeleteContentCommand.js +21 -28
- package/dist-es/commands/DeleteKnowledgeBaseCommand.js +21 -28
- package/dist-es/commands/GetAssistantAssociationCommand.js +21 -28
- package/dist-es/commands/GetAssistantCommand.js +21 -28
- package/dist-es/commands/GetContentCommand.js +21 -28
- package/dist-es/commands/GetContentSummaryCommand.js +21 -28
- package/dist-es/commands/GetKnowledgeBaseCommand.js +21 -28
- package/dist-es/commands/GetRecommendationsCommand.js +21 -28
- package/dist-es/commands/GetSessionCommand.js +21 -28
- package/dist-es/commands/ListAssistantAssociationsCommand.js +21 -28
- package/dist-es/commands/ListAssistantsCommand.js +21 -28
- package/dist-es/commands/ListContentsCommand.js +21 -28
- package/dist-es/commands/ListKnowledgeBasesCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/NotifyRecommendationsReceivedCommand.js +21 -28
- package/dist-es/commands/QueryAssistantCommand.js +21 -28
- package/dist-es/commands/RemoveKnowledgeBaseTemplateUriCommand.js +21 -28
- package/dist-es/commands/SearchContentCommand.js +21 -28
- package/dist-es/commands/SearchSessionsCommand.js +21 -28
- package/dist-es/commands/StartContentUploadCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateContentCommand.js +21 -28
- package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +21 -28
- package/dist-es/commands/index.js +0 -1
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/WisdomServiceException.js +5 -10
- package/dist-es/models/models_0.js +400 -217
- package/dist-es/pagination/ListAssistantAssociationsPaginator.js +25 -68
- package/dist-es/pagination/ListAssistantsPaginator.js +25 -68
- package/dist-es/pagination/ListContentsPaginator.js +25 -68
- package/dist-es/pagination/ListKnowledgeBasesPaginator.js +25 -68
- package/dist-es/pagination/QueryAssistantPaginator.js +25 -68
- package/dist-es/pagination/SearchContentPaginator.js +25 -68
- package/dist-es/pagination/SearchSessionsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +2087 -3093
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-types/Wisdom.d.ts +0 -11
- package/dist-types/WisdomClient.d.ts +2 -3
- package/dist-types/commands/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +0 -69
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -3
- package/dist-types/ts3.4/Wisdom.d.ts +0 -17
- package/dist-types/ts3.4/WisdomClient.d.ts +0 -6
- package/dist-types/ts3.4/commands/index.d.ts +0 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -31
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -12
- package/package.json +33 -33
- package/dist-cjs/commands/PutFeedbackCommand.js +0 -36
- package/dist-es/commands/PutFeedbackCommand.js +0 -39
- package/dist-types/commands/PutFeedbackCommand.d.ts +0 -39
- package/dist-types/ts3.4/commands/PutFeedbackCommand.d.ts +0 -32
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { PutFeedbackRequest, PutFeedbackResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
-
export interface PutFeedbackCommandInput extends PutFeedbackRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface PutFeedbackCommandOutput extends PutFeedbackResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Submits feedback to Wisdom. The feedback is used to improve future recommendations from
|
|
11
|
-
* <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetRecommendations.html">GetRecommendations</a> or
|
|
12
|
-
* results from <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_QueryAssistant.html">QueryAssistant</a>.
|
|
13
|
-
* Feedback can be resubmitted up to 6 hours after submission.
|
|
14
|
-
* </p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { WisdomClient, PutFeedbackCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
19
|
-
* // const { WisdomClient, PutFeedbackCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
20
|
-
* const client = new WisdomClient(config);
|
|
21
|
-
* const command = new PutFeedbackCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link PutFeedbackCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link PutFeedbackCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
export declare class PutFeedbackCommand extends $Command<PutFeedbackCommandInput, PutFeedbackCommandOutput, WisdomClientResolvedConfig> {
|
|
31
|
-
readonly input: PutFeedbackCommandInput;
|
|
32
|
-
constructor(input: PutFeedbackCommandInput);
|
|
33
|
-
/**
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
36
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutFeedbackCommandInput, PutFeedbackCommandOutput>;
|
|
37
|
-
private serialize;
|
|
38
|
-
private deserialize;
|
|
39
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
Handler,
|
|
4
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
-
MetadataBearer as __MetadataBearer,
|
|
6
|
-
MiddlewareStack,
|
|
7
|
-
} from "@aws-sdk/types";
|
|
8
|
-
import { PutFeedbackRequest, PutFeedbackResponse } from "../models/models_0";
|
|
9
|
-
import {
|
|
10
|
-
ServiceInputTypes,
|
|
11
|
-
ServiceOutputTypes,
|
|
12
|
-
WisdomClientResolvedConfig,
|
|
13
|
-
} from "../WisdomClient";
|
|
14
|
-
export interface PutFeedbackCommandInput extends PutFeedbackRequest {}
|
|
15
|
-
export interface PutFeedbackCommandOutput
|
|
16
|
-
extends PutFeedbackResponse,
|
|
17
|
-
__MetadataBearer {}
|
|
18
|
-
export declare class PutFeedbackCommand extends $Command<
|
|
19
|
-
PutFeedbackCommandInput,
|
|
20
|
-
PutFeedbackCommandOutput,
|
|
21
|
-
WisdomClientResolvedConfig
|
|
22
|
-
> {
|
|
23
|
-
readonly input: PutFeedbackCommandInput;
|
|
24
|
-
constructor(input: PutFeedbackCommandInput);
|
|
25
|
-
resolveMiddleware(
|
|
26
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
27
|
-
configuration: WisdomClientResolvedConfig,
|
|
28
|
-
options?: __HttpHandlerOptions
|
|
29
|
-
): Handler<PutFeedbackCommandInput, PutFeedbackCommandOutput>;
|
|
30
|
-
private serialize;
|
|
31
|
-
private deserialize;
|
|
32
|
-
}
|