@aws-sdk/client-kendra 3.477.0 → 3.481.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/dist-cjs/commands/AssociateEntitiesToExperienceCommand.js +18 -41
- package/dist-cjs/commands/AssociatePersonasToEntitiesCommand.js +18 -41
- package/dist-cjs/commands/BatchDeleteDocumentCommand.js +18 -41
- package/dist-cjs/commands/BatchDeleteFeaturedResultsSetCommand.js +18 -41
- package/dist-cjs/commands/BatchGetDocumentStatusCommand.js +18 -41
- package/dist-cjs/commands/BatchPutDocumentCommand.js +18 -41
- package/dist-cjs/commands/ClearQuerySuggestionsCommand.js +18 -41
- package/dist-cjs/commands/CreateAccessControlConfigurationCommand.js +18 -41
- package/dist-cjs/commands/CreateDataSourceCommand.js +18 -41
- package/dist-cjs/commands/CreateExperienceCommand.js +18 -41
- package/dist-cjs/commands/CreateFaqCommand.js +18 -41
- package/dist-cjs/commands/CreateFeaturedResultsSetCommand.js +18 -41
- package/dist-cjs/commands/CreateIndexCommand.js +18 -41
- package/dist-cjs/commands/CreateQuerySuggestionsBlockListCommand.js +18 -41
- package/dist-cjs/commands/CreateThesaurusCommand.js +18 -41
- package/dist-cjs/commands/DeleteAccessControlConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DeleteDataSourceCommand.js +18 -41
- package/dist-cjs/commands/DeleteExperienceCommand.js +18 -41
- package/dist-cjs/commands/DeleteFaqCommand.js +18 -41
- package/dist-cjs/commands/DeleteIndexCommand.js +18 -41
- package/dist-cjs/commands/DeletePrincipalMappingCommand.js +18 -41
- package/dist-cjs/commands/DeleteQuerySuggestionsBlockListCommand.js +18 -41
- package/dist-cjs/commands/DeleteThesaurusCommand.js +18 -41
- package/dist-cjs/commands/DescribeAccessControlConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DescribeDataSourceCommand.js +18 -41
- package/dist-cjs/commands/DescribeExperienceCommand.js +18 -41
- package/dist-cjs/commands/DescribeFaqCommand.js +18 -41
- package/dist-cjs/commands/DescribeFeaturedResultsSetCommand.js +18 -41
- package/dist-cjs/commands/DescribeIndexCommand.js +18 -41
- package/dist-cjs/commands/DescribePrincipalMappingCommand.js +18 -41
- package/dist-cjs/commands/DescribeQuerySuggestionsBlockListCommand.js +18 -41
- package/dist-cjs/commands/DescribeQuerySuggestionsConfigCommand.js +18 -41
- package/dist-cjs/commands/DescribeThesaurusCommand.js +18 -41
- package/dist-cjs/commands/DisassociateEntitiesFromExperienceCommand.js +18 -41
- package/dist-cjs/commands/DisassociatePersonasFromEntitiesCommand.js +18 -41
- package/dist-cjs/commands/GetQuerySuggestionsCommand.js +18 -41
- package/dist-cjs/commands/GetSnapshotsCommand.js +18 -41
- package/dist-cjs/commands/ListAccessControlConfigurationsCommand.js +18 -41
- package/dist-cjs/commands/ListDataSourceSyncJobsCommand.js +18 -41
- package/dist-cjs/commands/ListDataSourcesCommand.js +18 -41
- package/dist-cjs/commands/ListEntityPersonasCommand.js +18 -41
- package/dist-cjs/commands/ListExperienceEntitiesCommand.js +18 -41
- package/dist-cjs/commands/ListExperiencesCommand.js +18 -41
- package/dist-cjs/commands/ListFaqsCommand.js +18 -41
- package/dist-cjs/commands/ListFeaturedResultsSetsCommand.js +18 -41
- package/dist-cjs/commands/ListGroupsOlderThanOrderingIdCommand.js +18 -41
- package/dist-cjs/commands/ListIndicesCommand.js +18 -41
- package/dist-cjs/commands/ListQuerySuggestionsBlockListsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListThesauriCommand.js +18 -41
- package/dist-cjs/commands/PutPrincipalMappingCommand.js +18 -41
- package/dist-cjs/commands/QueryCommand.js +18 -41
- package/dist-cjs/commands/RetrieveCommand.js +18 -41
- package/dist-cjs/commands/StartDataSourceSyncJobCommand.js +18 -41
- package/dist-cjs/commands/StopDataSourceSyncJobCommand.js +18 -41
- package/dist-cjs/commands/SubmitFeedbackCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateAccessControlConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateDataSourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateExperienceCommand.js +18 -41
- package/dist-cjs/commands/UpdateFeaturedResultsSetCommand.js +18 -41
- package/dist-cjs/commands/UpdateIndexCommand.js +18 -41
- package/dist-cjs/commands/UpdateQuerySuggestionsBlockListCommand.js +18 -41
- package/dist-cjs/commands/UpdateQuerySuggestionsConfigCommand.js +18 -41
- package/dist-cjs/commands/UpdateThesaurusCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/GetSnapshotsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAccessControlConfigurationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDataSourceSyncJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDataSourcesPaginator.js +2 -24
- package/dist-cjs/pagination/ListEntityPersonasPaginator.js +2 -24
- package/dist-cjs/pagination/ListExperienceEntitiesPaginator.js +2 -23
- package/dist-cjs/pagination/ListExperiencesPaginator.js +2 -24
- package/dist-cjs/pagination/ListFaqsPaginator.js +2 -24
- package/dist-cjs/pagination/ListGroupsOlderThanOrderingIdPaginator.js +2 -24
- package/dist-cjs/pagination/ListIndicesPaginator.js +2 -24
- package/dist-cjs/pagination/ListQuerySuggestionsBlockListsPaginator.js +2 -24
- package/dist-cjs/pagination/ListThesauriPaginator.js +2 -24
- package/dist-es/commands/AssociateEntitiesToExperienceCommand.js +18 -41
- package/dist-es/commands/AssociatePersonasToEntitiesCommand.js +18 -41
- package/dist-es/commands/BatchDeleteDocumentCommand.js +18 -41
- package/dist-es/commands/BatchDeleteFeaturedResultsSetCommand.js +18 -41
- package/dist-es/commands/BatchGetDocumentStatusCommand.js +18 -41
- package/dist-es/commands/BatchPutDocumentCommand.js +18 -41
- package/dist-es/commands/ClearQuerySuggestionsCommand.js +18 -41
- package/dist-es/commands/CreateAccessControlConfigurationCommand.js +18 -41
- package/dist-es/commands/CreateDataSourceCommand.js +18 -41
- package/dist-es/commands/CreateExperienceCommand.js +18 -41
- package/dist-es/commands/CreateFaqCommand.js +18 -41
- package/dist-es/commands/CreateFeaturedResultsSetCommand.js +18 -41
- package/dist-es/commands/CreateIndexCommand.js +18 -41
- package/dist-es/commands/CreateQuerySuggestionsBlockListCommand.js +18 -41
- package/dist-es/commands/CreateThesaurusCommand.js +18 -41
- package/dist-es/commands/DeleteAccessControlConfigurationCommand.js +18 -41
- package/dist-es/commands/DeleteDataSourceCommand.js +18 -41
- package/dist-es/commands/DeleteExperienceCommand.js +18 -41
- package/dist-es/commands/DeleteFaqCommand.js +18 -41
- package/dist-es/commands/DeleteIndexCommand.js +18 -41
- package/dist-es/commands/DeletePrincipalMappingCommand.js +18 -41
- package/dist-es/commands/DeleteQuerySuggestionsBlockListCommand.js +18 -41
- package/dist-es/commands/DeleteThesaurusCommand.js +18 -41
- package/dist-es/commands/DescribeAccessControlConfigurationCommand.js +18 -41
- package/dist-es/commands/DescribeDataSourceCommand.js +18 -41
- package/dist-es/commands/DescribeExperienceCommand.js +18 -41
- package/dist-es/commands/DescribeFaqCommand.js +18 -41
- package/dist-es/commands/DescribeFeaturedResultsSetCommand.js +18 -41
- package/dist-es/commands/DescribeIndexCommand.js +18 -41
- package/dist-es/commands/DescribePrincipalMappingCommand.js +18 -41
- package/dist-es/commands/DescribeQuerySuggestionsBlockListCommand.js +18 -41
- package/dist-es/commands/DescribeQuerySuggestionsConfigCommand.js +18 -41
- package/dist-es/commands/DescribeThesaurusCommand.js +18 -41
- package/dist-es/commands/DisassociateEntitiesFromExperienceCommand.js +18 -41
- package/dist-es/commands/DisassociatePersonasFromEntitiesCommand.js +18 -41
- package/dist-es/commands/GetQuerySuggestionsCommand.js +18 -41
- package/dist-es/commands/GetSnapshotsCommand.js +18 -41
- package/dist-es/commands/ListAccessControlConfigurationsCommand.js +18 -41
- package/dist-es/commands/ListDataSourceSyncJobsCommand.js +18 -41
- package/dist-es/commands/ListDataSourcesCommand.js +18 -41
- package/dist-es/commands/ListEntityPersonasCommand.js +18 -41
- package/dist-es/commands/ListExperienceEntitiesCommand.js +18 -41
- package/dist-es/commands/ListExperiencesCommand.js +18 -41
- package/dist-es/commands/ListFaqsCommand.js +18 -41
- package/dist-es/commands/ListFeaturedResultsSetsCommand.js +18 -41
- package/dist-es/commands/ListGroupsOlderThanOrderingIdCommand.js +18 -41
- package/dist-es/commands/ListIndicesCommand.js +18 -41
- package/dist-es/commands/ListQuerySuggestionsBlockListsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListThesauriCommand.js +18 -41
- package/dist-es/commands/PutPrincipalMappingCommand.js +18 -41
- package/dist-es/commands/QueryCommand.js +18 -41
- package/dist-es/commands/RetrieveCommand.js +18 -41
- package/dist-es/commands/StartDataSourceSyncJobCommand.js +18 -41
- package/dist-es/commands/StopDataSourceSyncJobCommand.js +18 -41
- package/dist-es/commands/SubmitFeedbackCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateAccessControlConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateDataSourceCommand.js +18 -41
- package/dist-es/commands/UpdateExperienceCommand.js +18 -41
- package/dist-es/commands/UpdateFeaturedResultsSetCommand.js +18 -41
- package/dist-es/commands/UpdateIndexCommand.js +18 -41
- package/dist-es/commands/UpdateQuerySuggestionsBlockListCommand.js +18 -41
- package/dist-es/commands/UpdateQuerySuggestionsConfigCommand.js +18 -41
- package/dist-es/commands/UpdateThesaurusCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/GetSnapshotsPaginator.js +2 -23
- package/dist-es/pagination/ListAccessControlConfigurationsPaginator.js +2 -23
- package/dist-es/pagination/ListDataSourceSyncJobsPaginator.js +2 -23
- package/dist-es/pagination/ListDataSourcesPaginator.js +2 -23
- package/dist-es/pagination/ListEntityPersonasPaginator.js +2 -23
- package/dist-es/pagination/ListExperienceEntitiesPaginator.js +2 -22
- package/dist-es/pagination/ListExperiencesPaginator.js +2 -23
- package/dist-es/pagination/ListFaqsPaginator.js +2 -23
- package/dist-es/pagination/ListGroupsOlderThanOrderingIdPaginator.js +2 -23
- package/dist-es/pagination/ListIndicesPaginator.js +2 -23
- package/dist-es/pagination/ListQuerySuggestionsBlockListsPaginator.js +2 -23
- package/dist-es/pagination/ListThesauriPaginator.js +2 -23
- package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +6 -21
- package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +6 -21
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +6 -21
- package/dist-types/commands/BatchDeleteFeaturedResultsSetCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +6 -21
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +6 -21
- package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +6 -21
- package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/CreateDataSourceCommand.d.ts +6 -21
- package/dist-types/commands/CreateExperienceCommand.d.ts +6 -21
- package/dist-types/commands/CreateFaqCommand.d.ts +6 -21
- package/dist-types/commands/CreateFeaturedResultsSetCommand.d.ts +6 -21
- package/dist-types/commands/CreateIndexCommand.d.ts +6 -21
- package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +6 -21
- package/dist-types/commands/CreateThesaurusCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAccessControlConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +6 -21
- package/dist-types/commands/DeleteExperienceCommand.d.ts +6 -21
- package/dist-types/commands/DeleteFaqCommand.d.ts +6 -21
- package/dist-types/commands/DeleteIndexCommand.d.ts +6 -21
- package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +6 -21
- package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +6 -21
- package/dist-types/commands/DeleteThesaurusCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAccessControlConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDataSourceCommand.d.ts +6 -21
- package/dist-types/commands/DescribeExperienceCommand.d.ts +6 -21
- package/dist-types/commands/DescribeFaqCommand.d.ts +6 -21
- package/dist-types/commands/DescribeFeaturedResultsSetCommand.d.ts +6 -21
- package/dist-types/commands/DescribeIndexCommand.d.ts +6 -21
- package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +6 -21
- package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +6 -21
- package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +6 -21
- package/dist-types/commands/DescribeThesaurusCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +6 -21
- package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +6 -21
- package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +6 -21
- package/dist-types/commands/GetSnapshotsCommand.d.ts +6 -21
- package/dist-types/commands/ListAccessControlConfigurationsCommand.d.ts +6 -21
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListDataSourcesCommand.d.ts +6 -21
- package/dist-types/commands/ListEntityPersonasCommand.d.ts +6 -21
- package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +6 -21
- package/dist-types/commands/ListExperiencesCommand.d.ts +6 -21
- package/dist-types/commands/ListFaqsCommand.d.ts +6 -21
- package/dist-types/commands/ListFeaturedResultsSetsCommand.d.ts +6 -21
- package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +6 -21
- package/dist-types/commands/ListIndicesCommand.d.ts +6 -21
- package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListThesauriCommand.d.ts +6 -21
- package/dist-types/commands/PutPrincipalMappingCommand.d.ts +6 -21
- package/dist-types/commands/QueryCommand.d.ts +6 -21
- package/dist-types/commands/RetrieveCommand.d.ts +6 -21
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +6 -21
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +6 -21
- package/dist-types/commands/SubmitFeedbackCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateExperienceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateFeaturedResultsSetCommand.d.ts +6 -21
- package/dist-types/commands/UpdateIndexCommand.d.ts +6 -21
- package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +6 -21
- package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +6 -21
- package/dist-types/commands/UpdateThesaurusCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/GetSnapshotsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAccessControlConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataSourceSyncJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataSourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEntityPersonasPaginator.d.ts +1 -1
- package/dist-types/pagination/ListExperienceEntitiesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListExperiencesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFaqsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGroupsOlderThanOrderingIdPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIndicesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListQuerySuggestionsBlockListsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThesauriPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AssociateEntitiesToExperienceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociatePersonasToEntitiesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchDeleteDocumentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchDeleteFeaturedResultsSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchGetDocumentStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchPutDocumentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ClearQuerySuggestionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateAccessControlConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateExperienceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateFaqCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateFeaturedResultsSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateQuerySuggestionsBlockListCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateThesaurusCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteAccessControlConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteExperienceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteFaqCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeletePrincipalMappingCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteThesaurusCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeAccessControlConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDataSourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeExperienceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeFaqCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeFeaturedResultsSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeIndexCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribePrincipalMappingCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeQuerySuggestionsConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeThesaurusCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisassociateEntitiesFromExperienceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociatePersonasFromEntitiesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetQuerySuggestionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetSnapshotsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAccessControlConfigurationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDataSourceSyncJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListEntityPersonasCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListExperienceEntitiesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListExperiencesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListFaqsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListFeaturedResultsSetsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListIndicesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListQuerySuggestionsBlockListsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListThesauriCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutPrincipalMappingCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateAccessControlConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateFeaturedResultsSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateQuerySuggestionsConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateThesaurusCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/GetSnapshotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAccessControlConfigurationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDataSourceSyncJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDataSourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEntityPersonasPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListExperienceEntitiesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListExperiencesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFaqsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListGroupsOlderThanOrderingIdPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListIndicesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListQuerySuggestionsBlockListsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListThesauriPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateQuerySuggestionsBlockListCommand, se_UpdateQuerySuggestionsBlockListCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateQuerySuggestionsBlockListCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KendraClient";
|
|
26
|
-
const commandName = "UpdateQuerySuggestionsBlockListCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSKendraFrontendService",
|
|
35
|
-
operation: "UpdateQuerySuggestionsBlockList",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateQuerySuggestionsBlockListCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateQuerySuggestionsBlockListCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateQuerySuggestionsBlockListCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSKendraFrontendService", "UpdateQuerySuggestionsBlockList", {})
|
|
19
|
+
.n("KendraClient", "UpdateQuerySuggestionsBlockListCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateQuerySuggestionsBlockListCommand)
|
|
22
|
+
.de(de_UpdateQuerySuggestionsBlockListCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateQuerySuggestionsConfigCommand, se_UpdateQuerySuggestionsConfigCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateQuerySuggestionsConfigCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KendraClient";
|
|
26
|
-
const commandName = "UpdateQuerySuggestionsConfigCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSKendraFrontendService",
|
|
35
|
-
operation: "UpdateQuerySuggestionsConfig",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateQuerySuggestionsConfigCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateQuerySuggestionsConfigCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateQuerySuggestionsConfigCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSKendraFrontendService", "UpdateQuerySuggestionsConfig", {})
|
|
19
|
+
.n("KendraClient", "UpdateQuerySuggestionsConfigCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateQuerySuggestionsConfigCommand)
|
|
22
|
+
.de(de_UpdateQuerySuggestionsConfigCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateThesaurusCommand, se_UpdateThesaurusCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateThesaurusCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KendraClient";
|
|
26
|
-
const commandName = "UpdateThesaurusCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSKendraFrontendService",
|
|
35
|
-
operation: "UpdateThesaurus",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateThesaurusCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateThesaurusCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateThesaurusCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSKendraFrontendService", "UpdateThesaurus", {})
|
|
19
|
+
.n("KendraClient", "UpdateThesaurusCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateThesaurusCommand)
|
|
22
|
+
.de(de_UpdateThesaurusCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "kendra",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetSnapshotsCommand, } from "../commands/GetSnapshotsCommand";
|
|
2
3
|
import { KendraClient } from "../KendraClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetSnapshotsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetSnapshots(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof KendraClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetSnapshots = createPaginator(KendraClient, GetSnapshotsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAccessControlConfigurationsCommand, } from "../commands/ListAccessControlConfigurationsCommand";
|
|
2
3
|
import { KendraClient } from "../KendraClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAccessControlConfigurationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAccessControlConfigurations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof KendraClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAccessControlConfigurations = createPaginator(KendraClient, ListAccessControlConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDataSourceSyncJobsCommand, } from "../commands/ListDataSourceSyncJobsCommand";
|
|
2
3
|
import { KendraClient } from "../KendraClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDataSourceSyncJobsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDataSourceSyncJobs(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof KendraClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListDataSourceSyncJobs = createPaginator(KendraClient, ListDataSourceSyncJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDataSourcesCommand, } from "../commands/ListDataSourcesCommand";
|
|
2
3
|
import { KendraClient } from "../KendraClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDataSourcesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDataSources(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof KendraClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListDataSources = createPaginator(KendraClient, ListDataSourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListEntityPersonasCommand, } from "../commands/ListEntityPersonasCommand";
|
|
2
3
|
import { KendraClient } from "../KendraClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListEntityPersonasCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListEntityPersonas(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof KendraClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListEntityPersonas = createPaginator(KendraClient, ListEntityPersonasCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListExperienceEntitiesCommand, } from "../commands/ListExperienceEntitiesCommand";
|
|
2
3
|
import { KendraClient } from "../KendraClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListExperienceEntitiesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListExperienceEntities(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof KendraClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListExperienceEntities = createPaginator(KendraClient, ListExperienceEntitiesCommand, "NextToken", "NextToken", "");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListExperiencesCommand, } from "../commands/ListExperiencesCommand";
|
|
2
3
|
import { KendraClient } from "../KendraClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListExperiencesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListExperiences(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof KendraClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListExperiences = createPaginator(KendraClient, ListExperiencesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListFaqsCommand } from "../commands/ListFaqsCommand";
|
|
2
3
|
import { KendraClient } from "../KendraClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListFaqsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListFaqs(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof KendraClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListFaqs = createPaginator(KendraClient, ListFaqsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListGroupsOlderThanOrderingIdCommand, } from "../commands/ListGroupsOlderThanOrderingIdCommand";
|
|
2
3
|
import { KendraClient } from "../KendraClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListGroupsOlderThanOrderingIdCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListGroupsOlderThanOrderingId(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof KendraClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListGroupsOlderThanOrderingId = createPaginator(KendraClient, ListGroupsOlderThanOrderingIdCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListIndicesCommand } from "../commands/ListIndicesCommand";
|
|
2
3
|
import { KendraClient } from "../KendraClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListIndicesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListIndices(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof KendraClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListIndices = createPaginator(KendraClient, ListIndicesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListQuerySuggestionsBlockListsCommand, } from "../commands/ListQuerySuggestionsBlockListsCommand";
|
|
2
3
|
import { KendraClient } from "../KendraClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListQuerySuggestionsBlockListsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListQuerySuggestionsBlockLists(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof KendraClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListQuerySuggestionsBlockLists = createPaginator(KendraClient, ListQuerySuggestionsBlockListsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListThesauriCommand, } from "../commands/ListThesauriCommand";
|
|
2
3
|
import { KendraClient } from "../KendraClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListThesauriCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListThesauri(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof KendraClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListThesauri = createPaginator(KendraClient, ListThesauriCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
5
4
|
import { AssociateEntitiesToExperienceRequest, AssociateEntitiesToExperienceResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AssociateEntitiesToExperienceCommandInput extends AssociateEnti
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AssociateEntitiesToExperienceCommandOutput extends AssociateEntitiesToExperienceResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AssociateEntitiesToExperienceCommand_base: {
|
|
24
|
+
new (input: AssociateEntitiesToExperienceCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateEntitiesToExperienceCommandInput, AssociateEntitiesToExperienceCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Grants users or groups in your IAM Identity Center identity source access
|
|
@@ -91,23 +94,5 @@ export interface AssociateEntitiesToExperienceCommandOutput extends AssociateEnt
|
|
|
91
94
|
* <p>Base exception class for all service exceptions from Kendra service.</p>
|
|
92
95
|
*
|
|
93
96
|
*/
|
|
94
|
-
export declare class AssociateEntitiesToExperienceCommand extends
|
|
95
|
-
readonly input: AssociateEntitiesToExperienceCommandInput;
|
|
96
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
97
|
-
/**
|
|
98
|
-
* @public
|
|
99
|
-
*/
|
|
100
|
-
constructor(input: AssociateEntitiesToExperienceCommandInput);
|
|
101
|
-
/**
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
104
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateEntitiesToExperienceCommandInput, AssociateEntitiesToExperienceCommandOutput>;
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
|
-
private serialize;
|
|
109
|
-
/**
|
|
110
|
-
* @internal
|
|
111
|
-
*/
|
|
112
|
-
private deserialize;
|
|
97
|
+
export declare class AssociateEntitiesToExperienceCommand extends AssociateEntitiesToExperienceCommand_base {
|
|
113
98
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
5
4
|
import { AssociatePersonasToEntitiesRequest, AssociatePersonasToEntitiesResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AssociatePersonasToEntitiesCommandInput extends AssociatePerson
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AssociatePersonasToEntitiesCommandOutput extends AssociatePersonasToEntitiesResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AssociatePersonasToEntitiesCommand_base: {
|
|
24
|
+
new (input: AssociatePersonasToEntitiesCommandInput): import("@smithy/smithy-client").CommandImpl<AssociatePersonasToEntitiesCommandInput, AssociatePersonasToEntitiesCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Defines the specific permissions of users or groups in your IAM Identity Center
|
|
@@ -91,23 +94,5 @@ export interface AssociatePersonasToEntitiesCommandOutput extends AssociatePerso
|
|
|
91
94
|
* <p>Base exception class for all service exceptions from Kendra service.</p>
|
|
92
95
|
*
|
|
93
96
|
*/
|
|
94
|
-
export declare class AssociatePersonasToEntitiesCommand extends
|
|
95
|
-
readonly input: AssociatePersonasToEntitiesCommandInput;
|
|
96
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
97
|
-
/**
|
|
98
|
-
* @public
|
|
99
|
-
*/
|
|
100
|
-
constructor(input: AssociatePersonasToEntitiesCommandInput);
|
|
101
|
-
/**
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
104
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociatePersonasToEntitiesCommandInput, AssociatePersonasToEntitiesCommandOutput>;
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
|
-
private serialize;
|
|
109
|
-
/**
|
|
110
|
-
* @internal
|
|
111
|
-
*/
|
|
112
|
-
private deserialize;
|
|
97
|
+
export declare class AssociatePersonasToEntitiesCommand extends AssociatePersonasToEntitiesCommand_base {
|
|
113
98
|
}
|