Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteFileSystemPolicyCommand

Deletes the FileSystemPolicy for the specified file system. The default FileSystemPolicy goes into effect once the existing policy is deleted. For more information about the default file system policy, see Using Resource-based Policies with EFS.

This operation requires permissions for the elasticfilesystem:DeleteFileSystemPolicy action.

example

Use a bare-bones client and the command you need to make an API call.

import { EFSClient, DeleteFileSystemPolicyCommand } from "@aws-sdk/client-efs"; // ES Modules import
// const { EFSClient, DeleteFileSystemPolicyCommand } = require("@aws-sdk/client-efs"); // CommonJS import
const client = new EFSClient(config);
const command = new DeleteFileSystemPolicyCommand(input);
const response = await client.send(command);
see

DeleteFileSystemPolicyCommandInput for command's input shape.

see

DeleteFileSystemPolicyCommandOutput for command's response shape.

see

config for EFSClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DeleteFileSystemPolicyCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions