import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateCentralizationRuleForOrganizationInput, UpdateCentralizationRuleForOrganizationOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateCentralizationRuleForOrganizationCommand}. */ export interface UpdateCentralizationRuleForOrganizationCommandInput extends UpdateCentralizationRuleForOrganizationInput { } /** * @public * * The output of {@link UpdateCentralizationRuleForOrganizationCommand}. */ export interface UpdateCentralizationRuleForOrganizationCommandOutput extends UpdateCentralizationRuleForOrganizationOutput, __MetadataBearer { } declare const UpdateCentralizationRuleForOrganizationCommand_base: { new (input: UpdateCentralizationRuleForOrganizationCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateCentralizationRuleForOrganizationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates an existing centralization rule that applies across an Amazon Web Services Organization. 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, UpdateCentralizationRuleForOrganizationCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import * // const { ObservabilityAdminClient, UpdateCentralizationRuleForOrganizationCommand } = 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 = { // UpdateCentralizationRuleForOrganizationInput * RuleIdentifier: "STRING_VALUE", // required * Rule: { // 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 * }, * }, * }, * }, * }; * const command = new UpdateCentralizationRuleForOrganizationCommand(input); * const response = await client.send(command); * // { // UpdateCentralizationRuleForOrganizationOutput * // RuleArn: "STRING_VALUE", * // }; * * ``` * * @param UpdateCentralizationRuleForOrganizationCommandInput - {@link UpdateCentralizationRuleForOrganizationCommandInput} * @returns {@link UpdateCentralizationRuleForOrganizationCommandOutput} * @see {@link UpdateCentralizationRuleForOrganizationCommandInput} for command's `input` shape. * @see {@link UpdateCentralizationRuleForOrganizationCommandOutput} 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 ServiceQuotaExceededException} (client fault) *

The requested operation would exceed the allowed quota for the specified resource type.

* * @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 UpdateCentralizationRuleForOrganizationCommand extends UpdateCentralizationRuleForOrganizationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateCentralizationRuleForOrganizationInput; output: UpdateCentralizationRuleForOrganizationOutput; }; sdk: { input: UpdateCentralizationRuleForOrganizationCommandInput; output: UpdateCentralizationRuleForOrganizationCommandOutput; }; }; }