@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,167 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { CreateAssistantAssociationCommandInput, CreateAssistantAssociationCommandOutput } from "./commands/CreateAssistantAssociationCommand";
|
|
10
|
+
import { CreateAssistantCommandInput, CreateAssistantCommandOutput } from "./commands/CreateAssistantCommand";
|
|
11
|
+
import { CreateContentCommandInput, CreateContentCommandOutput } from "./commands/CreateContentCommand";
|
|
12
|
+
import { CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput } from "./commands/CreateKnowledgeBaseCommand";
|
|
13
|
+
import { CreateSessionCommandInput, CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
|
|
14
|
+
import { DeleteAssistantAssociationCommandInput, DeleteAssistantAssociationCommandOutput } from "./commands/DeleteAssistantAssociationCommand";
|
|
15
|
+
import { DeleteAssistantCommandInput, DeleteAssistantCommandOutput } from "./commands/DeleteAssistantCommand";
|
|
16
|
+
import { DeleteContentCommandInput, DeleteContentCommandOutput } from "./commands/DeleteContentCommand";
|
|
17
|
+
import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "./commands/DeleteKnowledgeBaseCommand";
|
|
18
|
+
import { GetAssistantAssociationCommandInput, GetAssistantAssociationCommandOutput } from "./commands/GetAssistantAssociationCommand";
|
|
19
|
+
import { GetAssistantCommandInput, GetAssistantCommandOutput } from "./commands/GetAssistantCommand";
|
|
20
|
+
import { GetContentCommandInput, GetContentCommandOutput } from "./commands/GetContentCommand";
|
|
21
|
+
import { GetContentSummaryCommandInput, GetContentSummaryCommandOutput } from "./commands/GetContentSummaryCommand";
|
|
22
|
+
import { GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput } from "./commands/GetKnowledgeBaseCommand";
|
|
23
|
+
import { GetRecommendationsCommandInput, GetRecommendationsCommandOutput } from "./commands/GetRecommendationsCommand";
|
|
24
|
+
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
25
|
+
import { ListAssistantAssociationsCommandInput, ListAssistantAssociationsCommandOutput } from "./commands/ListAssistantAssociationsCommand";
|
|
26
|
+
import { ListAssistantsCommandInput, ListAssistantsCommandOutput } from "./commands/ListAssistantsCommand";
|
|
27
|
+
import { ListContentsCommandInput, ListContentsCommandOutput } from "./commands/ListContentsCommand";
|
|
28
|
+
import { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput } from "./commands/ListKnowledgeBasesCommand";
|
|
29
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
30
|
+
import { NotifyRecommendationsReceivedCommandInput, NotifyRecommendationsReceivedCommandOutput } from "./commands/NotifyRecommendationsReceivedCommand";
|
|
31
|
+
import { QueryAssistantCommandInput, QueryAssistantCommandOutput } from "./commands/QueryAssistantCommand";
|
|
32
|
+
import { RemoveKnowledgeBaseTemplateUriCommandInput, RemoveKnowledgeBaseTemplateUriCommandOutput } from "./commands/RemoveKnowledgeBaseTemplateUriCommand";
|
|
33
|
+
import { SearchContentCommandInput, SearchContentCommandOutput } from "./commands/SearchContentCommand";
|
|
34
|
+
import { SearchSessionsCommandInput, SearchSessionsCommandOutput } from "./commands/SearchSessionsCommand";
|
|
35
|
+
import { StartContentUploadCommandInput, StartContentUploadCommandOutput } from "./commands/StartContentUploadCommand";
|
|
36
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
37
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
38
|
+
import { UpdateContentCommandInput, UpdateContentCommandOutput } from "./commands/UpdateContentCommand";
|
|
39
|
+
import { UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput } from "./commands/UpdateKnowledgeBaseTemplateUriCommand";
|
|
40
|
+
export declare type ServiceInputTypes = CreateAssistantAssociationCommandInput | CreateAssistantCommandInput | CreateContentCommandInput | CreateKnowledgeBaseCommandInput | CreateSessionCommandInput | DeleteAssistantAssociationCommandInput | DeleteAssistantCommandInput | DeleteContentCommandInput | DeleteKnowledgeBaseCommandInput | GetAssistantAssociationCommandInput | GetAssistantCommandInput | GetContentCommandInput | GetContentSummaryCommandInput | GetKnowledgeBaseCommandInput | GetRecommendationsCommandInput | GetSessionCommandInput | ListAssistantAssociationsCommandInput | ListAssistantsCommandInput | ListContentsCommandInput | ListKnowledgeBasesCommandInput | ListTagsForResourceCommandInput | NotifyRecommendationsReceivedCommandInput | QueryAssistantCommandInput | RemoveKnowledgeBaseTemplateUriCommandInput | SearchContentCommandInput | SearchSessionsCommandInput | StartContentUploadCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateContentCommandInput | UpdateKnowledgeBaseTemplateUriCommandInput;
|
|
41
|
+
export declare type ServiceOutputTypes = CreateAssistantAssociationCommandOutput | CreateAssistantCommandOutput | CreateContentCommandOutput | CreateKnowledgeBaseCommandOutput | CreateSessionCommandOutput | DeleteAssistantAssociationCommandOutput | DeleteAssistantCommandOutput | DeleteContentCommandOutput | DeleteKnowledgeBaseCommandOutput | GetAssistantAssociationCommandOutput | GetAssistantCommandOutput | GetContentCommandOutput | GetContentSummaryCommandOutput | GetKnowledgeBaseCommandOutput | GetRecommendationsCommandOutput | GetSessionCommandOutput | ListAssistantAssociationsCommandOutput | ListAssistantsCommandOutput | ListContentsCommandOutput | ListKnowledgeBasesCommandOutput | ListTagsForResourceCommandOutput | NotifyRecommendationsReceivedCommandOutput | QueryAssistantCommandOutput | RemoveKnowledgeBaseTemplateUriCommandOutput | SearchContentCommandOutput | SearchSessionsCommandOutput | StartContentUploadCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateContentCommandOutput | UpdateKnowledgeBaseTemplateUriCommandOutput;
|
|
42
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
43
|
+
/**
|
|
44
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
45
|
+
*/
|
|
46
|
+
requestHandler?: __HttpHandler;
|
|
47
|
+
/**
|
|
48
|
+
* A constructor for a class implementing the {@link __Hash} interface
|
|
49
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
sha256?: __HashConstructor;
|
|
53
|
+
/**
|
|
54
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
urlParser?: __UrlParser;
|
|
58
|
+
/**
|
|
59
|
+
* A function that can calculate the length of a request body.
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
bodyLengthChecker?: (body: any) => number | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* A function that converts a stream into an array of bytes.
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
streamCollector?: __StreamCollector;
|
|
68
|
+
/**
|
|
69
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
base64Decoder?: __Decoder;
|
|
73
|
+
/**
|
|
74
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
base64Encoder?: __Encoder;
|
|
78
|
+
/**
|
|
79
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
utf8Decoder?: __Decoder;
|
|
83
|
+
/**
|
|
84
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
utf8Encoder?: __Encoder;
|
|
88
|
+
/**
|
|
89
|
+
* The runtime environment.
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
runtime?: string;
|
|
93
|
+
/**
|
|
94
|
+
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
95
|
+
* trait of an operation.
|
|
96
|
+
*/
|
|
97
|
+
disableHostPrefix?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
100
|
+
*/
|
|
101
|
+
maxAttempts?: number | __Provider<number>;
|
|
102
|
+
/**
|
|
103
|
+
* Specifies which retry algorithm to use.
|
|
104
|
+
*/
|
|
105
|
+
retryMode?: string | __Provider<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Optional logger for logging debug/info/warn/error.
|
|
108
|
+
*/
|
|
109
|
+
logger?: __Logger;
|
|
110
|
+
/**
|
|
111
|
+
* Unique service identifier.
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
serviceId?: string;
|
|
115
|
+
/**
|
|
116
|
+
* The AWS region to which this client will send requests
|
|
117
|
+
*/
|
|
118
|
+
region?: string | __Provider<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Default credentials provider; Not available in browser runtime.
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
123
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
124
|
+
/**
|
|
125
|
+
* Fetch related hostname, signing name or signing region with given region.
|
|
126
|
+
* @internal
|
|
127
|
+
*/
|
|
128
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
129
|
+
/**
|
|
130
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
131
|
+
* @internal
|
|
132
|
+
*/
|
|
133
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
134
|
+
}
|
|
135
|
+
declare type WisdomClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
136
|
+
/**
|
|
137
|
+
* The configuration interface of WisdomClient class constructor that set the region, credentials and other options.
|
|
138
|
+
*/
|
|
139
|
+
export interface WisdomClientConfig extends WisdomClientConfigType {
|
|
140
|
+
}
|
|
141
|
+
declare type WisdomClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
142
|
+
/**
|
|
143
|
+
* The resolved configuration interface of WisdomClient class. This is resolved and normalized from the {@link WisdomClientConfig | constructor configuration interface}.
|
|
144
|
+
*/
|
|
145
|
+
export interface WisdomClientResolvedConfig extends WisdomClientResolvedConfigType {
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* <p>All Amazon Connect Wisdom functionality is accessible using the API. For example, you can create an
|
|
149
|
+
* assistant and a knowledge base.</p>
|
|
150
|
+
*
|
|
151
|
+
* <p>Some more advanced features are only accessible using the Wisdom API. For example, you
|
|
152
|
+
* can manually manage content by uploading custom files and control their lifecycle. </p>
|
|
153
|
+
*/
|
|
154
|
+
export declare class WisdomClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig> {
|
|
155
|
+
/**
|
|
156
|
+
* The resolved configuration of WisdomClient class. This is resolved and normalized from the {@link WisdomClientConfig | constructor configuration interface}.
|
|
157
|
+
*/
|
|
158
|
+
readonly config: WisdomClientResolvedConfig;
|
|
159
|
+
constructor(configuration: WisdomClientConfig);
|
|
160
|
+
/**
|
|
161
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
162
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
163
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
164
|
+
*/
|
|
165
|
+
destroy(): void;
|
|
166
|
+
}
|
|
167
|
+
export {};
|
|
@@ -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 { CreateAssistantAssociationRequest, CreateAssistantAssociationResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface CreateAssistantAssociationCommandInput extends CreateAssistantAssociationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateAssistantAssociationCommandOutput extends CreateAssistantAssociationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates an association between an Amazon Connect Wisdom assistant and another resource. Currently, the
|
|
11
|
+
* only supported association is with a knowledge base. An assistant can have only a single
|
|
12
|
+
* association.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { WisdomClient, CreateAssistantAssociationCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
17
|
+
* // const { WisdomClient, CreateAssistantAssociationCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
18
|
+
* const client = new WisdomClient(config);
|
|
19
|
+
* const command = new CreateAssistantAssociationCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link CreateAssistantAssociationCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link CreateAssistantAssociationCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class CreateAssistantAssociationCommand extends $Command<CreateAssistantAssociationCommandInput, CreateAssistantAssociationCommandOutput, WisdomClientResolvedConfig> {
|
|
29
|
+
readonly input: CreateAssistantAssociationCommandInput;
|
|
30
|
+
constructor(input: CreateAssistantAssociationCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAssistantAssociationCommandInput, CreateAssistantAssociationCommandOutput>;
|
|
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 { CreateAssistantRequest, CreateAssistantResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface CreateAssistantCommandInput extends CreateAssistantRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateAssistantCommandOutput extends CreateAssistantResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates an Amazon Connect Wisdom assistant.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { WisdomClient, CreateAssistantCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
15
|
+
* // const { WisdomClient, CreateAssistantCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
16
|
+
* const client = new WisdomClient(config);
|
|
17
|
+
* const command = new CreateAssistantCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link CreateAssistantCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link CreateAssistantCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class CreateAssistantCommand extends $Command<CreateAssistantCommandInput, CreateAssistantCommandOutput, WisdomClientResolvedConfig> {
|
|
27
|
+
readonly input: CreateAssistantCommandInput;
|
|
28
|
+
constructor(input: CreateAssistantCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAssistantCommandInput, CreateAssistantCommandOutput>;
|
|
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 { CreateContentRequest, CreateContentResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface CreateContentCommandInput extends CreateContentRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateContentCommandOutput extends CreateContentResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates Wisdom content. Before to calling this API, use <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_StartContentUpload.html">StartContentUpload</a> to
|
|
11
|
+
* upload an asset.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { WisdomClient, CreateContentCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
16
|
+
* // const { WisdomClient, CreateContentCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
17
|
+
* const client = new WisdomClient(config);
|
|
18
|
+
* const command = new CreateContentCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link CreateContentCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link CreateContentCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class CreateContentCommand extends $Command<CreateContentCommandInput, CreateContentCommandOutput, WisdomClientResolvedConfig> {
|
|
28
|
+
readonly input: CreateContentCommandInput;
|
|
29
|
+
constructor(input: CreateContentCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateContentCommandInput, CreateContentCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { CreateKnowledgeBaseRequest, CreateKnowledgeBaseResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface CreateKnowledgeBaseCommandInput extends CreateKnowledgeBaseRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateKnowledgeBaseCommandOutput extends CreateKnowledgeBaseResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a knowledge base.</p>
|
|
11
|
+
* <note>
|
|
12
|
+
* <p>When using this API, you cannot reuse <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html">Amazon AppIntegrations</a>
|
|
13
|
+
* DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do,
|
|
14
|
+
* you'll get an <code>InvalidRequestException</code> error. </p>
|
|
15
|
+
*
|
|
16
|
+
* <p>For example, you're programmatically managing your external knowledge base, and you want
|
|
17
|
+
* to add or remove one of the fields that is being ingested from Salesforce. Do the
|
|
18
|
+
* following:</p>
|
|
19
|
+
* <ol>
|
|
20
|
+
* <li>
|
|
21
|
+
* <p>Call <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_DeleteKnowledgeBase.html">DeleteKnowledgeBase</a>.</p>
|
|
22
|
+
* </li>
|
|
23
|
+
* <li>
|
|
24
|
+
* <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html">DeleteDataIntegration</a>.</p>
|
|
25
|
+
* </li>
|
|
26
|
+
* <li>
|
|
27
|
+
* <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> to recreate the DataIntegration or a create different
|
|
28
|
+
* one.</p>
|
|
29
|
+
* </li>
|
|
30
|
+
* <li>
|
|
31
|
+
* <p>Call CreateKnowledgeBase.</p>
|
|
32
|
+
* </li>
|
|
33
|
+
* </ol>
|
|
34
|
+
* </note>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { WisdomClient, CreateKnowledgeBaseCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
39
|
+
* // const { WisdomClient, CreateKnowledgeBaseCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
40
|
+
* const client = new WisdomClient(config);
|
|
41
|
+
* const command = new CreateKnowledgeBaseCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @see {@link CreateKnowledgeBaseCommandInput} for command's `input` shape.
|
|
46
|
+
* @see {@link CreateKnowledgeBaseCommandOutput} for command's `response` shape.
|
|
47
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
export declare class CreateKnowledgeBaseCommand extends $Command<CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput, WisdomClientResolvedConfig> {
|
|
51
|
+
readonly input: CreateKnowledgeBaseCommandInput;
|
|
52
|
+
constructor(input: CreateKnowledgeBaseCommandInput);
|
|
53
|
+
/**
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput>;
|
|
57
|
+
private serialize;
|
|
58
|
+
private deserialize;
|
|
59
|
+
}
|
|
@@ -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 { CreateSessionRequest, CreateSessionResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface CreateSessionCommandInput extends CreateSessionRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateSessionCommandOutput extends CreateSessionResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a session. A session is a contextual container used for generating
|
|
11
|
+
* recommendations. Amazon Connect creates a new Wisdom session for each contact on which Wisdom is
|
|
12
|
+
* enabled.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { WisdomClient, CreateSessionCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
17
|
+
* // const { WisdomClient, CreateSessionCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
18
|
+
* const client = new WisdomClient(config);
|
|
19
|
+
* const command = new CreateSessionCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link CreateSessionCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link CreateSessionCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class CreateSessionCommand extends $Command<CreateSessionCommandInput, CreateSessionCommandOutput, WisdomClientResolvedConfig> {
|
|
29
|
+
readonly input: CreateSessionCommandInput;
|
|
30
|
+
constructor(input: CreateSessionCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSessionCommandInput, CreateSessionCommandOutput>;
|
|
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 { DeleteAssistantAssociationRequest, DeleteAssistantAssociationResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface DeleteAssistantAssociationCommandInput extends DeleteAssistantAssociationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteAssistantAssociationCommandOutput extends DeleteAssistantAssociationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes an assistant association.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { WisdomClient, DeleteAssistantAssociationCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
15
|
+
* // const { WisdomClient, DeleteAssistantAssociationCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
16
|
+
* const client = new WisdomClient(config);
|
|
17
|
+
* const command = new DeleteAssistantAssociationCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DeleteAssistantAssociationCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DeleteAssistantAssociationCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DeleteAssistantAssociationCommand extends $Command<DeleteAssistantAssociationCommandInput, DeleteAssistantAssociationCommandOutput, WisdomClientResolvedConfig> {
|
|
27
|
+
readonly input: DeleteAssistantAssociationCommandInput;
|
|
28
|
+
constructor(input: DeleteAssistantAssociationCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAssistantAssociationCommandInput, DeleteAssistantAssociationCommandOutput>;
|
|
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 { DeleteAssistantRequest, DeleteAssistantResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface DeleteAssistantCommandInput extends DeleteAssistantRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteAssistantCommandOutput extends DeleteAssistantResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes an assistant.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { WisdomClient, DeleteAssistantCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
15
|
+
* // const { WisdomClient, DeleteAssistantCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
16
|
+
* const client = new WisdomClient(config);
|
|
17
|
+
* const command = new DeleteAssistantCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DeleteAssistantCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DeleteAssistantCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DeleteAssistantCommand extends $Command<DeleteAssistantCommandInput, DeleteAssistantCommandOutput, WisdomClientResolvedConfig> {
|
|
27
|
+
readonly input: DeleteAssistantCommandInput;
|
|
28
|
+
constructor(input: DeleteAssistantCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAssistantCommandInput, DeleteAssistantCommandOutput>;
|
|
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 { DeleteContentRequest, DeleteContentResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface DeleteContentCommandInput extends DeleteContentRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteContentCommandOutput extends DeleteContentResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes 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, DeleteContentCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
15
|
+
* // const { WisdomClient, DeleteContentCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
16
|
+
* const client = new WisdomClient(config);
|
|
17
|
+
* const command = new DeleteContentCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DeleteContentCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DeleteContentCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DeleteContentCommand extends $Command<DeleteContentCommandInput, DeleteContentCommandOutput, WisdomClientResolvedConfig> {
|
|
27
|
+
readonly input: DeleteContentCommandInput;
|
|
28
|
+
constructor(input: DeleteContentCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteContentCommandInput, DeleteContentCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 { DeleteKnowledgeBaseRequest, DeleteKnowledgeBaseResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface DeleteKnowledgeBaseCommandInput extends DeleteKnowledgeBaseRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteKnowledgeBaseCommandOutput extends DeleteKnowledgeBaseResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes the knowledge base.</p>
|
|
11
|
+
* <note>
|
|
12
|
+
* <p>When you use this API to delete an external knowledge base such as Salesforce or
|
|
13
|
+
* ServiceNow, you must also delete the <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html">Amazon AppIntegrations</a> DataIntegration.
|
|
14
|
+
* This is because you can't reuse the DataIntegration after it's been associated with an
|
|
15
|
+
* external knowledge base. However, you can delete and recreate it. See <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html">DeleteDataIntegration</a> and <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> in the <i>Amazon AppIntegrations API
|
|
16
|
+
* Reference</i>.</p>
|
|
17
|
+
* </note>
|
|
18
|
+
* @example
|
|
19
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
+
* ```javascript
|
|
21
|
+
* import { WisdomClient, DeleteKnowledgeBaseCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
22
|
+
* // const { WisdomClient, DeleteKnowledgeBaseCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
23
|
+
* const client = new WisdomClient(config);
|
|
24
|
+
* const command = new DeleteKnowledgeBaseCommand(input);
|
|
25
|
+
* const response = await client.send(command);
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @see {@link DeleteKnowledgeBaseCommandInput} for command's `input` shape.
|
|
29
|
+
* @see {@link DeleteKnowledgeBaseCommandOutput} for command's `response` shape.
|
|
30
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
export declare class DeleteKnowledgeBaseCommand extends $Command<DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput, WisdomClientResolvedConfig> {
|
|
34
|
+
readonly input: DeleteKnowledgeBaseCommandInput;
|
|
35
|
+
constructor(input: DeleteKnowledgeBaseCommandInput);
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -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 { GetAssistantAssociationRequest, GetAssistantAssociationResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface GetAssistantAssociationCommandInput extends GetAssistantAssociationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetAssistantAssociationCommandOutput extends GetAssistantAssociationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Retrieves information about an assistant association.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { WisdomClient, GetAssistantAssociationCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
15
|
+
* // const { WisdomClient, GetAssistantAssociationCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
16
|
+
* const client = new WisdomClient(config);
|
|
17
|
+
* const command = new GetAssistantAssociationCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link GetAssistantAssociationCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link GetAssistantAssociationCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class GetAssistantAssociationCommand extends $Command<GetAssistantAssociationCommandInput, GetAssistantAssociationCommandOutput, WisdomClientResolvedConfig> {
|
|
27
|
+
readonly input: GetAssistantAssociationCommandInput;
|
|
28
|
+
constructor(input: GetAssistantAssociationCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAssistantAssociationCommandInput, GetAssistantAssociationCommandOutput>;
|
|
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 { GetAssistantRequest, GetAssistantResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface GetAssistantCommandInput extends GetAssistantRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetAssistantCommandOutput extends GetAssistantResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Retrieves information about an assistant.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { WisdomClient, GetAssistantCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
15
|
+
* // const { WisdomClient, GetAssistantCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
16
|
+
* const client = new WisdomClient(config);
|
|
17
|
+
* const command = new GetAssistantCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link GetAssistantCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link GetAssistantCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class GetAssistantCommand extends $Command<GetAssistantCommandInput, GetAssistantCommandOutput, WisdomClientResolvedConfig> {
|
|
27
|
+
readonly input: GetAssistantCommandInput;
|
|
28
|
+
constructor(input: GetAssistantCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAssistantCommandInput, GetAssistantCommandOutput>;
|
|
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 { GetContentRequest, GetContentResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface GetContentCommandInput extends GetContentRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetContentCommandOutput extends GetContentResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Retrieves content, including a pre-signed URL to download 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, GetContentCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
15
|
+
* // const { WisdomClient, GetContentCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
16
|
+
* const client = new WisdomClient(config);
|
|
17
|
+
* const command = new GetContentCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link GetContentCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link GetContentCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class GetContentCommand extends $Command<GetContentCommandInput, GetContentCommandOutput, WisdomClientResolvedConfig> {
|
|
27
|
+
readonly input: GetContentCommandInput;
|
|
28
|
+
constructor(input: GetContentCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetContentCommandInput, GetContentCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|