import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { PutBackupVaultNotificationsInput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link PutBackupVaultNotificationsCommand}. */ export interface PutBackupVaultNotificationsCommandInput extends PutBackupVaultNotificationsInput { } /** * @public * * The output of {@link PutBackupVaultNotificationsCommand}. */ export interface PutBackupVaultNotificationsCommandOutput extends __MetadataBearer { } declare const PutBackupVaultNotificationsCommand_base: { new (input: PutBackupVaultNotificationsCommandInput): import("@smithy/core/client").CommandImpl; new (input: PutBackupVaultNotificationsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Turns on notifications on a backup vault for the specified topic and events.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupClient, PutBackupVaultNotificationsCommand } from "@aws-sdk/client-backup"; // ES Modules import * // const { BackupClient, PutBackupVaultNotificationsCommand } = 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 = { // PutBackupVaultNotificationsInput * BackupVaultName: "STRING_VALUE", // required * SNSTopicArn: "STRING_VALUE", // required * BackupVaultEvents: [ // BackupVaultEvents // required * "BACKUP_JOB_STARTED" || "BACKUP_JOB_COMPLETED" || "BACKUP_JOB_SUCCESSFUL" || "BACKUP_JOB_FAILED" || "BACKUP_JOB_EXPIRED" || "RESTORE_JOB_STARTED" || "RESTORE_JOB_COMPLETED" || "RESTORE_JOB_SUCCESSFUL" || "RESTORE_JOB_FAILED" || "COPY_JOB_STARTED" || "COPY_JOB_SUCCESSFUL" || "COPY_JOB_FAILED" || "RECOVERY_POINT_MODIFIED" || "BACKUP_PLAN_CREATED" || "BACKUP_PLAN_MODIFIED" || "S3_BACKUP_OBJECT_FAILED" || "S3_RESTORE_OBJECT_FAILED" || "CONTINUOUS_BACKUP_INTERRUPTED" || "RECOVERY_POINT_INDEX_COMPLETED" || "RECOVERY_POINT_INDEX_DELETED" || "RECOVERY_POINT_INDEXING_FAILED" || "EKS_RESTORE_OBJECT_FAILED" || "EKS_RESTORE_OBJECT_SKIPPED" || "EKS_BACKUP_OBJECT_FAILED" || "EKS_RESTORE_MODIFICATION_SUCCESS" || "EKS_RESTORE_MODIFICATION_FAILED" || "ACCESS_POINT_AVAILABLE" || "ACCESS_POINT_CREATION_FAILED" || "ACCESS_POINT_DELETED" || "ACCESS_POINT_DELETION_FAILED" || "ACCESS_POINT_EXPIRED" || "ACCESS_POINT_DISASSOCIATED", * ], * }; * const command = new PutBackupVaultNotificationsCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param PutBackupVaultNotificationsCommandInput - {@link PutBackupVaultNotificationsCommandInput} * @returns {@link PutBackupVaultNotificationsCommandOutput} * @see {@link PutBackupVaultNotificationsCommandInput} for command's `input` shape. * @see {@link PutBackupVaultNotificationsCommandOutput} 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 PutBackupVaultNotificationsCommand extends PutBackupVaultNotificationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: PutBackupVaultNotificationsInput; output: {}; }; sdk: { input: PutBackupVaultNotificationsCommandInput; output: PutBackupVaultNotificationsCommandOutput; }; }; }