Documentation ¶
Overview ¶
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)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AssociateEntitiesToExperienceInput
- type AssociateEntitiesToExperienceOutput
- type AssociatePersonasToEntitiesInput
- type AssociatePersonasToEntitiesOutput
- type AuthResolverParameters
- type AuthSchemeResolver
- type BatchDeleteDocumentInput
- type BatchDeleteDocumentOutput
- type BatchDeleteFeaturedResultsSetInput
- type BatchDeleteFeaturedResultsSetOutput
- type BatchGetDocumentStatusInput
- type BatchGetDocumentStatusOutput
- type BatchPutDocumentInput
- type BatchPutDocumentOutput
- type ClearQuerySuggestionsInput
- type ClearQuerySuggestionsOutput
- type Client
- func (c *Client) AssociateEntitiesToExperience(ctx context.Context, params *AssociateEntitiesToExperienceInput, ...) (*AssociateEntitiesToExperienceOutput, error)
- func (c *Client) AssociatePersonasToEntities(ctx context.Context, params *AssociatePersonasToEntitiesInput, ...) (*AssociatePersonasToEntitiesOutput, error)
- func (c *Client) BatchDeleteDocument(ctx context.Context, params *BatchDeleteDocumentInput, ...) (*BatchDeleteDocumentOutput, error)
- func (c *Client) BatchDeleteFeaturedResultsSet(ctx context.Context, params *BatchDeleteFeaturedResultsSetInput, ...) (*BatchDeleteFeaturedResultsSetOutput, error)
- func (c *Client) BatchGetDocumentStatus(ctx context.Context, params *BatchGetDocumentStatusInput, ...) (*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, ...) (*ClearQuerySuggestionsOutput, error)
- func (c *Client) CreateAccessControlConfiguration(ctx context.Context, params *CreateAccessControlConfigurationInput, ...) (*CreateAccessControlConfigurationOutput, 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) CreateFeaturedResultsSet(ctx context.Context, params *CreateFeaturedResultsSetInput, ...) (*CreateFeaturedResultsSetOutput, error)
- func (c *Client) CreateIndex(ctx context.Context, params *CreateIndexInput, optFns ...func(*Options)) (*CreateIndexOutput, error)
- func (c *Client) CreateQuerySuggestionsBlockList(ctx context.Context, params *CreateQuerySuggestionsBlockListInput, ...) (*CreateQuerySuggestionsBlockListOutput, error)
- func (c *Client) CreateThesaurus(ctx context.Context, params *CreateThesaurusInput, optFns ...func(*Options)) (*CreateThesaurusOutput, error)
- func (c *Client) DeleteAccessControlConfiguration(ctx context.Context, params *DeleteAccessControlConfigurationInput, ...) (*DeleteAccessControlConfigurationOutput, 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, ...) (*DeletePrincipalMappingOutput, error)
- func (c *Client) DeleteQuerySuggestionsBlockList(ctx context.Context, params *DeleteQuerySuggestionsBlockListInput, ...) (*DeleteQuerySuggestionsBlockListOutput, error)
- func (c *Client) DeleteThesaurus(ctx context.Context, params *DeleteThesaurusInput, optFns ...func(*Options)) (*DeleteThesaurusOutput, error)
- func (c *Client) DescribeAccessControlConfiguration(ctx context.Context, params *DescribeAccessControlConfigurationInput, ...) (*DescribeAccessControlConfigurationOutput, 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) DescribeFeaturedResultsSet(ctx context.Context, params *DescribeFeaturedResultsSetInput, ...) (*DescribeFeaturedResultsSetOutput, error)
- func (c *Client) DescribeIndex(ctx context.Context, params *DescribeIndexInput, optFns ...func(*Options)) (*DescribeIndexOutput, error)
- func (c *Client) DescribePrincipalMapping(ctx context.Context, params *DescribePrincipalMappingInput, ...) (*DescribePrincipalMappingOutput, error)
- func (c *Client) DescribeQuerySuggestionsBlockList(ctx context.Context, params *DescribeQuerySuggestionsBlockListInput, ...) (*DescribeQuerySuggestionsBlockListOutput, error)
- func (c *Client) DescribeQuerySuggestionsConfig(ctx context.Context, params *DescribeQuerySuggestionsConfigInput, ...) (*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, ...) (*DisassociateEntitiesFromExperienceOutput, error)
- func (c *Client) DisassociatePersonasFromEntities(ctx context.Context, params *DisassociatePersonasFromEntitiesInput, ...) (*DisassociatePersonasFromEntitiesOutput, error)
- func (c *Client) GetQuerySuggestions(ctx context.Context, params *GetQuerySuggestionsInput, ...) (*GetQuerySuggestionsOutput, error)
- func (c *Client) GetSnapshots(ctx context.Context, params *GetSnapshotsInput, optFns ...func(*Options)) (*GetSnapshotsOutput, error)
- func (c *Client) ListAccessControlConfigurations(ctx context.Context, params *ListAccessControlConfigurationsInput, ...) (*ListAccessControlConfigurationsOutput, error)
- func (c *Client) ListDataSourceSyncJobs(ctx context.Context, params *ListDataSourceSyncJobsInput, ...) (*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, ...) (*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) ListFeaturedResultsSets(ctx context.Context, params *ListFeaturedResultsSetsInput, ...) (*ListFeaturedResultsSetsOutput, error)
- func (c *Client) ListGroupsOlderThanOrderingId(ctx context.Context, params *ListGroupsOlderThanOrderingIdInput, ...) (*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, ...) (*ListQuerySuggestionsBlockListsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) ListThesauri(ctx context.Context, params *ListThesauriInput, optFns ...func(*Options)) (*ListThesauriOutput, error)
- func (c *Client) Options() Options
- func (c *Client) PutPrincipalMapping(ctx context.Context, params *PutPrincipalMappingInput, ...) (*PutPrincipalMappingOutput, error)
- func (c *Client) Query(ctx context.Context, params *QueryInput, optFns ...func(*Options)) (*QueryOutput, error)
- func (c *Client) Retrieve(ctx context.Context, params *RetrieveInput, optFns ...func(*Options)) (*RetrieveOutput, error)
- func (c *Client) StartDataSourceSyncJob(ctx context.Context, params *StartDataSourceSyncJobInput, ...) (*StartDataSourceSyncJobOutput, error)
- func (c *Client) StopDataSourceSyncJob(ctx context.Context, params *StopDataSourceSyncJobInput, ...) (*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) UpdateAccessControlConfiguration(ctx context.Context, params *UpdateAccessControlConfigurationInput, ...) (*UpdateAccessControlConfigurationOutput, 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) UpdateFeaturedResultsSet(ctx context.Context, params *UpdateFeaturedResultsSetInput, ...) (*UpdateFeaturedResultsSetOutput, error)
- func (c *Client) UpdateIndex(ctx context.Context, params *UpdateIndexInput, optFns ...func(*Options)) (*UpdateIndexOutput, error)
- func (c *Client) UpdateQuerySuggestionsBlockList(ctx context.Context, params *UpdateQuerySuggestionsBlockListInput, ...) (*UpdateQuerySuggestionsBlockListOutput, error)
- func (c *Client) UpdateQuerySuggestionsConfig(ctx context.Context, params *UpdateQuerySuggestionsConfigInput, ...) (*UpdateQuerySuggestionsConfigOutput, error)
- func (c *Client) UpdateThesaurus(ctx context.Context, params *UpdateThesaurusInput, optFns ...func(*Options)) (*UpdateThesaurusOutput, error)
- type CreateAccessControlConfigurationInput
- type CreateAccessControlConfigurationOutput
- type CreateDataSourceInput
- type CreateDataSourceOutput
- type CreateExperienceInput
- type CreateExperienceOutput
- type CreateFaqInput
- type CreateFaqOutput
- type CreateFeaturedResultsSetInput
- type CreateFeaturedResultsSetOutput
- type CreateIndexInput
- type CreateIndexOutput
- type CreateQuerySuggestionsBlockListInput
- type CreateQuerySuggestionsBlockListOutput
- type CreateThesaurusInput
- type CreateThesaurusOutput
- type DeleteAccessControlConfigurationInput
- type DeleteAccessControlConfigurationOutput
- 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 DescribeAccessControlConfigurationInput
- type DescribeAccessControlConfigurationOutput
- type DescribeDataSourceInput
- type DescribeDataSourceOutput
- type DescribeExperienceInput
- type DescribeExperienceOutput
- type DescribeFaqInput
- type DescribeFaqOutput
- type DescribeFeaturedResultsSetInput
- type DescribeFeaturedResultsSetOutput
- 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 EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetQuerySuggestionsInput
- type GetQuerySuggestionsOutput
- type GetSnapshotsAPIClient
- type GetSnapshotsInput
- type GetSnapshotsOutput
- type GetSnapshotsPaginator
- type GetSnapshotsPaginatorOptions
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListAccessControlConfigurationsAPIClient
- type ListAccessControlConfigurationsInput
- type ListAccessControlConfigurationsOutput
- type ListAccessControlConfigurationsPaginator
- type ListAccessControlConfigurationsPaginatorOptions
- type ListDataSourceSyncJobsAPIClient
- type ListDataSourceSyncJobsInput
- type ListDataSourceSyncJobsOutput
- type ListDataSourceSyncJobsPaginator
- type ListDataSourceSyncJobsPaginatorOptions
- type ListDataSourcesAPIClient
- type ListDataSourcesInput
- type ListDataSourcesOutput
- type ListDataSourcesPaginator
- type ListDataSourcesPaginatorOptions
- type ListEntityPersonasAPIClient
- type ListEntityPersonasInput
- type ListEntityPersonasOutput
- type ListEntityPersonasPaginator
- type ListEntityPersonasPaginatorOptions
- type ListExperienceEntitiesAPIClient
- type ListExperienceEntitiesInput
- type ListExperienceEntitiesOutput
- type ListExperienceEntitiesPaginator
- type ListExperienceEntitiesPaginatorOptions
- type ListExperiencesAPIClient
- type ListExperiencesInput
- type ListExperiencesOutput
- type ListExperiencesPaginator
- type ListExperiencesPaginatorOptions
- type ListFaqsAPIClient
- type ListFaqsInput
- type ListFaqsOutput
- type ListFaqsPaginator
- type ListFaqsPaginatorOptions
- type ListFeaturedResultsSetsInput
- type ListFeaturedResultsSetsOutput
- type ListGroupsOlderThanOrderingIdAPIClient
- type ListGroupsOlderThanOrderingIdInput
- type ListGroupsOlderThanOrderingIdOutput
- type ListGroupsOlderThanOrderingIdPaginator
- type ListGroupsOlderThanOrderingIdPaginatorOptions
- type ListIndicesAPIClient
- type ListIndicesInput
- type ListIndicesOutput
- type ListIndicesPaginator
- type ListIndicesPaginatorOptions
- type ListQuerySuggestionsBlockListsAPIClient
- type ListQuerySuggestionsBlockListsInput
- type ListQuerySuggestionsBlockListsOutput
- type ListQuerySuggestionsBlockListsPaginator
- type ListQuerySuggestionsBlockListsPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListThesauriAPIClient
- type ListThesauriInput
- type ListThesauriOutput
- type ListThesauriPaginator
- type ListThesauriPaginatorOptions
- type Options
- type PutPrincipalMappingInput
- type PutPrincipalMappingOutput
- type QueryInput
- type QueryOutput
- type ResolveEndpoint
- type RetrieveInput
- type RetrieveOutput
- type StartDataSourceSyncJobInput
- type StartDataSourceSyncJobOutput
- type StopDataSourceSyncJobInput
- type StopDataSourceSyncJobOutput
- type SubmitFeedbackInput
- type SubmitFeedbackOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateAccessControlConfigurationInput
- type UpdateAccessControlConfigurationOutput
- type UpdateDataSourceInput
- type UpdateDataSourceOutput
- type UpdateExperienceInput
- type UpdateExperienceOutput
- type UpdateFeaturedResultsSetInput
- type UpdateFeaturedResultsSetOutput
- 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"
Variables ¶
This section is empty.
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
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AssociateEntitiesToExperienceInput ¶
type AssociateEntitiesToExperienceInput struct { // Lists users or groups in your IAM Identity Center 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 IAM Identity Center 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 // IAM Identity Center 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]. // // [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 IAM Identity Center 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 AuthResolverParameters ¶
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
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 BatchDeleteFeaturedResultsSetInput ¶
type BatchDeleteFeaturedResultsSetInput struct { // The identifiers of the featured results sets that you want to delete. // // This member is required. FeaturedResultsSetIds []string // The identifier of the index used for featuring results. // // This member is required. IndexId *string // contains filtered or unexported fields }
type BatchDeleteFeaturedResultsSetOutput ¶
type BatchDeleteFeaturedResultsSetOutput struct { // The list of errors for the featured results set IDs, explaining why they // couldn't be removed from the index. // // This member is required. Errors []types.BatchDeleteFeaturedResultsSetError // 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]API. // // [CreateIndex]: https://docs.aws.amazon.com/kendra/latest/dg/API_CreateIndex.html // // 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. // // - 50 MB total size for any file // // - 5 MB extracted text for any file // // For more information, see [Quotas]. // // [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]. // // [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 an IAM role with permission to access your S3 // bucket. For more information, see [IAM access roles for Amazon Kendra]. // // [IAM access 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]. // // [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 IAM Identity Center 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.
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 IAM Identity Center 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.
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 your Amazon Web Services CloudWatch log. You can also use the BatchGetDocumentStatus API to monitor the progress of deleting your documents.
Deleting documents from an index using BatchDeleteDocument could take up to an hour or more, depending on the number of documents you want to delete.
func (*Client) BatchDeleteFeaturedResultsSet ¶
func (c *Client) BatchDeleteFeaturedResultsSet(ctx context.Context, params *BatchDeleteFeaturedResultsSetInput, optFns ...func(*Options)) (*BatchDeleteFeaturedResultsSetOutput, error)
Removes one or more sets of featured results. Features results are placed above all other results for certain queries. If there's an exact match of a query, then one or more specific documents are featured in the search results.
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 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 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. You can also use the BatchGetDocumentStatus API to monitor the progress of indexing your documents.
For an example of ingesting inline documents using Python and Java SDKs, see Adding files directly to an index.
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) CreateAccessControlConfiguration ¶
func (c *Client) CreateAccessControlConfiguration(ctx context.Context, params *CreateAccessControlConfigurationInput, optFns ...func(*Options)) (*CreateAccessControlConfigurationOutput, error)
Creates an access configuration for your documents. This includes user and group access information for your documents. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
You can use this to re-configure your existing document level access control without indexing all of your documents again. For example, your index contains top-secret company documents that only certain employees or users should access. One of these users leaves the company or switches to a team that should be blocked from accessing top-secret documents. The user still has access to top-secret documents because the user had access when your documents were previously indexed. You can create a specific access control configuration for the user with deny access. You can later update the access control configuration to allow access if the user returns to the company and re-joins the 'top-secret' team. You can re-configure access control for your documents as circumstances change.
To apply your access control configuration to certain documents, you call the BatchPutDocument API with the AccessControlConfigurationId included in the Document object. If you use an S3 bucket as a data source, you update the .metadata.json with the AccessControlConfigurationId and synchronize your data source. Amazon Kendra currently only supports access control configuration for S3 data sources and documents indexed using the BatchPutDocument API.
func (*Client) CreateDataSource ¶
func (c *Client) CreateDataSource(ctx context.Context, params *CreateDataSourceInput, optFns ...func(*Options)) (*CreateDataSourceOutput, error)
Creates a data source connector 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.
For an example of creating an index and data source using the Python SDK, see Getting started with Python SDK. For an example of creating an index and data source using the Java SDK, see Getting started with Java SDK.
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.
func (*Client) CreateFaq ¶
func (c *Client) CreateFaq(ctx context.Context, params *CreateFaqInput, optFns ...func(*Options)) (*CreateFaqOutput, error)
Creates a set of frequently ask questions (FAQs) using a specified FAQ file stored in an Amazon S3 bucket.
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 your FAQ file.
func (*Client) CreateFeaturedResultsSet ¶
func (c *Client) CreateFeaturedResultsSet(ctx context.Context, params *CreateFeaturedResultsSetInput, optFns ...func(*Options)) (*CreateFeaturedResultsSetOutput, error)
Creates a set of featured results to display at the top of the search results page. Featured results are placed above all other results for certain queries. You map specific queries to specific documents for featuring in the results. If a query contains an exact match, then one or more specific documents are featured in the search results.
You can create up to 50 sets of featured results per index. You can request to increase this limit by contacting Support.
func (*Client) CreateIndex ¶
func (c *Client) CreateIndex(ctx context.Context, params *CreateIndexInput, optFns ...func(*Options)) (*CreateIndexOutput, error)
Creates an 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. For an example of creating an index and data source using the Java SDK, see Getting started with Java SDK.
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.
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.
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.
func (*Client) DeleteAccessControlConfiguration ¶
func (c *Client) DeleteAccessControlConfiguration(ctx context.Context, params *DeleteAccessControlConfigurationInput, optFns ...func(*Options)) (*DeleteAccessControlConfigurationOutput, error)
Deletes an access control configuration that you created for your documents in an index. This includes user and group access information for your documents. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
func (*Client) DeleteDataSource ¶
func (c *Client) DeleteDataSource(ctx context.Context, params *DeleteDataSourceInput, optFns ...func(*Options)) (*DeleteDataSourceOutput, error)
Deletes an Amazon Kendra data source connector. 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.
Deleting an entire data source or re-syncing your index after deleting specific documents from a data source could take up to an hour or more, depending on the number of documents you want to delete.
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.
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 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 Amazon Kendra thesaurus.
func (*Client) DescribeAccessControlConfiguration ¶
func (c *Client) DescribeAccessControlConfiguration(ctx context.Context, params *DescribeAccessControlConfigurationInput, optFns ...func(*Options)) (*DescribeAccessControlConfigurationOutput, error)
Gets information about an access control configuration that you created for your documents in an index. This includes user and group access information for your documents. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
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 connector.
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.
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) DescribeFeaturedResultsSet ¶
func (c *Client) DescribeFeaturedResultsSet(ctx context.Context, params *DescribeFeaturedResultsSetInput, optFns ...func(*Options)) (*DescribeFeaturedResultsSetOutput, error)
Gets information about a set of featured results. Features results are placed above all other results for certain queries. If there's an exact match of a query, then one or more specific documents are featured in the search results.
func (*Client) DescribeIndex ¶
func (c *Client) DescribeIndex(ctx context.Context, params *DescribeIndexInput, optFns ...func(*Options)) (*DescribeIndexOutput, error)
Gets information about an 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)
Gets information about 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)
Gets information on 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)
Gets information about an 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 IAM Identity Center 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.
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 IAM Identity Center 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.
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) ListAccessControlConfigurations ¶
func (c *Client) ListAccessControlConfigurations(ctx context.Context, params *ListAccessControlConfigurationsInput, optFns ...func(*Options)) (*ListAccessControlConfigurationsOutput, error)
Lists one or more access control configurations for an index. This includes user and group access information for your documents. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
func (*Client) ListDataSourceSyncJobs ¶
func (c *Client) ListDataSourceSyncJobs(ctx context.Context, params *ListDataSourceSyncJobsInput, optFns ...func(*Options)) (*ListDataSourceSyncJobsOutput, error)
Gets statistics about synchronizing a data source connector.
func (*Client) ListDataSources ¶
func (c *Client) ListDataSources(ctx context.Context, params *ListDataSourcesInput, optFns ...func(*Options)) (*ListDataSourcesOutput, error)
Lists the data source connectors 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 IAM Identity Center 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.
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.
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) ListFeaturedResultsSets ¶
func (c *Client) ListFeaturedResultsSets(ctx context.Context, params *ListFeaturedResultsSetsInput, optFns ...func(*Options)) (*ListFeaturedResultsSetsOutput, error)
Lists all your sets of featured results for a given index. Features results are placed above all other results for certain queries. If there's an exact match of a query, then one or more specific documents are featured in the search results.
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.
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 thesauri for an index.
func (*Client) Options ¶
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
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.
This is useful for user context filtering, where search results are filtered based on the user or their group access to documents. For more information, see Filtering on user context .
If more than five PUT actions for a group are currently processing, a validation exception is thrown.
func (*Client) Query ¶
func (c *Client) Query(ctx context.Context, params *QueryInput, optFns ...func(*Options)) (*QueryOutput, error)
Searches an index given an input query.
If you are working with large language models (LLMs) or implementing retrieval augmented generation (RAG) systems, you can use Amazon Kendra's RetrieveAPI, which can return longer semantically relevant passages. We recommend using the Retrieve API instead of filing a service limit increase to increase the Query API document excerpt length.
You can configure boosting or relevance tuning at the query level to override boosting at the index level, filter based on document fields/attributes and faceted search, and filter based on the user or their group access to documents. You can also include certain fields in the response that might provide useful additional information.
A query response contains three types of results.
Relevant suggested answers. The answers can be either a text excerpt or table excerpt. The answer can be highlighted in the excerpt.
Matching FAQs or questions-answer from your FAQ file.
Relevant documents. This result type includes an excerpt of the document with the document title. The searched terms can be highlighted in the excerpt.
You can specify that the query return only one type of result using the QueryResultTypeFilter parameter. Each query returns the 100 most relevant results. If you filter result type to only question-answers, a maximum of four results are returned. If you filter result type to only answers, a maximum of three results are returned.
func (*Client) Retrieve ¶
func (c *Client) Retrieve(ctx context.Context, params *RetrieveInput, optFns ...func(*Options)) (*RetrieveOutput, error)
Retrieves relevant passages or text excerpts given an input query.
This API is similar to the Query API. However, by default, the Query API only returns excerpt passages of up to 100 token words. With the Retrieve API, you can retrieve longer passages of up to 200 token words and up to 100 semantically relevant passages. This doesn't include question-answer or FAQ type responses from your index. The passages are text excerpts that can be semantically extracted from multiple documents and multiple parts of the same document. If in extreme cases your documents produce zero passages using the Retrieve API, you can alternatively use the Query API and its types of responses.
You can also do the following:
Override boosting at the index level
Filter based on document fields or attributes
Filter based on the user or their group access to documents
View the confidence score bucket for a retrieved passage result. The confidence bucket provides a relative ranking that indicates how confident Amazon Kendra is that the response is relevant to the query.
Confidence score buckets are currently available only for English.
You can also include certain fields in the response that might provide useful additional information.
The Retrieve API shares the number of query capacity units that you set for your index. For more information on what's included in a single capacity unit and the default base capacity for an index, see Adjusting capacity.
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 connector. If a synchronization job is already in progress, Amazon Kendra returns a ResourceInUseException exception.
Re-syncing your data source with your index after modifying, adding, or deleting documents from your data source respository could take up to an hour or more, depending on the number of documents to sync.
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) UpdateAccessControlConfiguration ¶
func (c *Client) UpdateAccessControlConfiguration(ctx context.Context, params *UpdateAccessControlConfigurationInput, optFns ...func(*Options)) (*UpdateAccessControlConfigurationOutput, error)
Updates an access control configuration for your documents in an index. This includes user and group access information for your documents. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
You can update an access control configuration you created without indexing all of your documents again. For example, your index contains top-secret company documents that only certain employees or users should access. You created an 'allow' access control configuration for one user who recently joined the 'top-secret' team, switching from a team with 'deny' access to top-secret documents. However, the user suddenly returns to their previous team and should no longer have access to top secret documents. You can update the access control configuration to re-configure access control for your documents as circumstances change.
You call the BatchPutDocument API to apply the updated access control configuration, with the AccessControlConfigurationId included in the Document object. If you use an S3 bucket as a data source, you synchronize your data source to apply the AccessControlConfigurationId in the .metadata.json file. Amazon Kendra currently only supports access control configuration for S3 data sources and documents indexed using the BatchPutDocument API.
func (*Client) UpdateDataSource ¶
func (c *Client) UpdateDataSource(ctx context.Context, params *UpdateDataSourceInput, optFns ...func(*Options)) (*UpdateDataSourceOutput, error)
Updates an Amazon Kendra data source connector.
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.
func (*Client) UpdateFeaturedResultsSet ¶
func (c *Client) UpdateFeaturedResultsSet(ctx context.Context, params *UpdateFeaturedResultsSetInput, optFns ...func(*Options)) (*UpdateFeaturedResultsSetOutput, error)
Updates a set of featured results. Features results are placed above all other results for certain queries. You map specific queries to specific documents for featuring in the results. If a query contains an exact match of a query, then one or more specific documents are featured in the search results.
func (*Client) UpdateIndex ¶
func (c *Client) UpdateIndex(ctx context.Context, params *UpdateIndexInput, optFns ...func(*Options)) (*UpdateIndexOutput, error)
Updates an 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, 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 for an index.
type CreateAccessControlConfigurationInput ¶
type CreateAccessControlConfigurationInput struct { // The identifier of the index to create an access control configuration for your // documents. // // This member is required. IndexId *string // A name for the access control configuration. // // This member is required. Name *string // Information on principals (users and/or groups) and which documents they should // have access to. This is useful for user context filtering, where search results // are filtered based on the user or their group access to documents. AccessControlList []types.Principal // A token that you provide to identify the request to create an access control // configuration. Multiple calls to the CreateAccessControlConfiguration API with // the same client token will create only one access control configuration. ClientToken *string // A description for the access control configuration. Description *string // The list of [principal] lists that define the hierarchy for which documents users should // have access to. // // [principal]: https://docs.aws.amazon.com/kendra/latest/dg/API_Principal.html HierarchicalAccessControlList []types.HierarchicalPrincipal // contains filtered or unexported fields }
type CreateAccessControlConfigurationOutput ¶
type CreateAccessControlConfigurationOutput struct { // The identifier of the access control configuration for your documents in an // index. // // This member is required. Id *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateDataSourceInput ¶
type CreateDataSourceInput struct { // The identifier of the index you want to use with the data source connector. // // This member is required. IndexId *string // A name for the data source connector. // // This member is required. Name *string // The type of data source repository. For example, SHAREPOINT . // // This member is required. Type types.DataSourceType // A token that you provide to identify the request to create a data source // connector. Multiple calls to the CreateDataSource API with the same client // token will create only one data source connector. ClientToken *string // Configuration information to connect to your 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. // // 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]. // // [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 connector. Description *string // The code for a language. This allows you to support a language for all // documents when creating the data source connector. English is supported by // default. For more information on supported languages, including their codes, see // [Adding documents in languages other than English]. // // [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 an IAM role with permission to access the // data source and required resources. For more information, see [IAM access roles for Amazon Kendra.]. // // 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. // // [IAM access roles for Amazon Kendra.]: https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html RoleArn *string // Sets the frequency for Amazon Kendra to check the documents in your data source // 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. // // Specify a cron- format schedule string or an empty string to indicate that the // index is updated on demand. // // 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 or categorize the data source // connector. You can also use tags to help control access to the data source // connector. Tag keys and values can consist of Unicode letters, digits, white // space, and any of the following symbols: _ . : / = + - @. Tags []types.Tag // Configuration information for an Amazon Virtual Private Cloud to connect to // your data source. For more information, see [Configuring a VPC]. // // [Configuring a VPC]: https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html VpcConfiguration *types.DataSourceVpcConfiguration // contains filtered or unexported fields }
type CreateDataSourceOutput ¶
type CreateDataSourceOutput struct { // The identifier of the data source connector. // // 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 an IAM role with permission to access Query // API, GetQuerySuggestions API, and other required APIs. The role also must // include permission to access IAM Identity Center that stores your user and group // information. For more information, see [IAM access roles for Amazon Kendra]. // // [IAM access 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 of your 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 for the FAQ. // // This member is required. IndexId *string // A name for the FAQ. // // This member is required. Name *string // The Amazon Resource Name (ARN) of an IAM role with permission to access the S3 // bucket that contains the FAQs. For more information, see [IAM access roles for Amazon Kendra]. // // [IAM access roles for Amazon Kendra]: https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html // // This member is required. RoleArn *string // The path to the FAQ file in S3. // // 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 for the FAQ. Description *string // The format of the FAQ 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 default format is CSV. // // 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]. // // [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]. // // [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 identifier of the FAQ. Id *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateFeaturedResultsSetInput ¶
type CreateFeaturedResultsSetInput struct { // A name for the set of featured results. // // This member is required. FeaturedResultsSetName *string // The identifier of the index that you want to use for featuring results. // // This member is required. IndexId *string // A token that you provide to identify the request to create a set of featured // results. Multiple calls to the CreateFeaturedResultsSet API with the same // client token will create only one featured results set. ClientToken *string // A description for the set of featured results. Description *string // A list of document IDs for the documents you want to feature at the top of the // search results page. For more information on the list of documents, see [FeaturedResultsSet]. // // [FeaturedResultsSet]: https://docs.aws.amazon.com/kendra/latest/dg/API_FeaturedResultsSet.html FeaturedDocuments []types.FeaturedDocument // A list of queries for featuring results. For more information on the list of // queries, see [FeaturedResultsSet]. // // [FeaturedResultsSet]: https://docs.aws.amazon.com/kendra/latest/dg/API_FeaturedResultsSet.html QueryTexts []string // The current status of the set of featured results. When the value is ACTIVE , // featured results are ready for use. You can still configure your settings before // setting the status to ACTIVE . You can set the status to ACTIVE or INACTIVE // using the [UpdateFeaturedResultsSet]API. The queries you specify for featured results must be unique per // featured results set for each index, whether the status is ACTIVE or INACTIVE . // // [UpdateFeaturedResultsSet]: https://docs.aws.amazon.com/kendra/latest/dg/API_UpdateFeaturedResultsSet.html Status types.FeaturedResultsSetStatus // A list of key-value pairs that identify or categorize the featured results set. // You can also use tags to help control access to the featured results set. Tag // keys and values can consist of Unicode letters, digits, white space, and any of // the following symbols:_ . : / = + - @. Tags []types.Tag // contains filtered or unexported fields }
type CreateFeaturedResultsSetOutput ¶
type CreateFeaturedResultsSetOutput struct { // Information on the set of featured results. This includes the identifier of the // featured results set, whether the featured results set is active or inactive, // when the featured results set was created, and more. FeaturedResultsSet *types.FeaturedResultsSet // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateIndexInput ¶
type CreateIndexInput struct { // A name for the index. // // This member is required. Name *string // The Amazon Resource Name (ARN) of an IAM role with permission to access your // Amazon CloudWatch logs and metrics. For more information, see [IAM access roles for Amazon Kendra]. // // [IAM access roles for Amazon Kendra]: https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html // // 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 production. 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] // . // // [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 or categorize the index. You can also // use tags to help control access to the index. Tag keys and values can consist of // Unicode letters, digits, white space, and any of the following symbols: _ . : / // = + - @. 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 // Gets users and groups from IAM Identity Center identity source. To configure // this, see [UserGroupResolutionConfiguration]. This is useful for user context filtering, where search results are // filtered based on the user or their group access to documents. // // [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 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 name for the block list. // // For example, the name 'offensive-words', which includes all offensive words // that could appear in user queries and need to be blocked from suggestions. // // This member is required. Name *string // The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 // bucket that contains the block list text file. For more information, see [IAM access roles for Amazon Kendra]. // // [IAM access roles for Amazon Kendra]: https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html // // 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]. // // [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 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 list of key-value pairs that identify or categorize the block list. Tag keys // and values can consist of Unicode letters, digits, white space, and any of the // following symbols: _ . : / = + - @. Tags []types.Tag // contains filtered or unexported fields }
type CreateQuerySuggestionsBlockListOutput ¶
type CreateQuerySuggestionsBlockListOutput struct { // The identifier of the 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 identifier of the index for the thesaurus. // // This member is required. IndexId *string // A name for the thesaurus. // // This member is required. Name *string // The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 // bucket that contains the thesaurus file. For more information, see [IAM access roles for Amazon Kendra]. // // [IAM access roles for Amazon Kendra]: https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html // // This member is required. RoleArn *string // The path to the thesaurus file in S3. // // 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 // A description for the thesaurus. Description *string // A list of key-value pairs that identify or categorize the thesaurus. You can // also use tags to help control access to the thesaurus. Tag keys and values can // consist of Unicode letters, digits, white space, and any of the following // symbols: _ . : / = + - @. Tags []types.Tag // contains filtered or unexported fields }
type CreateThesaurusOutput ¶
type CreateThesaurusOutput struct { // The identifier of the thesaurus. Id *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteAccessControlConfigurationInput ¶
type DeleteAccessControlConfigurationInput struct { // The identifier of the access control configuration you want to delete. // // This member is required. Id *string // The identifier of the index for an access control configuration. // // This member is required. IndexId *string // contains filtered or unexported fields }
type DeleteAccessControlConfigurationOutput ¶
type DeleteAccessControlConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteDataSourceInput ¶
type DeleteDataSourceInput struct { // The identifier of the data source connector you want to delete. // // This member is required. Id *string // The identifier of the index used with the data source connector. // // 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. // // 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 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 you want 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. // // A group can be tied to multiple data sources. You can 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 DeleteQuerySuggestionsBlockListOutput ¶
type DeleteQuerySuggestionsBlockListOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteThesaurusInput ¶
type DeleteThesaurusOutput ¶
type DeleteThesaurusOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAccessControlConfigurationInput ¶
type DescribeAccessControlConfigurationInput struct { // The identifier of the access control configuration you want to get information // on. // // This member is required. Id *string // The identifier of the index for an access control configuration. // // This member is required. IndexId *string // contains filtered or unexported fields }
type DescribeAccessControlConfigurationOutput ¶
type DescribeAccessControlConfigurationOutput struct { // The name for the access control configuration. // // This member is required. Name *string // Information on principals (users and/or groups) and which documents they should // have access to. This is useful for user context filtering, where search results // are filtered based on the user or their group access to documents. AccessControlList []types.Principal // The description for the access control configuration. Description *string // The error message containing details if there are issues processing the access // control configuration. ErrorMessage *string // The list of [principal] lists that define the hierarchy for which documents users should // have access to. // // [principal]: https://docs.aws.amazon.com/kendra/latest/dg/API_Principal.html HierarchicalAccessControlList []types.HierarchicalPrincipal // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeDataSourceInput ¶
type DescribeDataSourceOutput ¶
type DescribeDataSourceOutput struct { // Configuration details for the data source connector. This shows how the data // source is configured. The configuration options for a data source depend on the // data source provider. Configuration *types.DataSourceConfiguration // The Unix timestamp when the data source connector 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]. // // [Customizing document metadata during the ingestion process]: https://docs.aws.amazon.com/kendra/latest/dg/custom-document-enrichment.html CustomDocumentEnrichmentConfiguration *types.CustomDocumentEnrichmentConfiguration // The description for the data source connector. 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 connector. Id *string // The identifier of the index used with the data source connector. 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]. // // [Adding documents in languages other than English]: https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html LanguageCode *string // The name for the data source connector. Name *string // The Amazon Resource Name (ARN) of the role with permission to access the data // source and required resources. RoleArn *string // The schedule for Amazon Kendra to update the index. Schedule *string // The current status of the data source connector. 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. For example, SHAREPOINT . Type types.DataSourceType // The Unix timestamp when the data source connector was last updated. UpdatedAt *time.Time // Configuration information for an Amazon Virtual Private Cloud to connect to // your data source. For more information, see [Configuring a VPC]. // // [Configuring a VPC]: https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html VpcConfiguration *types.DataSourceVpcConfiguration // 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. // // 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 // The Unix timestamp when 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 IAM Identity Center 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 // The Unix timestamp when 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 DescribeFaqOutput ¶
type DescribeFaqOutput struct { // The Unix timestamp when 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 for 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]. // // [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 Unix timestamp when the FAQ was last updated. UpdatedAt *time.Time // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeFeaturedResultsSetInput ¶
type DescribeFeaturedResultsSetInput struct { // The identifier of the set of featured results that you want to get information // on. // // This member is required. FeaturedResultsSetId *string // The identifier of the index used for featuring results. // // This member is required. IndexId *string // contains filtered or unexported fields }
type DescribeFeaturedResultsSetOutput ¶
type DescribeFeaturedResultsSetOutput struct { // The Unix timestamp when the set of the featured results was created. CreationTimestamp *int64 // The description for the set of featured results. Description *string // The list of document IDs that don't exist but you have specified as featured // documents. Amazon Kendra cannot feature these documents if they don't exist in // the index. You can check the status of a document and its ID or check for // documents with status errors using the [BatchGetDocumentStatus]API. // // [BatchGetDocumentStatus]: https://docs.aws.amazon.com/kendra/latest/dg/API_BatchGetDocumentStatus.html FeaturedDocumentsMissing []types.FeaturedDocumentMissing // The list of document IDs for the documents you want to feature with their // metadata information. For more information on the list of featured documents, // see [FeaturedResultsSet]. // // [FeaturedResultsSet]: https://docs.aws.amazon.com/kendra/latest/dg/API_FeaturedResultsSet.html FeaturedDocumentsWithMetadata []types.FeaturedDocumentWithMetadata // The identifier of the set of featured results. FeaturedResultsSetId *string // The name for the set of featured results. FeaturedResultsSetName *string // The timestamp when the set of featured results was last updated. LastUpdatedTimestamp *int64 // The list of queries for featuring results. For more information on the list of // queries, see [FeaturedResultsSet]. // // [FeaturedResultsSet]: https://docs.aws.amazon.com/kendra/latest/dg/API_FeaturedResultsSet.html QueryTexts []string // The current status of the set of featured results. When the value is ACTIVE , // featured results are ready for use. You can still configure your settings before // setting the status to ACTIVE . You can set the status to ACTIVE or INACTIVE // using the [UpdateFeaturedResultsSet]API. The queries you specify for featured results must be unique per // featured results set for each index, whether the status is ACTIVE or INACTIVE . // // [UpdateFeaturedResultsSet]: https://docs.aws.amazon.com/kendra/latest/dg/API_UpdateFeaturedResultsSet.html Status types.FeaturedResultsSetStatus // 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 you want to get information on. // // 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]. // // [Adjusting capacity]: https://docs.aws.amazon.com/kendra/latest/dg/adjusting-capacity.html CapacityUnits *types.CapacityUnitsConfiguration // The Unix timestamp when the index was created. CreatedAt *time.Time // The description for the index. Description *string // Configuration information for document metadata or fields. Document metadata // are fields or attributes associated with your documents. For example, the // company department name associated with each document. 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 KMS customer 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 timestamp when the index was last updated. UpdatedAt *time.Time // The user context policy for the Amazon Kendra index. UserContextPolicy types.UserContextPolicy // Whether you have enabled IAM Identity Center identity source for your users and // groups. This is useful for user context filtering, where search results are // filtered based on the user or their group access to documents. 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 identifier of the block list you want to get information on. // // 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 { // The Unix timestamp when a block list for query suggestions was created. CreatedAt *time.Time // The description for the block list. Description *string // The error message containing details if there are issues processing the block // list. ErrorMessage *string // The current size of the block list text file in S3. FileSizeBytes *int64 // The identifier of the block list. Id *string // The identifier of the index for the block list. IndexId *string // The current number of valid, non-empty words or phrases in the block list text // file. ItemCount *int32 // The name of the block list. Name *string // The 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]. // // [Quotas for Amazon Kendra]: https://docs.aws.amazon.com/kendra/latest/dg/quotas.html SourceS3Path *types.S3Path // The current status of the block list. When the value is ACTIVE , the block list // is ready for use. Status types.QuerySuggestionsBlockListStatus // The Unix timestamp when 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 with query suggestions that you want to get // information on. // // This member is required. IndexId *string // contains filtered or unexported fields }
type DescribeQuerySuggestionsConfigOutput ¶
type DescribeQuerySuggestionsConfigOutput struct { // Configuration information for the document fields/attributes that you want to // base query suggestions on. AttributeSuggestionsConfig *types.AttributeSuggestionsDescribeConfig // TRUE to use all queries, otherwise use only queries that include user // information to generate the query suggestions. IncludeQueriesWithoutUserInformation *bool // The Unix timestamp when 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 // The Unix timestamp when query suggestions for an index was last updated. // // Amazon Kendra automatically updates suggestions every 24 hours, after you // change a setting or after you apply a [block list]. // // [block list]: https://docs.aws.amazon.com/kendra/latest/dg/query-suggestions.html#query-suggestions-blocklist LastSuggestionsBuildTime *time.Time // 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 // 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 // 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]API. // // [UpdateQuerySuggestionsConfig]: https://docs.aws.amazon.com/kendra/latest/dg/API_UpdateQuerySuggestionsConfig.html Mode types.Mode // How recent your queries are in your query log time window (in days). QueryLogLookBackWindowInDays *int32 // 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 // 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. // // If the count is much lower than you expected, it could be because Amazon Kendra // needs more queries in the query history to learn from or your current query // suggestions settings are too strict. TotalSuggestionsCount *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeThesaurusInput ¶
type DescribeThesaurusOutput ¶
type DescribeThesaurusOutput struct { // The Unix timestamp when 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 for the thesaurus. 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 timestamp when 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 IAM Identity Center 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 IAM Identity Center 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 IAM Identity Center 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 IAM Identity Center 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 EndpointParameters ¶
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
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 EndpointResolverV2 ¶
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶
func NewDefaultEndpointResolverV2() EndpointResolverV2
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 // Configuration information for the document fields/attributes that you want to // base query suggestions on. AttributeSuggestionsConfig *types.AttributeSuggestionsGetConfig // The maximum number of query suggestions you want to show to your users. MaxSuggestionsCount *int32 // The suggestions type to base query suggestions on. The suggestion types are // query history or document fields/attributes. You can set one type or the other. // // If you set query history as your suggestions type, Amazon Kendra suggests // queries relevant to your users based on popular queries in the query history. // // If you set document fields/attributes as your suggestions type, Amazon Kendra // suggests queries relevant to your users based on the contents of document // fields. SuggestionTypes []types.SuggestionType // contains filtered or unexported fields }
type GetQuerySuggestionsOutput ¶
type GetQuerySuggestionsOutput struct { // The 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]. // // [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 Unix timestamp 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 HTTPSignerV4 ¶
type IdempotencyTokenProvider ¶
IdempotencyTokenProvider interface for providing idempotency token
type ListAccessControlConfigurationsAPIClient ¶
type ListAccessControlConfigurationsAPIClient interface {
ListAccessControlConfigurations(context.Context, *ListAccessControlConfigurationsInput, ...func(*Options)) (*ListAccessControlConfigurationsOutput, error)
}
ListAccessControlConfigurationsAPIClient is a client that implements the ListAccessControlConfigurations operation.
type ListAccessControlConfigurationsInput ¶
type ListAccessControlConfigurationsInput struct { // The identifier of the index for the access control configuration. // // This member is required. IndexId *string // The maximum number of access control configurations to return. MaxResults *int32 // If the previous response was incomplete (because there's 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 access control configurations. NextToken *string // contains filtered or unexported fields }
type ListAccessControlConfigurationsOutput ¶
type ListAccessControlConfigurationsOutput struct { // The details of your access control configurations. // // This member is required. AccessControlConfigurations []types.AccessControlConfigurationSummary // If the response is truncated, Amazon Kendra returns this token, which you can // use in the subsequent request to retrieve the next set of access control // configurations. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListAccessControlConfigurationsPaginator ¶
type ListAccessControlConfigurationsPaginator struct {
// contains filtered or unexported fields
}
ListAccessControlConfigurationsPaginator is a paginator for ListAccessControlConfigurations
func NewListAccessControlConfigurationsPaginator ¶
func NewListAccessControlConfigurationsPaginator(client ListAccessControlConfigurationsAPIClient, params *ListAccessControlConfigurationsInput, optFns ...func(*ListAccessControlConfigurationsPaginatorOptions)) *ListAccessControlConfigurationsPaginator
NewListAccessControlConfigurationsPaginator returns a new ListAccessControlConfigurationsPaginator
func (*ListAccessControlConfigurationsPaginator) HasMorePages ¶
func (p *ListAccessControlConfigurationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAccessControlConfigurationsPaginator) NextPage ¶
func (p *ListAccessControlConfigurationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAccessControlConfigurationsOutput, error)
NextPage retrieves the next ListAccessControlConfigurations page.
type ListAccessControlConfigurationsPaginatorOptions ¶
type ListAccessControlConfigurationsPaginatorOptions struct { // The maximum number of access control configurations 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 }
ListAccessControlConfigurationsPaginatorOptions is the paginator options for ListAccessControlConfigurations
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 connector. // // This member is required. Id *string // The identifier of the index used with the data source connector. // // 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 // 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 connector. 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 used with one or more data source connectors. // // This member is required. IndexId *string // The maximum number of data source connectors 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 source connectors. 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 source connectors. NextToken *string // An array of summary information for one or more data source connector. 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 source connectors 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 ListFeaturedResultsSetsInput ¶
type ListFeaturedResultsSetsInput struct { // The identifier of the index used for featuring results. // // This member is required. IndexId *string // The maximum number of featured results sets to return. MaxResults *int32 // If the response is truncated, Amazon Kendra returns a pagination token in the // response. You can use this pagination token to retrieve the next set of featured // results sets. NextToken *string // contains filtered or unexported fields }
type ListFeaturedResultsSetsOutput ¶
type ListFeaturedResultsSetsOutput struct { // An array of summary information for one or more featured results sets. FeaturedResultsSetSummaryItems []types.FeaturedResultsSetSummary // If the response is truncated, Amazon Kendra returns a pagination token in the // response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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 indices 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. 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 indices 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]. // // [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]. // // [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 with one or more thesauri. // // 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 // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // 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. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // 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. // // 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 // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
func (Options) GetIdentityResolver ¶
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
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]. // // [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 identifier of the index for the search. // // This member is required. IndexId *string // Filters search results by document fields/attributes. You can only provide one // attribute filter; however, the AndAllFilters , NotFilter , and OrAllFilters // parameters contain a list of other filters. // // The AttributeFilter parameter means you can create a set of filtering rules // that a document must satisfy to be included in the query results. AttributeFilter *types.AttributeFilter // Provides configuration to determine how to group results by document attribute // value, and how to display them (collapsed or expanded) under a designated // primary document for each group. CollapseConfiguration *types.CollapseConfiguration // Overrides relevance tuning configurations of fields/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 for fields at the index level, and 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 fields/attributes for faceted search. Amazon Kendra // returns a count for each field 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 result or response. Only results for the specified type // are returned. QueryResultTypeFilter types.QueryResultType // The input query text for the search. Amazon Kendra truncates queries at 30 // token words, which excludes punctuation and stop words. Truncation still applies // if you use Boolean or more advanced, complex queries. For example, Timeoff AND // October AND Category:HR is counted as 3 tokens: timeoff , october , hr . For // more information, see [Searching with advanced query syntax]in the Amazon Kendra Developer Guide. // // [Searching with advanced query syntax]: https://docs.aws.amazon.com/kendra/latest/dg/searching-example.html#searching-index-query-syntax QueryText *string // An array of document fields/attributes to include in the response. You can // limit the response to include certain document fields. 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 // Provides configuration information to determine how the results of a query are // sorted. // // You can set upto 3 fields that Amazon Kendra should sort the results on, and // specify whether the results should be sorted in ascending or descending order. // The sort field quota can be increased. // // If you don't provide a sorting configuration, the results are sorted by the // relevance that Amazon Kendra determines for the result. In the case of ties in // sorting the results, the results are sorted by relevance. SortingConfigurations []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 // field/attribute key that was specified in the Facets input parameter. FacetResults []types.FacetResult // The list of featured result items. Featured results are displayed at the top of // the search results page, placed above all other results for certain queries. If // there's an exact match of a query, then certain documents are featured in the // search results. FeaturedResultsItems []types.FeaturedResultsItem // The identifier for the search. You also use QueryId to identify the search when // using the [SubmitFeedback]API. // // [SubmitFeedback]: https://docs.aws.amazon.com/kendra/latest/APIReference/API_SubmitFeedback.html 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]. // // [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 RetrieveInput ¶
type RetrieveInput struct { // The identifier of the index to retrieve relevant passages for the search. // // This member is required. IndexId *string // The input query text to retrieve relevant passages for the search. Amazon // Kendra truncates queries at 30 token words, which excludes punctuation and stop // words. Truncation still applies if you use Boolean or more advanced, complex // queries. For example, Timeoff AND October AND Category:HR is counted as 3 // tokens: timeoff , october , hr . For more information, see [Searching with advanced query syntax] in the Amazon // Kendra Developer Guide. // // [Searching with advanced query syntax]: https://docs.aws.amazon.com/kendra/latest/dg/searching-example.html#searching-index-query-syntax // // This member is required. QueryText *string // Filters search results by document fields/attributes. You can only provide one // attribute filter; however, the AndAllFilters , NotFilter , and OrAllFilters // parameters contain a list of other filters. // // The AttributeFilter parameter means you can 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/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 for fields at the index level, and 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 // Retrieved relevant passages 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 retrieved relevant passages 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 // A list of document fields/attributes to include in the response. You can limit // the response to include certain document fields. By default, all document fields // are included in the response. RequestedDocumentAttributes []string // The user context token or user and group information. UserContext *types.UserContext // contains filtered or unexported fields }
type RetrieveOutput ¶
type RetrieveOutput struct { // The identifier of query used for the search. You also use QueryId to identify // the search when using the [Submitfeedback]API. // // [Submitfeedback]: https://docs.aws.amazon.com/kendra/latest/APIReference/API_SubmitFeedback.html QueryId *string // The results of the retrieved relevant passages for the search. ResultItems []types.RetrieveResultItem // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StartDataSourceSyncJobInput ¶
type StartDataSourceSyncJobInput struct { // The identifier of the data source connector to synchronize. // // This member is required. Id *string // The identifier of the index used with the data source connector. // // 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 connector for which to stop the // synchronization jobs. // // This member is required. Id *string // The identifier of the index used with the data source connector. // // 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 UpdateAccessControlConfigurationInput ¶
type UpdateAccessControlConfigurationInput struct { // The identifier of the access control configuration you want to update. // // This member is required. Id *string // The identifier of the index for an access control configuration. // // This member is required. IndexId *string // Information you want to update on principals (users and/or groups) and which // documents they should have access to. This is useful for user context filtering, // where search results are filtered based on the user or their group access to // documents. AccessControlList []types.Principal // A new description for the access control configuration. Description *string // The updated list of [principal] lists that define the hierarchy for which documents users // should have access to. // // [principal]: https://docs.aws.amazon.com/kendra/latest/dg/API_Principal.html HierarchicalAccessControlList []types.HierarchicalPrincipal // A new name for the access control configuration. Name *string // contains filtered or unexported fields }
type UpdateAccessControlConfigurationOutput ¶
type UpdateAccessControlConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateDataSourceInput ¶
type UpdateDataSourceInput struct { // The identifier of the data source connector you want to update. // // This member is required. Id *string // The identifier of the index used with the data source connector. // // This member is required. IndexId *string // Configuration information you want to update for the data source connector. Configuration *types.DataSourceConfiguration // Configuration information you want to update for altering document metadata and // content during the document ingestion process. // // 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]. // // [Customizing document metadata during the ingestion process]: https://docs.aws.amazon.com/kendra/latest/dg/custom-document-enrichment.html CustomDocumentEnrichmentConfiguration *types.CustomDocumentEnrichmentConfiguration // A new description for the data source connector. Description *string // The code for a language you want to update for the data source connector. 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]. // // [Adding documents in languages other than English]: https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html LanguageCode *string // A new name for the data source connector. Name *string // The Amazon Resource Name (ARN) of a role with permission to access the data // source and required resources. For more information, see [IAM roles for Amazon Kendra]. // // [IAM roles for Amazon Kendra]: https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html RoleArn *string // The sync schedule you want to update for the data source connector. Schedule *string // Configuration information for an Amazon Virtual Private Cloud to connect to // your data source. For more information, see [Configuring a VPC]. // // [Configuring a VPC]: https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html VpcConfiguration *types.DataSourceVpcConfiguration // 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. // // This member is required. IndexId *string // Configuration information you want to update for your Amazon Kendra experience. Configuration *types.ExperienceConfiguration // A new description for your Amazon Kendra experience. Description *string // A new name for your Amazon Kendra experience. Name *string // The Amazon Resource Name (ARN) of a role with permission to access Query API, // QuerySuggestions API, SubmitFeedback API, and IAM Identity Center that stores // your user and group information. For more information, see [IAM roles for Amazon Kendra]. // // [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 UpdateFeaturedResultsSetInput ¶
type UpdateFeaturedResultsSetInput struct { // The identifier of the set of featured results that you want to update. // // This member is required. FeaturedResultsSetId *string // The identifier of the index used for featuring results. // // This member is required. IndexId *string // A new description for the set of featured results. Description *string // A list of document IDs for the documents you want to feature at the top of the // search results page. For more information on the list of featured documents, see // [FeaturedResultsSet]. // // [FeaturedResultsSet]: https://docs.aws.amazon.com/kendra/latest/dg/API_FeaturedResultsSet.html FeaturedDocuments []types.FeaturedDocument // A new name for the set of featured results. FeaturedResultsSetName *string // A list of queries for featuring results. For more information on the list of // queries, see [FeaturedResultsSet]. // // [FeaturedResultsSet]: https://docs.aws.amazon.com/kendra/latest/dg/API_FeaturedResultsSet.html QueryTexts []string // You can set the status to ACTIVE or INACTIVE . When the value is ACTIVE , // featured results are ready for use. You can still configure your settings before // setting the status to ACTIVE . The queries you specify for featured results must // be unique per featured results set for each index, whether the status is ACTIVE // or INACTIVE . Status types.FeaturedResultsSetStatus // contains filtered or unexported fields }
type UpdateFeaturedResultsSetOutput ¶
type UpdateFeaturedResultsSetOutput struct { // Information on the set of featured results. This includes the identifier of the // featured results set, whether the featured results set is active or inactive, // when the featured results set was last updated, and more. FeaturedResultsSet *types.FeaturedResultsSet // 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 you want 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 configuration you want to update for the index. Document // metadata are fields or attributes associated with your documents. For example, // the company department name associated with each document. DocumentMetadataConfigurationUpdates []types.DocumentMetadataConfiguration // A new name for the index. Name *string // An Identity and Access Management (IAM) role that gives Amazon Kendra // permission to access Amazon CloudWatch logs and metrics. RoleArn *string // The user context policy. UserContextPolicy types.UserContextPolicy // Gets users and groups from IAM Identity Center identity source. To configure // this, see [UserGroupResolutionConfiguration]. This is useful for user context filtering, where search results are // filtered based on the user or their group access to documents. // // [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 identifier of the block list you want to update. // // This member is required. Id *string // The identifier of the index for the block list. // // This member is required. IndexId *string // A new description for the block list. Description *string // A new name for the 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 with query suggestions you want to update. // // This member is required. IndexId *string // Configuration information for the document fields/attributes that you want to // base query suggestions on. AttributeSuggestionsConfig *types.AttributeSuggestionsUpdateConfig // 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 you want to update. // // This member is required. Id *string // The identifier of the index for the thesaurus. // // This member is required. IndexId *string // A new description for the thesaurus. Description *string // A new name for the thesaurus. 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 // 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_BatchDeleteFeaturedResultsSet.go
- api_op_BatchGetDocumentStatus.go
- api_op_BatchPutDocument.go
- api_op_ClearQuerySuggestions.go
- api_op_CreateAccessControlConfiguration.go
- api_op_CreateDataSource.go
- api_op_CreateExperience.go
- api_op_CreateFaq.go
- api_op_CreateFeaturedResultsSet.go
- api_op_CreateIndex.go
- api_op_CreateQuerySuggestionsBlockList.go
- api_op_CreateThesaurus.go
- api_op_DeleteAccessControlConfiguration.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_DescribeAccessControlConfiguration.go
- api_op_DescribeDataSource.go
- api_op_DescribeExperience.go
- api_op_DescribeFaq.go
- api_op_DescribeFeaturedResultsSet.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_ListAccessControlConfigurations.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_ListFeaturedResultsSets.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_Retrieve.go
- api_op_StartDataSourceSyncJob.go
- api_op_StopDataSourceSyncJob.go
- api_op_SubmitFeedback.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateAccessControlConfiguration.go
- api_op_UpdateDataSource.go
- api_op_UpdateExperience.go
- api_op_UpdateFeaturedResultsSet.go
- api_op_UpdateIndex.go
- api_op_UpdateQuerySuggestionsBlockList.go
- api_op_UpdateQuerySuggestionsConfig.go
- api_op_UpdateThesaurus.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go