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 { GetOrganizationConfigRuleDetailedStatusRequest, GetOrganizationConfigRuleDetailedStatusResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetOrganizationConfigRuleDetailedStatusCommand}. */ export interface GetOrganizationConfigRuleDetailedStatusCommandInput extends GetOrganizationConfigRuleDetailedStatusRequest { } /** * @public * * The output of {@link GetOrganizationConfigRuleDetailedStatusCommand}. */ export interface GetOrganizationConfigRuleDetailedStatusCommandOutput extends GetOrganizationConfigRuleDetailedStatusResponse, __MetadataBearer { } declare const GetOrganizationConfigRuleDetailedStatusCommand_base: { new (input: GetOrganizationConfigRuleDetailedStatusCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetOrganizationConfigRuleDetailedStatusCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns detailed status for each member account within an organization for a given organization Config rule.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConfigServiceClient, GetOrganizationConfigRuleDetailedStatusCommand } from "@aws-sdk/client-config-service"; // ES Modules import * // const { ConfigServiceClient, GetOrganizationConfigRuleDetailedStatusCommand } = 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 = { // GetOrganizationConfigRuleDetailedStatusRequest * OrganizationConfigRuleName: "STRING_VALUE", // required * Filters: { // StatusDetailFilters * AccountId: "STRING_VALUE", * MemberAccountRuleStatus: "CREATE_SUCCESSFUL" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "DELETE_SUCCESSFUL" || "DELETE_FAILED" || "DELETE_IN_PROGRESS" || "UPDATE_SUCCESSFUL" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED", * }, * Limit: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new GetOrganizationConfigRuleDetailedStatusCommand(input); * const response = await client.send(command); * // { // GetOrganizationConfigRuleDetailedStatusResponse * // OrganizationConfigRuleDetailedStatus: [ // OrganizationConfigRuleDetailedStatus * // { // MemberAccountStatus * // AccountId: "STRING_VALUE", // required * // ConfigRuleName: "STRING_VALUE", // required * // MemberAccountRuleStatus: "CREATE_SUCCESSFUL" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "DELETE_SUCCESSFUL" || "DELETE_FAILED" || "DELETE_IN_PROGRESS" || "UPDATE_SUCCESSFUL" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED", // required * // ErrorCode: "STRING_VALUE", * // ErrorMessage: "STRING_VALUE", * // LastUpdateTime: new Date("TIMESTAMP"), * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param GetOrganizationConfigRuleDetailedStatusCommandInput - {@link GetOrganizationConfigRuleDetailedStatusCommandInput} * @returns {@link GetOrganizationConfigRuleDetailedStatusCommandOutput} * @see {@link GetOrganizationConfigRuleDetailedStatusCommandInput} for command's `input` shape. * @see {@link GetOrganizationConfigRuleDetailedStatusCommandOutput} for command's `response` shape. * @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape. * * @throws {@link InvalidLimitException} (client fault) *

The specified limit is outside the allowable range.

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

The specified next token is not valid. Specify the * nextToken string that was returned in the previous * response to get the next page of results.

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

The Config rule in the request is not valid. Verify that the rule is an organization Config Process Check rule, that the rule name is correct, and that valid Amazon Resouce Names (ARNs) are used before trying again.

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

For PutConfigurationAggregator API, you can see this exception for the following reasons:

* *

For all OrganizationConfigRule and OrganizationConformancePack APIs, Config throws an exception if APIs are called from member accounts. All APIs must be called from organization management account.

* * @throws {@link ConfigServiceServiceException} *

Base exception class for all service exceptions from ConfigService service.

* * * @public */ export declare class GetOrganizationConfigRuleDetailedStatusCommand extends GetOrganizationConfigRuleDetailedStatusCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetOrganizationConfigRuleDetailedStatusRequest; output: GetOrganizationConfigRuleDetailedStatusResponse; }; sdk: { input: GetOrganizationConfigRuleDetailedStatusCommandInput; output: GetOrganizationConfigRuleDetailedStatusCommandOutput; }; }; }