import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateAssetRequest, CreateAssetResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateAssetCommand}. */ export interface CreateAssetCommandInput extends CreateAssetRequest { } /** * @public * * The output of {@link CreateAssetCommand}. */ export interface CreateAssetCommandOutput extends CreateAssetResponse, __MetadataBearer { } declare const CreateAssetCommand_base: { new (input: CreateAssetCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateAssetCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** * Creates a new MediaPackage VOD Asset resource. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaPackageVodClient, CreateAssetCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import * // const { MediaPackageVodClient, CreateAssetCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import * // import type { MediaPackageVodClientConfig } from "@aws-sdk/client-mediapackage-vod"; * const config = {}; // type is MediaPackageVodClientConfig * const client = new MediaPackageVodClient(config); * const input = { // CreateAssetRequest * Id: "STRING_VALUE", // required * PackagingGroupId: "STRING_VALUE", // required * ResourceId: "STRING_VALUE", * SourceArn: "STRING_VALUE", // required * SourceRoleArn: "STRING_VALUE", // required * Tags: { // Tags * "": "STRING_VALUE", * }, * }; * const command = new CreateAssetCommand(input); * const response = await client.send(command); * // { // CreateAssetResponse * // Arn: "STRING_VALUE", * // CreatedAt: "STRING_VALUE", * // EgressEndpoints: [ // __listOfEgressEndpoint * // { // EgressEndpoint * // PackagingConfigurationId: "STRING_VALUE", * // Status: "STRING_VALUE", * // Url: "STRING_VALUE", * // }, * // ], * // Id: "STRING_VALUE", * // PackagingGroupId: "STRING_VALUE", * // ResourceId: "STRING_VALUE", * // SourceArn: "STRING_VALUE", * // SourceRoleArn: "STRING_VALUE", * // Tags: { // Tags * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param CreateAssetCommandInput - {@link CreateAssetCommandInput} * @returns {@link CreateAssetCommandOutput} * @see {@link CreateAssetCommandInput} for command's `input` shape. * @see {@link CreateAssetCommandOutput} for command's `response` shape. * @see {@link MediaPackageVodClientResolvedConfig | config} for MediaPackageVodClient's `config` shape. * * @throws {@link ForbiddenException} (client fault) * The client is not authorized to access the requested resource. * * @throws {@link InternalServerErrorException} (server fault) * An unexpected error occurred. * * @throws {@link NotFoundException} (client fault) * The requested resource does not exist. * * @throws {@link ServiceUnavailableException} (server fault) * An unexpected error occurred. * * @throws {@link TooManyRequestsException} (client fault) * The client has exceeded their resource or throttling limits. * * @throws {@link UnprocessableEntityException} (client fault) * The parameters sent in the request are not valid. * * @throws {@link MediaPackageVodServiceException} *

Base exception class for all service exceptions from MediaPackageVod service.

* * * @public */ export declare class CreateAssetCommand extends CreateAssetCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateAssetRequest; output: CreateAssetResponse; }; sdk: { input: CreateAssetCommandInput; output: CreateAssetCommandOutput; }; }; }