@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.
Files changed (69) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/Wisdom.js +0 -15
  3. package/dist-cjs/commands/index.js +0 -1
  4. package/dist-cjs/models/models_0.js +3 -25
  5. package/dist-cjs/protocols/Aws_restJson1.js +2 -88
  6. package/dist-es/Wisdom.js +126 -148
  7. package/dist-es/WisdomClient.js +22 -28
  8. package/dist-es/commands/CreateAssistantAssociationCommand.js +21 -28
  9. package/dist-es/commands/CreateAssistantCommand.js +21 -28
  10. package/dist-es/commands/CreateContentCommand.js +21 -28
  11. package/dist-es/commands/CreateKnowledgeBaseCommand.js +21 -28
  12. package/dist-es/commands/CreateSessionCommand.js +21 -28
  13. package/dist-es/commands/DeleteAssistantAssociationCommand.js +21 -28
  14. package/dist-es/commands/DeleteAssistantCommand.js +21 -28
  15. package/dist-es/commands/DeleteContentCommand.js +21 -28
  16. package/dist-es/commands/DeleteKnowledgeBaseCommand.js +21 -28
  17. package/dist-es/commands/GetAssistantAssociationCommand.js +21 -28
  18. package/dist-es/commands/GetAssistantCommand.js +21 -28
  19. package/dist-es/commands/GetContentCommand.js +21 -28
  20. package/dist-es/commands/GetContentSummaryCommand.js +21 -28
  21. package/dist-es/commands/GetKnowledgeBaseCommand.js +21 -28
  22. package/dist-es/commands/GetRecommendationsCommand.js +21 -28
  23. package/dist-es/commands/GetSessionCommand.js +21 -28
  24. package/dist-es/commands/ListAssistantAssociationsCommand.js +21 -28
  25. package/dist-es/commands/ListAssistantsCommand.js +21 -28
  26. package/dist-es/commands/ListContentsCommand.js +21 -28
  27. package/dist-es/commands/ListKnowledgeBasesCommand.js +21 -28
  28. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  29. package/dist-es/commands/NotifyRecommendationsReceivedCommand.js +21 -28
  30. package/dist-es/commands/QueryAssistantCommand.js +21 -28
  31. package/dist-es/commands/RemoveKnowledgeBaseTemplateUriCommand.js +21 -28
  32. package/dist-es/commands/SearchContentCommand.js +21 -28
  33. package/dist-es/commands/SearchSessionsCommand.js +21 -28
  34. package/dist-es/commands/StartContentUploadCommand.js +21 -28
  35. package/dist-es/commands/TagResourceCommand.js +21 -28
  36. package/dist-es/commands/UntagResourceCommand.js +21 -28
  37. package/dist-es/commands/UpdateContentCommand.js +21 -28
  38. package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +21 -28
  39. package/dist-es/commands/index.js +0 -1
  40. package/dist-es/endpoints.js +8 -8
  41. package/dist-es/models/WisdomServiceException.js +5 -10
  42. package/dist-es/models/models_0.js +400 -217
  43. package/dist-es/pagination/ListAssistantAssociationsPaginator.js +25 -68
  44. package/dist-es/pagination/ListAssistantsPaginator.js +25 -68
  45. package/dist-es/pagination/ListContentsPaginator.js +25 -68
  46. package/dist-es/pagination/ListKnowledgeBasesPaginator.js +25 -68
  47. package/dist-es/pagination/QueryAssistantPaginator.js +25 -68
  48. package/dist-es/pagination/SearchContentPaginator.js +25 -68
  49. package/dist-es/pagination/SearchSessionsPaginator.js +25 -68
  50. package/dist-es/protocols/Aws_restJson1.js +2087 -3093
  51. package/dist-es/runtimeConfig.browser.js +26 -12
  52. package/dist-es/runtimeConfig.js +30 -12
  53. package/dist-es/runtimeConfig.native.js +8 -5
  54. package/dist-es/runtimeConfig.shared.js +8 -11
  55. package/dist-types/Wisdom.d.ts +0 -11
  56. package/dist-types/WisdomClient.d.ts +2 -3
  57. package/dist-types/commands/index.d.ts +0 -1
  58. package/dist-types/models/models_0.d.ts +0 -69
  59. package/dist-types/protocols/Aws_restJson1.d.ts +0 -3
  60. package/dist-types/ts3.4/Wisdom.d.ts +0 -17
  61. package/dist-types/ts3.4/WisdomClient.d.ts +0 -6
  62. package/dist-types/ts3.4/commands/index.d.ts +0 -1
  63. package/dist-types/ts3.4/models/models_0.d.ts +0 -31
  64. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -12
  65. package/package.json +33 -33
  66. package/dist-cjs/commands/PutFeedbackCommand.js +0 -36
  67. package/dist-es/commands/PutFeedbackCommand.js +0 -39
  68. package/dist-types/commands/PutFeedbackCommand.d.ts +0 -39
  69. 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
- }