import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetEnabledControlInput, GetEnabledControlOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetEnabledControlCommand}. */ export interface GetEnabledControlCommandInput extends GetEnabledControlInput { } /** * @public * * The output of {@link GetEnabledControlCommand}. */ export interface GetEnabledControlCommandOutput extends GetEnabledControlOutput, __MetadataBearer { } declare const GetEnabledControlCommand_base: { new (input: GetEnabledControlCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetEnabledControlCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves details about an enabled control. For usage examples, see the Controls Reference Guide .

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ControlTowerClient, GetEnabledControlCommand } from "@aws-sdk/client-controltower"; // ES Modules import * // const { ControlTowerClient, GetEnabledControlCommand } = require("@aws-sdk/client-controltower"); // CommonJS import * // import type { ControlTowerClientConfig } from "@aws-sdk/client-controltower"; * const config = {}; // type is ControlTowerClientConfig * const client = new ControlTowerClient(config); * const input = { // GetEnabledControlInput * enabledControlIdentifier: "STRING_VALUE", // required * }; * const command = new GetEnabledControlCommand(input); * const response = await client.send(command); * // { // GetEnabledControlOutput * // enabledControlDetails: { // EnabledControlDetails * // arn: "STRING_VALUE", * // controlIdentifier: "STRING_VALUE", * // targetIdentifier: "STRING_VALUE", * // statusSummary: { // EnablementStatusSummary * // status: "SUCCEEDED" || "FAILED" || "UNDER_CHANGE", * // lastOperationIdentifier: "STRING_VALUE", * // }, * // driftStatusSummary: { // DriftStatusSummary * // driftStatus: "DRIFTED" || "IN_SYNC" || "NOT_CHECKING" || "UNKNOWN", * // types: { // EnabledControlDriftTypes * // inheritance: { // EnabledControlInheritanceDrift * // status: "DRIFTED" || "IN_SYNC" || "NOT_CHECKING" || "UNKNOWN", * // }, * // resource: { // EnabledControlResourceDrift * // status: "DRIFTED" || "IN_SYNC" || "NOT_CHECKING" || "UNKNOWN", * // }, * // }, * // }, * // parentIdentifier: "STRING_VALUE", * // targetRegions: [ // TargetRegions * // { // Region * // name: "STRING_VALUE", * // }, * // ], * // parameters: [ // EnabledControlParameterSummaries * // { // EnabledControlParameterSummary * // key: "STRING_VALUE", // required * // value: "DOCUMENT_VALUE", // required * // }, * // ], * // }, * // }; * * ``` * * @param GetEnabledControlCommandInput - {@link GetEnabledControlCommandInput} * @returns {@link GetEnabledControlCommandOutput} * @see {@link GetEnabledControlCommandInput} for command's `input` shape. * @see {@link GetEnabledControlCommandOutput} for command's `response` shape. * @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

* * @throws {@link InternalServerException} (server fault) *

An unexpected error occurred during processing of a request.

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

The request references a resource that does not exist.

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

The request was denied due to request throttling.

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

The input does not satisfy the constraints specified by an Amazon Web Services service.

* * @throws {@link ControlTowerServiceException} *

Base exception class for all service exceptions from ControlTower service.

* * * @public */ export declare class GetEnabledControlCommand extends GetEnabledControlCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetEnabledControlInput; output: GetEnabledControlOutput; }; sdk: { input: GetEnabledControlCommandInput; output: GetEnabledControlCommandOutput; }; }; }