import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteTableRequest, DeleteTableResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteTableCommand}. */ export interface DeleteTableCommandInput extends DeleteTableRequest { } /** * @public * * The output of {@link DeleteTableCommand}. */ export interface DeleteTableCommandOutput extends DeleteTableResponse, __MetadataBearer { } declare const DeleteTableCommand_base: { new (input: DeleteTableCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteTableCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

The DeleteTable operation deletes a table and all of its data. After a DeleteTable request is received, the specified table is in the DELETING state until Amazon Keyspaces completes the deletion. If the table is in the ACTIVE state, you can delete it. If a table is either in the CREATING or UPDATING states, then Amazon Keyspaces returns a ResourceInUseException. If the specified table does not exist, Amazon Keyspaces returns a ResourceNotFoundException. If the table is already in the DELETING state, no error is returned.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { KeyspacesClient, DeleteTableCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import * // const { KeyspacesClient, DeleteTableCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import * // import type { KeyspacesClientConfig } from "@aws-sdk/client-keyspaces"; * const config = {}; // type is KeyspacesClientConfig * const client = new KeyspacesClient(config); * const input = { // DeleteTableRequest * keyspaceName: "STRING_VALUE", // required * tableName: "STRING_VALUE", // required * }; * const command = new DeleteTableCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteTableCommandInput - {@link DeleteTableCommandInput} * @returns {@link DeleteTableCommandOutput} * @see {@link DeleteTableCommandInput} for command's `input` shape. * @see {@link DeleteTableCommandOutput} for command's `response` shape. * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have sufficient access permissions to perform this action.

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

Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.

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

Amazon Keyspaces was unable to fully process this request because of an internal server error.

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

The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly, or its status might not be ACTIVE.

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

The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.

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

The operation failed due to an invalid or malformed request.

* * @throws {@link KeyspacesServiceException} *

Base exception class for all service exceptions from Keyspaces service.

* * * @public */ export declare class DeleteTableCommand extends DeleteTableCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteTableRequest; output: {}; }; sdk: { input: DeleteTableCommandInput; output: DeleteTableCommandOutput; }; }; }