import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateRegionSettingsInput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateRegionSettingsCommand}. */ export interface UpdateRegionSettingsCommandInput extends UpdateRegionSettingsInput { } /** * @public * * The output of {@link UpdateRegionSettingsCommand}. */ export interface UpdateRegionSettingsCommandOutput extends __MetadataBearer { } declare const UpdateRegionSettingsCommand_base: { new (input: UpdateRegionSettingsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [UpdateRegionSettingsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates the current service opt-in settings for the Region.

*

Use * the DescribeRegionSettings API to determine the resource types that are * supported.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupClient, UpdateRegionSettingsCommand } from "@aws-sdk/client-backup"; // ES Modules import * // const { BackupClient, UpdateRegionSettingsCommand } = require("@aws-sdk/client-backup"); // CommonJS import * // import type { BackupClientConfig } from "@aws-sdk/client-backup"; * const config = {}; // type is BackupClientConfig * const client = new BackupClient(config); * const input = { // UpdateRegionSettingsInput * ResourceTypeOptInPreference: { // ResourceTypeOptInPreference * "": true || false, * }, * ResourceTypeManagementPreference: { // ResourceTypeManagementPreference * "": true || false, * }, * ResourceTypeOptInIncremental: { // ResourceTypeOptInIncremental * "": true || false, * }, * }; * const command = new UpdateRegionSettingsCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateRegionSettingsCommandInput - {@link UpdateRegionSettingsCommandInput} * @returns {@link UpdateRegionSettingsCommandOutput} * @see {@link UpdateRegionSettingsCommandInput} for command's `input` shape. * @see {@link UpdateRegionSettingsCommandOutput} for command's `response` shape. * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape. * * @throws {@link InvalidParameterValueException} (client fault) *

Indicates that something is wrong with a parameter's value. For example, the value is * out of range.

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

Indicates that a required parameter is missing.

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

The request failed due to a temporary failure of the server.

* * @throws {@link BackupServiceException} *

Base exception class for all service exceptions from Backup service.

* * * @public */ export declare class UpdateRegionSettingsCommand extends UpdateRegionSettingsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateRegionSettingsInput; output: {}; }; sdk: { input: UpdateRegionSettingsCommandInput; output: UpdateRegionSettingsCommandOutput; }; }; }