Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.EFS.DeleteFileSystemPolicy
Description
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.
Synopsis
- data DeleteFileSystemPolicy = DeleteFileSystemPolicy' {
- fileSystemId :: Text
- newDeleteFileSystemPolicy :: Text -> DeleteFileSystemPolicy
- deleteFileSystemPolicy_fileSystemId :: Lens' DeleteFileSystemPolicy Text
- data DeleteFileSystemPolicyResponse = DeleteFileSystemPolicyResponse' {
- newDeleteFileSystemPolicyResponse :: DeleteFileSystemPolicyResponse
Creating a Request
data DeleteFileSystemPolicy Source #
See: newDeleteFileSystemPolicy
smart constructor.
Constructors
DeleteFileSystemPolicy' | |
Fields
|
Instances
newDeleteFileSystemPolicy Source #
Arguments
:: Text | |
-> DeleteFileSystemPolicy |
Create a value of DeleteFileSystemPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteFileSystemPolicy
, deleteFileSystemPolicy_fileSystemId
- Specifies the EFS file system for which to delete the
FileSystemPolicy
.
Request Lenses
deleteFileSystemPolicy_fileSystemId :: Lens' DeleteFileSystemPolicy Text Source #
Specifies the EFS file system for which to delete the
FileSystemPolicy
.
Destructuring the Response
data DeleteFileSystemPolicyResponse Source #
See: newDeleteFileSystemPolicyResponse
smart constructor.
Constructors
DeleteFileSystemPolicyResponse' | |
Instances
Generic DeleteFileSystemPolicyResponse Source # | |
Defined in Amazonka.EFS.DeleteFileSystemPolicy Associated Types type Rep DeleteFileSystemPolicyResponse :: Type -> Type # | |
Read DeleteFileSystemPolicyResponse Source # | |
Show DeleteFileSystemPolicyResponse Source # | |
Defined in Amazonka.EFS.DeleteFileSystemPolicy Methods showsPrec :: Int -> DeleteFileSystemPolicyResponse -> ShowS # show :: DeleteFileSystemPolicyResponse -> String # showList :: [DeleteFileSystemPolicyResponse] -> ShowS # | |
NFData DeleteFileSystemPolicyResponse Source # | |
Defined in Amazonka.EFS.DeleteFileSystemPolicy Methods rnf :: DeleteFileSystemPolicyResponse -> () # | |
Eq DeleteFileSystemPolicyResponse Source # | |
Defined in Amazonka.EFS.DeleteFileSystemPolicy | |
type Rep DeleteFileSystemPolicyResponse Source # | |
Defined in Amazonka.EFS.DeleteFileSystemPolicy |
newDeleteFileSystemPolicyResponse :: DeleteFileSystemPolicyResponse Source #
Create a value of DeleteFileSystemPolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.