package kendra
import "github.com/aws/aws-sdk-go-v2/service/kendra"
Package kendra provides the API client, operations, and parameter types for AWSKendraFrontendService.
Amazon Kendra is a service for indexing large document sets.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- type AssociateEntitiesToExperienceInput
- type AssociateEntitiesToExperienceOutput
- type AssociatePersonasToEntitiesInput
- type AssociatePersonasToEntitiesOutput
- type BatchDeleteDocumentInput
- type BatchDeleteDocumentOutput
- type BatchGetDocumentStatusInput
- type BatchGetDocumentStatusOutput
- type BatchPutDocumentInput
- type BatchPutDocumentOutput
- type ClearQuerySuggestionsInput
- type ClearQuerySuggestionsOutput
- type Client
- func New(options Options, optFns ...func(*Options)) *Client
- func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client
- func (c *Client) AssociateEntitiesToExperience(ctx context.Context, params *AssociateEntitiesToExperienceInput, optFns ...func(*Options)) (*AssociateEntitiesToExperienceOutput, error)
- func (c *Client) AssociatePersonasToEntities(ctx context.Context, params *AssociatePersonasToEntitiesInput, optFns ...func(*Options)) (*AssociatePersonasToEntitiesOutput, error)
- func (c *Client) BatchDeleteDocument(ctx context.Context, params *BatchDeleteDocumentInput, optFns ...func(*Options)) (*BatchDeleteDocumentOutput, error)
- func (c *Client) BatchGetDocumentStatus(ctx context.Context, params *BatchGetDocumentStatusInput, optFns ...func(*Options)) (*BatchGetDocumentStatusOutput, error)
- func (c *Client) BatchPutDocument(ctx context.Context, params *BatchPutDocumentInput, optFns ...func(*Options)) (*BatchPutDocumentOutput, error)
- func (c *Client) ClearQuerySuggestions(ctx context.Context, params *ClearQuerySuggestionsInput, optFns ...func(*Options)) (*ClearQuerySuggestionsOutput, error)
- func (c *Client) CreateDataSource(ctx context.Context, params *CreateDataSourceInput, optFns ...func(*Options)) (*CreateDataSourceOutput, error)
- func (c *Client) CreateExperience(ctx context.Context, params *CreateExperienceInput, optFns ...func(*Options)) (*CreateExperienceOutput, error)
- func (c *Client) CreateFaq(ctx context.Context, params *CreateFaqInput, optFns ...func(*Options)) (*CreateFaqOutput, error)
- func (c *Client) CreateIndex(ctx context.Context, params *CreateIndexInput, optFns ...func(*Options)) (*CreateIndexOutput, error)
- func (c *Client) CreateQuerySuggestionsBlockList(ctx context.Context, params *CreateQuerySuggestionsBlockListInput, optFns ...func(*Options)) (*CreateQuerySuggestionsBlockListOutput, error)
- func (c *Client) CreateThesaurus(ctx context.Context, params *CreateThesaurusInput, optFns ...func(*Options)) (*CreateThesaurusOutput, error)
- func (c *Client) DeleteDataSource(ctx context.Context, params *DeleteDataSourceInput, optFns ...func(*Options)) (*DeleteDataSourceOutput, error)
- func (c *Client) DeleteExperience(ctx context.Context, params *DeleteExperienceInput, optFns ...func(*Options)) (*DeleteExperienceOutput, error)
- func (c *Client) DeleteFaq(ctx context.Context, params *DeleteFaqInput, optFns ...func(*Options)) (*DeleteFaqOutput, error)
- func (c *Client) DeleteIndex(ctx context.Context, params *DeleteIndexInput, optFns ...func(*Options)) (*DeleteIndexOutput, error)
- func (c *Client) DeletePrincipalMapping(ctx context.Context, params *DeletePrincipalMappingInput, optFns ...func(*Options)) (*DeletePrincipalMappingOutput, error)
- func (c *Client) DeleteQuerySuggestionsBlockList(ctx context.Context, params *DeleteQuerySuggestionsBlockListInput, optFns ...func(*Options)) (*DeleteQuerySuggestionsBlockListOutput, error)
- func (c *Client) DeleteThesaurus(ctx context.Context, params *DeleteThesaurusInput, optFns ...func(*Options)) (*DeleteThesaurusOutput, error)
- func (c *Client) DescribeDataSource(ctx context.Context, params *DescribeDataSourceInput, optFns ...func(*Options)) (*DescribeDataSourceOutput, error)
- func (c *Client) DescribeExperience(ctx context.Context, params *DescribeExperienceInput, optFns ...func(*Options)) (*DescribeExperienceOutput, error)
- func (c *Client) DescribeFaq(ctx context.Context, params *DescribeFaqInput, optFns ...func(*Options)) (*DescribeFaqOutput, error)
- func (c *Client) DescribeIndex(ctx context.Context, params *DescribeIndexInput, optFns ...func(*Options)) (*DescribeIndexOutput, error)
- func (c *Client) DescribePrincipalMapping(ctx context.Context, params *DescribePrincipalMappingInput, optFns ...func(*Options)) (*DescribePrincipalMappingOutput, error)
- func (c *Client) DescribeQuerySuggestionsBlockList(ctx context.Context, params *DescribeQuerySuggestionsBlockListInput, optFns ...func(*Options)) (*DescribeQuerySuggestionsBlockListOutput, error)
- func (c *Client) DescribeQuerySuggestionsConfig(ctx context.Context, params *DescribeQuerySuggestionsConfigInput, optFns ...func(*Options)) (*DescribeQuerySuggestionsConfigOutput, error)
- func (c *Client) DescribeThesaurus(ctx context.Context, params *DescribeThesaurusInput, optFns ...func(*Options)) (*DescribeThesaurusOutput, error)
- func (c *Client) DisassociateEntitiesFromExperience(ctx context.Context, params *DisassociateEntitiesFromExperienceInput, optFns ...func(*Options)) (*DisassociateEntitiesFromExperienceOutput, error)
- func (c *Client) DisassociatePersonasFromEntities(ctx context.Context, params *DisassociatePersonasFromEntitiesInput, optFns ...func(*Options)) (*DisassociatePersonasFromEntitiesOutput, error)
- func (c *Client) GetQuerySuggestions(ctx context.Context, params *GetQuerySuggestionsInput, optFns ...func(*Options)) (*GetQuerySuggestionsOutput, error)
- func (c *Client) GetSnapshots(ctx context.Context, params *GetSnapshotsInput, optFns ...func(*Options)) (*GetSnapshotsOutput, error)
- func (c *Client) ListDataSourceSyncJobs(ctx context.Context, params *ListDataSourceSyncJobsInput, optFns ...func(*Options)) (*ListDataSourceSyncJobsOutput, error)
- func (c *Client) ListDataSources(ctx context.Context, params *ListDataSourcesInput, optFns ...func(*Options)) (*ListDataSourcesOutput, error)
- func (c *Client) ListEntityPersonas(ctx context.Context, params *ListEntityPersonasInput, optFns ...func(*Options)) (*ListEntityPersonasOutput, error)
- func (c *Client) ListExperienceEntities(ctx context.Context, params *ListExperienceEntitiesInput, optFns ...func(*Options)) (*ListExperienceEntitiesOutput, error)
- func (c *Client) ListExperiences(ctx context.Context, params *ListExperiencesInput, optFns ...func(*Options)) (*ListExperiencesOutput, error)
- func (c *Client) ListFaqs(ctx context.Context, params *ListFaqsInput, optFns ...func(*Options)) (*ListFaqsOutput, error)
- func (c *Client) ListGroupsOlderThanOrderingId(ctx context.Context, params *ListGroupsOlderThanOrderingIdInput, optFns ...func(*Options)) (*ListGroupsOlderThanOrderingIdOutput, error)
- func (c *Client) ListIndices(ctx context.Context, params *ListIndicesInput, optFns ...func(*Options)) (*ListIndicesOutput, error)
- func (c *Client) ListQuerySuggestionsBlockLists(ctx context.Context, params *ListQuerySuggestionsBlockListsInput, optFns ...func(*Options)) (*ListQuerySuggestionsBlockListsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
- func (c *Client) ListThesauri(ctx context.Context, params *ListThesauriInput, optFns ...func(*Options)) (*ListThesauriOutput, error)
- func (c *Client) PutPrincipalMapping(ctx context.Context, params *PutPrincipalMappingInput, optFns ...func(*Options)) (*PutPrincipalMappingOutput, error)
- func (c *Client) Query(ctx context.Context, params *QueryInput, optFns ...func(*Options)) (*QueryOutput, error)
- func (c *Client) StartDataSourceSyncJob(ctx context.Context, params *StartDataSourceSyncJobInput, optFns ...func(*Options)) (*StartDataSourceSyncJobOutput, error)
- func (c *Client) StopDataSourceSyncJob(ctx context.Context, params *StopDataSourceSyncJobInput, optFns ...func(*Options)) (*StopDataSourceSyncJobOutput, error)
- func (c *Client) SubmitFeedback(ctx context.Context, params *SubmitFeedbackInput, optFns ...func(*Options)) (*SubmitFeedbackOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateDataSource(ctx context.Context, params *UpdateDataSourceInput, optFns ...func(*Options)) (*UpdateDataSourceOutput, error)
- func (c *Client) UpdateExperience(ctx context.Context, params *UpdateExperienceInput, optFns ...func(*Options)) (*UpdateExperienceOutput, error)
- func (c *Client) UpdateIndex(ctx context.Context, params *UpdateIndexInput, optFns ...func(*Options)) (*UpdateIndexOutput, error)
- func (c *Client) UpdateQuerySuggestionsBlockList(ctx context.Context, params *UpdateQuerySuggestionsBlockListInput, optFns ...func(*Options)) (*UpdateQuerySuggestionsBlockListOutput, error)
- func (c *Client) UpdateQuerySuggestionsConfig(ctx context.Context, params *UpdateQuerySuggestionsConfigInput, optFns ...func(*Options)) (*UpdateQuerySuggestionsConfigOutput, error)
- func (c *Client) UpdateThesaurus(ctx context.Context, params *UpdateThesaurusInput, optFns ...func(*Options)) (*UpdateThesaurusOutput, error)
- type CreateDataSourceInput
- type CreateDataSourceOutput
- type CreateExperienceInput
- type CreateExperienceOutput
- type CreateFaqInput
- type CreateFaqOutput
- type CreateIndexInput
- type CreateIndexOutput
- type CreateQuerySuggestionsBlockListInput
- type CreateQuerySuggestionsBlockListOutput
- type CreateThesaurusInput
- type CreateThesaurusOutput
- type DeleteDataSourceInput
- type DeleteDataSourceOutput
- type DeleteExperienceInput
- type DeleteExperienceOutput
- type DeleteFaqInput
- type DeleteFaqOutput
- type DeleteIndexInput
- type DeleteIndexOutput
- type DeletePrincipalMappingInput
- type DeletePrincipalMappingOutput
- type DeleteQuerySuggestionsBlockListInput
- type DeleteQuerySuggestionsBlockListOutput
- type DeleteThesaurusInput
- type DeleteThesaurusOutput
- type DescribeDataSourceInput
- type DescribeDataSourceOutput
- type DescribeExperienceInput
- type DescribeExperienceOutput
- type DescribeFaqInput
- type DescribeFaqOutput
- type DescribeIndexInput
- type DescribeIndexOutput
- type DescribePrincipalMappingInput
- type DescribePrincipalMappingOutput
- type DescribeQuerySuggestionsBlockListInput
- type DescribeQuerySuggestionsBlockListOutput
- type DescribeQuerySuggestionsConfigInput
- type DescribeQuerySuggestionsConfigOutput
- type DescribeThesaurusInput
- type DescribeThesaurusOutput
- type DisassociateEntitiesFromExperienceInput
- type DisassociateEntitiesFromExperienceOutput
- type DisassociatePersonasFromEntitiesInput
- type DisassociatePersonasFromEntitiesOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type GetQuerySuggestionsInput
- type GetQuerySuggestionsOutput
- type GetSnapshotsAPIClient
- type GetSnapshotsInput
- type GetSnapshotsOutput
- type GetSnapshotsPaginator
- func NewGetSnapshotsPaginator(client GetSnapshotsAPIClient, params *GetSnapshotsInput, optFns ...func(*GetSnapshotsPaginatorOptions)) *GetSnapshotsPaginator
- func (p *GetSnapshotsPaginator) HasMorePages() bool
- func (p *GetSnapshotsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetSnapshotsOutput, error)
- type GetSnapshotsPaginatorOptions
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListDataSourceSyncJobsAPIClient
- type ListDataSourceSyncJobsInput
- type ListDataSourceSyncJobsOutput
- type ListDataSourceSyncJobsPaginator
- func NewListDataSourceSyncJobsPaginator(client ListDataSourceSyncJobsAPIClient, params *ListDataSourceSyncJobsInput, optFns ...func(*ListDataSourceSyncJobsPaginatorOptions)) *ListDataSourceSyncJobsPaginator
- func (p *ListDataSourceSyncJobsPaginator) HasMorePages() bool
- func (p *ListDataSourceSyncJobsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListDataSourceSyncJobsOutput, error)
- type ListDataSourceSyncJobsPaginatorOptions
- type ListDataSourcesAPIClient
- type ListDataSourcesInput
- type ListDataSourcesOutput
- type ListDataSourcesPaginator
- func NewListDataSourcesPaginator(client ListDataSourcesAPIClient, params *ListDataSourcesInput, optFns ...func(*ListDataSourcesPaginatorOptions)) *ListDataSourcesPaginator
- func (p *ListDataSourcesPaginator) HasMorePages() bool
- func (p *ListDataSourcesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListDataSourcesOutput, error)
- type ListDataSourcesPaginatorOptions
- type ListEntityPersonasAPIClient
- type ListEntityPersonasInput
- type ListEntityPersonasOutput
- type ListEntityPersonasPaginator
- func NewListEntityPersonasPaginator(client ListEntityPersonasAPIClient, params *ListEntityPersonasInput, optFns ...func(*ListEntityPersonasPaginatorOptions)) *ListEntityPersonasPaginator
- func (p *ListEntityPersonasPaginator) HasMorePages() bool
- func (p *ListEntityPersonasPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListEntityPersonasOutput, error)
- type ListEntityPersonasPaginatorOptions
- type ListExperienceEntitiesAPIClient
- type ListExperienceEntitiesInput
- type ListExperienceEntitiesOutput
- type ListExperienceEntitiesPaginator
- func NewListExperienceEntitiesPaginator(client ListExperienceEntitiesAPIClient, params *ListExperienceEntitiesInput, optFns ...func(*ListExperienceEntitiesPaginatorOptions)) *ListExperienceEntitiesPaginator
- func (p *ListExperienceEntitiesPaginator) HasMorePages() bool
- func (p *ListExperienceEntitiesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListExperienceEntitiesOutput, error)
- type ListExperienceEntitiesPaginatorOptions
- type ListExperiencesAPIClient
- type ListExperiencesInput
- type ListExperiencesOutput
- type ListExperiencesPaginator
- func NewListExperiencesPaginator(client ListExperiencesAPIClient, params *ListExperiencesInput, optFns ...func(*ListExperiencesPaginatorOptions)) *ListExperiencesPaginator
- func (p *ListExperiencesPaginator) HasMorePages() bool
- func (p *ListExperiencesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListExperiencesOutput, error)
- type ListExperiencesPaginatorOptions
- type ListFaqsAPIClient
- type ListFaqsInput
- type ListFaqsOutput
- type ListFaqsPaginator
- func NewListFaqsPaginator(client ListFaqsAPIClient, params *ListFaqsInput, optFns ...func(*ListFaqsPaginatorOptions)) *ListFaqsPaginator
- func (p *ListFaqsPaginator) HasMorePages() bool
- func (p *ListFaqsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFaqsOutput, error)
- type ListFaqsPaginatorOptions
- type ListGroupsOlderThanOrderingIdAPIClient
- type ListGroupsOlderThanOrderingIdInput
- type ListGroupsOlderThanOrderingIdOutput
- type ListGroupsOlderThanOrderingIdPaginator
- func NewListGroupsOlderThanOrderingIdPaginator(client ListGroupsOlderThanOrderingIdAPIClient, params *ListGroupsOlderThanOrderingIdInput, optFns ...func(*ListGroupsOlderThanOrderingIdPaginatorOptions)) *ListGroupsOlderThanOrderingIdPaginator
- func (p *ListGroupsOlderThanOrderingIdPaginator) HasMorePages() bool
- func (p *ListGroupsOlderThanOrderingIdPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListGroupsOlderThanOrderingIdOutput, error)
- type ListGroupsOlderThanOrderingIdPaginatorOptions
- type ListIndicesAPIClient
- type ListIndicesInput
- type ListIndicesOutput
- type ListIndicesPaginator
- func NewListIndicesPaginator(client ListIndicesAPIClient, params *ListIndicesInput, optFns ...func(*ListIndicesPaginatorOptions)) *ListIndicesPaginator
- func (p *ListIndicesPaginator) HasMorePages() bool
- func (p *ListIndicesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListIndicesOutput, error)
- type ListIndicesPaginatorOptions
- type ListQuerySuggestionsBlockListsAPIClient
- type ListQuerySuggestionsBlockListsInput
- type ListQuerySuggestionsBlockListsOutput
- type ListQuerySuggestionsBlockListsPaginator
- func NewListQuerySuggestionsBlockListsPaginator(client ListQuerySuggestionsBlockListsAPIClient, params *ListQuerySuggestionsBlockListsInput, optFns ...func(*ListQuerySuggestionsBlockListsPaginatorOptions)) *ListQuerySuggestionsBlockListsPaginator
- func (p *ListQuerySuggestionsBlockListsPaginator) HasMorePages() bool
- func (p *ListQuerySuggestionsBlockListsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListQuerySuggestionsBlockListsOutput, error)
- type ListQuerySuggestionsBlockListsPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListThesauriAPIClient
- type ListThesauriInput
- type ListThesauriOutput
- type ListThesauriPaginator
- func NewListThesauriPaginator(client ListThesauriAPIClient, params *ListThesauriInput, optFns ...func(*ListThesauriPaginatorOptions)) *ListThesauriPaginator
- func (p *ListThesauriPaginator) HasMorePages() bool
- func (p *ListThesauriPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListThesauriOutput, error)
- type ListThesauriPaginatorOptions
- type Options
- type PutPrincipalMappingInput
- type PutPrincipalMappingOutput
- type QueryInput
- type QueryOutput
- type ResolveEndpoint
- func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
- func (*ResolveEndpoint) ID() string
- type StartDataSourceSyncJobInput
- type StartDataSourceSyncJobOutput
- type StopDataSourceSyncJobInput
- type StopDataSourceSyncJobOutput
- type SubmitFeedbackInput
- type SubmitFeedbackOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateDataSourceInput
- type UpdateDataSourceOutput
- type UpdateExperienceInput
- type UpdateExperienceOutput
- type UpdateIndexInput
- type UpdateIndexOutput
- type UpdateQuerySuggestionsBlockListInput
- type UpdateQuerySuggestionsBlockListOutput
- type UpdateQuerySuggestionsConfigInput
- type UpdateQuerySuggestionsConfigOutput
- type UpdateThesaurusInput
- type UpdateThesaurusOutput
Constants ¶
const ServiceAPIVersion = "2019-02-03"
const ServiceID = "kendra"
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver ¶
func WithEndpointResolver(v EndpointResolver) func(*Options)
WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.
Types ¶
type AssociateEntitiesToExperienceInput ¶
type AssociateEntitiesToExperienceInput struct { // Lists users or groups in your Amazon Web Services SSO identity source. // // This member is required. EntityList []types.EntityConfiguration // The identifier of your Amazon Kendra experience. // // This member is required. Id *string // The identifier of the index for your Amazon Kendra experience. // // This member is required. IndexId *string // contains filtered or unexported fields }
type AssociateEntitiesToExperienceOutput ¶
type AssociateEntitiesToExperienceOutput struct { // Lists the users or groups in your Amazon Web Services SSO identity source that // failed to properly configure with your Amazon Kendra experience. FailedEntityList []types.FailedEntity // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type AssociatePersonasToEntitiesInput ¶
type AssociatePersonasToEntitiesInput struct { // The identifier of your Amazon Kendra experience. // // This member is required. Id *string // The identifier of the index for your Amazon Kendra experience. // // This member is required. IndexId *string // The personas that define the specific permissions of users or groups in your // Amazon Web Services SSO identity source. The available personas or access roles // are Owner and Viewer. For more information on these personas, see Providing // access to your search page // (https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html#access-search-experience). // // This member is required. Personas []types.EntityPersonaConfiguration // contains filtered or unexported fields }
type AssociatePersonasToEntitiesOutput ¶
type AssociatePersonasToEntitiesOutput struct { // Lists the users or groups in your Amazon Web Services SSO identity source that // failed to properly configure with your Amazon Kendra experience. FailedEntityList []types.FailedEntity // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type BatchDeleteDocumentInput ¶
type BatchDeleteDocumentInput struct { // One or more identifiers for documents to delete from the index. // // This member is required. DocumentIdList []string // The identifier of the index that contains the documents to delete. // // This member is required. IndexId *string // Maps a particular data source sync job to a particular data source. DataSourceSyncJobMetricTarget *types.DataSourceSyncJobMetricTarget // contains filtered or unexported fields }
type BatchDeleteDocumentOutput ¶
type BatchDeleteDocumentOutput struct { // A list of documents that could not be removed from the index. Each entry // contains an error message that indicates why the document couldn't be removed // from the index. FailedDocuments []types.BatchDeleteDocumentResponseFailedDocument // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type BatchGetDocumentStatusInput ¶
type BatchGetDocumentStatusInput struct { // A list of DocumentInfo objects that identify the documents for which to get the // status. You identify the documents by their document ID and optional attributes. // // This member is required. DocumentInfoList []types.DocumentInfo // The identifier of the index to add documents to. The index ID is returned by the // CreateIndex (https://docs.aws.amazon.com/kendra/latest/dg/API_CreateIndex.html) // API. // // This member is required. IndexId *string // contains filtered or unexported fields }
type BatchGetDocumentStatusOutput ¶
type BatchGetDocumentStatusOutput struct { // The status of documents. The status indicates if the document is waiting to be // indexed, is in the process of indexing, has completed indexing, or failed // indexing. If a document failed indexing, the status provides the reason why. DocumentStatusList []types.Status // A list of documents that Amazon Kendra couldn't get the status for. The list // includes the ID of the document and the reason that the status couldn't be // found. Errors []types.BatchGetDocumentStatusResponseError // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type BatchPutDocumentInput ¶
type BatchPutDocumentInput struct { // One or more documents to add to the index. Documents have the following file // size limits. // // * 5 MB total size for inline documents // // * 50 MB total size for // files from an S3 bucket // // * 5 MB extracted text for any file // // For more // information about file size and transaction per second quotas, see Quotas // (https://docs.aws.amazon.com/kendra/latest/dg/quotas.html). // // This member is required. Documents []types.Document // The identifier of the index to add the documents to. You need to create the // index first using the CreateIndex API. // // This member is required. IndexId *string // Configuration information for altering your document metadata and content during // the document ingestion process when you use the BatchPutDocument API. For more // information on how to create, modify and delete document metadata, or make other // content alterations when you ingest documents into Amazon Kendra, see // Customizing document metadata during the ingestion process // (https://docs.aws.amazon.com/kendra/latest/dg/custom-document-enrichment.html). CustomDocumentEnrichmentConfiguration *types.CustomDocumentEnrichmentConfiguration // The Amazon Resource Name (ARN) of a role that is allowed to run the // BatchPutDocument API. For more information, see IAM Roles for Amazon Kendra // (https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html). RoleArn *string // contains filtered or unexported fields }
type BatchPutDocumentOutput ¶
type BatchPutDocumentOutput struct { // A list of documents that were not added to the index because the document failed // a validation check. Each document contains an error message that indicates why // the document couldn't be added to the index. If there was an error adding a // document to an index the error is reported in your Amazon Web Services // CloudWatch log. For more information, see Monitoring Amazon Kendra with Amazon // CloudWatch Logs // (https://docs.aws.amazon.com/kendra/latest/dg/cloudwatch-logs.html) FailedDocuments []types.BatchPutDocumentResponseFailedDocument // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ClearQuerySuggestionsInput ¶
type ClearQuerySuggestionsInput struct { // The identifier of the index you want to clear query suggestions from. // // This member is required. IndexId *string // contains filtered or unexported fields }
type ClearQuerySuggestionsOutput ¶
type ClearQuerySuggestionsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWSKendraFrontendService.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) AssociateEntitiesToExperience ¶
func (c *Client) AssociateEntitiesToExperience(ctx context.Context, params *AssociateEntitiesToExperienceInput, optFns ...func(*Options)) (*AssociateEntitiesToExperienceOutput, error)
Grants users or groups in your Amazon Web Services SSO identity source access to your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code (https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html).
func (*Client) AssociatePersonasToEntities ¶
func (c *Client) AssociatePersonasToEntities(ctx context.Context, params *AssociatePersonasToEntitiesInput, optFns ...func(*Options)) (*AssociatePersonasToEntitiesOutput, error)
Defines the specific permissions of users or groups in your Amazon Web Services SSO identity source with access to your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code (https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html).
func (*Client) BatchDeleteDocument ¶
func (c *Client) BatchDeleteDocument(ctx context.Context, params *BatchDeleteDocumentInput, optFns ...func(*Options)) (*BatchDeleteDocumentOutput, error)
Removes one or more documents from an index. The documents must have been added with the BatchPutDocument API. The documents are deleted asynchronously. You can see the progress of the deletion by using Amazon Web Services CloudWatch. Any error messages related to the processing of the batch are sent to you CloudWatch log.
func (*Client) BatchGetDocumentStatus ¶
func (c *Client) BatchGetDocumentStatus(ctx context.Context, params *BatchGetDocumentStatusInput, optFns ...func(*Options)) (*BatchGetDocumentStatusOutput, error)
Returns the indexing status for one or more documents submitted with the BatchPutDocument (https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html) API. When you use the BatchPutDocument API, documents are indexed asynchronously. You can use the BatchGetDocumentStatus API to get the current status of a list of documents so that you can determine if they have been successfully indexed. You can also use the BatchGetDocumentStatus API to check the status of the BatchDeleteDocument (https://docs.aws.amazon.com/kendra/latest/dg/API_BatchDeleteDocument.html) API. When a document is deleted from the index, Amazon Kendra returns NOT_FOUND as the status.
func (*Client) BatchPutDocument ¶
func (c *Client) BatchPutDocument(ctx context.Context, params *BatchPutDocumentInput, optFns ...func(*Options)) (*BatchPutDocumentOutput, error)
Adds one or more documents to an index. The BatchPutDocument API enables you to ingest inline documents or a set of documents stored in an Amazon S3 bucket. Use this API to ingest your text and unstructured text into an index, add custom attributes to the documents, and to attach an access control list to the documents added to the index. The documents are indexed asynchronously. You can see the progress of the batch using Amazon Web Services CloudWatch. Any error messages related to processing the batch are sent to your Amazon Web Services CloudWatch log. For an example of ingesting inline documents using Python and Java SDKs, see Adding files directly to an index (https://docs.aws.amazon.com/kendra/latest/dg/in-adding-binary-doc.html).
func (*Client) ClearQuerySuggestions ¶
func (c *Client) ClearQuerySuggestions(ctx context.Context, params *ClearQuerySuggestionsInput, optFns ...func(*Options)) (*ClearQuerySuggestionsOutput, error)
Clears existing query suggestions from an index. This deletes existing suggestions only, not the queries in the query log. After you clear suggestions, Amazon Kendra learns new suggestions based on new queries added to the query log from the time you cleared suggestions. If you do not see any new suggestions, then please allow Amazon Kendra to collect enough queries to learn new suggestions. ClearQuerySuggestions is currently not supported in the Amazon Web Services GovCloud (US-West) region.
func (*Client) CreateDataSource ¶
func (c *Client) CreateDataSource(ctx context.Context, params *CreateDataSourceInput, optFns ...func(*Options)) (*CreateDataSourceOutput, error)
Creates a data source that you want to use with an Amazon Kendra index. You specify a name, data source connector type and description for your data source. You also specify configuration information for the data source connector. CreateDataSource is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised. Amazon S3 and custom (https://docs.aws.amazon.com/kendra/latest/dg/data-source-custom.html) data sources are the only supported data sources in the Amazon Web Services GovCloud (US-West) region. For an example of creating an index and data source using the Python SDK, see Getting started with Python SDK (https://docs.aws.amazon.com/kendra/latest/dg/gs-python.html). For an example of creating an index and data source using the Java SDK, see Getting started with Java SDK (https://docs.aws.amazon.com/kendra/latest/dg/gs-java.html).
func (*Client) CreateExperience ¶
func (c *Client) CreateExperience(ctx context.Context, params *CreateExperienceInput, optFns ...func(*Options)) (*CreateExperienceOutput, error)
Creates an Amazon Kendra experience such as a search application. For more information on creating a search application experience, including using the Python and Java SDKs, see Building a search experience with no code (https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html).
func (*Client) CreateFaq ¶
func (c *Client) CreateFaq(ctx context.Context, params *CreateFaqInput, optFns ...func(*Options)) (*CreateFaqOutput, error)
Creates an new set of frequently asked question (FAQ) questions and answers. Adding FAQs to an index is an asynchronous operation. For an example of adding an FAQ to an index using Python and Java SDKs, see Using you FAQ file (https://docs.aws.amazon.com/kendra/latest/dg/in-creating-faq.html#using-faq-file).
func (*Client) CreateIndex ¶
func (c *Client) CreateIndex(ctx context.Context, params *CreateIndexInput, optFns ...func(*Options)) (*CreateIndexOutput, error)
Creates a new Amazon Kendra index. Index creation is an asynchronous API. To determine if index creation has completed, check the Status field returned from a call to DescribeIndex. The Status field is set to ACTIVE when the index is ready to use. Once the index is active you can index your documents using the BatchPutDocument API or using one of the supported data sources. For an example of creating an index and data source using the Python SDK, see Getting started with Python SDK (https://docs.aws.amazon.com/kendra/latest/dg/gs-python.html). For an example of creating an index and data source using the Java SDK, see Getting started with Java SDK (https://docs.aws.amazon.com/kendra/latest/dg/gs-java.html).
func (*Client) CreateQuerySuggestionsBlockList ¶
func (c *Client) CreateQuerySuggestionsBlockList(ctx context.Context, params *CreateQuerySuggestionsBlockListInput, optFns ...func(*Options)) (*CreateQuerySuggestionsBlockListOutput, error)
Creates a block list to exlcude certain queries from suggestions. Any query that contains words or phrases specified in the block list is blocked or filtered out from being shown as a suggestion. You need to provide the file location of your block list text file in your S3 bucket. In your text file, enter each block word or phrase on a separate line. For information on the current quota limits for block lists, see Quotas for Amazon Kendra (https://docs.aws.amazon.com/kendra/latest/dg/quotas.html). CreateQuerySuggestionsBlockList is currently not supported in the Amazon Web Services GovCloud (US-West) region. For an example of creating a block list for query suggestions using the Python SDK, see Query suggestions block list (https://docs.aws.amazon.com/kendra/latest/dg/query-suggestions.html#suggestions-block-list).
func (*Client) CreateThesaurus ¶
func (c *Client) CreateThesaurus(ctx context.Context, params *CreateThesaurusInput, optFns ...func(*Options)) (*CreateThesaurusOutput, error)
Creates a thesaurus for an index. The thesaurus contains a list of synonyms in Solr format. For an example of adding a thesaurus file to an index, see Adding custom synonyms to an index (https://docs.aws.amazon.com/kendra/latest/dg/index-synonyms-adding-thesaurus-file.html).
func (*Client) DeleteDataSource ¶
func (c *Client) DeleteDataSource(ctx context.Context, params *DeleteDataSourceInput, optFns ...func(*Options)) (*DeleteDataSourceOutput, error)
Deletes an Amazon Kendra data source. An exception is not thrown if the data source is already being deleted. While the data source is being deleted, the Status field returned by a call to the DescribeDataSource API is set to DELETING. For more information, see Deleting Data Sources (https://docs.aws.amazon.com/kendra/latest/dg/delete-data-source.html).
func (*Client) DeleteExperience ¶
func (c *Client) DeleteExperience(ctx context.Context, params *DeleteExperienceInput, optFns ...func(*Options)) (*DeleteExperienceOutput, error)
Deletes your Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code (https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html).
func (*Client) DeleteFaq ¶
func (c *Client) DeleteFaq(ctx context.Context, params *DeleteFaqInput, optFns ...func(*Options)) (*DeleteFaqOutput, error)
Removes an FAQ from an index.
func (*Client) DeleteIndex ¶
func (c *Client) DeleteIndex(ctx context.Context, params *DeleteIndexInput, optFns ...func(*Options)) (*DeleteIndexOutput, error)
Deletes an existing Amazon Kendra index. An exception is not thrown if the index is already being deleted. While the index is being deleted, the Status field returned by a call to the DescribeIndex API is set to DELETING.
func (*Client) DeletePrincipalMapping ¶
func (c *Client) DeletePrincipalMapping(ctx context.Context, params *DeletePrincipalMappingInput, optFns ...func(*Options)) (*DeletePrincipalMappingOutput, error)
Deletes a group so that all users and sub groups that belong to the group can no longer access documents only available to that group. For example, after deleting the group "Summer Interns", all interns who belonged to that group no longer see intern-only documents in their search results. If you want to delete or replace users or sub groups of a group, you need to use the PutPrincipalMapping operation. For example, if a user in the group "Engineering" leaves the engineering team and another user takes their place, you provide an updated list of users or sub groups that belong to the "Engineering" group when calling PutPrincipalMapping. You can update your internal list of users or sub groups and input this list when calling PutPrincipalMapping. DeletePrincipalMapping is currently not supported in the Amazon Web Services GovCloud (US-West) region.
func (*Client) DeleteQuerySuggestionsBlockList ¶
func (c *Client) DeleteQuerySuggestionsBlockList(ctx context.Context, params *DeleteQuerySuggestionsBlockListInput, optFns ...func(*Options)) (*DeleteQuerySuggestionsBlockListOutput, error)
Deletes a block list used for query suggestions for an index. A deleted block list might not take effect right away. Amazon Kendra needs to refresh the entire suggestions list to add back the queries that were previously blocked. DeleteQuerySuggestionsBlockList is currently not supported in the Amazon Web Services GovCloud (US-West) region.
func (*Client) DeleteThesaurus ¶
func (c *Client) DeleteThesaurus(ctx context.Context, params *DeleteThesaurusInput, optFns ...func(*Options)) (*DeleteThesaurusOutput, error)
Deletes an existing Amazon Kendra thesaurus.
func (*Client) DescribeDataSource ¶
func (c *Client) DescribeDataSource(ctx context.Context, params *DescribeDataSourceInput, optFns ...func(*Options)) (*DescribeDataSourceOutput, error)
Gets information about an Amazon Kendra data source.
func (*Client) DescribeExperience ¶
func (c *Client) DescribeExperience(ctx context.Context, params *DescribeExperienceInput, optFns ...func(*Options)) (*DescribeExperienceOutput, error)
Gets information about your Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code (https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html).
func (*Client) DescribeFaq ¶
func (c *Client) DescribeFaq(ctx context.Context, params *DescribeFaqInput, optFns ...func(*Options)) (*DescribeFaqOutput, error)
Gets information about an FAQ list.
func (*Client) DescribeIndex ¶
func (c *Client) DescribeIndex(ctx context.Context, params *DescribeIndexInput, optFns ...func(*Options)) (*DescribeIndexOutput, error)
Describes an existing Amazon Kendra index.
func (*Client) DescribePrincipalMapping ¶
func (c *Client) DescribePrincipalMapping(ctx context.Context, params *DescribePrincipalMappingInput, optFns ...func(*Options)) (*DescribePrincipalMappingOutput, error)
Describes the processing of PUT and DELETE actions for mapping users to their groups. This includes information on the status of actions currently processing or yet to be processed, when actions were last updated, when actions were received by Amazon Kendra, the latest action that should process and apply after other actions, and useful error messages if an action could not be processed. DescribePrincipalMapping is currently not supported in the Amazon Web Services GovCloud (US-West) region.
func (*Client) DescribeQuerySuggestionsBlockList ¶
func (c *Client) DescribeQuerySuggestionsBlockList(ctx context.Context, params *DescribeQuerySuggestionsBlockListInput, optFns ...func(*Options)) (*DescribeQuerySuggestionsBlockListOutput, error)
Describes a block list used for query suggestions for an index. This is used to check the current settings that are applied to a block list. DescribeQuerySuggestionsBlockList is currently not supported in the Amazon Web Services GovCloud (US-West) region.
func (*Client) DescribeQuerySuggestionsConfig ¶
func (c *Client) DescribeQuerySuggestionsConfig(ctx context.Context, params *DescribeQuerySuggestionsConfigInput, optFns ...func(*Options)) (*DescribeQuerySuggestionsConfigOutput, error)
Describes the settings of query suggestions for an index. This is used to check the current settings applied to query suggestions. DescribeQuerySuggestionsConfig is currently not supported in the Amazon Web Services GovCloud (US-West) region.
func (*Client) DescribeThesaurus ¶
func (c *Client) DescribeThesaurus(ctx context.Context, params *DescribeThesaurusInput, optFns ...func(*Options)) (*DescribeThesaurusOutput, error)
Describes an existing Amazon Kendra thesaurus.
func (*Client) DisassociateEntitiesFromExperience ¶
func (c *Client) DisassociateEntitiesFromExperience(ctx context.Context, params *DisassociateEntitiesFromExperienceInput, optFns ...func(*Options)) (*DisassociateEntitiesFromExperienceOutput, error)
Prevents users or groups in your Amazon Web Services SSO identity source from accessing your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code (https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html).
func (*Client) DisassociatePersonasFromEntities ¶
func (c *Client) DisassociatePersonasFromEntities(ctx context.Context, params *DisassociatePersonasFromEntitiesInput, optFns ...func(*Options)) (*DisassociatePersonasFromEntitiesOutput, error)
Removes the specific permissions of users or groups in your Amazon Web Services SSO identity source with access to your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code (https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html).
func (*Client) GetQuerySuggestions ¶
func (c *Client) GetQuerySuggestions(ctx context.Context, params *GetQuerySuggestionsInput, optFns ...func(*Options)) (*GetQuerySuggestionsOutput, error)
Fetches the queries that are suggested to your users. GetQuerySuggestions is currently not supported in the Amazon Web Services GovCloud (US-West) region.
func (*Client) GetSnapshots ¶
func (c *Client) GetSnapshots(ctx context.Context, params *GetSnapshotsInput, optFns ...func(*Options)) (*GetSnapshotsOutput, error)
Retrieves search metrics data. The data provides a snapshot of how your users interact with your search application and how effective the application is.
func (*Client) ListDataSourceSyncJobs ¶
func (c *Client) ListDataSourceSyncJobs(ctx context.Context, params *ListDataSourceSyncJobsInput, optFns ...func(*Options)) (*ListDataSourceSyncJobsOutput, error)
Gets statistics about synchronizing Amazon Kendra with a data source.
func (*Client) ListDataSources ¶
func (c *Client) ListDataSources(ctx context.Context, params *ListDataSourcesInput, optFns ...func(*Options)) (*ListDataSourcesOutput, error)
Lists the data sources that you have created.
func (*Client) ListEntityPersonas ¶
func (c *Client) ListEntityPersonas(ctx context.Context, params *ListEntityPersonasInput, optFns ...func(*Options)) (*ListEntityPersonasOutput, error)
Lists specific permissions of users and groups with access to your Amazon Kendra experience.
func (*Client) ListExperienceEntities ¶
func (c *Client) ListExperienceEntities(ctx context.Context, params *ListExperienceEntitiesInput, optFns ...func(*Options)) (*ListExperienceEntitiesOutput, error)
Lists users or groups in your Amazon Web Services SSO identity source that are granted access to your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code (https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html).
func (*Client) ListExperiences ¶
func (c *Client) ListExperiences(ctx context.Context, params *ListExperiencesInput, optFns ...func(*Options)) (*ListExperiencesOutput, error)
Lists one or more Amazon Kendra experiences. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code (https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html).
func (*Client) ListFaqs ¶
func (c *Client) ListFaqs(ctx context.Context, params *ListFaqsInput, optFns ...func(*Options)) (*ListFaqsOutput, error)
Gets a list of FAQ lists associated with an index.
func (*Client) ListGroupsOlderThanOrderingId ¶
func (c *Client) ListGroupsOlderThanOrderingId(ctx context.Context, params *ListGroupsOlderThanOrderingIdInput, optFns ...func(*Options)) (*ListGroupsOlderThanOrderingIdOutput, error)
Provides a list of groups that are mapped to users before a given ordering or timestamp identifier. ListGroupsOlderThanOrderingId is currently not supported in the Amazon Web Services GovCloud (US-West) region.
func (*Client) ListIndices ¶
func (c *Client) ListIndices(ctx context.Context, params *ListIndicesInput, optFns ...func(*Options)) (*ListIndicesOutput, error)
Lists the Amazon Kendra indexes that you created.
func (*Client) ListQuerySuggestionsBlockLists ¶
func (c *Client) ListQuerySuggestionsBlockLists(ctx context.Context, params *ListQuerySuggestionsBlockListsInput, optFns ...func(*Options)) (*ListQuerySuggestionsBlockListsOutput, error)
Lists the block lists used for query suggestions for an index. For information on the current quota limits for block lists, see Quotas for Amazon Kendra (https://docs.aws.amazon.com/kendra/latest/dg/quotas.html). ListQuerySuggestionsBlockLists is currently not supported in the Amazon Web Services GovCloud (US-West) region.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Gets a list of tags associated with a specified resource. Indexes, FAQs, and data sources can have tags associated with them.
func (*Client) ListThesauri ¶
func (c *Client) ListThesauri(ctx context.Context, params *ListThesauriInput, optFns ...func(*Options)) (*ListThesauriOutput, error)
Lists the Amazon Kendra thesauri associated with an index.
func (*Client) PutPrincipalMapping ¶
func (c *Client) PutPrincipalMapping(ctx context.Context, params *PutPrincipalMappingInput, optFns ...func(*Options)) (*PutPrincipalMappingOutput, error)
Maps users to their groups so that you only need to provide the user ID when you issue the query. You can also map sub groups to groups. For example, the group "Company Intellectual Property Teams" includes sub groups "Research" and "Engineering". These sub groups include their own list of users or people who work in these teams. Only users who work in research and engineering, and therefore belong in the intellectual property group, can see top-secret company documents in their search results. You map users to their groups when you want to filter search results for different users based on their group’s access to documents. For more information on filtering search results for different users, see Filtering on user context (https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html). If more than five PUT actions for a group are currently processing, a validation exception is thrown. PutPrincipalMapping is currently not supported in the Amazon Web Services GovCloud (US-West) region.
func (*Client) Query ¶
func (c *Client) Query(ctx context.Context, params *QueryInput, optFns ...func(*Options)) (*QueryOutput, error)
Searches an active index. Use this API to search your documents using query. The Query API enables to do faceted search and to filter results based on document attributes. It also enables you to provide user context that Amazon Kendra uses to enforce document access control in the search results. Amazon Kendra searches your index for text content and question and answer (FAQ) content. By default the response contains three types of results.
* Relevant passages
* Matching FAQs
* Relevant documents
You can specify that the query return only one type of result using the QueryResultTypeConfig parameter. Each query returns the 100 most relevant results.
func (*Client) StartDataSourceSyncJob ¶
func (c *Client) StartDataSourceSyncJob(ctx context.Context, params *StartDataSourceSyncJobInput, optFns ...func(*Options)) (*StartDataSourceSyncJobOutput, error)
Starts a synchronization job for a data source. If a synchronization job is already in progress, Amazon Kendra returns a ResourceInUseException exception.
func (*Client) StopDataSourceSyncJob ¶
func (c *Client) StopDataSourceSyncJob(ctx context.Context, params *StopDataSourceSyncJobInput, optFns ...func(*Options)) (*StopDataSourceSyncJobOutput, error)
Stops a synchronization job that is currently running. You can't stop a scheduled synchronization job.
func (*Client) SubmitFeedback ¶
func (c *Client) SubmitFeedback(ctx context.Context, params *SubmitFeedbackInput, optFns ...func(*Options)) (*SubmitFeedbackOutput, error)
Enables you to provide feedback to Amazon Kendra to improve the performance of your index. SubmitFeedback is currently not supported in the Amazon Web Services GovCloud (US-West) region.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds the specified tag to the specified index, FAQ, or data source resource. If the tag already exists, the existing value is replaced with the new value.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes a tag from an index, FAQ, or a data source.
func (*Client) UpdateDataSource ¶
func (c *Client) UpdateDataSource(ctx context.Context, params *UpdateDataSourceInput, optFns ...func(*Options)) (*UpdateDataSourceOutput, error)
Updates an existing Amazon Kendra data source.
func (*Client) UpdateExperience ¶
func (c *Client) UpdateExperience(ctx context.Context, params *UpdateExperienceInput, optFns ...func(*Options)) (*UpdateExperienceOutput, error)
Updates your Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code (https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html).
func (*Client) UpdateIndex ¶
func (c *Client) UpdateIndex(ctx context.Context, params *UpdateIndexInput, optFns ...func(*Options)) (*UpdateIndexOutput, error)
Updates an existing Amazon Kendra index.
func (*Client) UpdateQuerySuggestionsBlockList ¶
func (c *Client) UpdateQuerySuggestionsBlockList(ctx context.Context, params *UpdateQuerySuggestionsBlockListInput, optFns ...func(*Options)) (*UpdateQuerySuggestionsBlockListOutput, error)
Updates a block list used for query suggestions for an index. Updates to a block list might not take effect right away. Amazon Kendra needs to refresh the entire suggestions list to apply any updates to the block list. Other changes not related to the block list apply immediately. If a block list is updating, then you need to wait for the first update to finish before submitting another update. Amazon Kendra supports partial updates, so you only need to provide the fields you want to update. UpdateQuerySuggestionsBlockList is currently not supported in the Amazon Web Services GovCloud (US-West) region.
func (*Client) UpdateQuerySuggestionsConfig ¶
func (c *Client) UpdateQuerySuggestionsConfig(ctx context.Context, params *UpdateQuerySuggestionsConfigInput, optFns ...func(*Options)) (*UpdateQuerySuggestionsConfigOutput, error)
Updates the settings of query suggestions for an index. Amazon Kendra supports partial updates, so you only need to provide the fields you want to update. If an update is currently processing (i.e. 'happening'), you need to wait for the update to finish before making another update. Updates to query suggestions settings might not take effect right away. The time for your updated settings to take effect depends on the updates made and the number of search queries in your index. You can still enable/disable query suggestions at any time. UpdateQuerySuggestionsConfig is currently not supported in the Amazon Web Services GovCloud (US-West) region.
func (*Client) UpdateThesaurus ¶
func (c *Client) UpdateThesaurus(ctx context.Context, params *UpdateThesaurusInput, optFns ...func(*Options)) (*UpdateThesaurusOutput, error)
Updates a thesaurus file associated with an index.
type CreateDataSourceInput ¶
type CreateDataSourceInput struct { // The identifier of the index that should be associated with this data source. // // This member is required. IndexId *string // A unique name for the data source. A data source name can't be changed without // deleting and recreating the data source. // // This member is required. Name *string // The type of repository that contains the data source. // // This member is required. Type types.DataSourceType // A token that you provide to identify the request to create a data source. // Multiple calls to the CreateDataSource API with the same client token will // create only one data source. ClientToken *string // Configuration information that is required to access the data source repository. // You can't specify the Configuration parameter when the Type parameter is set to // CUSTOM. If you do, you receive a ValidationException exception. The // Configuration parameter is required for all other data sources. Configuration *types.DataSourceConfiguration // Configuration information for altering document metadata and content during the // document ingestion process when you create a data source. For more information // on how to create, modify and delete document metadata, or make other content // alterations when you ingest documents into Amazon Kendra, see Customizing // document metadata during the ingestion process // (https://docs.aws.amazon.com/kendra/latest/dg/custom-document-enrichment.html). CustomDocumentEnrichmentConfiguration *types.CustomDocumentEnrichmentConfiguration // A description for the data source. Description *string // The code for a language. This allows you to support a language for all documents // when creating the data source. English is supported by default. For more // information on supported languages, including their codes, see Adding documents // in languages other than English // (https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html). LanguageCode *string // The Amazon Resource Name (ARN) of a role with permission to access the data // source. For more information, see IAM Roles for Amazon Kendra // (https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html). You can't specify // the RoleArn parameter when the Type parameter is set to CUSTOM. If you do, you // receive a ValidationException exception. The RoleArn parameter is required for // all other data sources. RoleArn *string // Sets the frequency for Amazon Kendra to check the documents in your repository // and update the index. If you don't set a schedule Amazon Kendra will not // periodically update the index. You can call the StartDataSourceSyncJob API to // update the index. You can't specify the Schedule parameter when the Type // parameter is set to CUSTOM. If you do, you receive a ValidationException // exception. Schedule *string // A list of key-value pairs that identify the data source. You can use the tags to // identify and organize your resources and to control access to resources. Tags []types.Tag // contains filtered or unexported fields }
type CreateDataSourceOutput ¶
type CreateDataSourceOutput struct { // A unique identifier for the data source. // // This member is required. Id *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateExperienceInput ¶
type CreateExperienceInput struct { // The identifier of the index for your Amazon Kendra experience. // // This member is required. IndexId *string // A name for your Amazon Kendra experience. // // This member is required. Name *string // A token that you provide to identify the request to create your Amazon Kendra // experience. Multiple calls to the CreateExperience API with the same client // token creates only one Amazon Kendra experience. ClientToken *string // Configuration information for your Amazon Kendra experience. This includes // ContentSourceConfiguration, which specifies the data source IDs and/or FAQ IDs, // and UserIdentityConfiguration, which specifies the user or group information to // grant access to your Amazon Kendra experience. Configuration *types.ExperienceConfiguration // A description for your Amazon Kendra experience. Description *string // The Amazon Resource Name (ARN) of a role with permission to access Query API, // QuerySuggestions API, SubmitFeedback API, and Amazon Web Services SSO that // stores your user and group information. For more information, see IAM roles for // Amazon Kendra (https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html). RoleArn *string // contains filtered or unexported fields }
type CreateExperienceOutput ¶
type CreateExperienceOutput struct { // The identifier for your created Amazon Kendra experience. // // This member is required. Id *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateFaqInput ¶
type CreateFaqInput struct { // The identifier of the index that contains the FAQ. // // This member is required. IndexId *string // The name that should be associated with the FAQ. // // This member is required. Name *string // The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket // that contains the FAQs. For more information, see IAM Roles for Amazon Kendra // (https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html). // // This member is required. RoleArn *string // The S3 location of the FAQ input data. // // This member is required. S3Path *types.S3Path // A token that you provide to identify the request to create a FAQ. Multiple calls // to the CreateFaqRequest API with the same client token will create only one FAQ. ClientToken *string // A description of the FAQ. Description *string // The format of the input file. You can choose between a basic CSV format, a CSV // format that includes customs attributes in a header, and a JSON format that // includes custom attributes. The format must match the format of the file stored // in the S3 bucket identified in the S3Path parameter. For more information, see // Adding questions and answers // (https://docs.aws.amazon.com/kendra/latest/dg/in-creating-faq.html). FileFormat types.FaqFileFormat // The code for a language. This allows you to support a language for the FAQ // document. English is supported by default. For more information on supported // languages, including their codes, see Adding documents in languages other than // English (https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html). LanguageCode *string // A list of key-value pairs that identify the FAQ. You can use the tags to // identify and organize your resources and to control access to resources. Tags []types.Tag // contains filtered or unexported fields }
type CreateFaqOutput ¶
type CreateFaqOutput struct { // The unique identifier of the FAQ. Id *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateIndexInput ¶
type CreateIndexInput struct { // The name for the new index. // // This member is required. Name *string // An Identity and Access Management (IAM) role that gives Amazon Kendra // permissions to access your Amazon CloudWatch logs and metrics. This is also the // role you use when you call the BatchPutDocument API to index documents from an // Amazon S3 bucket. // // This member is required. RoleArn *string // A token that you provide to identify the request to create an index. Multiple // calls to the CreateIndex API with the same client token will create only one // index. ClientToken *string // A description for the index. Description *string // The Amazon Kendra edition to use for the index. Choose DEVELOPER_EDITION for // indexes intended for development, testing, or proof of concept. Use // ENTERPRISE_EDITION for your production databases. Once you set the edition for // an index, it can't be changed. The Edition parameter is optional. If you don't // supply a value, the default is ENTERPRISE_EDITION. For more information on quota // limits for enterprise and developer editions, see Quotas // (https://docs.aws.amazon.com/kendra/latest/dg/quotas.html). Edition types.IndexEdition // The identifier of the KMS customer managed key (CMK) that's used to encrypt data // indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs. ServerSideEncryptionConfiguration *types.ServerSideEncryptionConfiguration // A list of key-value pairs that identify the index. You can use the tags to // identify and organize your resources and to control access to resources. Tags []types.Tag // The user context policy. ATTRIBUTE_FILTER All indexed content is searchable and // displayable for all users. If you want to filter search results on user context, // you can use the attribute filters of _user_id and _group_ids or you can provide // user and group information in UserContext. USER_TOKEN Enables token-based user // access control to filter search results on user context. All documents with no // access control and all documents accessible to the user will be searchable and // displayable. UserContextPolicy types.UserContextPolicy // Enables fetching access levels of groups and users from an Amazon Web Services // Single Sign On identity source. To configure this, see // UserGroupResolutionConfiguration // (https://docs.aws.amazon.com/kendra/latest/dg/API_UserGroupResolutionConfiguration.html). UserGroupResolutionConfiguration *types.UserGroupResolutionConfiguration // The user token configuration. UserTokenConfigurations []types.UserTokenConfiguration // contains filtered or unexported fields }
type CreateIndexOutput ¶
type CreateIndexOutput struct { // The unique identifier of the index. Use this identifier when you query an index, // set up a data source, or index a document. Id *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateQuerySuggestionsBlockListInput ¶
type CreateQuerySuggestionsBlockListInput struct { // The identifier of the index you want to create a query suggestions block list // for. // // This member is required. IndexId *string // A user friendly name for the block list. For example, the block list named // 'offensive-words' includes all offensive words that could appear in user queries // and need to be blocked from suggestions. // // This member is required. Name *string // The IAM (Identity and Access Management) role used by Amazon Kendra to access // the block list text file in your S3 bucket. You need permissions to the role ARN // (Amazon Web Services Resource Name). The role needs S3 read permissions to your // file in S3 and needs to give STS (Security Token Service) assume role // permissions to Amazon Kendra. // // This member is required. RoleArn *string // The S3 path to your block list text file in your S3 bucket. Each block word or // phrase should be on a separate line in a text file. For information on the // current quota limits for block lists, see Quotas for Amazon Kendra // (https://docs.aws.amazon.com/kendra/latest/dg/quotas.html). // // This member is required. SourceS3Path *types.S3Path // A token that you provide to identify the request to create a query suggestions // block list. ClientToken *string // A user-friendly description for the block list. For example, the description // "List of all offensive words that can appear in user queries and need to be // blocked from suggestions." Description *string // A tag that you can assign to a block list that categorizes the block list. Tags []types.Tag // contains filtered or unexported fields }
type CreateQuerySuggestionsBlockListOutput ¶
type CreateQuerySuggestionsBlockListOutput struct { // The unique identifier of the created block list. Id *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateThesaurusInput ¶
type CreateThesaurusInput struct { // The unique identifier of the index for the new thesaurus. // // This member is required. IndexId *string // The name for the new thesaurus. // // This member is required. Name *string // An IAM role that gives Amazon Kendra permissions to access thesaurus file // specified in SourceS3Path. // // This member is required. RoleArn *string // The thesaurus file Amazon S3 source path. // // This member is required. SourceS3Path *types.S3Path // A token that you provide to identify the request to create a thesaurus. Multiple // calls to the CreateThesaurus API with the same client token will create only one // thesaurus. ClientToken *string // The description for the new thesaurus. Description *string // A list of key-value pairs that identify the thesaurus. You can use the tags to // identify and organize your resources and to control access to resources. Tags []types.Tag // contains filtered or unexported fields }
type CreateThesaurusOutput ¶
type CreateThesaurusOutput struct { // The unique identifier of the thesaurus. Id *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteDataSourceInput ¶
type DeleteDataSourceInput struct { // The unique identifier of the data source to delete. // // This member is required. Id *string // The unique identifier of the index associated with the data source. // // This member is required. IndexId *string // contains filtered or unexported fields }
type DeleteDataSourceOutput ¶
type DeleteDataSourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteExperienceInput ¶
type DeleteExperienceInput struct { // The identifier of your Amazon Kendra experience you want to delete. // // This member is required. Id *string // The identifier of the index for your Amazon Kendra experience you want to // delete. // // This member is required. IndexId *string // contains filtered or unexported fields }
type DeleteExperienceOutput ¶
type DeleteExperienceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteFaqInput ¶
type DeleteFaqInput struct { // The identifier of the FAQ to remove. // // This member is required. Id *string // The index to remove the FAQ from. // // This member is required. IndexId *string // contains filtered or unexported fields }
type DeleteFaqOutput ¶
type DeleteFaqOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteIndexInput ¶
type DeleteIndexInput struct { // The identifier of the index to delete. // // This member is required. Id *string // contains filtered or unexported fields }
type DeleteIndexOutput ¶
type DeleteIndexOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeletePrincipalMappingInput ¶
type DeletePrincipalMappingInput struct { // The identifier of the group you want to delete. // // This member is required. GroupId *string // The identifier of the index you want to delete a group from. // // This member is required. IndexId *string // The identifier of the data source you want to delete a group from. This is // useful if a group is tied to multiple data sources and you want to delete a // group from accessing documents in a certain data source. For example, the groups // "Research", "Engineering", and "Sales and Marketing" are all tied to the // company's documents stored in the data sources Confluence and Salesforce. You // want to delete "Research" and "Engineering" groups from Salesforce, so that // these groups cannot access customer-related documents stored in Salesforce. Only // "Sales and Marketing" should access documents in the Salesforce data source. DataSourceId *string // The timestamp identifier you specify to ensure Amazon Kendra does not override // the latest DELETE action with previous actions. The highest number ID, which is // the ordering ID, is the latest action you want to process and apply on top of // other actions with lower number IDs. This prevents previous actions with lower // number IDs from possibly overriding the latest action. The ordering ID can be // the UNIX time of the last update you made to a group members list. You would // then provide this list when calling PutPrincipalMapping. This ensures your // DELETE action for that updated group with the latest members list doesn't get // overwritten by earlier DELETE actions for the same group which are yet to be // processed. The default ordering ID is the current UNIX time in milliseconds that // the action was received by Amazon Kendra. OrderingId *int64 // contains filtered or unexported fields }
type DeletePrincipalMappingOutput ¶
type DeletePrincipalMappingOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteQuerySuggestionsBlockListInput ¶
type DeleteQuerySuggestionsBlockListInput struct { // The unique identifier of the block list that needs to be deleted. // // This member is required. Id *string // The identifier of the you want to delete a block list from. // // This member is required. IndexId *string // contains filtered or unexported fields }
type DeleteQuerySuggestionsBlockListOutput ¶
type DeleteQuerySuggestionsBlockListOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteThesaurusInput ¶
type DeleteThesaurusInput struct { // The identifier of the thesaurus to delete. // // This member is required. Id *string // The identifier of the index associated with the thesaurus to delete. // // This member is required. IndexId *string // contains filtered or unexported fields }
type DeleteThesaurusOutput ¶
type DeleteThesaurusOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeDataSourceInput ¶
type DescribeDataSourceInput struct { // The unique identifier of the data source to describe. // // This member is required. Id *string // The identifier of the index that contains the data source. // // This member is required. IndexId *string // contains filtered or unexported fields }
type DescribeDataSourceOutput ¶
type DescribeDataSourceOutput struct { // Describes how the data source is configured. The specific information in the // description depends on the data source provider. Configuration *types.DataSourceConfiguration // The Unix timestamp of when the data source was created. CreatedAt *time.Time // Configuration information for altering document metadata and content during the // document ingestion process when you describe a data source. For more information // on how to create, modify and delete document metadata, or make other content // alterations when you ingest documents into Amazon Kendra, see Customizing // document metadata during the ingestion process // (https://docs.aws.amazon.com/kendra/latest/dg/custom-document-enrichment.html). CustomDocumentEnrichmentConfiguration *types.CustomDocumentEnrichmentConfiguration // The description of the data source. Description *string // When the Status field value is FAILED, the ErrorMessage field contains a // description of the error that caused the data source to fail. ErrorMessage *string // The identifier of the data source. Id *string // The identifier of the index that contains the data source. IndexId *string // The code for a language. This shows a supported language for all documents in // the data source. English is supported by default. For more information on // supported languages, including their codes, see Adding documents in languages // other than English // (https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html). LanguageCode *string // The name that you gave the data source when it was created. Name *string // The Amazon Resource Name (ARN) of the role that enables the data source to // access its resources. RoleArn *string // The schedule for Amazon Kendra to update the index. Schedule *string // The current status of the data source. When the status is ACTIVE the data source // is ready to use. When the status is FAILED, the ErrorMessage field contains the // reason that the data source failed. Status types.DataSourceStatus // The type of the data source. Type types.DataSourceType // The Unix timestamp of when the data source was last updated. UpdatedAt *time.Time // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeExperienceInput ¶
type DescribeExperienceInput struct { // The identifier of your Amazon Kendra experience you want to get information on. // // This member is required. Id *string // The identifier of the index for your Amazon Kendra experience you want to get // information on. // // This member is required. IndexId *string // contains filtered or unexported fields }
type DescribeExperienceOutput ¶
type DescribeExperienceOutput struct { // Shows the configuration information for your Amazon Kendra experience. This // includes ContentSourceConfiguration, which specifies the data source IDs and/or // FAQ IDs, and UserIdentityConfiguration, which specifies the user or group // information to grant access to your Amazon Kendra experience. Configuration *types.ExperienceConfiguration // Shows the date-time your Amazon Kendra experience was created. CreatedAt *time.Time // Shows the description for your Amazon Kendra experience. Description *string // Shows the endpoint URLs for your Amazon Kendra experiences. The URLs are unique // and fully hosted by Amazon Web Services. Endpoints []types.ExperienceEndpoint // The reason your Amazon Kendra experience could not properly process. ErrorMessage *string // Shows the identifier of your Amazon Kendra experience. Id *string // Shows the identifier of the index for your Amazon Kendra experience. IndexId *string // Shows the name of your Amazon Kendra experience. Name *string // Shows the Amazon Resource Name (ARN) of a role with permission to access Query // API, QuerySuggestions API, SubmitFeedback API, and Amazon Web Services SSO that // stores your user and group information. RoleArn *string // The current processing status of your Amazon Kendra experience. When the status // is ACTIVE, your Amazon Kendra experience is ready to use. When the status is // FAILED, the ErrorMessage field contains the reason that this failed. Status types.ExperienceStatus // Shows the date-time your Amazon Kendra experience was last updated. UpdatedAt *time.Time // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeFaqInput ¶
type DescribeFaqInput struct { // The unique identifier of the FAQ. // // This member is required. Id *string // The identifier of the index that contains the FAQ. // // This member is required. IndexId *string // contains filtered or unexported fields }
type DescribeFaqOutput ¶
type DescribeFaqOutput struct { // The date and time that the FAQ was created. CreatedAt *time.Time // The description of the FAQ that you provided when it was created. Description *string // If the Status field is FAILED, the ErrorMessage field contains the reason why // the FAQ failed. ErrorMessage *string // The file format used by the input files for the FAQ. FileFormat types.FaqFileFormat // The identifier of the FAQ. Id *string // The identifier of the index that contains the FAQ. IndexId *string // The code for a language. This shows a supported language for the FAQ document. // English is supported by default. For more information on supported languages, // including their codes, see Adding documents in languages other than English // (https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html). LanguageCode *string // The name that you gave the FAQ when it was created. Name *string // The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket // containing the input files for the FAQ. RoleArn *string // Information required to find a specific file in an Amazon S3 bucket. S3Path *types.S3Path // The status of the FAQ. It is ready to use when the status is ACTIVE. Status types.FaqStatus // The date and time that the FAQ was last updated. UpdatedAt *time.Time // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeIndexInput ¶
type DescribeIndexInput struct { // The identifier of the index to describe. // // This member is required. Id *string // contains filtered or unexported fields }
type DescribeIndexOutput ¶
type DescribeIndexOutput struct { // For Enterprise Edition indexes, you can choose to use additional capacity to // meet the needs of your application. This contains the capacity units used for // the index. A query or document storage capacity of zero indicates that the index // is using the default capacity. For more information on the default capacity for // an index and adjusting this, see Adjusting capacity // (https://docs.aws.amazon.com/kendra/latest/dg/adjusting-capacity.html). CapacityUnits *types.CapacityUnitsConfiguration // The Unix datetime that the index was created. CreatedAt *time.Time // The description for the index. Description *string // Configuration settings for any metadata applied to the documents in the index. DocumentMetadataConfigurations []types.DocumentMetadataConfiguration // The Amazon Kendra edition used for the index. You decide the edition when you // create the index. Edition types.IndexEdition // When the Status field value is FAILED, the ErrorMessage field contains a message // that explains why. ErrorMessage *string // The identifier of the index. Id *string // Provides information about the number of FAQ questions and answers and the // number of text documents indexed. IndexStatistics *types.IndexStatistics // The name of the index. Name *string // The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra // permission to write to your Amazon Cloudwatch logs. RoleArn *string // The identifier of the KMScustomer master key (CMK) that is used to encrypt your // data. Amazon Kendra doesn't support asymmetric CMKs. ServerSideEncryptionConfiguration *types.ServerSideEncryptionConfiguration // The current status of the index. When the value is ACTIVE, the index is ready // for use. If the Status field value is FAILED, the ErrorMessage field contains a // message that explains why. Status types.IndexStatus // The Unix datetime that the index was last updated. UpdatedAt *time.Time // The user context policy for the Amazon Kendra index. UserContextPolicy types.UserContextPolicy // Shows whether you have enabled the configuration for fetching access levels of // groups and users from an Amazon Web Services Single Sign On identity source. UserGroupResolutionConfiguration *types.UserGroupResolutionConfiguration // The user token configuration for the Amazon Kendra index. UserTokenConfigurations []types.UserTokenConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribePrincipalMappingInput ¶
type DescribePrincipalMappingInput struct { // The identifier of the group required to check the processing of PUT and DELETE // actions for mapping users to their groups. // // This member is required. GroupId *string // The identifier of the index required to check the processing of PUT and DELETE // actions for mapping users to their groups. // // This member is required. IndexId *string // The identifier of the data source to check the processing of PUT and DELETE // actions for mapping users to their groups. DataSourceId *string // contains filtered or unexported fields }
type DescribePrincipalMappingOutput ¶
type DescribePrincipalMappingOutput struct { // Shows the identifier of the data source to see information on the processing of // PUT and DELETE actions for mapping users to their groups. DataSourceId *string // Shows the identifier of the group to see information on the processing of PUT // and DELETE actions for mapping users to their groups. GroupId *string // Shows the following information on the processing of PUT and DELETE actions for // mapping users to their groups: // // * Status – the status can be either PROCESSING, // SUCCEEDED, DELETING, DELETED, or FAILED. // // * Last updated – the last date-time an // action was updated. // // * Received – the last date-time an action was received or // submitted. // // * Ordering ID – the latest action that should process and apply // after other actions. // // * Failure reason – the reason an action could not be // processed. GroupOrderingIdSummaries []types.GroupOrderingIdSummary // Shows the identifier of the index to see information on the processing of PUT // and DELETE actions for mapping users to their groups. IndexId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeQuerySuggestionsBlockListInput ¶
type DescribeQuerySuggestionsBlockListInput struct { // The unique identifier of the block list. // // This member is required. Id *string // The identifier of the index for the block list. // // This member is required. IndexId *string // contains filtered or unexported fields }
type DescribeQuerySuggestionsBlockListOutput ¶
type DescribeQuerySuggestionsBlockListOutput struct { // Shows the date-time a block list for query suggestions was created. CreatedAt *time.Time // Shows the description for the block list. Description *string // Shows the error message with details when there are issues in processing the // block list. ErrorMessage *string // Shows the current size of the block list text file in S3. FileSizeBytes *int64 // Shows the unique identifier of the block list. Id *string // Shows the identifier of the index for the block list. IndexId *string // Shows the current number of valid, non-empty words or phrases in the block list // text file. ItemCount *int32 // Shows the name of the block list. Name *string // Shows the current IAM (Identity and Access Management) role used by Amazon // Kendra to access the block list text file in S3. The role needs S3 read // permissions to your file in S3 and needs to give STS (Security Token Service) // assume role permissions to Amazon Kendra. RoleArn *string // Shows the current S3 path to your block list text file in your S3 bucket. Each // block word or phrase should be on a separate line in a text file. For // information on the current quota limits for block lists, see Quotas for Amazon // Kendra (https://docs.aws.amazon.com/kendra/latest/dg/quotas.html). SourceS3Path *types.S3Path // Shows whether the current status of the block list is ACTIVE or INACTIVE. Status types.QuerySuggestionsBlockListStatus // Shows the date-time a block list for query suggestions was last updated. UpdatedAt *time.Time // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeQuerySuggestionsConfigInput ¶
type DescribeQuerySuggestionsConfigInput struct { // The identifier of the index you want to describe query suggestions settings for. // // This member is required. IndexId *string // contains filtered or unexported fields }
type DescribeQuerySuggestionsConfigOutput ¶
type DescribeQuerySuggestionsConfigOutput struct { // Shows whether Amazon Kendra uses all queries or only uses queries that include // user information to generate query suggestions. IncludeQueriesWithoutUserInformation *bool // Shows the date-time query suggestions for an index was last cleared. After you // clear suggestions, Amazon Kendra learns new suggestions based on new queries // added to the query log from the time you cleared suggestions. Amazon Kendra only // considers re-occurences of a query from the time you cleared suggestions. LastClearTime *time.Time // Shows the date-time query suggestions for an index was last updated. LastSuggestionsBuildTime *time.Time // Shows the minimum number of unique users who must search a query in order for // the query to be eligible to suggest to your users. MinimumNumberOfQueryingUsers *int32 // Shows the minimum number of times a query must be searched in order for the // query to be eligible to suggest to your users. MinimumQueryCount *int32 // Shows whether query suggestions are currently in ENABLED mode or LEARN_ONLY // mode. By default, Amazon Kendra enables query suggestions.LEARN_ONLY turns off // query suggestions for your users. You can change the mode using the // UpdateQuerySuggestionsConfig // (https://docs.aws.amazon.com/kendra/latest/dg/API_UpdateQuerySuggestionsConfig.html) // API. Mode types.Mode // Shows how recent your queries are in your query log time window (in days). QueryLogLookBackWindowInDays *int32 // Shows whether the status of query suggestions settings is currently Active or // Updating. Active means the current settings apply and Updating means your // changed settings are in the process of applying. Status types.QuerySuggestionsStatus // Shows the current total count of query suggestions for an index. This count can // change when you update your query suggestions settings, if you filter out // certain queries from suggestions using a block list, and as the query log // accumulates more queries for Amazon Kendra to learn from. TotalSuggestionsCount *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeThesaurusInput ¶
type DescribeThesaurusInput struct { // The identifier of the thesaurus to describe. // // This member is required. Id *string // The identifier of the index associated with the thesaurus to describe. // // This member is required. IndexId *string // contains filtered or unexported fields }
type DescribeThesaurusOutput ¶
type DescribeThesaurusOutput struct { // The Unix datetime that the thesaurus was created. CreatedAt *time.Time // The thesaurus description. Description *string // When the Status field value is FAILED, the ErrorMessage field provides more // information. ErrorMessage *string // The size of the thesaurus file in bytes. FileSizeBytes *int64 // The identifier of the thesaurus. Id *string // The identifier of the index associated with the thesaurus to describe. IndexId *string // The thesaurus name. Name *string // An IAM role that gives Amazon Kendra permissions to access thesaurus file // specified in SourceS3Path. RoleArn *string // Information required to find a specific file in an Amazon S3 bucket. SourceS3Path *types.S3Path // The current status of the thesaurus. When the value is ACTIVE, queries are able // to use the thesaurus. If the Status field value is FAILED, the ErrorMessage // field provides more information. If the status is ACTIVE_BUT_UPDATE_FAILED, it // means that Amazon Kendra could not ingest the new thesaurus file. The old // thesaurus file is still active. Status types.ThesaurusStatus // The number of synonym rules in the thesaurus file. SynonymRuleCount *int64 // The number of unique terms in the thesaurus file. For example, the synonyms // a,b,c and a=>d, the term count would be 4. TermCount *int64 // The Unix datetime that the thesaurus was last updated. UpdatedAt *time.Time // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DisassociateEntitiesFromExperienceInput ¶
type DisassociateEntitiesFromExperienceInput struct { // Lists users or groups in your Amazon Web Services SSO identity source. // // This member is required. EntityList []types.EntityConfiguration // The identifier of your Amazon Kendra experience. // // This member is required. Id *string // The identifier of the index for your Amazon Kendra experience. // // This member is required. IndexId *string // contains filtered or unexported fields }
type DisassociateEntitiesFromExperienceOutput ¶
type DisassociateEntitiesFromExperienceOutput struct { // Lists the users or groups in your Amazon Web Services SSO identity source that // failed to properly remove access to your Amazon Kendra experience. FailedEntityList []types.FailedEntity // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DisassociatePersonasFromEntitiesInput ¶
type DisassociatePersonasFromEntitiesInput struct { // The identifiers of users or groups in your Amazon Web Services SSO identity // source. For example, user IDs could be user emails. // // This member is required. EntityIds []string // The identifier of your Amazon Kendra experience. // // This member is required. Id *string // The identifier of the index for your Amazon Kendra experience. // // This member is required. IndexId *string // contains filtered or unexported fields }
type DisassociatePersonasFromEntitiesOutput ¶
type DisassociatePersonasFromEntitiesOutput struct { // Lists the users or groups in your Amazon Web Services SSO identity source that // failed to properly remove access to your Amazon Kendra experience. FailedEntityList []types.FailedEntity // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointResolver ¶
type EndpointResolver interface { ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error) }
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type GetQuerySuggestionsInput ¶
type GetQuerySuggestionsInput struct { // The identifier of the index you want to get query suggestions from. // // This member is required. IndexId *string // The text of a user's query to generate query suggestions. A query is suggested // if the query prefix matches what a user starts to type as their query. Amazon // Kendra does not show any suggestions if a user types fewer than two characters // or more than 60 characters. A query must also have at least one search result // and contain at least one word of more than four characters. // // This member is required. QueryText *string // The maximum number of query suggestions you want to show to your users. MaxSuggestionsCount *int32 // contains filtered or unexported fields }
type GetQuerySuggestionsOutput ¶
type GetQuerySuggestionsOutput struct { // The unique identifier for a list of query suggestions for an index. QuerySuggestionsId *string // A list of query suggestions for an index. Suggestions []types.Suggestion // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetSnapshotsAPIClient ¶
type GetSnapshotsAPIClient interface { GetSnapshots(context.Context, *GetSnapshotsInput, ...func(*Options)) (*GetSnapshotsOutput, error) }
GetSnapshotsAPIClient is a client that implements the GetSnapshots operation.
type GetSnapshotsInput ¶
type GetSnapshotsInput struct { // The identifier of the index to get search metrics data. // // This member is required. IndexId *string // The time interval or time window to get search metrics data. The time interval // uses the time zone of your index. You can view data in the following time // windows: // // * THIS_WEEK: The current week, starting on the Sunday and ending on // the day before the current date. // // * ONE_WEEK_AGO: The previous week, starting on // the Sunday and ending on the following Saturday. // // * TWO_WEEKS_AGO: The week // before the previous week, starting on the Sunday and ending on the following // Saturday. // // * THIS_MONTH: The current month, starting on the first day of the // month and ending on the day before the current date. // // * ONE_MONTH_AGO: The // previous month, starting on the first day of the month and ending on the last // day of the month. // // * TWO_MONTHS_AGO: The month before the previous month, // starting on the first day of the month and ending on last day of the month. // // This member is required. Interval types.Interval // The metric you want to retrieve. You can specify only one metric per call. For // more information about the metrics you can view, see Gaining insights with // search analytics // (https://docs.aws.amazon.com/kendra/latest/dg/search-analytics.html). // // This member is required. MetricType types.MetricType // The maximum number of returned data for the metric. MaxResults *int32 // If the previous response was incomplete (because there is more data to // retrieve), Amazon Kendra returns a pagination token in the response. You can use // this pagination token to retrieve the next set of search metrics data. NextToken *string // contains filtered or unexported fields }
type GetSnapshotsOutput ¶
type GetSnapshotsOutput struct { // If the response is truncated, Amazon Kendra returns this token, which you can // use in a later request to retrieve the next set of search metrics data. NextToken *string // The date-time for the beginning and end of the time window for the search // metrics data. SnapShotTimeFilter *types.TimeRange // The search metrics data. The data returned depends on the metric type you // requested. SnapshotsData [][]string // The column headers for the search metrics data. SnapshotsDataHeader []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetSnapshotsPaginator ¶
type GetSnapshotsPaginator struct {
// contains filtered or unexported fields
}
GetSnapshotsPaginator is a paginator for GetSnapshots
func NewGetSnapshotsPaginator ¶
func NewGetSnapshotsPaginator(client GetSnapshotsAPIClient, params *GetSnapshotsInput, optFns ...func(*GetSnapshotsPaginatorOptions)) *GetSnapshotsPaginator
NewGetSnapshotsPaginator returns a new GetSnapshotsPaginator
func (*GetSnapshotsPaginator) HasMorePages ¶
func (p *GetSnapshotsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*GetSnapshotsPaginator) NextPage ¶
func (p *GetSnapshotsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetSnapshotsOutput, error)
NextPage retrieves the next GetSnapshots page.
type GetSnapshotsPaginatorOptions ¶
type GetSnapshotsPaginatorOptions struct { // The maximum number of returned data for the metric. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
GetSnapshotsPaginatorOptions is the paginator options for GetSnapshots
type HTTPClient ¶
type HTTPSignerV4 ¶
type HTTPSignerV4 interface { SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error }
type IdempotencyTokenProvider ¶
IdempotencyTokenProvider interface for providing idempotency token
type ListDataSourceSyncJobsAPIClient ¶
type ListDataSourceSyncJobsAPIClient interface { ListDataSourceSyncJobs(context.Context, *ListDataSourceSyncJobsInput, ...func(*Options)) (*ListDataSourceSyncJobsOutput, error) }
ListDataSourceSyncJobsAPIClient is a client that implements the ListDataSourceSyncJobs operation.
type ListDataSourceSyncJobsInput ¶
type ListDataSourceSyncJobsInput struct { // The identifier of the data source. // // This member is required. Id *string // The identifier of the index that contains the data source. // // This member is required. IndexId *string // The maximum number of synchronization jobs to return in the response. If there // are fewer results in the list, this response contains only the actual results. MaxResults *int32 // If the previous response was incomplete (because there is more data to // retrieve), Amazon Kendra returns a pagination token in the response. You can use // this pagination token to retrieve the next set of jobs. NextToken *string // When specified, the synchronization jobs returned in the list are limited to // jobs between the specified dates. StartTimeFilter *types.TimeRange // When specified, only returns synchronization jobs with the Status field equal to // the specified status. StatusFilter types.DataSourceSyncJobStatus // contains filtered or unexported fields }
type ListDataSourceSyncJobsOutput ¶
type ListDataSourceSyncJobsOutput struct { // A history of synchronization jobs for the data source. History []types.DataSourceSyncJob // If the response is truncated, Amazon Kendra returns this token that you can use // in the subsequent request to retrieve the next set of jobs. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListDataSourceSyncJobsPaginator ¶
type ListDataSourceSyncJobsPaginator struct {
// contains filtered or unexported fields
}
ListDataSourceSyncJobsPaginator is a paginator for ListDataSourceSyncJobs
func NewListDataSourceSyncJobsPaginator ¶
func NewListDataSourceSyncJobsPaginator(client ListDataSourceSyncJobsAPIClient, params *ListDataSourceSyncJobsInput, optFns ...func(*ListDataSourceSyncJobsPaginatorOptions)) *ListDataSourceSyncJobsPaginator
NewListDataSourceSyncJobsPaginator returns a new ListDataSourceSyncJobsPaginator
func (*ListDataSourceSyncJobsPaginator) HasMorePages ¶
func (p *ListDataSourceSyncJobsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListDataSourceSyncJobsPaginator) NextPage ¶
func (p *ListDataSourceSyncJobsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListDataSourceSyncJobsOutput, error)
NextPage retrieves the next ListDataSourceSyncJobs page.
type ListDataSourceSyncJobsPaginatorOptions ¶
type ListDataSourceSyncJobsPaginatorOptions struct { // The maximum number of synchronization jobs to return in the response. If there // are fewer results in the list, this response contains only the actual results. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListDataSourceSyncJobsPaginatorOptions is the paginator options for ListDataSourceSyncJobs
type ListDataSourcesAPIClient ¶
type ListDataSourcesAPIClient interface { ListDataSources(context.Context, *ListDataSourcesInput, ...func(*Options)) (*ListDataSourcesOutput, error) }
ListDataSourcesAPIClient is a client that implements the ListDataSources operation.
type ListDataSourcesInput ¶
type ListDataSourcesInput struct { // The identifier of the index that contains the data source. // // This member is required. IndexId *string // The maximum number of data sources to return. MaxResults *int32 // If the previous response was incomplete (because there is more data to // retrieve), Amazon Kendra returns a pagination token in the response. You can use // this pagination token to retrieve the next set of data sources // (DataSourceSummaryItems). NextToken *string // contains filtered or unexported fields }
type ListDataSourcesOutput ¶
type ListDataSourcesOutput struct { // If the response is truncated, Amazon Kendra returns this token that you can use // in the subsequent request to retrieve the next set of data sources. NextToken *string // An array of summary information for one or more data sources. SummaryItems []types.DataSourceSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListDataSourcesPaginator ¶
type ListDataSourcesPaginator struct {
// contains filtered or unexported fields
}
ListDataSourcesPaginator is a paginator for ListDataSources
func NewListDataSourcesPaginator ¶
func NewListDataSourcesPaginator(client ListDataSourcesAPIClient, params *ListDataSourcesInput, optFns ...func(*ListDataSourcesPaginatorOptions)) *ListDataSourcesPaginator
NewListDataSourcesPaginator returns a new ListDataSourcesPaginator
func (*ListDataSourcesPaginator) HasMorePages ¶
func (p *ListDataSourcesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListDataSourcesPaginator) NextPage ¶
func (p *ListDataSourcesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListDataSourcesOutput, error)
NextPage retrieves the next ListDataSources page.
type ListDataSourcesPaginatorOptions ¶
type ListDataSourcesPaginatorOptions struct { // The maximum number of data sources to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListDataSourcesPaginatorOptions is the paginator options for ListDataSources
type ListEntityPersonasAPIClient ¶
type ListEntityPersonasAPIClient interface { ListEntityPersonas(context.Context, *ListEntityPersonasInput, ...func(*Options)) (*ListEntityPersonasOutput, error) }
ListEntityPersonasAPIClient is a client that implements the ListEntityPersonas operation.
type ListEntityPersonasInput ¶
type ListEntityPersonasInput struct { // The identifier of your Amazon Kendra experience. // // This member is required. Id *string // The identifier of the index for your Amazon Kendra experience. // // This member is required. IndexId *string // The maximum number of returned users or groups. MaxResults *int32 // If the previous response was incomplete (because there is more data to // retrieve), Amazon Kendra returns a pagination token in the response. You can use // this pagination token to retrieve the next set of users or groups. NextToken *string // contains filtered or unexported fields }
type ListEntityPersonasOutput ¶
type ListEntityPersonasOutput struct { // If the response is truncated, Amazon Kendra returns this token, which you can // use in a later request to retrieve the next set of users or groups. NextToken *string // An array of summary information for one or more users or groups. SummaryItems []types.PersonasSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListEntityPersonasPaginator ¶
type ListEntityPersonasPaginator struct {
// contains filtered or unexported fields
}
ListEntityPersonasPaginator is a paginator for ListEntityPersonas
func NewListEntityPersonasPaginator ¶
func NewListEntityPersonasPaginator(client ListEntityPersonasAPIClient, params *ListEntityPersonasInput, optFns ...func(*ListEntityPersonasPaginatorOptions)) *ListEntityPersonasPaginator
NewListEntityPersonasPaginator returns a new ListEntityPersonasPaginator
func (*ListEntityPersonasPaginator) HasMorePages ¶
func (p *ListEntityPersonasPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListEntityPersonasPaginator) NextPage ¶
func (p *ListEntityPersonasPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListEntityPersonasOutput, error)
NextPage retrieves the next ListEntityPersonas page.
type ListEntityPersonasPaginatorOptions ¶
type ListEntityPersonasPaginatorOptions struct { // The maximum number of returned users or groups. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListEntityPersonasPaginatorOptions is the paginator options for ListEntityPersonas
type ListExperienceEntitiesAPIClient ¶
type ListExperienceEntitiesAPIClient interface { ListExperienceEntities(context.Context, *ListExperienceEntitiesInput, ...func(*Options)) (*ListExperienceEntitiesOutput, error) }
ListExperienceEntitiesAPIClient is a client that implements the ListExperienceEntities operation.
type ListExperienceEntitiesInput ¶
type ListExperienceEntitiesInput struct { // The identifier of your Amazon Kendra experience. // // This member is required. Id *string // The identifier of the index for your Amazon Kendra experience. // // This member is required. IndexId *string // If the previous response was incomplete (because there is more data to // retrieve), Amazon Kendra returns a pagination token in the response. You can use // this pagination token to retrieve the next set of users or groups. NextToken *string // contains filtered or unexported fields }
type ListExperienceEntitiesOutput ¶
type ListExperienceEntitiesOutput struct { // If the response is truncated, Amazon Kendra returns this token, which you can // use in a later request to retrieve the next set of users or groups. NextToken *string // An array of summary information for one or more users or groups. SummaryItems []types.ExperienceEntitiesSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListExperienceEntitiesPaginator ¶
type ListExperienceEntitiesPaginator struct {
// contains filtered or unexported fields
}
ListExperienceEntitiesPaginator is a paginator for ListExperienceEntities
func NewListExperienceEntitiesPaginator ¶
func NewListExperienceEntitiesPaginator(client ListExperienceEntitiesAPIClient, params *ListExperienceEntitiesInput, optFns ...func(*ListExperienceEntitiesPaginatorOptions)) *ListExperienceEntitiesPaginator
NewListExperienceEntitiesPaginator returns a new ListExperienceEntitiesPaginator
func (*ListExperienceEntitiesPaginator) HasMorePages ¶
func (p *ListExperienceEntitiesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListExperienceEntitiesPaginator) NextPage ¶
func (p *ListExperienceEntitiesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListExperienceEntitiesOutput, error)
NextPage retrieves the next ListExperienceEntities page.
type ListExperienceEntitiesPaginatorOptions ¶
type ListExperienceEntitiesPaginatorOptions struct { // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListExperienceEntitiesPaginatorOptions is the paginator options for ListExperienceEntities
type ListExperiencesAPIClient ¶
type ListExperiencesAPIClient interface { ListExperiences(context.Context, *ListExperiencesInput, ...func(*Options)) (*ListExperiencesOutput, error) }
ListExperiencesAPIClient is a client that implements the ListExperiences operation.
type ListExperiencesInput ¶
type ListExperiencesInput struct { // The identifier of the index for your Amazon Kendra experience. // // This member is required. IndexId *string // The maximum number of returned Amazon Kendra experiences. MaxResults *int32 // If the previous response was incomplete (because there is more data to // retrieve), Amazon Kendra returns a pagination token in the response. You can use // this pagination token to retrieve the next set of Amazon Kendra experiences. NextToken *string // contains filtered or unexported fields }
type ListExperiencesOutput ¶
type ListExperiencesOutput struct { // If the response is truncated, Amazon Kendra returns this token, which you can // use in a later request to retrieve the next set of Amazon Kendra experiences. NextToken *string // An array of summary information for one or more Amazon Kendra experiences. SummaryItems []types.ExperiencesSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListExperiencesPaginator ¶
type ListExperiencesPaginator struct {
// contains filtered or unexported fields
}
ListExperiencesPaginator is a paginator for ListExperiences
func NewListExperiencesPaginator ¶
func NewListExperiencesPaginator(client ListExperiencesAPIClient, params *ListExperiencesInput, optFns ...func(*ListExperiencesPaginatorOptions)) *ListExperiencesPaginator
NewListExperiencesPaginator returns a new ListExperiencesPaginator
func (*ListExperiencesPaginator) HasMorePages ¶
func (p *ListExperiencesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListExperiencesPaginator) NextPage ¶
func (p *ListExperiencesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListExperiencesOutput, error)
NextPage retrieves the next ListExperiences page.
type ListExperiencesPaginatorOptions ¶
type ListExperiencesPaginatorOptions struct { // The maximum number of returned Amazon Kendra experiences. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListExperiencesPaginatorOptions is the paginator options for ListExperiences
type ListFaqsAPIClient ¶
type ListFaqsAPIClient interface { ListFaqs(context.Context, *ListFaqsInput, ...func(*Options)) (*ListFaqsOutput, error) }
ListFaqsAPIClient is a client that implements the ListFaqs operation.
type ListFaqsInput ¶
type ListFaqsInput struct { // The index that contains the FAQ lists. // // This member is required. IndexId *string // The maximum number of FAQs to return in the response. If there are fewer results // in the list, this response contains only the actual results. MaxResults *int32 // If the previous response was incomplete (because there is more data to // retrieve), Amazon Kendra returns a pagination token in the response. You can use // this pagination token to retrieve the next set of FAQs. NextToken *string // contains filtered or unexported fields }
type ListFaqsOutput ¶
type ListFaqsOutput struct { // information about the FAQs associated with the specified index. FaqSummaryItems []types.FaqSummary // If the response is truncated, Amazon Kendra returns this token that you can use // in the subsequent request to retrieve the next set of FAQs. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListFaqsPaginator ¶
type ListFaqsPaginator struct {
// contains filtered or unexported fields
}
ListFaqsPaginator is a paginator for ListFaqs
func NewListFaqsPaginator ¶
func NewListFaqsPaginator(client ListFaqsAPIClient, params *ListFaqsInput, optFns ...func(*ListFaqsPaginatorOptions)) *ListFaqsPaginator
NewListFaqsPaginator returns a new ListFaqsPaginator
func (*ListFaqsPaginator) HasMorePages ¶
func (p *ListFaqsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListFaqsPaginator) NextPage ¶
func (p *ListFaqsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFaqsOutput, error)
NextPage retrieves the next ListFaqs page.
type ListFaqsPaginatorOptions ¶
type ListFaqsPaginatorOptions struct { // The maximum number of FAQs to return in the response. If there are fewer results // in the list, this response contains only the actual results. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListFaqsPaginatorOptions is the paginator options for ListFaqs
type ListGroupsOlderThanOrderingIdAPIClient ¶
type ListGroupsOlderThanOrderingIdAPIClient interface { ListGroupsOlderThanOrderingId(context.Context, *ListGroupsOlderThanOrderingIdInput, ...func(*Options)) (*ListGroupsOlderThanOrderingIdOutput, error) }
ListGroupsOlderThanOrderingIdAPIClient is a client that implements the ListGroupsOlderThanOrderingId operation.
type ListGroupsOlderThanOrderingIdInput ¶
type ListGroupsOlderThanOrderingIdInput struct { // The identifier of the index for getting a list of groups mapped to users before // a given ordering or timestamp identifier. // // This member is required. IndexId *string // The timestamp identifier used for the latest PUT or DELETE action for mapping // users to their groups. // // This member is required. OrderingId *int64 // The identifier of the data source for getting a list of groups mapped to users // before a given ordering timestamp identifier. DataSourceId *string // The maximum number of returned groups that are mapped to users before a given // ordering or timestamp identifier. MaxResults *int32 // If the previous response was incomplete (because there is more data to // retrieve), Amazon Kendra returns a pagination token in the response. You can use // this pagination token to retrieve the next set of groups that are mapped to // users before a given ordering or timestamp identifier. NextToken *string // contains filtered or unexported fields }
type ListGroupsOlderThanOrderingIdOutput ¶
type ListGroupsOlderThanOrderingIdOutput struct { // Summary information for list of groups that are mapped to users before a given // ordering or timestamp identifier. GroupsSummaries []types.GroupSummary // If the response is truncated, Amazon Kendra returns this token that you can use // in the subsequent request to retrieve the next set of groups that are mapped to // users before a given ordering or timestamp identifier. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListGroupsOlderThanOrderingIdPaginator ¶
type ListGroupsOlderThanOrderingIdPaginator struct {
// contains filtered or unexported fields
}
ListGroupsOlderThanOrderingIdPaginator is a paginator for ListGroupsOlderThanOrderingId
func NewListGroupsOlderThanOrderingIdPaginator ¶
func NewListGroupsOlderThanOrderingIdPaginator(client ListGroupsOlderThanOrderingIdAPIClient, params *ListGroupsOlderThanOrderingIdInput, optFns ...func(*ListGroupsOlderThanOrderingIdPaginatorOptions)) *ListGroupsOlderThanOrderingIdPaginator
NewListGroupsOlderThanOrderingIdPaginator returns a new ListGroupsOlderThanOrderingIdPaginator
func (*ListGroupsOlderThanOrderingIdPaginator) HasMorePages ¶
func (p *ListGroupsOlderThanOrderingIdPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListGroupsOlderThanOrderingIdPaginator) NextPage ¶
func (p *ListGroupsOlderThanOrderingIdPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListGroupsOlderThanOrderingIdOutput, error)
NextPage retrieves the next ListGroupsOlderThanOrderingId page.
type ListGroupsOlderThanOrderingIdPaginatorOptions ¶
type ListGroupsOlderThanOrderingIdPaginatorOptions struct { // The maximum number of returned groups that are mapped to users before a given // ordering or timestamp identifier. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListGroupsOlderThanOrderingIdPaginatorOptions is the paginator options for ListGroupsOlderThanOrderingId
type ListIndicesAPIClient ¶
type ListIndicesAPIClient interface { ListIndices(context.Context, *ListIndicesInput, ...func(*Options)) (*ListIndicesOutput, error) }
ListIndicesAPIClient is a client that implements the ListIndices operation.
type ListIndicesInput ¶
type ListIndicesInput struct { // The maximum number of data sources to return. MaxResults *int32 // If the previous response was incomplete (because there is more data to // retrieve), Amazon Kendra returns a pagination token in the response. You can use // this pagination token to retrieve the next set of indexes // (DataSourceSummaryItems). NextToken *string // contains filtered or unexported fields }
type ListIndicesOutput ¶
type ListIndicesOutput struct { // An array of summary information on the configuration of one or more indexes. IndexConfigurationSummaryItems []types.IndexConfigurationSummary // If the response is truncated, Amazon Kendra returns this token that you can use // in the subsequent request to retrieve the next set of indexes. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListIndicesPaginator ¶
type ListIndicesPaginator struct {
// contains filtered or unexported fields
}
ListIndicesPaginator is a paginator for ListIndices
func NewListIndicesPaginator ¶
func NewListIndicesPaginator(client ListIndicesAPIClient, params *ListIndicesInput, optFns ...func(*ListIndicesPaginatorOptions)) *ListIndicesPaginator
NewListIndicesPaginator returns a new ListIndicesPaginator
func (*ListIndicesPaginator) HasMorePages ¶
func (p *ListIndicesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListIndicesPaginator) NextPage ¶
func (p *ListIndicesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListIndicesOutput, error)
NextPage retrieves the next ListIndices page.
type ListIndicesPaginatorOptions ¶
type ListIndicesPaginatorOptions struct { // The maximum number of data sources to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListIndicesPaginatorOptions is the paginator options for ListIndices
type ListQuerySuggestionsBlockListsAPIClient ¶
type ListQuerySuggestionsBlockListsAPIClient interface { ListQuerySuggestionsBlockLists(context.Context, *ListQuerySuggestionsBlockListsInput, ...func(*Options)) (*ListQuerySuggestionsBlockListsOutput, error) }
ListQuerySuggestionsBlockListsAPIClient is a client that implements the ListQuerySuggestionsBlockLists operation.
type ListQuerySuggestionsBlockListsInput ¶
type ListQuerySuggestionsBlockListsInput struct { // The identifier of the index for a list of all block lists that exist for that // index. For information on the current quota limits for block lists, see Quotas // for Amazon Kendra (https://docs.aws.amazon.com/kendra/latest/dg/quotas.html). // // This member is required. IndexId *string // The maximum number of block lists to return. MaxResults *int32 // If the previous response was incomplete (because there is more data to // retrieve), Amazon Kendra returns a pagination token in the response. You can use // this pagination token to retrieve the next set of block lists // (BlockListSummaryItems). NextToken *string // contains filtered or unexported fields }
type ListQuerySuggestionsBlockListsOutput ¶
type ListQuerySuggestionsBlockListsOutput struct { // Summary items for a block list. This includes summary items on the block list // ID, block list name, when the block list was created, when the block list was // last updated, and the count of block words/phrases in the block list. For // information on the current quota limits for block lists, see Quotas for Amazon // Kendra (https://docs.aws.amazon.com/kendra/latest/dg/quotas.html). BlockListSummaryItems []types.QuerySuggestionsBlockListSummary // If the response is truncated, Amazon Kendra returns this token that you can use // in the subsequent request to retrieve the next set of block lists. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListQuerySuggestionsBlockListsPaginator ¶
type ListQuerySuggestionsBlockListsPaginator struct {
// contains filtered or unexported fields
}
ListQuerySuggestionsBlockListsPaginator is a paginator for ListQuerySuggestionsBlockLists
func NewListQuerySuggestionsBlockListsPaginator ¶
func NewListQuerySuggestionsBlockListsPaginator(client ListQuerySuggestionsBlockListsAPIClient, params *ListQuerySuggestionsBlockListsInput, optFns ...func(*ListQuerySuggestionsBlockListsPaginatorOptions)) *ListQuerySuggestionsBlockListsPaginator
NewListQuerySuggestionsBlockListsPaginator returns a new ListQuerySuggestionsBlockListsPaginator
func (*ListQuerySuggestionsBlockListsPaginator) HasMorePages ¶
func (p *ListQuerySuggestionsBlockListsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListQuerySuggestionsBlockListsPaginator) NextPage ¶
func (p *ListQuerySuggestionsBlockListsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListQuerySuggestionsBlockListsOutput, error)
NextPage retrieves the next ListQuerySuggestionsBlockLists page.
type ListQuerySuggestionsBlockListsPaginatorOptions ¶
type ListQuerySuggestionsBlockListsPaginatorOptions struct { // The maximum number of block lists to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListQuerySuggestionsBlockListsPaginatorOptions is the paginator options for ListQuerySuggestionsBlockLists
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the index, FAQ, or data source to get a list // of tags for. // // This member is required. ResourceARN *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // A list of tags associated with the index, FAQ, or data source. Tags []types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListThesauriAPIClient ¶
type ListThesauriAPIClient interface { ListThesauri(context.Context, *ListThesauriInput, ...func(*Options)) (*ListThesauriOutput, error) }
ListThesauriAPIClient is a client that implements the ListThesauri operation.
type ListThesauriInput ¶
type ListThesauriInput struct { // The identifier of the index associated with the thesaurus to list. // // This member is required. IndexId *string // The maximum number of thesauri to return. MaxResults *int32 // If the previous response was incomplete (because there is more data to // retrieve), Amazon Kendra returns a pagination token in the response. You can use // this pagination token to retrieve the next set of thesauri // (ThesaurusSummaryItems). NextToken *string // contains filtered or unexported fields }
type ListThesauriOutput ¶
type ListThesauriOutput struct { // If the response is truncated, Amazon Kendra returns this token that you can use // in the subsequent request to retrieve the next set of thesauri. NextToken *string // An array of summary information for a thesaurus or multiple thesauri. ThesaurusSummaryItems []types.ThesaurusSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListThesauriPaginator ¶
type ListThesauriPaginator struct {
// contains filtered or unexported fields
}
ListThesauriPaginator is a paginator for ListThesauri
func NewListThesauriPaginator ¶
func NewListThesauriPaginator(client ListThesauriAPIClient, params *ListThesauriInput, optFns ...func(*ListThesauriPaginatorOptions)) *ListThesauriPaginator
NewListThesauriPaginator returns a new ListThesauriPaginator
func (*ListThesauriPaginator) HasMorePages ¶
func (p *ListThesauriPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListThesauriPaginator) NextPage ¶
func (p *ListThesauriPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListThesauriOutput, error)
NextPage retrieves the next ListThesauri page.
type ListThesauriPaginatorOptions ¶
type ListThesauriPaginatorOptions struct { // The maximum number of thesauri to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListThesauriPaginatorOptions is the paginator options for ListThesauri
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // Provides idempotency tokens values that will be automatically populated into // idempotent API operations. IdempotencyTokenProvider IdempotencyTokenProvider // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. When creating a new API Clients this // member will only be used if the Retryer Options member is nil. This value will // be ignored if Retryer is not nil. If specified in an operation call's functional // options with a value that is different than the constructed client's Options, // the Client's Retryer will be wrapped to use the operation's specific // RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. When creating a new API Clients this // member will only be used if the Retryer Options member is nil. This value will // be ignored if Retryer is not nil. Currently does not support per operation call // overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig. You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // contains filtered or unexported fields }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
type PutPrincipalMappingInput ¶
type PutPrincipalMappingInput struct { // The identifier of the group you want to map its users to. // // This member is required. GroupId *string // The list that contains your users or sub groups that belong the same group. For // example, the group "Company" includes the user "CEO" and the sub groups // "Research", "Engineering", and "Sales and Marketing". If you have more than 1000 // users and/or sub groups for a single group, you need to provide the path to the // S3 file that lists your users and sub groups for a group. Your sub groups can // contain more than 1000 users, but the list of sub groups that belong to a group // (and/or users) must be no more than 1000. // // This member is required. GroupMembers *types.GroupMembers // The identifier of the index you want to map users to their groups. // // This member is required. IndexId *string // The identifier of the data source you want to map users to their groups. This is // useful if a group is tied to multiple data sources, but you only want the group // to access documents of a certain data source. For example, the groups // "Research", "Engineering", and "Sales and Marketing" are all tied to the // company's documents stored in the data sources Confluence and Salesforce. // However, "Sales and Marketing" team only needs access to customer-related // documents stored in Salesforce. DataSourceId *string // The timestamp identifier you specify to ensure Amazon Kendra does not override // the latest PUT action with previous actions. The highest number ID, which is the // ordering ID, is the latest action you want to process and apply on top of other // actions with lower number IDs. This prevents previous actions with lower number // IDs from possibly overriding the latest action. The ordering ID can be the UNIX // time of the last update you made to a group members list. You would then provide // this list when calling PutPrincipalMapping. This ensures your PUT action for // that updated group with the latest members list doesn't get overwritten by // earlier PUT actions for the same group which are yet to be processed. The // default ordering ID is the current UNIX time in milliseconds that the action was // received by Amazon Kendra. OrderingId *int64 // The Amazon Resource Name (ARN) of a role that has access to the S3 file that // contains your list of users or sub groups that belong to a group. For more // information, see IAM roles for Amazon Kendra // (https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html#iam-roles-ds). RoleArn *string // contains filtered or unexported fields }
type PutPrincipalMappingOutput ¶
type PutPrincipalMappingOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type QueryInput ¶
type QueryInput struct { // The unique identifier of the index to search. The identifier is returned in the // response from the CreateIndex API. // // This member is required. IndexId *string // Enables filtered searches based on document attributes. You can only provide one // attribute filter; however, the AndAllFilters, NotFilter, and OrAllFilters // parameters contain a list of other filters. The AttributeFilter parameter // enables you to create a set of filtering rules that a document must satisfy to // be included in the query results. AttributeFilter *types.AttributeFilter // Overrides relevance tuning configurations of fields or attributes set at the // index level. If you use this API to override the relevance tuning configured at // the index level, but there is no relevance tuning configured at the index level, // then Amazon Kendra does not apply any relevance tuning. If there is relevance // tuning configured at the index level, but you do not use this API to override // any relevance tuning in the index, then Amazon Kendra uses the relevance tuning // that is configured at the index level. If there is relevance tuning configured // for fields at the index level, but you use this API to override only some of // these fields, then for the fields you did not override, the importance is set to // 1. DocumentRelevanceOverrideConfigurations []types.DocumentRelevanceConfiguration // An array of documents attributes. Amazon Kendra returns a count for each // attribute key specified. This helps your users narrow their search. Facets []types.Facet // Query results are returned in pages the size of the PageSize parameter. By // default, Amazon Kendra returns the first page of results. Use this parameter to // get result pages after the first one. PageNumber *int32 // Sets the number of results that are returned in each page of results. The // default page size is 10. The maximum number of results returned is 100. If you // ask for more than 100 results, only 100 are returned. PageSize *int32 // Sets the type of query. Only results for the specified query type are returned. QueryResultTypeFilter types.QueryResultType // The text to search for. QueryText *string // An array of document attributes to include in the response. You can limit the // response to include certain document attributes. By default all document // attributes are included in the response. RequestedDocumentAttributes []string // Provides information that determines how the results of the query are sorted. // You can set the field that Amazon Kendra should sort the results on, and specify // whether the results should be sorted in ascending or descending order. In the // case of ties in sorting the results, the results are sorted by relevance. If you // don't provide sorting configuration, the results are sorted by the relevance // that Amazon Kendra determines for the result. SortingConfiguration *types.SortingConfiguration // Enables suggested spell corrections for queries. SpellCorrectionConfiguration *types.SpellCorrectionConfiguration // The user context token or user and group information. UserContext *types.UserContext // Provides an identifier for a specific user. The VisitorId should be a unique // identifier, such as a GUID. Don't use personally identifiable information, such // as the user's email address, as the VisitorId. VisitorId *string // contains filtered or unexported fields }
type QueryOutput ¶
type QueryOutput struct { // Contains the facet results. A FacetResult contains the counts for each attribute // key that was specified in the Facets input parameter. FacetResults []types.FacetResult // The unique identifier for the search. You use QueryId to identify the search // when using the feedback API. QueryId *string // The results of the search. ResultItems []types.QueryResultItem // A list of information related to suggested spell corrections for a query. SpellCorrectedQueries []types.SpellCorrectedQuery // The total number of items found by the search; however, you can only retrieve up // to 100 items. For example, if the search found 192 items, you can only retrieve // the first 100 of the items. TotalNumberOfResults *int32 // A list of warning codes and their messages on problems with your query. Amazon // Kendra currently only supports one type of warning, which is a warning on // invalid syntax used in the query. For examples of invalid query syntax, see // Searching with advanced query syntax // (https://docs.aws.amazon.com/kendra/latest/dg/searching-example.html#searching-index-query-syntax). Warnings []types.Warning // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type StartDataSourceSyncJobInput ¶
type StartDataSourceSyncJobInput struct { // The identifier of the data source to synchronize. // // This member is required. Id *string // The identifier of the index that contains the data source. // // This member is required. IndexId *string // contains filtered or unexported fields }
type StartDataSourceSyncJobOutput ¶
type StartDataSourceSyncJobOutput struct { // Identifies a particular synchronization job. ExecutionId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StopDataSourceSyncJobInput ¶
type StopDataSourceSyncJobInput struct { // The identifier of the data source for which to stop the synchronization jobs. // // This member is required. Id *string // The identifier of the index that contains the data source. // // This member is required. IndexId *string // contains filtered or unexported fields }
type StopDataSourceSyncJobOutput ¶
type StopDataSourceSyncJobOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type SubmitFeedbackInput ¶
type SubmitFeedbackInput struct { // The identifier of the index that was queried. // // This member is required. IndexId *string // The identifier of the specific query for which you are submitting feedback. The // query ID is returned in the response to the Query API. // // This member is required. QueryId *string // Tells Amazon Kendra that a particular search result link was chosen by the user. ClickFeedbackItems []types.ClickFeedback // Provides Amazon Kendra with relevant or not relevant feedback for whether a // particular item was relevant to the search. RelevanceFeedbackItems []types.RelevanceFeedback // contains filtered or unexported fields }
type SubmitFeedbackOutput ¶
type SubmitFeedbackOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the index, FAQ, or data source to tag. // // This member is required. ResourceARN *string // A list of tag keys to add to the index, FAQ, or data source. If a tag already // exists, the existing value is replaced with the new value. // // This member is required. Tags []types.Tag // contains filtered or unexported fields }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the index, FAQ, or data source to remove the // tag from. // // This member is required. ResourceARN *string // A list of tag keys to remove from the index, FAQ, or data source. If a tag key // does not exist on the resource, it is ignored. // // This member is required. TagKeys []string // contains filtered or unexported fields }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateDataSourceInput ¶
type UpdateDataSourceInput struct { // The unique identifier of the data source to update. // // This member is required. Id *string // The identifier of the index that contains the data source to update. // // This member is required. IndexId *string // Configuration information for an Amazon Kendra data source you want to update. Configuration *types.DataSourceConfiguration // Configuration information for altering document metadata and content during the // document ingestion process when you update a data source. For more information // on how to create, modify and delete document metadata, or make other content // alterations when you ingest documents into Amazon Kendra, see Customizing // document metadata during the ingestion process // (https://docs.aws.amazon.com/kendra/latest/dg/custom-document-enrichment.html). CustomDocumentEnrichmentConfiguration *types.CustomDocumentEnrichmentConfiguration // The new description for the data source. Description *string // The code for a language. This allows you to support a language for all documents // when updating the data source. English is supported by default. For more // information on supported languages, including their codes, see Adding documents // in languages other than English // (https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html). LanguageCode *string // The name of the data source to update. The name of the data source can't be // updated. To rename a data source you must delete the data source and re-create // it. Name *string // The Amazon Resource Name (ARN) of the new role to use when the data source is // accessing resources on your behalf. RoleArn *string // The new update schedule for the data source. Schedule *string // contains filtered or unexported fields }
type UpdateDataSourceOutput ¶
type UpdateDataSourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateExperienceInput ¶
type UpdateExperienceInput struct { // The identifier of your Amazon Kendra experience you want to update. // // This member is required. Id *string // The identifier of the index for your Amazon Kendra experience you want to // update. // // This member is required. IndexId *string // Configuration information for your Amazon Kendra you want to update. Configuration *types.ExperienceConfiguration // The description of your Amazon Kendra experience you want to update. Description *string // The name of your Amazon Kendra experience you want to update. Name *string // The Amazon Resource Name (ARN) of a role with permission to access Query API, // QuerySuggestions API, SubmitFeedback API, and Amazon Web Services SSO that // stores your user and group information. For more information, see IAM roles for // Amazon Kendra (https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html). RoleArn *string // contains filtered or unexported fields }
type UpdateExperienceOutput ¶
type UpdateExperienceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateIndexInput ¶
type UpdateIndexInput struct { // The identifier of the index to update. // // This member is required. Id *string // Sets the number of additional document storage and query capacity units that // should be used by the index. You can change the capacity of the index up to 5 // times per day, or make 5 API calls. If you are using extra storage units, you // can't reduce the storage capacity below what is required to meet the storage // needs for your index. CapacityUnits *types.CapacityUnitsConfiguration // A new description for the index. Description *string // The document metadata you want to update. DocumentMetadataConfigurationUpdates []types.DocumentMetadataConfiguration // The name of the index to update. Name *string // A new IAM role that gives Amazon Kendra permission to access your Amazon // CloudWatch logs. RoleArn *string // The user context policy. UserContextPolicy types.UserContextPolicy // Enables fetching access levels of groups and users from an Amazon Web Services // Single Sign On identity source. To configure this, see // UserGroupResolutionConfiguration // (https://docs.aws.amazon.com/kendra/latest/dg/API_UserGroupResolutionConfiguration.html). UserGroupResolutionConfiguration *types.UserGroupResolutionConfiguration // The user token configuration. UserTokenConfigurations []types.UserTokenConfiguration // contains filtered or unexported fields }
type UpdateIndexOutput ¶
type UpdateIndexOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateQuerySuggestionsBlockListInput ¶
type UpdateQuerySuggestionsBlockListInput struct { // The unique identifier of a block list. // // This member is required. Id *string // The identifier of the index for a block list. // // This member is required. IndexId *string // The description for a block list. Description *string // The name of a block list. Name *string // The IAM (Identity and Access Management) role used to access the block list text // file in S3. RoleArn *string // The S3 path where your block list text file sits in S3. If you update your block // list and provide the same path to the block list text file in S3, then Amazon // Kendra reloads the file to refresh the block list. Amazon Kendra does not // automatically refresh your block list. You need to call the // UpdateQuerySuggestionsBlockList API to refresh you block list. If you update // your block list, then Amazon Kendra asynchronously refreshes all query // suggestions with the latest content in the S3 file. This means changes might not // take effect immediately. SourceS3Path *types.S3Path // contains filtered or unexported fields }
type UpdateQuerySuggestionsBlockListOutput ¶
type UpdateQuerySuggestionsBlockListOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateQuerySuggestionsConfigInput ¶
type UpdateQuerySuggestionsConfigInput struct { // The identifier of the index you want to update query suggestions settings for. // // This member is required. IndexId *string // TRUE to include queries without user information (i.e. all queries, irrespective // of the user), otherwise FALSE to only include queries with user information. If // you pass user information to Amazon Kendra along with the queries, you can set // this flag to FALSE and instruct Amazon Kendra to only consider queries with user // information. If you set to FALSE, Amazon Kendra only considers queries searched // at least MinimumQueryCount times across MinimumNumberOfQueryingUsers unique // users for suggestions. If you set to TRUE, Amazon Kendra ignores all user // information and learns from all queries. IncludeQueriesWithoutUserInformation *bool // The minimum number of unique users who must search a query in order for the // query to be eligible to suggest to your users. Increasing this number might // decrease the number of suggestions. However, this ensures a query is searched by // many users and is truly popular to suggest to users. How you tune this setting // depends on your specific needs. MinimumNumberOfQueryingUsers *int32 // The the minimum number of times a query must be searched in order to be eligible // to suggest to your users. Decreasing this number increases the number of // suggestions. However, this affects the quality of suggestions as it sets a low // bar for a query to be considered popular to suggest to users. How you tune this // setting depends on your specific needs. MinimumQueryCount *int32 // Set the mode to ENABLED or LEARN_ONLY. By default, Amazon Kendra enables query // suggestions. LEARN_ONLY mode allows you to turn off query suggestions. You can // to update this at any time. In LEARN_ONLY mode, Amazon Kendra continues to learn // from new queries to keep suggestions up to date for when you are ready to switch // to ENABLED mode again. Mode types.Mode // How recent your queries are in your query log time window. The time window is // the number of days from current day to past days. By default, Amazon Kendra sets // this to 180. QueryLogLookBackWindowInDays *int32 // contains filtered or unexported fields }
type UpdateQuerySuggestionsConfigOutput ¶
type UpdateQuerySuggestionsConfigOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateThesaurusInput ¶
type UpdateThesaurusInput struct { // The identifier of the thesaurus to update. // // This member is required. Id *string // The identifier of the index associated with the thesaurus to update. // // This member is required. IndexId *string // The updated description of the thesaurus. Description *string // The updated name of the thesaurus. Name *string // The updated role ARN of the thesaurus. RoleArn *string // Information required to find a specific file in an Amazon S3 bucket. SourceS3Path *types.S3Path // contains filtered or unexported fields }
type UpdateThesaurusOutput ¶
type UpdateThesaurusOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
api_client.go api_op_AssociateEntitiesToExperience.go api_op_AssociatePersonasToEntities.go api_op_BatchDeleteDocument.go api_op_BatchGetDocumentStatus.go api_op_BatchPutDocument.go api_op_ClearQuerySuggestions.go api_op_CreateDataSource.go api_op_CreateExperience.go api_op_CreateFaq.go api_op_CreateIndex.go api_op_CreateQuerySuggestionsBlockList.go api_op_CreateThesaurus.go api_op_DeleteDataSource.go api_op_DeleteExperience.go api_op_DeleteFaq.go api_op_DeleteIndex.go api_op_DeletePrincipalMapping.go api_op_DeleteQuerySuggestionsBlockList.go api_op_DeleteThesaurus.go api_op_DescribeDataSource.go api_op_DescribeExperience.go api_op_DescribeFaq.go api_op_DescribeIndex.go api_op_DescribePrincipalMapping.go api_op_DescribeQuerySuggestionsBlockList.go api_op_DescribeQuerySuggestionsConfig.go api_op_DescribeThesaurus.go api_op_DisassociateEntitiesFromExperience.go api_op_DisassociatePersonasFromEntities.go api_op_GetQuerySuggestions.go api_op_GetSnapshots.go api_op_ListDataSourceSyncJobs.go api_op_ListDataSources.go api_op_ListEntityPersonas.go api_op_ListExperienceEntities.go api_op_ListExperiences.go api_op_ListFaqs.go api_op_ListGroupsOlderThanOrderingId.go api_op_ListIndices.go api_op_ListQuerySuggestionsBlockLists.go api_op_ListTagsForResource.go api_op_ListThesauri.go api_op_PutPrincipalMapping.go api_op_Query.go api_op_StartDataSourceSyncJob.go api_op_StopDataSourceSyncJob.go api_op_SubmitFeedback.go api_op_TagResource.go api_op_UntagResource.go api_op_UpdateDataSource.go api_op_UpdateExperience.go api_op_UpdateIndex.go api_op_UpdateQuerySuggestionsBlockList.go api_op_UpdateQuerySuggestionsConfig.go api_op_UpdateThesaurus.go deserializers.go doc.go endpoints.go go_module_metadata.go serializers.go validators.go
Directories ¶
Path | Synopsis |
---|---|
internal | |
types |
- Version
- v1.29.0
- Published
- Jun 30, 2022
- Platform
- js/wasm
- Imports
- 36 packages
- Last checked
- 1 second ago –
Tools for package owners.