import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { BatchDeleteReadSetRequest, BatchDeleteReadSetResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link BatchDeleteReadSetCommand}. */ export interface BatchDeleteReadSetCommandInput extends BatchDeleteReadSetRequest { } /** * @public * * The output of {@link BatchDeleteReadSetCommand}. */ export interface BatchDeleteReadSetCommandOutput extends BatchDeleteReadSetResponse, __MetadataBearer { } declare const BatchDeleteReadSetCommand_base: { new (input: BatchDeleteReadSetCommandInput): import("@smithy/core/client").CommandImpl; new (input: BatchDeleteReadSetCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes one or more read sets. If the operation is successful, it returns a response with no body. If there is an error with deleting one of the read sets, the operation returns an error list. If the operation successfully deletes only a subset of files, it will return an error list for the remaining files that fail to be deleted. There is a limit of 100 read sets that can be deleted in each BatchDeleteReadSet API call.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OmicsClient, BatchDeleteReadSetCommand } from "@aws-sdk/client-omics"; // ES Modules import * // const { OmicsClient, BatchDeleteReadSetCommand } = require("@aws-sdk/client-omics"); // CommonJS import * // import type { OmicsClientConfig } from "@aws-sdk/client-omics"; * const config = {}; // type is OmicsClientConfig * const client = new OmicsClient(config); * const input = { // BatchDeleteReadSetRequest * ids: [ // ReadSetIdList // required * "STRING_VALUE", * ], * sequenceStoreId: "STRING_VALUE", // required * }; * const command = new BatchDeleteReadSetCommand(input); * const response = await client.send(command); * // { // BatchDeleteReadSetResponse * // errors: [ // ReadSetBatchErrorList * // { // ReadSetBatchError * // id: "STRING_VALUE", // required * // code: "STRING_VALUE", // required * // message: "STRING_VALUE", // required * // }, * // ], * // }; * * ``` * * @param BatchDeleteReadSetCommandInput - {@link BatchDeleteReadSetCommandInput} * @returns {@link BatchDeleteReadSetCommandOutput} * @see {@link BatchDeleteReadSetCommandInput} for command's `input` shape. * @see {@link BatchDeleteReadSetCommandOutput} for command's `response` shape. * @see {@link OmicsClientResolvedConfig | config} for OmicsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

An unexpected error occurred. Try the request again.

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

The request timed out.

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

The target resource was not found in the current Region.

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

The request was denied due to request throttling.

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

The input fails to satisfy the constraints specified by an AWS service.

* * @throws {@link OmicsServiceException} *

Base exception class for all service exceptions from Omics service.

* * * @public */ export declare class BatchDeleteReadSetCommand extends BatchDeleteReadSetCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchDeleteReadSetRequest; output: BatchDeleteReadSetResponse; }; sdk: { input: BatchDeleteReadSetCommandInput; output: BatchDeleteReadSetCommandOutput; }; }; }