import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient"; import type { DeleteOriginEndpointRequest, DeleteOriginEndpointResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteOriginEndpointCommand}. */ export interface DeleteOriginEndpointCommandInput extends DeleteOriginEndpointRequest { } /** * @public * * The output of {@link DeleteOriginEndpointCommand}. */ export interface DeleteOriginEndpointCommandOutput extends DeleteOriginEndpointResponse, __MetadataBearer { } declare const DeleteOriginEndpointCommand_base: { new (input: DeleteOriginEndpointCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteOriginEndpointCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** * Deletes an existing OriginEndpoint. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaPackageClient, DeleteOriginEndpointCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import * // const { MediaPackageClient, DeleteOriginEndpointCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import * // import type { MediaPackageClientConfig } from "@aws-sdk/client-mediapackage"; * const config = {}; // type is MediaPackageClientConfig * const client = new MediaPackageClient(config); * const input = { // DeleteOriginEndpointRequest * Id: "STRING_VALUE", // required * }; * const command = new DeleteOriginEndpointCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteOriginEndpointCommandInput - {@link DeleteOriginEndpointCommandInput} * @returns {@link DeleteOriginEndpointCommandOutput} * @see {@link DeleteOriginEndpointCommandInput} for command's `input` shape. * @see {@link DeleteOriginEndpointCommandOutput} for command's `response` shape. * @see {@link MediaPackageClientResolvedConfig | config} for MediaPackageClient'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 MediaPackageServiceException} *

Base exception class for all service exceptions from MediaPackage service.

* * * @public */ export declare class DeleteOriginEndpointCommand extends DeleteOriginEndpointCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteOriginEndpointRequest; output: {}; }; sdk: { input: DeleteOriginEndpointCommandInput; output: DeleteOriginEndpointCommandOutput; }; }; }