import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EventBridgeClient"; import type { DescribeEventBusRequest, DescribeEventBusResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeEventBusCommand}. */ export interface DescribeEventBusCommandInput extends DescribeEventBusRequest { } /** * @public * * The output of {@link DescribeEventBusCommand}. */ export interface DescribeEventBusCommandOutput extends DescribeEventBusResponse, __MetadataBearer { } declare const DescribeEventBusCommand_base: { new (input: DescribeEventBusCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeEventBusCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Displays details about an event bus in your account. This can include the external Amazon Web Services accounts that are permitted to write events to your default event bus, and the * associated policy. For custom event buses and partner event buses, it displays the name, ARN, * policy, state, and creation time.

*

To enable your account to receive events from other accounts on its default event bus, * use PutPermission.

*

For more information about partner event buses, see CreateEventBus.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EventBridgeClient, DescribeEventBusCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import * // const { EventBridgeClient, DescribeEventBusCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import * // import type { EventBridgeClientConfig } from "@aws-sdk/client-eventbridge"; * const config = {}; // type is EventBridgeClientConfig * const client = new EventBridgeClient(config); * const input = { // DescribeEventBusRequest * Name: "STRING_VALUE", * }; * const command = new DescribeEventBusCommand(input); * const response = await client.send(command); * // { // DescribeEventBusResponse * // Name: "STRING_VALUE", * // Arn: "STRING_VALUE", * // Description: "STRING_VALUE", * // KmsKeyIdentifier: "STRING_VALUE", * // DeadLetterConfig: { // DeadLetterConfig * // Arn: "STRING_VALUE", * // }, * // Policy: "STRING_VALUE", * // LogConfig: { // LogConfig * // IncludeDetail: "NONE" || "FULL", * // Level: "OFF" || "ERROR" || "INFO" || "TRACE", * // }, * // CreationTime: new Date("TIMESTAMP"), * // LastModifiedTime: new Date("TIMESTAMP"), * // }; * * ``` * * @param DescribeEventBusCommandInput - {@link DescribeEventBusCommandInput} * @returns {@link DescribeEventBusCommandOutput} * @see {@link DescribeEventBusCommandInput} for command's `input` shape. * @see {@link DescribeEventBusCommandOutput} for command's `response` shape. * @see {@link EventBridgeClientResolvedConfig | config} for EventBridgeClient's `config` shape. * * @throws {@link InternalException} (server fault) *

This exception occurs due to unexpected causes.

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

An entity that you specified does not exist.

* * @throws {@link EventBridgeServiceException} *

Base exception class for all service exceptions from EventBridge service.

* * * @public */ export declare class DescribeEventBusCommand extends DescribeEventBusCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeEventBusRequest; output: DescribeEventBusResponse; }; sdk: { input: DescribeEventBusCommandInput; output: DescribeEventBusCommandOutput; }; }; }