import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetCentralizationRuleForOrganizationInput, GetCentralizationRuleForOrganizationOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetCentralizationRuleForOrganizationCommand}. */ export interface GetCentralizationRuleForOrganizationCommandInput extends GetCentralizationRuleForOrganizationInput { } /** * @public * * The output of {@link GetCentralizationRuleForOrganizationCommand}. */ export interface GetCentralizationRuleForOrganizationCommandOutput extends GetCentralizationRuleForOrganizationOutput, __MetadataBearer { } declare const GetCentralizationRuleForOrganizationCommand_base: { new (input: GetCentralizationRuleForOrganizationCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetCentralizationRuleForOrganizationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves the details of a specific organization centralization rule. This operation can only be called by the organization's management account or a delegated administrator account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ObservabilityAdminClient, GetCentralizationRuleForOrganizationCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import * // const { ObservabilityAdminClient, GetCentralizationRuleForOrganizationCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import * // import type { ObservabilityAdminClientConfig } from "@aws-sdk/client-observabilityadmin"; * const config = {}; // type is ObservabilityAdminClientConfig * const client = new ObservabilityAdminClient(config); * const input = { // GetCentralizationRuleForOrganizationInput * RuleIdentifier: "STRING_VALUE", // required * }; * const command = new GetCentralizationRuleForOrganizationCommand(input); * const response = await client.send(command); * // { // GetCentralizationRuleForOrganizationOutput * // RuleName: "STRING_VALUE", * // RuleArn: "STRING_VALUE", * // CreatorAccountId: "STRING_VALUE", * // CreatedTimeStamp: Number("long"), * // CreatedRegion: "STRING_VALUE", * // LastUpdateTimeStamp: Number("long"), * // RuleHealth: "Healthy" || "Unhealthy" || "Provisioning", * // FailureReason: "TRUSTED_ACCESS_NOT_ENABLED" || "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION" || "INTERNAL_SERVER_ERROR", * // TagPropagationStatus: "Healthy" || "Unhealthy", * // TagPropagationFailureReason: "RoleNotAssumable" || "RoleLacksPermissions", * // ContextGraphStatus: "Healthy" || "Unhealthy" || "Provisioning", * // CentralizationRule: { // CentralizationRule * // Source: { // CentralizationRuleSource * // Regions: [ // Regions // required * // "STRING_VALUE", * // ], * // Scope: "STRING_VALUE", * // SourceLogsConfiguration: { // SourceLogsConfiguration * // LogGroupSelectionCriteria: "STRING_VALUE", * // DataSourceSelectionCriteria: "STRING_VALUE", * // EncryptedLogGroupStrategy: "ALLOW" || "SKIP", // required * // }, * // SourceMetricsConfiguration: { // SourceMetricsConfiguration * // MetricsSelectionCriteria: "STRING_VALUE", * // }, * // SourceContextGraphConfiguration: {}, * // }, * // Destination: { // CentralizationRuleDestination * // Region: "STRING_VALUE", // required * // Account: "STRING_VALUE", * // DestinationLogsConfiguration: { // DestinationLogsConfiguration * // LogsEncryptionConfiguration: { // LogsEncryptionConfiguration * // EncryptionStrategy: "CUSTOMER_MANAGED" || "AWS_OWNED", // required * // KmsKeyArn: "STRING_VALUE", * // EncryptionConflictResolutionStrategy: "ALLOW" || "SKIP", * // EncryptionScope: "ENCRYPTED_SOURCE_ONLY" || "NEW_DESTINATION_LOG_GROUPS", * // }, * // BackupConfiguration: { // LogsBackupConfiguration * // Region: "STRING_VALUE", // required * // KmsKeyArn: "STRING_VALUE", * // }, * // LogGroupNameConfiguration: { // LogGroupNameConfiguration * // LogGroupNamePattern: "STRING_VALUE", // required * // }, * // TagPropagationConfiguration: { // TagPropagationConfiguration * // DestinationRoleArn: "STRING_VALUE", // required * // TagConflictResolutionStrategy: "IN_SYNC" || "ADD_ONLY" || "UPDATE_SYNC", * // }, * // }, * // DestinationMetricsConfiguration: { // DestinationMetricsConfiguration * // BackupConfiguration: { // MetricsBackupConfiguration * // Region: "STRING_VALUE", // required * // }, * // }, * // }, * // }, * // }; * * ``` * * @param GetCentralizationRuleForOrganizationCommandInput - {@link GetCentralizationRuleForOrganizationCommandInput} * @returns {@link GetCentralizationRuleForOrganizationCommandOutput} * @see {@link GetCentralizationRuleForOrganizationCommandInput} for command's `input` shape. * @see {@link GetCentralizationRuleForOrganizationCommandOutput} for command's `response` shape. * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.

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

Indicates the request has failed to process because of an unknown server error, exception, or failure.

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

The specified resource (such as a telemetry rule) could not be found.

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

The request throughput limit was exceeded.

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

Indicates input validation failed. Check your request parameters and retry the request.

* * @throws {@link ObservabilityAdminServiceException} *

Base exception class for all service exceptions from ObservabilityAdmin service.

* * * @public */ export declare class GetCentralizationRuleForOrganizationCommand extends GetCentralizationRuleForOrganizationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetCentralizationRuleForOrganizationInput; output: GetCentralizationRuleForOrganizationOutput; }; sdk: { input: GetCentralizationRuleForOrganizationCommandInput; output: GetCentralizationRuleForOrganizationCommandOutput; }; }; }