import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetBackupSelectionInput, GetBackupSelectionOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetBackupSelectionCommand}. */ export interface GetBackupSelectionCommandInput extends GetBackupSelectionInput { } /** * @public * * The output of {@link GetBackupSelectionCommand}. */ export interface GetBackupSelectionCommandOutput extends GetBackupSelectionOutput, __MetadataBearer { } declare const GetBackupSelectionCommand_base: { new (input: GetBackupSelectionCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetBackupSelectionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns selection metadata and a document in JSON format that specifies a list of * resources that are associated with a backup plan.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupClient, GetBackupSelectionCommand } from "@aws-sdk/client-backup"; // ES Modules import * // const { BackupClient, GetBackupSelectionCommand } = 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 = { // GetBackupSelectionInput * BackupPlanId: "STRING_VALUE", // required * SelectionId: "STRING_VALUE", // required * }; * const command = new GetBackupSelectionCommand(input); * const response = await client.send(command); * // { // GetBackupSelectionOutput * // BackupSelection: { // BackupSelection * // SelectionName: "STRING_VALUE", // required * // IamRoleArn: "STRING_VALUE", // required * // Resources: [ // ResourceArns * // "STRING_VALUE", * // ], * // ListOfTags: [ // ListOfTags * // { // Condition * // ConditionType: "STRINGEQUALS", // required * // ConditionKey: "STRING_VALUE", // required * // ConditionValue: "STRING_VALUE", // required * // }, * // ], * // NotResources: [ * // "STRING_VALUE", * // ], * // Conditions: { // Conditions * // StringEquals: [ // ConditionParameters * // { // ConditionParameter * // ConditionKey: "STRING_VALUE", * // ConditionValue: "STRING_VALUE", * // }, * // ], * // StringNotEquals: [ * // { * // ConditionKey: "STRING_VALUE", * // ConditionValue: "STRING_VALUE", * // }, * // ], * // StringLike: [ * // { * // ConditionKey: "STRING_VALUE", * // ConditionValue: "STRING_VALUE", * // }, * // ], * // StringNotLike: [ * // { * // ConditionKey: "STRING_VALUE", * // ConditionValue: "STRING_VALUE", * // }, * // ], * // }, * // }, * // SelectionId: "STRING_VALUE", * // BackupPlanId: "STRING_VALUE", * // CreationDate: new Date("TIMESTAMP"), * // CreatorRequestId: "STRING_VALUE", * // }; * * ``` * * @param GetBackupSelectionCommandInput - {@link GetBackupSelectionCommandInput} * @returns {@link GetBackupSelectionCommandOutput} * @see {@link GetBackupSelectionCommandInput} for command's `input` shape. * @see {@link GetBackupSelectionCommandOutput} 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 ResourceNotFoundException} (client fault) *

A resource that is required for the action doesn't exist.

* * @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 GetBackupSelectionCommand extends GetBackupSelectionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetBackupSelectionInput; output: GetBackupSelectionOutput; }; sdk: { input: GetBackupSelectionCommandInput; output: GetBackupSelectionCommandOutput; }; }; }