import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient"; import type { UpdateQuerySuggestionsBlockListRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateQuerySuggestionsBlockListCommand}. */ export interface UpdateQuerySuggestionsBlockListCommandInput extends UpdateQuerySuggestionsBlockListRequest { } /** * @public * * The output of {@link UpdateQuerySuggestionsBlockListCommand}. */ export interface UpdateQuerySuggestionsBlockListCommandOutput extends __MetadataBearer { } declare const UpdateQuerySuggestionsBlockListCommand_base: { new (input: UpdateQuerySuggestionsBlockListCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: UpdateQuerySuggestionsBlockListCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

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.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { KendraClient, UpdateQuerySuggestionsBlockListCommand } from "@aws-sdk/client-kendra"; // ES Modules import * // const { KendraClient, UpdateQuerySuggestionsBlockListCommand } = require("@aws-sdk/client-kendra"); // CommonJS import * // import type { KendraClientConfig } from "@aws-sdk/client-kendra"; * const config = {}; // type is KendraClientConfig * const client = new KendraClient(config); * const input = { // UpdateQuerySuggestionsBlockListRequest * IndexId: "STRING_VALUE", // required * Id: "STRING_VALUE", // required * Name: "STRING_VALUE", * Description: "STRING_VALUE", * SourceS3Path: { // S3Path * Bucket: "STRING_VALUE", // required * Key: "STRING_VALUE", // required * }, * RoleArn: "STRING_VALUE", * }; * const command = new UpdateQuerySuggestionsBlockListCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateQuerySuggestionsBlockListCommandInput - {@link UpdateQuerySuggestionsBlockListCommandInput} * @returns {@link UpdateQuerySuggestionsBlockListCommandOutput} * @see {@link UpdateQuerySuggestionsBlockListCommandInput} for command's `input` shape. * @see {@link UpdateQuerySuggestionsBlockListCommandOutput} for command's `response` shape. * @see {@link KendraClientResolvedConfig | config} for KendraClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have sufficient access to perform this action. Please ensure you have the * required permission policies and user accounts and try again.

* * @throws {@link ConflictException} (client fault) *

A conflict occurred with the request. Please fix any inconsistences with your * resources and try again.

* * @throws {@link InternalServerException} (server fault) *

An issue occurred with the internal server used for your Amazon Kendra service. * Please wait a few minutes and try again, or contact Support for help.

* * @throws {@link ResourceNotFoundException} (client fault) *

The resource you want to use doesn’t exist. Please check you have provided the correct * resource and try again.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied due to request throttling. Please reduce the number of requests * and try again.

* * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the constraints set by the Amazon Kendra service. * Please provide the correct input and try again.

* * @throws {@link KendraServiceException} *

Base exception class for all service exceptions from Kendra service.

* * * @public */ export declare class UpdateQuerySuggestionsBlockListCommand extends UpdateQuerySuggestionsBlockListCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateQuerySuggestionsBlockListRequest; output: {}; }; sdk: { input: UpdateQuerySuggestionsBlockListCommandInput; output: UpdateQuerySuggestionsBlockListCommandOutput; }; }; }