@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.GetAssistantCommand = 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.</p>
|
|
10
|
+
* @example
|
|
11
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
+
* ```javascript
|
|
13
|
+
* import { WisdomClient, GetAssistantCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
14
|
+
* // const { WisdomClient, GetAssistantCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
15
|
+
* const client = new WisdomClient(config);
|
|
16
|
+
* const command = new GetAssistantCommand(input);
|
|
17
|
+
* const response = await client.send(command);
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* @see {@link GetAssistantCommandInput} for command's `input` shape.
|
|
21
|
+
* @see {@link GetAssistantCommandOutput} for command's `response` shape.
|
|
22
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
class GetAssistantCommand 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 = "GetAssistantCommand";
|
|
43
|
+
const handlerExecutionContext = {
|
|
44
|
+
logger,
|
|
45
|
+
clientName,
|
|
46
|
+
commandName,
|
|
47
|
+
inputFilterSensitiveLog: models_0_1.GetAssistantRequest.filterSensitiveLog,
|
|
48
|
+
outputFilterSensitiveLog: models_0_1.GetAssistantResponse.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_restJson1GetAssistantCommand(input, context);
|
|
55
|
+
}
|
|
56
|
+
deserialize(output, context) {
|
|
57
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetAssistantCommand(output, context);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.GetAssistantCommand = GetAssistantCommand;
|
|
61
|
+
//# sourceMappingURL=GetAssistantCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetAssistantCommand.js","sourceRoot":"","sources":["../../src/commands/GetAssistantCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAA+E;AAC/E,8DAGoC;AAMpC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,mBAAoB,SAAQ,uBAIxC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA+B;QAClD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA0B;QAGlD,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,qBAAqB,CAAC;QAC1C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,8BAAmB,CAAC,kBAAkB;YAC/D,wBAAwB,EAAE,+BAAoB,CAAC,kBAAkB;SAClE,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,KAA+B,EAAE,OAAuB;QACxE,OAAO,yDAAyC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,2DAA2C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;CAIF;AAtDD,kDAsDC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetContentCommand = 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 content, including a pre-signed URL to download 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, GetContentCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
14
|
+
* // const { WisdomClient, GetContentCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
15
|
+
* const client = new WisdomClient(config);
|
|
16
|
+
* const command = new GetContentCommand(input);
|
|
17
|
+
* const response = await client.send(command);
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* @see {@link GetContentCommandInput} for command's `input` shape.
|
|
21
|
+
* @see {@link GetContentCommandOutput} for command's `response` shape.
|
|
22
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
class GetContentCommand 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 = "GetContentCommand";
|
|
43
|
+
const handlerExecutionContext = {
|
|
44
|
+
logger,
|
|
45
|
+
clientName,
|
|
46
|
+
commandName,
|
|
47
|
+
inputFilterSensitiveLog: models_0_1.GetContentRequest.filterSensitiveLog,
|
|
48
|
+
outputFilterSensitiveLog: models_0_1.GetContentResponse.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_restJson1GetContentCommand(input, context);
|
|
55
|
+
}
|
|
56
|
+
deserialize(output, context) {
|
|
57
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetContentCommand(output, context);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.GetContentCommand = GetContentCommand;
|
|
61
|
+
//# sourceMappingURL=GetContentCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetContentCommand.js","sourceRoot":"","sources":["../../src/commands/GetContentCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAA2E;AAC3E,8DAGoC;AAMpC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,iBAAkB,SAAQ,uBAItC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA6B;QAChD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAwB;QAGhD,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,mBAAmB,CAAC;QACxC,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,4BAAiB,CAAC,kBAAkB;YAC7D,wBAAwB,EAAE,6BAAkB,CAAC,kBAAkB;SAChE,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,KAA6B,EAAE,OAAuB;QACtE,OAAO,uDAAuC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,yDAAyC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CAIF;AAtDD,8CAsDC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetContentSummaryCommand = 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 summary information about 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, GetContentSummaryCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
14
|
+
* // const { WisdomClient, GetContentSummaryCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
15
|
+
* const client = new WisdomClient(config);
|
|
16
|
+
* const command = new GetContentSummaryCommand(input);
|
|
17
|
+
* const response = await client.send(command);
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* @see {@link GetContentSummaryCommandInput} for command's `input` shape.
|
|
21
|
+
* @see {@link GetContentSummaryCommandOutput} for command's `response` shape.
|
|
22
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
class GetContentSummaryCommand 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 = "GetContentSummaryCommand";
|
|
43
|
+
const handlerExecutionContext = {
|
|
44
|
+
logger,
|
|
45
|
+
clientName,
|
|
46
|
+
commandName,
|
|
47
|
+
inputFilterSensitiveLog: models_0_1.GetContentSummaryRequest.filterSensitiveLog,
|
|
48
|
+
outputFilterSensitiveLog: models_0_1.GetContentSummaryResponse.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_restJson1GetContentSummaryCommand(input, context);
|
|
55
|
+
}
|
|
56
|
+
deserialize(output, context) {
|
|
57
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetContentSummaryCommand(output, context);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.GetContentSummaryCommand = GetContentSummaryCommand;
|
|
61
|
+
//# sourceMappingURL=GetContentSummaryCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetContentSummaryCommand.js","sourceRoot":"","sources":["../../src/commands/GetContentSummaryCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAAyF;AACzF,8DAGoC;AAMpC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,wBAAyB,SAAQ,uBAI7C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAoC;QACvD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA+B;QAGvD,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,0BAA0B,CAAC;QAC/C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,mCAAwB,CAAC,kBAAkB;YACpE,wBAAwB,EAAE,oCAAyB,CAAC,kBAAkB;SACvE,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,KAAoC,EAAE,OAAuB;QAC7E,OAAO,8DAA8C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,gEAAgD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;CAIF;AAtDD,4DAsDC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetKnowledgeBaseCommand = 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 the knowledge base.</p>
|
|
10
|
+
* @example
|
|
11
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
+
* ```javascript
|
|
13
|
+
* import { WisdomClient, GetKnowledgeBaseCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
14
|
+
* // const { WisdomClient, GetKnowledgeBaseCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
15
|
+
* const client = new WisdomClient(config);
|
|
16
|
+
* const command = new GetKnowledgeBaseCommand(input);
|
|
17
|
+
* const response = await client.send(command);
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* @see {@link GetKnowledgeBaseCommandInput} for command's `input` shape.
|
|
21
|
+
* @see {@link GetKnowledgeBaseCommandOutput} for command's `response` shape.
|
|
22
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
class GetKnowledgeBaseCommand 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 = "GetKnowledgeBaseCommand";
|
|
43
|
+
const handlerExecutionContext = {
|
|
44
|
+
logger,
|
|
45
|
+
clientName,
|
|
46
|
+
commandName,
|
|
47
|
+
inputFilterSensitiveLog: models_0_1.GetKnowledgeBaseRequest.filterSensitiveLog,
|
|
48
|
+
outputFilterSensitiveLog: models_0_1.GetKnowledgeBaseResponse.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_restJson1GetKnowledgeBaseCommand(input, context);
|
|
55
|
+
}
|
|
56
|
+
deserialize(output, context) {
|
|
57
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetKnowledgeBaseCommand(output, context);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.GetKnowledgeBaseCommand = GetKnowledgeBaseCommand;
|
|
61
|
+
//# sourceMappingURL=GetKnowledgeBaseCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetKnowledgeBaseCommand.js","sourceRoot":"","sources":["../../src/commands/GetKnowledgeBaseCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAAuF;AACvF,8DAGoC;AAMpC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,uBAAwB,SAAQ,uBAI5C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAmC;QACtD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA8B;QAGtD,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,yBAAyB,CAAC;QAC9C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,kCAAuB,CAAC,kBAAkB;YACnE,wBAAwB,EAAE,mCAAwB,CAAC,kBAAkB;SACtE,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,KAAmC,EAAE,OAAuB;QAC5E,OAAO,6DAA6C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,+DAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;CAIF;AAtDD,0DAsDC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetRecommendationsCommand = 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 recommendations for the specified session. To avoid retrieving the same
|
|
10
|
+
* recommendations in subsequent calls, use <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_NotifyRecommendationsReceived.html">NotifyRecommendationsReceived</a>. This API supports long-polling behavior with the
|
|
11
|
+
* <code>waitTimeSeconds</code> parameter. Short poll is the default behavior and only returns
|
|
12
|
+
* recommendations already available. To perform a manual query against an assistant, use <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_QueryAssistant.html">QueryAssistant</a>.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { WisdomClient, GetRecommendationsCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
17
|
+
* // const { WisdomClient, GetRecommendationsCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
18
|
+
* const client = new WisdomClient(config);
|
|
19
|
+
* const command = new GetRecommendationsCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link GetRecommendationsCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link GetRecommendationsCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
class GetRecommendationsCommand extends smithy_client_1.Command {
|
|
29
|
+
// Start section: command_properties
|
|
30
|
+
// End section: command_properties
|
|
31
|
+
constructor(input) {
|
|
32
|
+
// Start section: command_constructor
|
|
33
|
+
super();
|
|
34
|
+
this.input = input;
|
|
35
|
+
// End section: command_constructor
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
41
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
43
|
+
const { logger } = configuration;
|
|
44
|
+
const clientName = "WisdomClient";
|
|
45
|
+
const commandName = "GetRecommendationsCommand";
|
|
46
|
+
const handlerExecutionContext = {
|
|
47
|
+
logger,
|
|
48
|
+
clientName,
|
|
49
|
+
commandName,
|
|
50
|
+
inputFilterSensitiveLog: models_0_1.GetRecommendationsRequest.filterSensitiveLog,
|
|
51
|
+
outputFilterSensitiveLog: models_0_1.GetRecommendationsResponse.filterSensitiveLog,
|
|
52
|
+
};
|
|
53
|
+
const { requestHandler } = configuration;
|
|
54
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
55
|
+
}
|
|
56
|
+
serialize(input, context) {
|
|
57
|
+
return Aws_restJson1_1.serializeAws_restJson1GetRecommendationsCommand(input, context);
|
|
58
|
+
}
|
|
59
|
+
deserialize(output, context) {
|
|
60
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetRecommendationsCommand(output, context);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.GetRecommendationsCommand = GetRecommendationsCommand;
|
|
64
|
+
//# sourceMappingURL=GetRecommendationsCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetRecommendationsCommand.js","sourceRoot":"","sources":["../../src/commands/GetRecommendationsCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAA2F;AAC3F,8DAGoC;AAMpC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,yBAA0B,SAAQ,uBAI9C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAqC;QACxD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAgC;QAGxD,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,2BAA2B,CAAC;QAChD,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,oCAAyB,CAAC,kBAAkB;YACrE,wBAAwB,EAAE,qCAA0B,CAAC,kBAAkB;SACxE,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,KAAqC,EAAE,OAAuB;QAC9E,OAAO,+DAA+C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,iEAAiD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CAIF;AAtDD,8DAsDC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetSessionCommand = 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 for a specified session.</p>
|
|
10
|
+
* @example
|
|
11
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
+
* ```javascript
|
|
13
|
+
* import { WisdomClient, GetSessionCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
14
|
+
* // const { WisdomClient, GetSessionCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
15
|
+
* const client = new WisdomClient(config);
|
|
16
|
+
* const command = new GetSessionCommand(input);
|
|
17
|
+
* const response = await client.send(command);
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* @see {@link GetSessionCommandInput} for command's `input` shape.
|
|
21
|
+
* @see {@link GetSessionCommandOutput} for command's `response` shape.
|
|
22
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
class GetSessionCommand 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 = "GetSessionCommand";
|
|
43
|
+
const handlerExecutionContext = {
|
|
44
|
+
logger,
|
|
45
|
+
clientName,
|
|
46
|
+
commandName,
|
|
47
|
+
inputFilterSensitiveLog: models_0_1.GetSessionRequest.filterSensitiveLog,
|
|
48
|
+
outputFilterSensitiveLog: models_0_1.GetSessionResponse.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_restJson1GetSessionCommand(input, context);
|
|
55
|
+
}
|
|
56
|
+
deserialize(output, context) {
|
|
57
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetSessionCommand(output, context);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.GetSessionCommand = GetSessionCommand;
|
|
61
|
+
//# sourceMappingURL=GetSessionCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetSessionCommand.js","sourceRoot":"","sources":["../../src/commands/GetSessionCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAA2E;AAC3E,8DAGoC;AAMpC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,iBAAkB,SAAQ,uBAItC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA6B;QAChD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAwB;QAGhD,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,mBAAmB,CAAC;QACxC,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,4BAAiB,CAAC,kBAAkB;YAC7D,wBAAwB,EAAE,6BAAkB,CAAC,kBAAkB;SAChE,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,KAA6B,EAAE,OAAuB;QACtE,OAAO,uDAAuC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,yDAAyC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CAIF;AAtDD,8CAsDC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListAssistantAssociationsCommand = 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>Lists information about assistant associations.</p>
|
|
10
|
+
* @example
|
|
11
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
+
* ```javascript
|
|
13
|
+
* import { WisdomClient, ListAssistantAssociationsCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
14
|
+
* // const { WisdomClient, ListAssistantAssociationsCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
15
|
+
* const client = new WisdomClient(config);
|
|
16
|
+
* const command = new ListAssistantAssociationsCommand(input);
|
|
17
|
+
* const response = await client.send(command);
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* @see {@link ListAssistantAssociationsCommandInput} for command's `input` shape.
|
|
21
|
+
* @see {@link ListAssistantAssociationsCommandOutput} for command's `response` shape.
|
|
22
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
class ListAssistantAssociationsCommand 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 = "ListAssistantAssociationsCommand";
|
|
43
|
+
const handlerExecutionContext = {
|
|
44
|
+
logger,
|
|
45
|
+
clientName,
|
|
46
|
+
commandName,
|
|
47
|
+
inputFilterSensitiveLog: models_0_1.ListAssistantAssociationsRequest.filterSensitiveLog,
|
|
48
|
+
outputFilterSensitiveLog: models_0_1.ListAssistantAssociationsResponse.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_restJson1ListAssistantAssociationsCommand(input, context);
|
|
55
|
+
}
|
|
56
|
+
deserialize(output, context) {
|
|
57
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListAssistantAssociationsCommand(output, context);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.ListAssistantAssociationsCommand = ListAssistantAssociationsCommand;
|
|
61
|
+
//# sourceMappingURL=ListAssistantAssociationsCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListAssistantAssociationsCommand.js","sourceRoot":"","sources":["../../src/commands/ListAssistantAssociationsCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAAyG;AACzG,8DAGoC;AAMpC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,gCAAiC,SAAQ,uBAIrD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA4C;QAC/D,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAuC;QAG/D,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,kCAAkC,CAAC;QACvD,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,2CAAgC,CAAC,kBAAkB;YAC5E,wBAAwB,EAAE,4CAAiC,CAAC,kBAAkB;SAC/E,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,KAA4C,EAAE,OAAuB;QACrF,OAAO,sEAAsD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAEO,WAAW,CACjB,MAAsB,EACtB,OAAuB;QAEvB,OAAO,wEAAwD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;CAIF;AAzDD,4EAyDC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListAssistantsCommand = 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>Lists information about assistants.</p>
|
|
10
|
+
* @example
|
|
11
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
+
* ```javascript
|
|
13
|
+
* import { WisdomClient, ListAssistantsCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
14
|
+
* // const { WisdomClient, ListAssistantsCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
15
|
+
* const client = new WisdomClient(config);
|
|
16
|
+
* const command = new ListAssistantsCommand(input);
|
|
17
|
+
* const response = await client.send(command);
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* @see {@link ListAssistantsCommandInput} for command's `input` shape.
|
|
21
|
+
* @see {@link ListAssistantsCommandOutput} for command's `response` shape.
|
|
22
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
class ListAssistantsCommand 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 = "ListAssistantsCommand";
|
|
43
|
+
const handlerExecutionContext = {
|
|
44
|
+
logger,
|
|
45
|
+
clientName,
|
|
46
|
+
commandName,
|
|
47
|
+
inputFilterSensitiveLog: models_0_1.ListAssistantsRequest.filterSensitiveLog,
|
|
48
|
+
outputFilterSensitiveLog: models_0_1.ListAssistantsResponse.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_restJson1ListAssistantsCommand(input, context);
|
|
55
|
+
}
|
|
56
|
+
deserialize(output, context) {
|
|
57
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListAssistantsCommand(output, context);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.ListAssistantsCommand = ListAssistantsCommand;
|
|
61
|
+
//# sourceMappingURL=ListAssistantsCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListAssistantsCommand.js","sourceRoot":"","sources":["../../src/commands/ListAssistantsCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAAmF;AACnF,8DAGoC;AAMpC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,qBAAsB,SAAQ,uBAI1C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAiC;QACpD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA4B;QAGpD,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,uBAAuB,CAAC;QAC5C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,gCAAqB,CAAC,kBAAkB;YACjE,wBAAwB,EAAE,iCAAsB,CAAC,kBAAkB;SACpE,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,KAAiC,EAAE,OAAuB;QAC1E,OAAO,2DAA2C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,6DAA6C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;CAIF;AAtDD,sDAsDC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListContentsCommand = 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>Lists 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, ListContentsCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
14
|
+
* // const { WisdomClient, ListContentsCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
15
|
+
* const client = new WisdomClient(config);
|
|
16
|
+
* const command = new ListContentsCommand(input);
|
|
17
|
+
* const response = await client.send(command);
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* @see {@link ListContentsCommandInput} for command's `input` shape.
|
|
21
|
+
* @see {@link ListContentsCommandOutput} for command's `response` shape.
|
|
22
|
+
* @see {@link WisdomClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
class ListContentsCommand 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 = "ListContentsCommand";
|
|
43
|
+
const handlerExecutionContext = {
|
|
44
|
+
logger,
|
|
45
|
+
clientName,
|
|
46
|
+
commandName,
|
|
47
|
+
inputFilterSensitiveLog: models_0_1.ListContentsRequest.filterSensitiveLog,
|
|
48
|
+
outputFilterSensitiveLog: models_0_1.ListContentsResponse.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_restJson1ListContentsCommand(input, context);
|
|
55
|
+
}
|
|
56
|
+
deserialize(output, context) {
|
|
57
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListContentsCommand(output, context);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.ListContentsCommand = ListContentsCommand;
|
|
61
|
+
//# sourceMappingURL=ListContentsCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListContentsCommand.js","sourceRoot":"","sources":["../../src/commands/ListContentsCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAA+E;AAC/E,8DAGoC;AAMpC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,mBAAoB,SAAQ,uBAIxC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA+B;QAClD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA0B;QAGlD,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,qBAAqB,CAAC;QAC1C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,8BAAmB,CAAC,kBAAkB;YAC/D,wBAAwB,EAAE,+BAAoB,CAAC,kBAAkB;SAClE,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,KAA+B,EAAE,OAAuB;QACxE,OAAO,yDAAyC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,2DAA2C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;CAIF;AAtDD,kDAsDC"}
|