import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { MediaConvertClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConvertClient"; import type { DescribeEndpointsRequest, DescribeEndpointsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeEndpointsCommand}. */ export interface DescribeEndpointsCommandInput extends DescribeEndpointsRequest { } /** * @public * * The output of {@link DescribeEndpointsCommand}. */ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsResponse, __MetadataBearer { } declare const DescribeEndpointsCommand_base: { new (input: DescribeEndpointsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeEndpointsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** * Send a request with an empty body to the regional API endpoint to get your account API endpoint. Note that DescribeEndpoints is no longer required. We recommend that you send your requests directly to the regional endpoint instead. * * @deprecated DescribeEndpoints and account specific endpoints are no longer required. We recommend that you send your requests directly to the regional endpoint instead. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaConvertClient, DescribeEndpointsCommand } from "@aws-sdk/client-mediaconvert"; // ES Modules import * // const { MediaConvertClient, DescribeEndpointsCommand } = require("@aws-sdk/client-mediaconvert"); // CommonJS import * // import type { MediaConvertClientConfig } from "@aws-sdk/client-mediaconvert"; * const config = {}; // type is MediaConvertClientConfig * const client = new MediaConvertClient(config); * const input = { // DescribeEndpointsRequest * MaxResults: Number("int"), * Mode: "DEFAULT" || "GET_ONLY", * NextToken: "STRING_VALUE", * }; * const command = new DescribeEndpointsCommand(input); * const response = await client.send(command); * // { // DescribeEndpointsResponse * // Endpoints: [ // __listOfEndpoint * // { // Endpoint * // Url: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeEndpointsCommandInput - {@link DescribeEndpointsCommandInput} * @returns {@link DescribeEndpointsCommandOutput} * @see {@link DescribeEndpointsCommandInput} for command's `input` shape. * @see {@link DescribeEndpointsCommandOutput} for command's `response` shape. * @see {@link MediaConvertClientResolvedConfig | config} for MediaConvertClient's `config` shape. * * @throws {@link BadRequestException} (client fault) * The service can't process your request because of a problem in the request. Please check your request form and syntax. * * @throws {@link ConflictException} (client fault) * The service couldn't complete your request because there is a conflict with the current state of the resource. * * @throws {@link ForbiddenException} (client fault) * You don't have permissions for this action with the credentials you sent. * * @throws {@link InternalServerErrorException} (server fault) * The service encountered an unexpected condition and can't fulfill your request. * * @throws {@link NotFoundException} (client fault) * The resource you requested doesn't exist. * * @throws {@link ServiceQuotaExceededException} (client fault) * You attempted to create more resources than the service allows based on service quotas. * * @throws {@link TooManyRequestsException} (client fault) * Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests. * * @throws {@link MediaConvertServiceException} *

Base exception class for all service exceptions from MediaConvert service.

* * * @public */ export declare class DescribeEndpointsCommand extends DescribeEndpointsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeEndpointsRequest; output: DescribeEndpointsResponse; }; sdk: { input: DescribeEndpointsCommandInput; output: DescribeEndpointsCommandOutput; }; }; }