import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteAccessPointRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteAccessPointCommand}. */ export interface DeleteAccessPointCommandInput extends DeleteAccessPointRequest { } /** * @public * * The output of {@link DeleteAccessPointCommand}. */ export interface DeleteAccessPointCommandOutput extends __MetadataBearer { } declare const DeleteAccessPointCommand_base: { new (input: DeleteAccessPointCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteAccessPointCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes the specified access point. After deletion is complete, new clients can no * longer connect to the access points. Clients connected to the access point at the time of * deletion will continue to function until they terminate their connection.

*

This operation requires permissions for the elasticfilesystem:DeleteAccessPoint action.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EFSClient, DeleteAccessPointCommand } from "@aws-sdk/client-efs"; // ES Modules import * // const { EFSClient, DeleteAccessPointCommand } = require("@aws-sdk/client-efs"); // CommonJS import * // import type { EFSClientConfig } from "@aws-sdk/client-efs"; * const config = {}; // type is EFSClientConfig * const client = new EFSClient(config); * const input = { // DeleteAccessPointRequest * AccessPointId: "STRING_VALUE", // required * }; * const command = new DeleteAccessPointCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteAccessPointCommandInput - {@link DeleteAccessPointCommandInput} * @returns {@link DeleteAccessPointCommandOutput} * @see {@link DeleteAccessPointCommandInput} for command's `input` shape. * @see {@link DeleteAccessPointCommandOutput} for command's `response` shape. * @see {@link EFSClientResolvedConfig | config} for EFSClient's `config` shape. * * @throws {@link AccessPointNotFound} (client fault) *

Returned if the specified AccessPointId value doesn't exist in the * requester's Amazon Web Services account.

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

Returned if the request is malformed or contains an error such as an invalid * parameter value or a missing required parameter.

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

Returned if an error occurred on the server side.

* * @throws {@link EFSServiceException} *

Base exception class for all service exceptions from EFS service.

* * * @public */ export declare class DeleteAccessPointCommand extends DeleteAccessPointCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteAccessPointRequest; output: {}; }; sdk: { input: DeleteAccessPointCommandInput; output: DeleteAccessPointCommandOutput; }; }; }