import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CompleteMultipartReadSetUploadRequest, CompleteMultipartReadSetUploadResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CompleteMultipartReadSetUploadCommand}. */ export interface CompleteMultipartReadSetUploadCommandInput extends CompleteMultipartReadSetUploadRequest { } /** * @public * * The output of {@link CompleteMultipartReadSetUploadCommand}. */ export interface CompleteMultipartReadSetUploadCommandOutput extends CompleteMultipartReadSetUploadResponse, __MetadataBearer { } declare const CompleteMultipartReadSetUploadCommand_base: { new (input: CompleteMultipartReadSetUploadCommandInput): import("@smithy/core/client").CommandImpl; new (input: CompleteMultipartReadSetUploadCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Completes a multipart read set upload into a sequence store after you have initiated the upload process with CreateMultipartReadSetUpload and uploaded all read set parts using UploadReadSetPart. You must specify the parts you uploaded using the parts parameter. If the operation is successful, it returns the read set ID(s) of the uploaded read set(s).

For more information, see Direct upload to a sequence store in the Amazon Web Services HealthOmics User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OmicsClient, CompleteMultipartReadSetUploadCommand } from "@aws-sdk/client-omics"; // ES Modules import * // const { OmicsClient, CompleteMultipartReadSetUploadCommand } = 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 = { // CompleteMultipartReadSetUploadRequest * sequenceStoreId: "STRING_VALUE", // required * uploadId: "STRING_VALUE", // required * parts: [ // CompleteReadSetUploadPartList // required * { // CompleteReadSetUploadPartListItem * partNumber: Number("int"), // required * partSource: "STRING_VALUE", // required * checksum: "STRING_VALUE", // required * }, * ], * }; * const command = new CompleteMultipartReadSetUploadCommand(input); * const response = await client.send(command); * // { // CompleteMultipartReadSetUploadResponse * // readSetId: "STRING_VALUE", // required * // }; * * ``` * * @param CompleteMultipartReadSetUploadCommandInput - {@link CompleteMultipartReadSetUploadCommandInput} * @returns {@link CompleteMultipartReadSetUploadCommandOutput} * @see {@link CompleteMultipartReadSetUploadCommandInput} for command's `input` shape. * @see {@link CompleteMultipartReadSetUploadCommandOutput} 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 NotSupportedOperationException} (client fault) *

The operation is not supported by Amazon Omics, or the API does not exist.

* * @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 ServiceQuotaExceededException} (client fault) *

The request exceeds a service quota.

* * @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 CompleteMultipartReadSetUploadCommand extends CompleteMultipartReadSetUploadCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CompleteMultipartReadSetUploadRequest; output: CompleteMultipartReadSetUploadResponse; }; sdk: { input: CompleteMultipartReadSetUploadCommandInput; output: CompleteMultipartReadSetUploadCommandOutput; }; }; }