Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns the FileSystemPolicy
for the specified EFS file system.
This operation requires permissions for the
elasticfilesystem:DescribeFileSystemPolicy
action.
Synopsis
- data DescribeFileSystemPolicy = DescribeFileSystemPolicy' {
- fileSystemId :: Text
- newDescribeFileSystemPolicy :: Text -> DescribeFileSystemPolicy
- describeFileSystemPolicy_fileSystemId :: Lens' DescribeFileSystemPolicy Text
- data FileSystemPolicyDescription = FileSystemPolicyDescription' {}
- newFileSystemPolicyDescription :: FileSystemPolicyDescription
- fileSystemPolicyDescription_fileSystemId :: Lens' FileSystemPolicyDescription (Maybe Text)
- fileSystemPolicyDescription_policy :: Lens' FileSystemPolicyDescription (Maybe Text)
Creating a Request
data DescribeFileSystemPolicy Source #
See: newDescribeFileSystemPolicy
smart constructor.
DescribeFileSystemPolicy' | |
|
Instances
newDescribeFileSystemPolicy Source #
Create a value of DescribeFileSystemPolicy
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:
$sel:fileSystemId:DescribeFileSystemPolicy'
, describeFileSystemPolicy_fileSystemId
- Specifies which EFS file system to retrieve the FileSystemPolicy
for.
Request Lenses
describeFileSystemPolicy_fileSystemId :: Lens' DescribeFileSystemPolicy Text Source #
Specifies which EFS file system to retrieve the FileSystemPolicy
for.
Destructuring the Response
data FileSystemPolicyDescription Source #
See: newFileSystemPolicyDescription
smart constructor.
Instances
newFileSystemPolicyDescription :: FileSystemPolicyDescription Source #
Create a value of FileSystemPolicyDescription
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:
$sel:fileSystemId:FileSystemPolicyDescription'
, fileSystemPolicyDescription_fileSystemId
- Specifies the EFS file system to which the FileSystemPolicy
applies.
$sel:policy:FileSystemPolicyDescription'
, fileSystemPolicyDescription_policy
- The JSON formatted FileSystemPolicy
for the EFS file system.
Response Lenses
fileSystemPolicyDescription_fileSystemId :: Lens' FileSystemPolicyDescription (Maybe Text) Source #
Specifies the EFS file system to which the FileSystemPolicy
applies.
fileSystemPolicyDescription_policy :: Lens' FileSystemPolicyDescription (Maybe Text) Source #
The JSON formatted FileSystemPolicy
for the EFS file system.