@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,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateAssistantCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
/**
|
|
9
|
+
* <p>Creates an Amazon Connect Wisdom assistant.</p>
|
|
10
|
+
* @example
|
|
11
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
+
* ```javascript
|
|
13
|
+
* import { WisdomClient, CreateAssistantCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
14
|
+
* // const { WisdomClient, CreateAssistantCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
15
|
+
* const client = new WisdomClient(config);
|
|
16
|
+
* const command = new CreateAssistantCommand(input);
|
|
17
|
+
* const response = await client.send(command);
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* @see {@link CreateAssistantCommandInput} for command's `input` shape.
|
|
21
|
+
* @see {@link CreateAssistantCommandOutput} for command's `response` shape.
|
|
22
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
class CreateAssistantCommand extends smithy_client_1.Command {
|
|
26
|
+
// Start section: command_properties
|
|
27
|
+
// End section: command_properties
|
|
28
|
+
constructor(input) {
|
|
29
|
+
// Start section: command_constructor
|
|
30
|
+
super();
|
|
31
|
+
this.input = input;
|
|
32
|
+
// End section: command_constructor
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
38
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
40
|
+
const { logger } = configuration;
|
|
41
|
+
const clientName = "WisdomClient";
|
|
42
|
+
const commandName = "CreateAssistantCommand";
|
|
43
|
+
const handlerExecutionContext = {
|
|
44
|
+
logger,
|
|
45
|
+
clientName,
|
|
46
|
+
commandName,
|
|
47
|
+
inputFilterSensitiveLog: models_0_1.CreateAssistantRequest.filterSensitiveLog,
|
|
48
|
+
outputFilterSensitiveLog: models_0_1.CreateAssistantResponse.filterSensitiveLog,
|
|
49
|
+
};
|
|
50
|
+
const { requestHandler } = configuration;
|
|
51
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
52
|
+
}
|
|
53
|
+
serialize(input, context) {
|
|
54
|
+
return Aws_restJson1_1.serializeAws_restJson1CreateAssistantCommand(input, context);
|
|
55
|
+
}
|
|
56
|
+
deserialize(output, context) {
|
|
57
|
+
return Aws_restJson1_1.deserializeAws_restJson1CreateAssistantCommand(output, context);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.CreateAssistantCommand = CreateAssistantCommand;
|
|
61
|
+
//# sourceMappingURL=CreateAssistantCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateAssistantCommand.js","sourceRoot":"","sources":["../../src/commands/CreateAssistantCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAAqF;AACrF,8DAGoC;AAMpC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,sBAAuB,SAAQ,uBAI3C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAkC;QACrD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA6B;QAGrD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,cAAc,CAAC;QAClC,MAAM,WAAW,GAAG,wBAAwB,CAAC;QAC7C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,iCAAsB,CAAC,kBAAkB;YAClE,wBAAwB,EAAE,kCAAuB,CAAC,kBAAkB;SACrE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAkC,EAAE,OAAuB;QAC3E,OAAO,4DAA4C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,8DAA8C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;CAIF;AAtDD,wDAsDC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateContentCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
/**
|
|
9
|
+
* <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
|
|
10
|
+
* upload an asset.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { WisdomClient, CreateContentCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
15
|
+
* // const { WisdomClient, CreateContentCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
16
|
+
* const client = new WisdomClient(config);
|
|
17
|
+
* const command = new CreateContentCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link CreateContentCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link CreateContentCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
class CreateContentCommand extends smithy_client_1.Command {
|
|
27
|
+
// Start section: command_properties
|
|
28
|
+
// End section: command_properties
|
|
29
|
+
constructor(input) {
|
|
30
|
+
// Start section: command_constructor
|
|
31
|
+
super();
|
|
32
|
+
this.input = input;
|
|
33
|
+
// End section: command_constructor
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
39
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
41
|
+
const { logger } = configuration;
|
|
42
|
+
const clientName = "WisdomClient";
|
|
43
|
+
const commandName = "CreateContentCommand";
|
|
44
|
+
const handlerExecutionContext = {
|
|
45
|
+
logger,
|
|
46
|
+
clientName,
|
|
47
|
+
commandName,
|
|
48
|
+
inputFilterSensitiveLog: models_0_1.CreateContentRequest.filterSensitiveLog,
|
|
49
|
+
outputFilterSensitiveLog: models_0_1.CreateContentResponse.filterSensitiveLog,
|
|
50
|
+
};
|
|
51
|
+
const { requestHandler } = configuration;
|
|
52
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
53
|
+
}
|
|
54
|
+
serialize(input, context) {
|
|
55
|
+
return Aws_restJson1_1.serializeAws_restJson1CreateContentCommand(input, context);
|
|
56
|
+
}
|
|
57
|
+
deserialize(output, context) {
|
|
58
|
+
return Aws_restJson1_1.deserializeAws_restJson1CreateContentCommand(output, context);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.CreateContentCommand = CreateContentCommand;
|
|
62
|
+
//# sourceMappingURL=CreateContentCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateContentCommand.js","sourceRoot":"","sources":["../../src/commands/CreateContentCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAAiF;AACjF,8DAGoC;AAMpC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,oBAAqB,SAAQ,uBAIzC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAgC;QACnD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA2B;QAGnD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,cAAc,CAAC;QAClC,MAAM,WAAW,GAAG,sBAAsB,CAAC;QAC3C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,+BAAoB,CAAC,kBAAkB;YAChE,wBAAwB,EAAE,gCAAqB,CAAC,kBAAkB;SACnE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAgC,EAAE,OAAuB;QACzE,OAAO,0DAA0C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,4DAA4C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;CAIF;AAtDD,oDAsDC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateKnowledgeBaseCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
/**
|
|
9
|
+
* <p>Creates a knowledge base.</p>
|
|
10
|
+
* <note>
|
|
11
|
+
* <p>When using this API, you cannot reuse <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html">Amazon AppIntegrations</a>
|
|
12
|
+
* DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do,
|
|
13
|
+
* you'll get an <code>InvalidRequestException</code> error. </p>
|
|
14
|
+
*
|
|
15
|
+
* <p>For example, you're programmatically managing your external knowledge base, and you want
|
|
16
|
+
* to add or remove one of the fields that is being ingested from Salesforce. Do the
|
|
17
|
+
* following:</p>
|
|
18
|
+
* <ol>
|
|
19
|
+
* <li>
|
|
20
|
+
* <p>Call <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_DeleteKnowledgeBase.html">DeleteKnowledgeBase</a>.</p>
|
|
21
|
+
* </li>
|
|
22
|
+
* <li>
|
|
23
|
+
* <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html">DeleteDataIntegration</a>.</p>
|
|
24
|
+
* </li>
|
|
25
|
+
* <li>
|
|
26
|
+
* <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
|
|
27
|
+
* one.</p>
|
|
28
|
+
* </li>
|
|
29
|
+
* <li>
|
|
30
|
+
* <p>Call CreateKnowledgeBase.</p>
|
|
31
|
+
* </li>
|
|
32
|
+
* </ol>
|
|
33
|
+
* </note>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { WisdomClient, CreateKnowledgeBaseCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
38
|
+
* // const { WisdomClient, CreateKnowledgeBaseCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
39
|
+
* const client = new WisdomClient(config);
|
|
40
|
+
* const command = new CreateKnowledgeBaseCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @see {@link CreateKnowledgeBaseCommandInput} for command's `input` shape.
|
|
45
|
+
* @see {@link CreateKnowledgeBaseCommandOutput} for command's `response` shape.
|
|
46
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
class CreateKnowledgeBaseCommand extends smithy_client_1.Command {
|
|
50
|
+
// Start section: command_properties
|
|
51
|
+
// End section: command_properties
|
|
52
|
+
constructor(input) {
|
|
53
|
+
// Start section: command_constructor
|
|
54
|
+
super();
|
|
55
|
+
this.input = input;
|
|
56
|
+
// End section: command_constructor
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
62
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
64
|
+
const { logger } = configuration;
|
|
65
|
+
const clientName = "WisdomClient";
|
|
66
|
+
const commandName = "CreateKnowledgeBaseCommand";
|
|
67
|
+
const handlerExecutionContext = {
|
|
68
|
+
logger,
|
|
69
|
+
clientName,
|
|
70
|
+
commandName,
|
|
71
|
+
inputFilterSensitiveLog: models_0_1.CreateKnowledgeBaseRequest.filterSensitiveLog,
|
|
72
|
+
outputFilterSensitiveLog: models_0_1.CreateKnowledgeBaseResponse.filterSensitiveLog,
|
|
73
|
+
};
|
|
74
|
+
const { requestHandler } = configuration;
|
|
75
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
76
|
+
}
|
|
77
|
+
serialize(input, context) {
|
|
78
|
+
return Aws_restJson1_1.serializeAws_restJson1CreateKnowledgeBaseCommand(input, context);
|
|
79
|
+
}
|
|
80
|
+
deserialize(output, context) {
|
|
81
|
+
return Aws_restJson1_1.deserializeAws_restJson1CreateKnowledgeBaseCommand(output, context);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.CreateKnowledgeBaseCommand = CreateKnowledgeBaseCommand;
|
|
85
|
+
//# sourceMappingURL=CreateKnowledgeBaseCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateKnowledgeBaseCommand.js","sourceRoot":"","sources":["../../src/commands/CreateKnowledgeBaseCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAA6F;AAC7F,8DAGoC;AAMpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,0BAA2B,SAAQ,uBAI/C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAsC;QACzD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAiC;QAGzD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,cAAc,CAAC;QAClC,MAAM,WAAW,GAAG,4BAA4B,CAAC;QACjD,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,qCAA0B,CAAC,kBAAkB;YACtE,wBAAwB,EAAE,sCAA2B,CAAC,kBAAkB;SACzE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAsC,EAAE,OAAuB;QAC/E,OAAO,gEAAgD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,kEAAkD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;CAIF;AAtDD,gEAsDC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateSessionCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
/**
|
|
9
|
+
* <p>Creates a session. A session is a contextual container used for generating
|
|
10
|
+
* recommendations. Amazon Connect creates a new Wisdom session for each contact on which Wisdom is
|
|
11
|
+
* enabled.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { WisdomClient, CreateSessionCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
16
|
+
* // const { WisdomClient, CreateSessionCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
17
|
+
* const client = new WisdomClient(config);
|
|
18
|
+
* const command = new CreateSessionCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link CreateSessionCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link CreateSessionCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
class CreateSessionCommand extends smithy_client_1.Command {
|
|
28
|
+
// Start section: command_properties
|
|
29
|
+
// End section: command_properties
|
|
30
|
+
constructor(input) {
|
|
31
|
+
// Start section: command_constructor
|
|
32
|
+
super();
|
|
33
|
+
this.input = input;
|
|
34
|
+
// End section: command_constructor
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
40
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
42
|
+
const { logger } = configuration;
|
|
43
|
+
const clientName = "WisdomClient";
|
|
44
|
+
const commandName = "CreateSessionCommand";
|
|
45
|
+
const handlerExecutionContext = {
|
|
46
|
+
logger,
|
|
47
|
+
clientName,
|
|
48
|
+
commandName,
|
|
49
|
+
inputFilterSensitiveLog: models_0_1.CreateSessionRequest.filterSensitiveLog,
|
|
50
|
+
outputFilterSensitiveLog: models_0_1.CreateSessionResponse.filterSensitiveLog,
|
|
51
|
+
};
|
|
52
|
+
const { requestHandler } = configuration;
|
|
53
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
54
|
+
}
|
|
55
|
+
serialize(input, context) {
|
|
56
|
+
return Aws_restJson1_1.serializeAws_restJson1CreateSessionCommand(input, context);
|
|
57
|
+
}
|
|
58
|
+
deserialize(output, context) {
|
|
59
|
+
return Aws_restJson1_1.deserializeAws_restJson1CreateSessionCommand(output, context);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.CreateSessionCommand = CreateSessionCommand;
|
|
63
|
+
//# sourceMappingURL=CreateSessionCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateSessionCommand.js","sourceRoot":"","sources":["../../src/commands/CreateSessionCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAAiF;AACjF,8DAGoC;AAMpC;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,oBAAqB,SAAQ,uBAIzC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAgC;QACnD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA2B;QAGnD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,cAAc,CAAC;QAClC,MAAM,WAAW,GAAG,sBAAsB,CAAC;QAC3C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,+BAAoB,CAAC,kBAAkB;YAChE,wBAAwB,EAAE,gCAAqB,CAAC,kBAAkB;SACnE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAgC,EAAE,OAAuB;QACzE,OAAO,0DAA0C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,4DAA4C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;CAIF;AAtDD,oDAsDC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteAssistantAssociationCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
/**
|
|
9
|
+
* <p>Deletes an assistant association.</p>
|
|
10
|
+
* @example
|
|
11
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
+
* ```javascript
|
|
13
|
+
* import { WisdomClient, DeleteAssistantAssociationCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
14
|
+
* // const { WisdomClient, DeleteAssistantAssociationCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
15
|
+
* const client = new WisdomClient(config);
|
|
16
|
+
* const command = new DeleteAssistantAssociationCommand(input);
|
|
17
|
+
* const response = await client.send(command);
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* @see {@link DeleteAssistantAssociationCommandInput} for command's `input` shape.
|
|
21
|
+
* @see {@link DeleteAssistantAssociationCommandOutput} for command's `response` shape.
|
|
22
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
class DeleteAssistantAssociationCommand extends smithy_client_1.Command {
|
|
26
|
+
// Start section: command_properties
|
|
27
|
+
// End section: command_properties
|
|
28
|
+
constructor(input) {
|
|
29
|
+
// Start section: command_constructor
|
|
30
|
+
super();
|
|
31
|
+
this.input = input;
|
|
32
|
+
// End section: command_constructor
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
38
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
40
|
+
const { logger } = configuration;
|
|
41
|
+
const clientName = "WisdomClient";
|
|
42
|
+
const commandName = "DeleteAssistantAssociationCommand";
|
|
43
|
+
const handlerExecutionContext = {
|
|
44
|
+
logger,
|
|
45
|
+
clientName,
|
|
46
|
+
commandName,
|
|
47
|
+
inputFilterSensitiveLog: models_0_1.DeleteAssistantAssociationRequest.filterSensitiveLog,
|
|
48
|
+
outputFilterSensitiveLog: models_0_1.DeleteAssistantAssociationResponse.filterSensitiveLog,
|
|
49
|
+
};
|
|
50
|
+
const { requestHandler } = configuration;
|
|
51
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
52
|
+
}
|
|
53
|
+
serialize(input, context) {
|
|
54
|
+
return Aws_restJson1_1.serializeAws_restJson1DeleteAssistantAssociationCommand(input, context);
|
|
55
|
+
}
|
|
56
|
+
deserialize(output, context) {
|
|
57
|
+
return Aws_restJson1_1.deserializeAws_restJson1DeleteAssistantAssociationCommand(output, context);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.DeleteAssistantAssociationCommand = DeleteAssistantAssociationCommand;
|
|
61
|
+
//# sourceMappingURL=DeleteAssistantAssociationCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteAssistantAssociationCommand.js","sourceRoot":"","sources":["../../src/commands/DeleteAssistantAssociationCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAA2G;AAC3G,8DAGoC;AAMpC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,iCAAkC,SAAQ,uBAItD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA6C;QAChE,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAwC;QAGhE,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,cAAc,CAAC;QAClC,MAAM,WAAW,GAAG,mCAAmC,CAAC;QACxD,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,4CAAiC,CAAC,kBAAkB;YAC7E,wBAAwB,EAAE,6CAAkC,CAAC,kBAAkB;SAChF,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAA6C,EAAE,OAAuB;QACtF,OAAO,uEAAuD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAEO,WAAW,CACjB,MAAsB,EACtB,OAAuB;QAEvB,OAAO,yEAAyD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;CAIF;AAzDD,8EAyDC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteAssistantCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
/**
|
|
9
|
+
* <p>Deletes an assistant.</p>
|
|
10
|
+
* @example
|
|
11
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
+
* ```javascript
|
|
13
|
+
* import { WisdomClient, DeleteAssistantCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
14
|
+
* // const { WisdomClient, DeleteAssistantCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
15
|
+
* const client = new WisdomClient(config);
|
|
16
|
+
* const command = new DeleteAssistantCommand(input);
|
|
17
|
+
* const response = await client.send(command);
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* @see {@link DeleteAssistantCommandInput} for command's `input` shape.
|
|
21
|
+
* @see {@link DeleteAssistantCommandOutput} for command's `response` shape.
|
|
22
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
class DeleteAssistantCommand extends smithy_client_1.Command {
|
|
26
|
+
// Start section: command_properties
|
|
27
|
+
// End section: command_properties
|
|
28
|
+
constructor(input) {
|
|
29
|
+
// Start section: command_constructor
|
|
30
|
+
super();
|
|
31
|
+
this.input = input;
|
|
32
|
+
// End section: command_constructor
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
38
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
40
|
+
const { logger } = configuration;
|
|
41
|
+
const clientName = "WisdomClient";
|
|
42
|
+
const commandName = "DeleteAssistantCommand";
|
|
43
|
+
const handlerExecutionContext = {
|
|
44
|
+
logger,
|
|
45
|
+
clientName,
|
|
46
|
+
commandName,
|
|
47
|
+
inputFilterSensitiveLog: models_0_1.DeleteAssistantRequest.filterSensitiveLog,
|
|
48
|
+
outputFilterSensitiveLog: models_0_1.DeleteAssistantResponse.filterSensitiveLog,
|
|
49
|
+
};
|
|
50
|
+
const { requestHandler } = configuration;
|
|
51
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
52
|
+
}
|
|
53
|
+
serialize(input, context) {
|
|
54
|
+
return Aws_restJson1_1.serializeAws_restJson1DeleteAssistantCommand(input, context);
|
|
55
|
+
}
|
|
56
|
+
deserialize(output, context) {
|
|
57
|
+
return Aws_restJson1_1.deserializeAws_restJson1DeleteAssistantCommand(output, context);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.DeleteAssistantCommand = DeleteAssistantCommand;
|
|
61
|
+
//# sourceMappingURL=DeleteAssistantCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteAssistantCommand.js","sourceRoot":"","sources":["../../src/commands/DeleteAssistantCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAAqF;AACrF,8DAGoC;AAMpC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,sBAAuB,SAAQ,uBAI3C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAkC;QACrD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA6B;QAGrD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,cAAc,CAAC;QAClC,MAAM,WAAW,GAAG,wBAAwB,CAAC;QAC7C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,iCAAsB,CAAC,kBAAkB;YAClE,wBAAwB,EAAE,kCAAuB,CAAC,kBAAkB;SACrE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAkC,EAAE,OAAuB;QAC3E,OAAO,4DAA4C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,8DAA8C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;CAIF;AAtDD,wDAsDC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteContentCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
/**
|
|
9
|
+
* <p>Deletes the content.</p>
|
|
10
|
+
* @example
|
|
11
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
+
* ```javascript
|
|
13
|
+
* import { WisdomClient, DeleteContentCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
14
|
+
* // const { WisdomClient, DeleteContentCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
15
|
+
* const client = new WisdomClient(config);
|
|
16
|
+
* const command = new DeleteContentCommand(input);
|
|
17
|
+
* const response = await client.send(command);
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* @see {@link DeleteContentCommandInput} for command's `input` shape.
|
|
21
|
+
* @see {@link DeleteContentCommandOutput} for command's `response` shape.
|
|
22
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
class DeleteContentCommand extends smithy_client_1.Command {
|
|
26
|
+
// Start section: command_properties
|
|
27
|
+
// End section: command_properties
|
|
28
|
+
constructor(input) {
|
|
29
|
+
// Start section: command_constructor
|
|
30
|
+
super();
|
|
31
|
+
this.input = input;
|
|
32
|
+
// End section: command_constructor
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
38
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
40
|
+
const { logger } = configuration;
|
|
41
|
+
const clientName = "WisdomClient";
|
|
42
|
+
const commandName = "DeleteContentCommand";
|
|
43
|
+
const handlerExecutionContext = {
|
|
44
|
+
logger,
|
|
45
|
+
clientName,
|
|
46
|
+
commandName,
|
|
47
|
+
inputFilterSensitiveLog: models_0_1.DeleteContentRequest.filterSensitiveLog,
|
|
48
|
+
outputFilterSensitiveLog: models_0_1.DeleteContentResponse.filterSensitiveLog,
|
|
49
|
+
};
|
|
50
|
+
const { requestHandler } = configuration;
|
|
51
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
52
|
+
}
|
|
53
|
+
serialize(input, context) {
|
|
54
|
+
return Aws_restJson1_1.serializeAws_restJson1DeleteContentCommand(input, context);
|
|
55
|
+
}
|
|
56
|
+
deserialize(output, context) {
|
|
57
|
+
return Aws_restJson1_1.deserializeAws_restJson1DeleteContentCommand(output, context);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.DeleteContentCommand = DeleteContentCommand;
|
|
61
|
+
//# sourceMappingURL=DeleteContentCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteContentCommand.js","sourceRoot":"","sources":["../../src/commands/DeleteContentCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAAiF;AACjF,8DAGoC;AAMpC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,oBAAqB,SAAQ,uBAIzC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAgC;QACnD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA2B;QAGnD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,cAAc,CAAC;QAClC,MAAM,WAAW,GAAG,sBAAsB,CAAC;QAC3C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,+BAAoB,CAAC,kBAAkB;YAChE,wBAAwB,EAAE,gCAAqB,CAAC,kBAAkB;SACnE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAgC,EAAE,OAAuB;QACzE,OAAO,0DAA0C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,4DAA4C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;CAIF;AAtDD,oDAsDC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteKnowledgeBaseCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
/**
|
|
9
|
+
* <p>Deletes the knowledge base.</p>
|
|
10
|
+
* <note>
|
|
11
|
+
* <p>When you use this API to delete an external knowledge base such as Salesforce or
|
|
12
|
+
* ServiceNow, you must also delete the <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html">Amazon AppIntegrations</a> DataIntegration.
|
|
13
|
+
* This is because you can't reuse the DataIntegration after it's been associated with an
|
|
14
|
+
* 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
|
|
15
|
+
* Reference</i>.</p>
|
|
16
|
+
* </note>
|
|
17
|
+
* @example
|
|
18
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
+
* ```javascript
|
|
20
|
+
* import { WisdomClient, DeleteKnowledgeBaseCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
21
|
+
* // const { WisdomClient, DeleteKnowledgeBaseCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
22
|
+
* const client = new WisdomClient(config);
|
|
23
|
+
* const command = new DeleteKnowledgeBaseCommand(input);
|
|
24
|
+
* const response = await client.send(command);
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @see {@link DeleteKnowledgeBaseCommandInput} for command's `input` shape.
|
|
28
|
+
* @see {@link DeleteKnowledgeBaseCommandOutput} for command's `response` shape.
|
|
29
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
class DeleteKnowledgeBaseCommand extends smithy_client_1.Command {
|
|
33
|
+
// Start section: command_properties
|
|
34
|
+
// End section: command_properties
|
|
35
|
+
constructor(input) {
|
|
36
|
+
// Start section: command_constructor
|
|
37
|
+
super();
|
|
38
|
+
this.input = input;
|
|
39
|
+
// End section: command_constructor
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
44
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
45
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
47
|
+
const { logger } = configuration;
|
|
48
|
+
const clientName = "WisdomClient";
|
|
49
|
+
const commandName = "DeleteKnowledgeBaseCommand";
|
|
50
|
+
const handlerExecutionContext = {
|
|
51
|
+
logger,
|
|
52
|
+
clientName,
|
|
53
|
+
commandName,
|
|
54
|
+
inputFilterSensitiveLog: models_0_1.DeleteKnowledgeBaseRequest.filterSensitiveLog,
|
|
55
|
+
outputFilterSensitiveLog: models_0_1.DeleteKnowledgeBaseResponse.filterSensitiveLog,
|
|
56
|
+
};
|
|
57
|
+
const { requestHandler } = configuration;
|
|
58
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
59
|
+
}
|
|
60
|
+
serialize(input, context) {
|
|
61
|
+
return Aws_restJson1_1.serializeAws_restJson1DeleteKnowledgeBaseCommand(input, context);
|
|
62
|
+
}
|
|
63
|
+
deserialize(output, context) {
|
|
64
|
+
return Aws_restJson1_1.deserializeAws_restJson1DeleteKnowledgeBaseCommand(output, context);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.DeleteKnowledgeBaseCommand = DeleteKnowledgeBaseCommand;
|
|
68
|
+
//# sourceMappingURL=DeleteKnowledgeBaseCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteKnowledgeBaseCommand.js","sourceRoot":"","sources":["../../src/commands/DeleteKnowledgeBaseCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAA6F;AAC7F,8DAGoC;AAMpC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,0BAA2B,SAAQ,uBAI/C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAsC;QACzD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAiC;QAGzD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,cAAc,CAAC;QAClC,MAAM,WAAW,GAAG,4BAA4B,CAAC;QACjD,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,qCAA0B,CAAC,kBAAkB;YACtE,wBAAwB,EAAE,sCAA2B,CAAC,kBAAkB;SACzE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAsC,EAAE,OAAuB;QAC/E,OAAO,gEAAgD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,kEAAkD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;CAIF;AAtDD,gEAsDC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAssistantAssociationCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
/**
|
|
9
|
+
* <p>Retrieves information about an assistant association.</p>
|
|
10
|
+
* @example
|
|
11
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
+
* ```javascript
|
|
13
|
+
* import { WisdomClient, GetAssistantAssociationCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
14
|
+
* // const { WisdomClient, GetAssistantAssociationCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
15
|
+
* const client = new WisdomClient(config);
|
|
16
|
+
* const command = new GetAssistantAssociationCommand(input);
|
|
17
|
+
* const response = await client.send(command);
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* @see {@link GetAssistantAssociationCommandInput} for command's `input` shape.
|
|
21
|
+
* @see {@link GetAssistantAssociationCommandOutput} for command's `response` shape.
|
|
22
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
class GetAssistantAssociationCommand extends smithy_client_1.Command {
|
|
26
|
+
// Start section: command_properties
|
|
27
|
+
// End section: command_properties
|
|
28
|
+
constructor(input) {
|
|
29
|
+
// Start section: command_constructor
|
|
30
|
+
super();
|
|
31
|
+
this.input = input;
|
|
32
|
+
// End section: command_constructor
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
38
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
40
|
+
const { logger } = configuration;
|
|
41
|
+
const clientName = "WisdomClient";
|
|
42
|
+
const commandName = "GetAssistantAssociationCommand";
|
|
43
|
+
const handlerExecutionContext = {
|
|
44
|
+
logger,
|
|
45
|
+
clientName,
|
|
46
|
+
commandName,
|
|
47
|
+
inputFilterSensitiveLog: models_0_1.GetAssistantAssociationRequest.filterSensitiveLog,
|
|
48
|
+
outputFilterSensitiveLog: models_0_1.GetAssistantAssociationResponse.filterSensitiveLog,
|
|
49
|
+
};
|
|
50
|
+
const { requestHandler } = configuration;
|
|
51
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
52
|
+
}
|
|
53
|
+
serialize(input, context) {
|
|
54
|
+
return Aws_restJson1_1.serializeAws_restJson1GetAssistantAssociationCommand(input, context);
|
|
55
|
+
}
|
|
56
|
+
deserialize(output, context) {
|
|
57
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetAssistantAssociationCommand(output, context);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.GetAssistantAssociationCommand = GetAssistantAssociationCommand;
|
|
61
|
+
//# sourceMappingURL=GetAssistantAssociationCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetAssistantAssociationCommand.js","sourceRoot":"","sources":["../../src/commands/GetAssistantAssociationCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAAqG;AACrG,8DAGoC;AAMpC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,8BAA+B,SAAQ,uBAInD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA0C;QAC7D,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAqC;QAG7D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,cAAc,CAAC;QAClC,MAAM,WAAW,GAAG,gCAAgC,CAAC;QACrD,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,yCAA8B,CAAC,kBAAkB;YAC1E,wBAAwB,EAAE,0CAA+B,CAAC,kBAAkB;SAC7E,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAA0C,EAAE,OAAuB;QACnF,OAAO,oEAAoD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,sEAAsD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;CAIF;AAtDD,wEAsDC"}
|