@aws-sdk/client-wisdom 3.35.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 +8 -0
- package/LICENSE +201 -0
- package/README.md +207 -0
- package/dist-cjs/Wisdom.js +480 -0
- package/dist-cjs/Wisdom.js.map +1 -0
- package/dist-cjs/WisdomClient.js +48 -0
- package/dist-cjs/WisdomClient.js.map +1 -0
- package/dist-cjs/commands/CreateAssistantAssociationCommand.js +63 -0
- package/dist-cjs/commands/CreateAssistantAssociationCommand.js.map +1 -0
- package/dist-cjs/commands/CreateAssistantCommand.js +61 -0
- package/dist-cjs/commands/CreateAssistantCommand.js.map +1 -0
- package/dist-cjs/commands/CreateContentCommand.js +62 -0
- package/dist-cjs/commands/CreateContentCommand.js.map +1 -0
- package/dist-cjs/commands/CreateKnowledgeBaseCommand.js +85 -0
- package/dist-cjs/commands/CreateKnowledgeBaseCommand.js.map +1 -0
- package/dist-cjs/commands/CreateSessionCommand.js +63 -0
- package/dist-cjs/commands/CreateSessionCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteAssistantAssociationCommand.js +61 -0
- package/dist-cjs/commands/DeleteAssistantAssociationCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteAssistantCommand.js +61 -0
- package/dist-cjs/commands/DeleteAssistantCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteContentCommand.js +61 -0
- package/dist-cjs/commands/DeleteContentCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteKnowledgeBaseCommand.js +68 -0
- package/dist-cjs/commands/DeleteKnowledgeBaseCommand.js.map +1 -0
- package/dist-cjs/commands/GetAssistantAssociationCommand.js +61 -0
- package/dist-cjs/commands/GetAssistantAssociationCommand.js.map +1 -0
- package/dist-cjs/commands/GetAssistantCommand.js +61 -0
- package/dist-cjs/commands/GetAssistantCommand.js.map +1 -0
- package/dist-cjs/commands/GetContentCommand.js +61 -0
- package/dist-cjs/commands/GetContentCommand.js.map +1 -0
- package/dist-cjs/commands/GetContentSummaryCommand.js +61 -0
- package/dist-cjs/commands/GetContentSummaryCommand.js.map +1 -0
- package/dist-cjs/commands/GetKnowledgeBaseCommand.js +61 -0
- package/dist-cjs/commands/GetKnowledgeBaseCommand.js.map +1 -0
- package/dist-cjs/commands/GetRecommendationsCommand.js +64 -0
- package/dist-cjs/commands/GetRecommendationsCommand.js.map +1 -0
- package/dist-cjs/commands/GetSessionCommand.js +61 -0
- package/dist-cjs/commands/GetSessionCommand.js.map +1 -0
- package/dist-cjs/commands/ListAssistantAssociationsCommand.js +61 -0
- package/dist-cjs/commands/ListAssistantAssociationsCommand.js.map +1 -0
- package/dist-cjs/commands/ListAssistantsCommand.js +61 -0
- package/dist-cjs/commands/ListAssistantsCommand.js.map +1 -0
- package/dist-cjs/commands/ListContentsCommand.js +61 -0
- package/dist-cjs/commands/ListContentsCommand.js.map +1 -0
- package/dist-cjs/commands/ListKnowledgeBasesCommand.js +61 -0
- package/dist-cjs/commands/ListKnowledgeBasesCommand.js.map +1 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +61 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
- package/dist-cjs/commands/NotifyRecommendationsReceivedCommand.js +63 -0
- package/dist-cjs/commands/NotifyRecommendationsReceivedCommand.js.map +1 -0
- package/dist-cjs/commands/QueryAssistantCommand.js +63 -0
- package/dist-cjs/commands/QueryAssistantCommand.js.map +1 -0
- package/dist-cjs/commands/RemoveKnowledgeBaseTemplateUriCommand.js +61 -0
- package/dist-cjs/commands/RemoveKnowledgeBaseTemplateUriCommand.js.map +1 -0
- package/dist-cjs/commands/SearchContentCommand.js +62 -0
- package/dist-cjs/commands/SearchContentCommand.js.map +1 -0
- package/dist-cjs/commands/SearchSessionsCommand.js +61 -0
- package/dist-cjs/commands/SearchSessionsCommand.js.map +1 -0
- package/dist-cjs/commands/StartContentUploadCommand.js +64 -0
- package/dist-cjs/commands/StartContentUploadCommand.js.map +1 -0
- package/dist-cjs/commands/TagResourceCommand.js +61 -0
- package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
- package/dist-cjs/commands/UntagResourceCommand.js +61 -0
- package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateContentCommand.js +61 -0
- package/dist-cjs/commands/UpdateContentCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateKnowledgeBaseTemplateUriCommand.js +66 -0
- package/dist-cjs/commands/UpdateKnowledgeBaseTemplateUriCommand.js.map +1 -0
- package/dist-cjs/endpoints.js +57 -0
- package/dist-cjs/endpoints.js.map +1 -0
- package/dist-cjs/index.js +46 -0
- package/dist-cjs/index.js.map +1 -0
- package/dist-cjs/models/index.js +5 -0
- package/dist-cjs/models/index.js.map +1 -0
- package/dist-cjs/models/models_0.js +989 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/dist-cjs/pagination/Interfaces.js +3 -0
- package/dist-cjs/pagination/Interfaces.js.map +1 -0
- package/dist-cjs/pagination/ListAssistantAssociationsPaginator.js +46 -0
- package/dist-cjs/pagination/ListAssistantAssociationsPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListAssistantsPaginator.js +46 -0
- package/dist-cjs/pagination/ListAssistantsPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListContentsPaginator.js +46 -0
- package/dist-cjs/pagination/ListContentsPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListKnowledgeBasesPaginator.js +46 -0
- package/dist-cjs/pagination/ListKnowledgeBasesPaginator.js.map +1 -0
- package/dist-cjs/pagination/QueryAssistantPaginator.js +46 -0
- package/dist-cjs/pagination/QueryAssistantPaginator.js.map +1 -0
- package/dist-cjs/pagination/SearchContentPaginator.js +46 -0
- package/dist-cjs/pagination/SearchContentPaginator.js.map +1 -0
- package/dist-cjs/pagination/SearchSessionsPaginator.js +46 -0
- package/dist-cjs/pagination/SearchSessionsPaginator.js.map +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +3717 -0
- package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/dist-cjs/runtimeConfig.js +47 -0
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/dist-cjs/runtimeConfig.native.js +20 -0
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/dist-es/Wisdom.js +476 -0
- package/dist-es/Wisdom.js.map +1 -0
- package/dist-es/WisdomClient.js +38 -0
- package/dist-es/WisdomClient.js.map +1 -0
- package/dist-es/commands/CreateAssistantAssociationCommand.js +40 -0
- package/dist-es/commands/CreateAssistantAssociationCommand.js.map +1 -0
- package/dist-es/commands/CreateAssistantCommand.js +40 -0
- package/dist-es/commands/CreateAssistantCommand.js.map +1 -0
- package/dist-es/commands/CreateContentCommand.js +40 -0
- package/dist-es/commands/CreateContentCommand.js.map +1 -0
- package/dist-es/commands/CreateKnowledgeBaseCommand.js +40 -0
- package/dist-es/commands/CreateKnowledgeBaseCommand.js.map +1 -0
- package/dist-es/commands/CreateSessionCommand.js +40 -0
- package/dist-es/commands/CreateSessionCommand.js.map +1 -0
- package/dist-es/commands/DeleteAssistantAssociationCommand.js +40 -0
- package/dist-es/commands/DeleteAssistantAssociationCommand.js.map +1 -0
- package/dist-es/commands/DeleteAssistantCommand.js +40 -0
- package/dist-es/commands/DeleteAssistantCommand.js.map +1 -0
- package/dist-es/commands/DeleteContentCommand.js +40 -0
- package/dist-es/commands/DeleteContentCommand.js.map +1 -0
- package/dist-es/commands/DeleteKnowledgeBaseCommand.js +40 -0
- package/dist-es/commands/DeleteKnowledgeBaseCommand.js.map +1 -0
- package/dist-es/commands/GetAssistantAssociationCommand.js +40 -0
- package/dist-es/commands/GetAssistantAssociationCommand.js.map +1 -0
- package/dist-es/commands/GetAssistantCommand.js +40 -0
- package/dist-es/commands/GetAssistantCommand.js.map +1 -0
- package/dist-es/commands/GetContentCommand.js +40 -0
- package/dist-es/commands/GetContentCommand.js.map +1 -0
- package/dist-es/commands/GetContentSummaryCommand.js +40 -0
- package/dist-es/commands/GetContentSummaryCommand.js.map +1 -0
- package/dist-es/commands/GetKnowledgeBaseCommand.js +40 -0
- package/dist-es/commands/GetKnowledgeBaseCommand.js.map +1 -0
- package/dist-es/commands/GetRecommendationsCommand.js +40 -0
- package/dist-es/commands/GetRecommendationsCommand.js.map +1 -0
- package/dist-es/commands/GetSessionCommand.js +40 -0
- package/dist-es/commands/GetSessionCommand.js.map +1 -0
- package/dist-es/commands/ListAssistantAssociationsCommand.js +40 -0
- package/dist-es/commands/ListAssistantAssociationsCommand.js.map +1 -0
- package/dist-es/commands/ListAssistantsCommand.js +40 -0
- package/dist-es/commands/ListAssistantsCommand.js.map +1 -0
- package/dist-es/commands/ListContentsCommand.js +40 -0
- package/dist-es/commands/ListContentsCommand.js.map +1 -0
- package/dist-es/commands/ListKnowledgeBasesCommand.js +40 -0
- package/dist-es/commands/ListKnowledgeBasesCommand.js.map +1 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +40 -0
- package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
- package/dist-es/commands/NotifyRecommendationsReceivedCommand.js +40 -0
- package/dist-es/commands/NotifyRecommendationsReceivedCommand.js.map +1 -0
- package/dist-es/commands/QueryAssistantCommand.js +40 -0
- package/dist-es/commands/QueryAssistantCommand.js.map +1 -0
- package/dist-es/commands/RemoveKnowledgeBaseTemplateUriCommand.js +40 -0
- package/dist-es/commands/RemoveKnowledgeBaseTemplateUriCommand.js.map +1 -0
- package/dist-es/commands/SearchContentCommand.js +40 -0
- package/dist-es/commands/SearchContentCommand.js.map +1 -0
- package/dist-es/commands/SearchSessionsCommand.js +40 -0
- package/dist-es/commands/SearchSessionsCommand.js.map +1 -0
- package/dist-es/commands/StartContentUploadCommand.js +40 -0
- package/dist-es/commands/StartContentUploadCommand.js.map +1 -0
- package/dist-es/commands/TagResourceCommand.js +40 -0
- package/dist-es/commands/TagResourceCommand.js.map +1 -0
- package/dist-es/commands/UntagResourceCommand.js +40 -0
- package/dist-es/commands/UntagResourceCommand.js.map +1 -0
- package/dist-es/commands/UpdateContentCommand.js +40 -0
- package/dist-es/commands/UpdateContentCommand.js.map +1 -0
- package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +40 -0
- package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js.map +1 -0
- package/dist-es/endpoints.js +53 -0
- package/dist-es/endpoints.js.map +1 -0
- package/dist-es/index.js +43 -0
- package/dist-es/index.js.map +1 -0
- package/dist-es/models/index.js +2 -0
- package/dist-es/models/index.js.map +1 -0
- package/dist-es/models/models_0.js +495 -0
- package/dist-es/models/models_0.js.map +1 -0
- package/dist-es/pagination/Interfaces.js +2 -0
- package/dist-es/pagination/Interfaces.js.map +1 -0
- package/dist-es/pagination/ListAssistantAssociationsPaginator.js +75 -0
- package/dist-es/pagination/ListAssistantAssociationsPaginator.js.map +1 -0
- package/dist-es/pagination/ListAssistantsPaginator.js +75 -0
- package/dist-es/pagination/ListAssistantsPaginator.js.map +1 -0
- package/dist-es/pagination/ListContentsPaginator.js +75 -0
- package/dist-es/pagination/ListContentsPaginator.js.map +1 -0
- package/dist-es/pagination/ListKnowledgeBasesPaginator.js +75 -0
- package/dist-es/pagination/ListKnowledgeBasesPaginator.js.map +1 -0
- package/dist-es/pagination/QueryAssistantPaginator.js +75 -0
- package/dist-es/pagination/QueryAssistantPaginator.js.map +1 -0
- package/dist-es/pagination/SearchContentPaginator.js +75 -0
- package/dist-es/pagination/SearchContentPaginator.js.map +1 -0
- package/dist-es/pagination/SearchSessionsPaginator.js +75 -0
- package/dist-es/pagination/SearchSessionsPaginator.js.map +1 -0
- package/dist-es/protocols/Aws_restJson1.js +4214 -0
- package/dist-es/protocols/Aws_restJson1.js.map +1 -0
- package/dist-es/runtimeConfig.browser.js +17 -0
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/dist-es/runtimeConfig.js +22 -0
- package/dist-es/runtimeConfig.js.map +1 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- package/dist-types/Wisdom.d.ts +280 -0
- package/dist-types/WisdomClient.d.ts +167 -0
- package/dist-types/commands/CreateAssistantAssociationCommand.d.ts +37 -0
- package/dist-types/commands/CreateAssistantCommand.d.ts +35 -0
- package/dist-types/commands/CreateContentCommand.d.ts +36 -0
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +59 -0
- package/dist-types/commands/CreateSessionCommand.d.ts +37 -0
- package/dist-types/commands/DeleteAssistantAssociationCommand.d.ts +35 -0
- package/dist-types/commands/DeleteAssistantCommand.d.ts +35 -0
- package/dist-types/commands/DeleteContentCommand.d.ts +35 -0
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +42 -0
- package/dist-types/commands/GetAssistantAssociationCommand.d.ts +35 -0
- package/dist-types/commands/GetAssistantCommand.d.ts +35 -0
- package/dist-types/commands/GetContentCommand.d.ts +35 -0
- package/dist-types/commands/GetContentSummaryCommand.d.ts +35 -0
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +35 -0
- package/dist-types/commands/GetRecommendationsCommand.d.ts +38 -0
- package/dist-types/commands/GetSessionCommand.d.ts +35 -0
- package/dist-types/commands/ListAssistantAssociationsCommand.d.ts +35 -0
- package/dist-types/commands/ListAssistantsCommand.d.ts +35 -0
- package/dist-types/commands/ListContentsCommand.d.ts +35 -0
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/NotifyRecommendationsReceivedCommand.d.ts +37 -0
- package/dist-types/commands/QueryAssistantCommand.d.ts +37 -0
- package/dist-types/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +35 -0
- package/dist-types/commands/SearchContentCommand.d.ts +36 -0
- package/dist-types/commands/SearchSessionsCommand.d.ts +35 -0
- package/dist-types/commands/StartContentUploadCommand.d.ts +38 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateContentCommand.d.ts +35 -0
- package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +40 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +42 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2073 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListAssistantAssociationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListAssistantsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListContentsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListKnowledgeBasesPaginator.d.ts +4 -0
- package/dist-types/pagination/QueryAssistantPaginator.d.ts +4 -0
- package/dist-types/pagination/SearchContentPaginator.d.ts +4 -0
- package/dist-types/pagination/SearchSessionsPaginator.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +95 -0
- package/dist-types/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/runtimeConfig.d.ts +37 -0
- package/dist-types/runtimeConfig.native.d.ts +36 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/Wisdom.d.ts +280 -0
- package/dist-types/ts3.4/WisdomClient.d.ts +167 -0
- package/dist-types/ts3.4/commands/CreateAssistantAssociationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateAssistantCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateContentCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +59 -0
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteAssistantAssociationCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteAssistantCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteContentCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAssistantAssociationCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetAssistantCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetContentCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetContentSummaryCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetKnowledgeBaseCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetRecommendationsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListAssistantAssociationsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListAssistantsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListContentsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/NotifyRecommendationsReceivedCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/QueryAssistantCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/SearchContentCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/SearchSessionsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/StartContentUploadCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateContentCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +40 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +42 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2082 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAssistantAssociationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListAssistantsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListContentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListKnowledgeBasesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/QueryAssistantPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/SearchContentPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/SearchSessionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -0
- package/jest.config.js +4 -0
- package/package.json +93 -0
- package/src/Wisdom.ts +1175 -0
- package/src/WisdomClient.ts +363 -0
- package/src/commands/CreateAssistantAssociationCommand.ts +100 -0
- package/src/commands/CreateAssistantCommand.ts +95 -0
- package/src/commands/CreateContentCommand.ts +96 -0
- package/src/commands/CreateKnowledgeBaseCommand.ts +119 -0
- package/src/commands/CreateSessionCommand.ts +97 -0
- package/src/commands/DeleteAssistantAssociationCommand.ts +98 -0
- package/src/commands/DeleteAssistantCommand.ts +95 -0
- package/src/commands/DeleteContentCommand.ts +95 -0
- package/src/commands/DeleteKnowledgeBaseCommand.ts +102 -0
- package/src/commands/GetAssistantAssociationCommand.ts +95 -0
- package/src/commands/GetAssistantCommand.ts +95 -0
- package/src/commands/GetContentCommand.ts +95 -0
- package/src/commands/GetContentSummaryCommand.ts +95 -0
- package/src/commands/GetKnowledgeBaseCommand.ts +95 -0
- package/src/commands/GetRecommendationsCommand.ts +98 -0
- package/src/commands/GetSessionCommand.ts +95 -0
- package/src/commands/ListAssistantAssociationsCommand.ts +98 -0
- package/src/commands/ListAssistantsCommand.ts +95 -0
- package/src/commands/ListContentsCommand.ts +95 -0
- package/src/commands/ListKnowledgeBasesCommand.ts +95 -0
- package/src/commands/ListTagsForResourceCommand.ts +95 -0
- package/src/commands/NotifyRecommendationsReceivedCommand.ts +102 -0
- package/src/commands/QueryAssistantCommand.ts +97 -0
- package/src/commands/RemoveKnowledgeBaseTemplateUriCommand.ts +103 -0
- package/src/commands/SearchContentCommand.ts +96 -0
- package/src/commands/SearchSessionsCommand.ts +95 -0
- package/src/commands/StartContentUploadCommand.ts +98 -0
- package/src/commands/TagResourceCommand.ts +95 -0
- package/src/commands/UntagResourceCommand.ts +95 -0
- package/src/commands/UpdateContentCommand.ts +95 -0
- package/src/commands/UpdateKnowledgeBaseTemplateUriCommand.ts +108 -0
- package/src/endpoints.ts +57 -0
- package/src/index.ts +42 -0
- package/src/models/index.ts +1 -0
- package/src/models/models_0.ts +2662 -0
- package/src/pagination/Interfaces.ts +8 -0
- package/src/pagination/ListAssistantAssociationsPaginator.ts +59 -0
- package/src/pagination/ListAssistantsPaginator.ts +59 -0
- package/src/pagination/ListContentsPaginator.ts +59 -0
- package/src/pagination/ListKnowledgeBasesPaginator.ts +59 -0
- package/src/pagination/QueryAssistantPaginator.ts +59 -0
- package/src/pagination/SearchContentPaginator.ts +59 -0
- package/src/pagination/SearchSessionsPaginator.ts +59 -0
- package/src/protocols/Aws_restJson1.ts +4293 -0
- package/src/runtimeConfig.browser.ts +41 -0
- package/src/runtimeConfig.native.ts +17 -0
- package/src/runtimeConfig.shared.ts +17 -0
- package/src/runtimeConfig.ts +46 -0
- package/tsconfig.es.json +10 -0
- package/tsconfig.json +33 -0
- package/tsconfig.types.json +9 -0
|
@@ -0,0 +1,37 @@
|
|
|
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 { NotifyRecommendationsReceivedRequest, NotifyRecommendationsReceivedResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface NotifyRecommendationsReceivedCommandInput extends NotifyRecommendationsReceivedRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface NotifyRecommendationsReceivedCommandOutput extends NotifyRecommendationsReceivedResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Removes the specified recommendations from the specified assistant's queue of newly
|
|
11
|
+
* available recommendations. You can use this API in conjunction with <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetRecommendations.html">GetRecommendations</a> and a <code>waitTimeSeconds</code> input for long-polling
|
|
12
|
+
* behavior and avoiding duplicate recommendations.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { WisdomClient, NotifyRecommendationsReceivedCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
17
|
+
* // const { WisdomClient, NotifyRecommendationsReceivedCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
18
|
+
* const client = new WisdomClient(config);
|
|
19
|
+
* const command = new NotifyRecommendationsReceivedCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link NotifyRecommendationsReceivedCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link NotifyRecommendationsReceivedCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class NotifyRecommendationsReceivedCommand extends $Command<NotifyRecommendationsReceivedCommandInput, NotifyRecommendationsReceivedCommandOutput, WisdomClientResolvedConfig> {
|
|
29
|
+
readonly input: NotifyRecommendationsReceivedCommandInput;
|
|
30
|
+
constructor(input: NotifyRecommendationsReceivedCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<NotifyRecommendationsReceivedCommandInput, NotifyRecommendationsReceivedCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { QueryAssistantRequest, QueryAssistantResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface QueryAssistantCommandInput extends QueryAssistantRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface QueryAssistantCommandOutput extends QueryAssistantResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Performs a manual search against the specified assistant. To retrieve recommendations for
|
|
11
|
+
* an assistant, use <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetRecommendations.html">GetRecommendations</a>.
|
|
12
|
+
* </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { WisdomClient, QueryAssistantCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
17
|
+
* // const { WisdomClient, QueryAssistantCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
18
|
+
* const client = new WisdomClient(config);
|
|
19
|
+
* const command = new QueryAssistantCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link QueryAssistantCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link QueryAssistantCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class QueryAssistantCommand extends $Command<QueryAssistantCommandInput, QueryAssistantCommandOutput, WisdomClientResolvedConfig> {
|
|
29
|
+
readonly input: QueryAssistantCommandInput;
|
|
30
|
+
constructor(input: QueryAssistantCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<QueryAssistantCommandInput, QueryAssistantCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { RemoveKnowledgeBaseTemplateUriRequest, RemoveKnowledgeBaseTemplateUriResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface RemoveKnowledgeBaseTemplateUriCommandInput extends RemoveKnowledgeBaseTemplateUriRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface RemoveKnowledgeBaseTemplateUriCommandOutput extends RemoveKnowledgeBaseTemplateUriResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Removes a URI template from a knowledge base.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { WisdomClient, RemoveKnowledgeBaseTemplateUriCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
15
|
+
* // const { WisdomClient, RemoveKnowledgeBaseTemplateUriCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
16
|
+
* const client = new WisdomClient(config);
|
|
17
|
+
* const command = new RemoveKnowledgeBaseTemplateUriCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link RemoveKnowledgeBaseTemplateUriCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link RemoveKnowledgeBaseTemplateUriCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class RemoveKnowledgeBaseTemplateUriCommand extends $Command<RemoveKnowledgeBaseTemplateUriCommandInput, RemoveKnowledgeBaseTemplateUriCommandOutput, WisdomClientResolvedConfig> {
|
|
27
|
+
readonly input: RemoveKnowledgeBaseTemplateUriCommandInput;
|
|
28
|
+
constructor(input: RemoveKnowledgeBaseTemplateUriCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RemoveKnowledgeBaseTemplateUriCommandInput, RemoveKnowledgeBaseTemplateUriCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { SearchContentRequest, SearchContentResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface SearchContentCommandInput extends SearchContentRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SearchContentCommandOutput extends SearchContentResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Searches for content in a specified knowledge base. Can be used to get a specific content
|
|
11
|
+
* resource by its name.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { WisdomClient, SearchContentCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
16
|
+
* // const { WisdomClient, SearchContentCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
17
|
+
* const client = new WisdomClient(config);
|
|
18
|
+
* const command = new SearchContentCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link SearchContentCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link SearchContentCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class SearchContentCommand extends $Command<SearchContentCommandInput, SearchContentCommandOutput, WisdomClientResolvedConfig> {
|
|
28
|
+
readonly input: SearchContentCommandInput;
|
|
29
|
+
constructor(input: SearchContentCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchContentCommandInput, SearchContentCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { SearchSessionsRequest, SearchSessionsResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface SearchSessionsCommandInput extends SearchSessionsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SearchSessionsCommandOutput extends SearchSessionsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Searches for sessions.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { WisdomClient, SearchSessionsCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
15
|
+
* // const { WisdomClient, SearchSessionsCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
16
|
+
* const client = new WisdomClient(config);
|
|
17
|
+
* const command = new SearchSessionsCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link SearchSessionsCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link SearchSessionsCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class SearchSessionsCommand extends $Command<SearchSessionsCommandInput, SearchSessionsCommandOutput, WisdomClientResolvedConfig> {
|
|
27
|
+
readonly input: SearchSessionsCommandInput;
|
|
28
|
+
constructor(input: SearchSessionsCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchSessionsCommandInput, SearchSessionsCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { StartContentUploadRequest, StartContentUploadResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface StartContentUploadCommandInput extends StartContentUploadRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface StartContentUploadCommandOutput extends StartContentUploadResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Get a URL to upload content to a knowledge base. To upload content, first make a PUT
|
|
11
|
+
* request to the returned URL with your file, making sure to include the required headers. Then
|
|
12
|
+
* use <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_CreateContent.html">CreateContent</a> to finalize the content creation process or <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_UpdateContent.html">UpdateContent</a> to modify an existing resource. You can only upload content to a
|
|
13
|
+
* knowledge base of type CUSTOM.</p>
|
|
14
|
+
* @example
|
|
15
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
+
* ```javascript
|
|
17
|
+
* import { WisdomClient, StartContentUploadCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
18
|
+
* // const { WisdomClient, StartContentUploadCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
19
|
+
* const client = new WisdomClient(config);
|
|
20
|
+
* const command = new StartContentUploadCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link StartContentUploadCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link StartContentUploadCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class StartContentUploadCommand extends $Command<StartContentUploadCommandInput, StartContentUploadCommandOutput, WisdomClientResolvedConfig> {
|
|
30
|
+
readonly input: StartContentUploadCommandInput;
|
|
31
|
+
constructor(input: StartContentUploadCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartContentUploadCommandInput, StartContentUploadCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Adds the specified tags to the specified resource.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { WisdomClient, TagResourceCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
15
|
+
* // const { WisdomClient, TagResourceCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
16
|
+
* const client = new WisdomClient(config);
|
|
17
|
+
* const command = new TagResourceCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, WisdomClientResolvedConfig> {
|
|
27
|
+
readonly input: TagResourceCommandInput;
|
|
28
|
+
constructor(input: TagResourceCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Removes the specified tags from the specified resource.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { WisdomClient, UntagResourceCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
15
|
+
* // const { WisdomClient, UntagResourceCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
16
|
+
* const client = new WisdomClient(config);
|
|
17
|
+
* const command = new UntagResourceCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, WisdomClientResolvedConfig> {
|
|
27
|
+
readonly input: UntagResourceCommandInput;
|
|
28
|
+
constructor(input: UntagResourceCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { UpdateContentRequest, UpdateContentResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface UpdateContentCommandInput extends UpdateContentRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateContentCommandOutput extends UpdateContentResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates information about the content.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { WisdomClient, UpdateContentCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
15
|
+
* // const { WisdomClient, UpdateContentCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
16
|
+
* const client = new WisdomClient(config);
|
|
17
|
+
* const command = new UpdateContentCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdateContentCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdateContentCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdateContentCommand extends $Command<UpdateContentCommandInput, UpdateContentCommandOutput, WisdomClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdateContentCommandInput;
|
|
28
|
+
constructor(input: UpdateContentCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateContentCommandInput, UpdateContentCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { UpdateKnowledgeBaseTemplateUriRequest, UpdateKnowledgeBaseTemplateUriResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface UpdateKnowledgeBaseTemplateUriCommandInput extends UpdateKnowledgeBaseTemplateUriRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateKnowledgeBaseTemplateUriCommandOutput extends UpdateKnowledgeBaseTemplateUriResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates the template URI of a knowledge base. This is only supported for knowledge bases
|
|
11
|
+
* of type EXTERNAL. Include a single variable in <code>${variable}</code> format; this
|
|
12
|
+
* interpolated by Wisdom using ingested content. For example, if you ingest a Salesforce
|
|
13
|
+
* article, it has an <code>Id</code> value, and you can set the template URI to
|
|
14
|
+
* <code>https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*${Id}*\/view</code>.
|
|
15
|
+
* </p>
|
|
16
|
+
* @example
|
|
17
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
+
* ```javascript
|
|
19
|
+
* import { WisdomClient, UpdateKnowledgeBaseTemplateUriCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
20
|
+
* // const { WisdomClient, UpdateKnowledgeBaseTemplateUriCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
21
|
+
* const client = new WisdomClient(config);
|
|
22
|
+
* const command = new UpdateKnowledgeBaseTemplateUriCommand(input);
|
|
23
|
+
* const response = await client.send(command);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @see {@link UpdateKnowledgeBaseTemplateUriCommandInput} for command's `input` shape.
|
|
27
|
+
* @see {@link UpdateKnowledgeBaseTemplateUriCommandOutput} for command's `response` shape.
|
|
28
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
export declare class UpdateKnowledgeBaseTemplateUriCommand extends $Command<UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput, WisdomClientResolvedConfig> {
|
|
32
|
+
readonly input: UpdateKnowledgeBaseTemplateUriCommandInput;
|
|
33
|
+
constructor(input: UpdateKnowledgeBaseTemplateUriCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export * from "./WisdomClient";
|
|
2
|
+
export * from "./Wisdom";
|
|
3
|
+
export * from "./commands/CreateAssistantCommand";
|
|
4
|
+
export * from "./commands/CreateAssistantAssociationCommand";
|
|
5
|
+
export * from "./commands/CreateContentCommand";
|
|
6
|
+
export * from "./commands/CreateKnowledgeBaseCommand";
|
|
7
|
+
export * from "./commands/CreateSessionCommand";
|
|
8
|
+
export * from "./commands/DeleteAssistantCommand";
|
|
9
|
+
export * from "./commands/DeleteAssistantAssociationCommand";
|
|
10
|
+
export * from "./commands/DeleteContentCommand";
|
|
11
|
+
export * from "./commands/DeleteKnowledgeBaseCommand";
|
|
12
|
+
export * from "./commands/GetAssistantCommand";
|
|
13
|
+
export * from "./commands/GetAssistantAssociationCommand";
|
|
14
|
+
export * from "./commands/GetContentCommand";
|
|
15
|
+
export * from "./commands/GetContentSummaryCommand";
|
|
16
|
+
export * from "./commands/GetKnowledgeBaseCommand";
|
|
17
|
+
export * from "./commands/GetRecommendationsCommand";
|
|
18
|
+
export * from "./commands/GetSessionCommand";
|
|
19
|
+
export * from "./commands/ListAssistantAssociationsCommand";
|
|
20
|
+
export * from "./pagination/ListAssistantAssociationsPaginator";
|
|
21
|
+
export * from "./commands/ListAssistantsCommand";
|
|
22
|
+
export * from "./pagination/ListAssistantsPaginator";
|
|
23
|
+
export * from "./commands/ListContentsCommand";
|
|
24
|
+
export * from "./pagination/ListContentsPaginator";
|
|
25
|
+
export * from "./commands/ListKnowledgeBasesCommand";
|
|
26
|
+
export * from "./pagination/ListKnowledgeBasesPaginator";
|
|
27
|
+
export * from "./commands/ListTagsForResourceCommand";
|
|
28
|
+
export * from "./commands/NotifyRecommendationsReceivedCommand";
|
|
29
|
+
export * from "./commands/QueryAssistantCommand";
|
|
30
|
+
export * from "./pagination/QueryAssistantPaginator";
|
|
31
|
+
export * from "./commands/RemoveKnowledgeBaseTemplateUriCommand";
|
|
32
|
+
export * from "./commands/SearchContentCommand";
|
|
33
|
+
export * from "./pagination/SearchContentPaginator";
|
|
34
|
+
export * from "./commands/SearchSessionsCommand";
|
|
35
|
+
export * from "./pagination/SearchSessionsPaginator";
|
|
36
|
+
export * from "./commands/StartContentUploadCommand";
|
|
37
|
+
export * from "./commands/TagResourceCommand";
|
|
38
|
+
export * from "./commands/UntagResourceCommand";
|
|
39
|
+
export * from "./commands/UpdateContentCommand";
|
|
40
|
+
export * from "./commands/UpdateKnowledgeBaseTemplateUriCommand";
|
|
41
|
+
export * from "./pagination/Interfaces";
|
|
42
|
+
export * from "./models/index";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|