import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types"; import type { GetImageFrameRequest, GetImageFrameResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetImageFrameCommand}. */ export interface GetImageFrameCommandInput extends GetImageFrameRequest { } /** * @public * * The output of {@link GetImageFrameCommand}. */ export interface GetImageFrameCommandOutput extends Omit, __MetadataBearer { imageFrameBlob: StreamingBlobPayloadOutputTypes; } declare const GetImageFrameCommand_base: { new (input: GetImageFrameCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetImageFrameCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Get an image frame (pixel data) for an image set.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MedicalImagingClient, GetImageFrameCommand } from "@aws-sdk/client-medical-imaging"; // ES Modules import * // const { MedicalImagingClient, GetImageFrameCommand } = 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 = { // GetImageFrameRequest * datastoreId: "STRING_VALUE", // required * imageSetId: "STRING_VALUE", // required * imageFrameInformation: { // ImageFrameInformation * imageFrameId: "STRING_VALUE", // required * }, * }; * const command = new GetImageFrameCommand(input); * const response = await client.send(command); * // consume or destroy the stream to free the socket. * const bytes = await response.imageFrameBlob.transformToByteArray(); * // const str = await response.imageFrameBlob.transformToString(); * // response.imageFrameBlob.destroy(); // only applicable to Node.js Readable streams. * * // { // GetImageFrameResponse * // imageFrameBlob: "", // see \@smithy/types -> StreamingBlobPayloadOutputTypes // required * // contentType: "STRING_VALUE", * // }; * * ``` * * @param GetImageFrameCommandInput - {@link GetImageFrameCommandInput} * @returns {@link GetImageFrameCommandOutput} * @see {@link GetImageFrameCommandInput} for command's `input` shape. * @see {@link GetImageFrameCommandOutput} 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 BadRequestException} (client fault) *

The request is invalid or malformed.

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

The request content type or accept header is not supported.

* * @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 GetImageFrameCommand extends GetImageFrameCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetImageFrameRequest; output: GetImageFrameResponse; }; sdk: { input: GetImageFrameCommandInput; output: GetImageFrameCommandOutput; }; }; }