import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient"; import type { DescribeEndpointRequest, DescribeEndpointResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeEndpointCommand}. */ export interface DescribeEndpointCommandInput extends DescribeEndpointRequest { } /** * @public * * The output of {@link DescribeEndpointCommand}. */ export interface DescribeEndpointCommandOutput extends DescribeEndpointResponse, __MetadataBearer { } declare const DescribeEndpointCommand_base: { new (input: DescribeEndpointCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DescribeEndpointCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Returns or creates a unique endpoint specific to the Amazon Web Services account making the * call.

* *

The first time DescribeEndpoint is called, an endpoint is created. All subsequent calls to DescribeEndpoint return the same endpoint.

*
*

Requires permission to access the DescribeEndpoint action.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTClient, DescribeEndpointCommand } from "@aws-sdk/client-iot"; // ES Modules import * // const { IoTClient, DescribeEndpointCommand } = require("@aws-sdk/client-iot"); // CommonJS import * // import type { IoTClientConfig } from "@aws-sdk/client-iot"; * const config = {}; // type is IoTClientConfig * const client = new IoTClient(config); * const input = { // DescribeEndpointRequest * endpointType: "STRING_VALUE", * }; * const command = new DescribeEndpointCommand(input); * const response = await client.send(command); * // { // DescribeEndpointResponse * // endpointAddress: "STRING_VALUE", * // }; * * ``` * * @param DescribeEndpointCommandInput - {@link DescribeEndpointCommandInput} * @returns {@link DescribeEndpointCommandOutput} * @see {@link DescribeEndpointCommandInput} for command's `input` shape. * @see {@link DescribeEndpointCommandOutput} for command's `response` shape. * @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape. * * @throws {@link InternalFailureException} (server fault) *

An unexpected error has occurred.

* * @throws {@link InvalidRequestException} (client fault) *

The request is not valid.

* * @throws {@link ThrottlingException} (client fault) *

The rate exceeds the limit.

* * @throws {@link UnauthorizedException} (client fault) *

You are not authorized to perform this operation.

* * @throws {@link IoTServiceException} *

Base exception class for all service exceptions from IoT service.

* * * @public */ export declare class DescribeEndpointCommand extends DescribeEndpointCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeEndpointRequest; output: DescribeEndpointResponse; }; sdk: { input: DescribeEndpointCommandInput; output: DescribeEndpointCommandOutput; }; }; }