import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeRegionSettingsInput, DescribeRegionSettingsOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeRegionSettingsCommand}. */ export interface DescribeRegionSettingsCommandInput extends DescribeRegionSettingsInput { } /** * @public * * The output of {@link DescribeRegionSettingsCommand}. */ export interface DescribeRegionSettingsCommandOutput extends DescribeRegionSettingsOutput, __MetadataBearer { } declare const DescribeRegionSettingsCommand_base: { new (input: DescribeRegionSettingsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DescribeRegionSettingsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns the current service opt-in settings for the Region. If service opt-in is enabled * for a service, Backup tries to protect that service's resources in this Region, * when the resource is included in an on-demand backup or scheduled backup plan. Otherwise, * Backup does not try to protect that service's resources in this * Region.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupClient, DescribeRegionSettingsCommand } from "@aws-sdk/client-backup"; // ES Modules import * // const { BackupClient, DescribeRegionSettingsCommand } = 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 = {}; * const command = new DescribeRegionSettingsCommand(input); * const response = await client.send(command); * // { // DescribeRegionSettingsOutput * // ResourceTypeOptInPreference: { // ResourceTypeOptInPreference * // "": true || false, * // }, * // ResourceTypeManagementPreference: { // ResourceTypeManagementPreference * // "": true || false, * // }, * // ResourceTypeOptInIncremental: { // ResourceTypeOptInIncremental * // "": true || false, * // }, * // }; * * ``` * * @param DescribeRegionSettingsCommandInput - {@link DescribeRegionSettingsCommandInput} * @returns {@link DescribeRegionSettingsCommandOutput} * @see {@link DescribeRegionSettingsCommandInput} for command's `input` shape. * @see {@link DescribeRegionSettingsCommandOutput} for command's `response` shape. * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape. * * @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 DescribeRegionSettingsCommand extends DescribeRegionSettingsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: {}; output: DescribeRegionSettingsOutput; }; sdk: { input: DescribeRegionSettingsCommandInput; output: DescribeRegionSettingsCommandOutput; }; }; }