import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateBackupAccessPointRequest, CreateBackupAccessPointResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateBackupAccessPointCommand}. */ export interface CreateBackupAccessPointCommandInput extends CreateBackupAccessPointRequest { } /** * @public * * The output of {@link CreateBackupAccessPointCommand}. */ export interface CreateBackupAccessPointCommandOutput extends CreateBackupAccessPointResponse, __MetadataBearer { } declare const CreateBackupAccessPointCommand_base: { new (input: CreateBackupAccessPointCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateBackupAccessPointCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a backup access point for an Amazon S3 recovery point. A backup access point provides * on-demand, read-only access to the backup data in a recovery point through an Amazon S3 access point, * without initiating a restore.

*

While a backup access point is active for a recovery point, Backup pauses lifecycle transitions * and blocks deletion of that recovery point.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupClient, CreateBackupAccessPointCommand } from "@aws-sdk/client-backup"; // ES Modules import * // const { BackupClient, CreateBackupAccessPointCommand } = 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 = { // CreateBackupAccessPointRequest * AccessPointMetadata: { // AccessPointMetadataMap * "": "STRING_VALUE", * }, * AccessPointPolicy: "STRING_VALUE", * Name: "STRING_VALUE", // required * RecoveryPointArn: "STRING_VALUE", // required * Tags: { // TagMap * "": "STRING_VALUE", * }, * }; * const command = new CreateBackupAccessPointCommand(input); * const response = await client.send(command); * // { // CreateBackupAccessPointResponse * // AccessPointArn: "STRING_VALUE", // required * // Status: "AVAILABLE" || "CREATING" || "DELETING" || "DISASSOCIATED" || "DISASSOCIATING" || "EXPIRED" || "FAILED", // required * // }; * * ``` * * @param CreateBackupAccessPointCommandInput - {@link CreateBackupAccessPointCommandInput} * @returns {@link CreateBackupAccessPointCommandOutput} * @see {@link CreateBackupAccessPointCommandInput} for command's `input` shape. * @see {@link CreateBackupAccessPointCommandOutput} for command's `response` shape. * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape. * * @throws {@link AlreadyExistsException} (client fault) *

The required resource already exists.

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

Backup can't perform the action that you requested until it finishes * performing a previous action. Try again later.

* * @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 InvalidRequestException} (client fault) *

Indicates that something is wrong with the input to the request. For example, a * parameter is of the wrong type.

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

A limit in the request has been exceeded; for example, a maximum number of items allowed * in a request.

* * @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 CreateBackupAccessPointCommand extends CreateBackupAccessPointCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateBackupAccessPointRequest; output: CreateBackupAccessPointResponse; }; sdk: { input: CreateBackupAccessPointCommandInput; output: CreateBackupAccessPointCommandOutput; }; }; }