import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } from "@smithy/types"; import type { PutObjectRequest, PutObjectResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link PutObjectCommand}. */ export interface PutObjectCommandInput extends Omit { Body: StreamingBlobPayloadInputTypes; } /** * @public * * The output of {@link PutObjectCommand}. */ export interface PutObjectCommandOutput extends PutObjectResponse, __MetadataBearer { } declare const PutObjectCommand_base: { new (input: PutObjectCommandInput): import("@smithy/core/client").CommandImpl; new (input: PutObjectCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Uploads an object to the specified path. Object sizes are limited to 25 MB for standard upload availability and 10 MB for streaming upload availability.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaStoreDataClient, PutObjectCommand } from "@aws-sdk/client-mediastore-data"; // ES Modules import * // const { MediaStoreDataClient, PutObjectCommand } = require("@aws-sdk/client-mediastore-data"); // CommonJS import * // import type { MediaStoreDataClientConfig } from "@aws-sdk/client-mediastore-data"; * const config = {}; // type is MediaStoreDataClientConfig * const client = new MediaStoreDataClient(config); * const input = { // PutObjectRequest * Body: "MULTIPLE_TYPES_ACCEPTED", // see \@smithy/types -> StreamingBlobPayloadInputTypes // required * Path: "STRING_VALUE", // required * ContentType: "STRING_VALUE", * CacheControl: "STRING_VALUE", * StorageClass: "TEMPORAL", * UploadAvailability: "STANDARD" || "STREAMING", * }; * const command = new PutObjectCommand(input); * const response = await client.send(command); * // { // PutObjectResponse * // ContentSHA256: "STRING_VALUE", * // ETag: "STRING_VALUE", * // StorageClass: "TEMPORAL", * // }; * * ``` * * @param PutObjectCommandInput - {@link PutObjectCommandInput} * @returns {@link PutObjectCommandOutput} * @see {@link PutObjectCommandInput} for command's `input` shape. * @see {@link PutObjectCommandOutput} for command's `response` shape. * @see {@link MediaStoreDataClientResolvedConfig | config} for MediaStoreDataClient's `config` shape. * * @throws {@link ContainerNotFoundException} (client fault) *

The specified container was not found for the specified account.

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

The service is temporarily unavailable.

* * @throws {@link MediaStoreDataServiceException} *

Base exception class for all service exceptions from MediaStoreData service.

* * * @public */ export declare class PutObjectCommand extends PutObjectCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: PutObjectRequest; output: PutObjectResponse; }; sdk: { input: PutObjectCommandInput; output: PutObjectCommandOutput; }; }; }