import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteDatastoreRequest, DeleteDatastoreResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteDatastoreCommand}. */ export interface DeleteDatastoreCommandInput extends DeleteDatastoreRequest { } /** * @public * * The output of {@link DeleteDatastoreCommand}. */ export interface DeleteDatastoreCommandOutput extends DeleteDatastoreResponse, __MetadataBearer { } declare const DeleteDatastoreCommand_base: { new (input: DeleteDatastoreCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteDatastoreCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Delete a data store.

Before a data store can be deleted, you must first delete all image sets within it.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MedicalImagingClient, DeleteDatastoreCommand } from "@aws-sdk/client-medical-imaging"; // ES Modules import * // const { MedicalImagingClient, DeleteDatastoreCommand } = require("@aws-sdk/client-medical-imaging"); // CommonJS import * // import type { MedicalImagingClientConfig } from "@aws-sdk/client-medical-imaging"; * const config = {}; // type is MedicalImagingClientConfig * const client = new MedicalImagingClient(config); * const input = { // DeleteDatastoreRequest * datastoreId: "STRING_VALUE", // required * }; * const command = new DeleteDatastoreCommand(input); * const response = await client.send(command); * // { // DeleteDatastoreResponse * // datastoreId: "STRING_VALUE", // required * // datastoreStatus: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "DELETING" || "DELETED", // required * // }; * * ``` * * @param DeleteDatastoreCommandInput - {@link DeleteDatastoreCommandInput} * @returns {@link DeleteDatastoreCommandOutput} * @see {@link DeleteDatastoreCommandInput} for command's `input` shape. * @see {@link DeleteDatastoreCommandOutput} for command's `response` shape. * @see {@link MedicalImagingClientResolvedConfig | config} for MedicalImagingClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

The user does not have sufficient access to perform this action.

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

Updating or deleting a resource can cause an inconsistent state.

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

An unexpected error occurred during processing of the request.

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

The request references a resource which does not exist.

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

The request was denied due to throttling.

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

The input fails to satisfy the constraints set by the service.

* * @throws {@link MedicalImagingServiceException} *

Base exception class for all service exceptions from MedicalImaging service.

* * * @public */ export declare class DeleteDatastoreCommand extends DeleteDatastoreCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteDatastoreRequest; output: DeleteDatastoreResponse; }; sdk: { input: DeleteDatastoreCommandInput; output: DeleteDatastoreCommandOutput; }; }; }