import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient"; import type { DescribeDeliveryChannelStatusRequest, DescribeDeliveryChannelStatusResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeDeliveryChannelStatusCommand}. */ export interface DescribeDeliveryChannelStatusCommandInput extends DescribeDeliveryChannelStatusRequest { } /** * @public * * The output of {@link DescribeDeliveryChannelStatusCommand}. */ export interface DescribeDeliveryChannelStatusCommandOutput extends DescribeDeliveryChannelStatusResponse, __MetadataBearer { } declare const DescribeDeliveryChannelStatusCommand_base: { new (input: DescribeDeliveryChannelStatusCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeDeliveryChannelStatusCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns the current status of the specified delivery channel. * If a delivery channel is not specified, this operation returns the * current status of all delivery channels associated with the * account.

* *

Currently, you can specify only one delivery channel per * region in your account.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConfigServiceClient, DescribeDeliveryChannelStatusCommand } from "@aws-sdk/client-config-service"; // ES Modules import * // const { ConfigServiceClient, DescribeDeliveryChannelStatusCommand } = require("@aws-sdk/client-config-service"); // CommonJS import * // import type { ConfigServiceClientConfig } from "@aws-sdk/client-config-service"; * const config = {}; // type is ConfigServiceClientConfig * const client = new ConfigServiceClient(config); * const input = { // DescribeDeliveryChannelStatusRequest * DeliveryChannelNames: [ // DeliveryChannelNameList * "STRING_VALUE", * ], * }; * const command = new DescribeDeliveryChannelStatusCommand(input); * const response = await client.send(command); * // { // DescribeDeliveryChannelStatusResponse * // DeliveryChannelsStatus: [ // DeliveryChannelStatusList * // { // DeliveryChannelStatus * // name: "STRING_VALUE", * // configSnapshotDeliveryInfo: { // ConfigExportDeliveryInfo * // lastStatus: "Success" || "Failure" || "Not_Applicable", * // lastErrorCode: "STRING_VALUE", * // lastErrorMessage: "STRING_VALUE", * // lastAttemptTime: new Date("TIMESTAMP"), * // lastSuccessfulTime: new Date("TIMESTAMP"), * // nextDeliveryTime: new Date("TIMESTAMP"), * // }, * // configHistoryDeliveryInfo: { * // lastStatus: "Success" || "Failure" || "Not_Applicable", * // lastErrorCode: "STRING_VALUE", * // lastErrorMessage: "STRING_VALUE", * // lastAttemptTime: new Date("TIMESTAMP"), * // lastSuccessfulTime: new Date("TIMESTAMP"), * // nextDeliveryTime: new Date("TIMESTAMP"), * // }, * // configStreamDeliveryInfo: { // ConfigStreamDeliveryInfo * // lastStatus: "Success" || "Failure" || "Not_Applicable", * // lastErrorCode: "STRING_VALUE", * // lastErrorMessage: "STRING_VALUE", * // lastStatusChangeTime: new Date("TIMESTAMP"), * // }, * // }, * // ], * // }; * * ``` * * @param DescribeDeliveryChannelStatusCommandInput - {@link DescribeDeliveryChannelStatusCommandInput} * @returns {@link DescribeDeliveryChannelStatusCommandOutput} * @see {@link DescribeDeliveryChannelStatusCommandInput} for command's `input` shape. * @see {@link DescribeDeliveryChannelStatusCommandOutput} for command's `response` shape. * @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape. * * @throws {@link NoSuchDeliveryChannelException} (client fault) *

You have specified a delivery channel that does not * exist.

* * @throws {@link ConfigServiceServiceException} *

Base exception class for all service exceptions from ConfigService service.

* * * @public */ export declare class DescribeDeliveryChannelStatusCommand extends DescribeDeliveryChannelStatusCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeDeliveryChannelStatusRequest; output: DescribeDeliveryChannelStatusResponse; }; sdk: { input: DescribeDeliveryChannelStatusCommandInput; output: DescribeDeliveryChannelStatusCommandOutput; }; }; }