import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetReferenceMetadataRequest, GetReferenceMetadataResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetReferenceMetadataCommand}. */ export interface GetReferenceMetadataCommandInput extends GetReferenceMetadataRequest { } /** * @public * * The output of {@link GetReferenceMetadataCommand}. */ export interface GetReferenceMetadataCommandOutput extends GetReferenceMetadataResponse, __MetadataBearer { } declare const GetReferenceMetadataCommand_base: { new (input: GetReferenceMetadataCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetReferenceMetadataCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves metadata for a reference genome. This operation returns the number of parts, part size, and MD5 of an entire file. This operation does not return tags. To retrieve the list of tags for a read set, use the ListTagsForResource API operation.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OmicsClient, GetReferenceMetadataCommand } from "@aws-sdk/client-omics"; // ES Modules import * // const { OmicsClient, GetReferenceMetadataCommand } = 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 = { // GetReferenceMetadataRequest * id: "STRING_VALUE", // required * referenceStoreId: "STRING_VALUE", // required * }; * const command = new GetReferenceMetadataCommand(input); * const response = await client.send(command); * // { // GetReferenceMetadataResponse * // id: "STRING_VALUE", // required * // arn: "STRING_VALUE", // required * // referenceStoreId: "STRING_VALUE", // required * // md5: "STRING_VALUE", // required * // status: "STRING_VALUE", * // name: "STRING_VALUE", * // description: "STRING_VALUE", * // creationTime: new Date("TIMESTAMP"), // required * // updateTime: new Date("TIMESTAMP"), // required * // files: { // ReferenceFiles * // source: { // FileInformation * // totalParts: Number("int"), * // partSize: Number("long"), * // contentLength: Number("long"), * // s3Access: { // ReadSetS3Access * // s3Uri: "STRING_VALUE", * // }, * // }, * // index: { * // totalParts: Number("int"), * // partSize: Number("long"), * // contentLength: Number("long"), * // s3Access: { * // s3Uri: "STRING_VALUE", * // }, * // }, * // }, * // creationType: "STRING_VALUE", * // creationJobId: "STRING_VALUE", * // }; * * ``` * * @param GetReferenceMetadataCommandInput - {@link GetReferenceMetadataCommandInput} * @returns {@link GetReferenceMetadataCommandOutput} * @see {@link GetReferenceMetadataCommandInput} for command's `input` shape. * @see {@link GetReferenceMetadataCommandOutput} 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 GetReferenceMetadataCommand extends GetReferenceMetadataCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetReferenceMetadataRequest; output: GetReferenceMetadataResponse; }; sdk: { input: GetReferenceMetadataCommandInput; output: GetReferenceMetadataCommandOutput; }; }; }