libZSservicesZSamazonka-efsZSamazonka-efs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.EFS.DescribeFileSystemPolicy

Description

Returns the FileSystemPolicy for the specified EFS file system.

This operation requires permissions for the elasticfilesystem:DescribeFileSystemPolicy action.

Synopsis

Creating a Request

data DescribeFileSystemPolicy Source #

See: newDescribeFileSystemPolicy smart constructor.

Constructors

DescribeFileSystemPolicy' 

Fields

  • fileSystemId :: Text

    Specifies which EFS file system to retrieve the FileSystemPolicy for.

Instances

Instances details
Eq DescribeFileSystemPolicy Source # 
Instance details

Defined in Amazonka.EFS.DescribeFileSystemPolicy

Read DescribeFileSystemPolicy Source # 
Instance details

Defined in Amazonka.EFS.DescribeFileSystemPolicy

Show DescribeFileSystemPolicy Source # 
Instance details

Defined in Amazonka.EFS.DescribeFileSystemPolicy

Generic DescribeFileSystemPolicy Source # 
Instance details

Defined in Amazonka.EFS.DescribeFileSystemPolicy

Associated Types

type Rep DescribeFileSystemPolicy :: Type -> Type #

NFData DescribeFileSystemPolicy Source # 
Instance details

Defined in Amazonka.EFS.DescribeFileSystemPolicy

Hashable DescribeFileSystemPolicy Source # 
Instance details

Defined in Amazonka.EFS.DescribeFileSystemPolicy

AWSRequest DescribeFileSystemPolicy Source # 
Instance details

Defined in Amazonka.EFS.DescribeFileSystemPolicy

ToHeaders DescribeFileSystemPolicy Source # 
Instance details

Defined in Amazonka.EFS.DescribeFileSystemPolicy

ToPath DescribeFileSystemPolicy Source # 
Instance details

Defined in Amazonka.EFS.DescribeFileSystemPolicy

ToQuery DescribeFileSystemPolicy Source # 
Instance details

Defined in Amazonka.EFS.DescribeFileSystemPolicy

type Rep DescribeFileSystemPolicy Source # 
Instance details

Defined in Amazonka.EFS.DescribeFileSystemPolicy

type Rep DescribeFileSystemPolicy = D1 ('MetaData "DescribeFileSystemPolicy" "Amazonka.EFS.DescribeFileSystemPolicy" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "DescribeFileSystemPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fileSystemId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeFileSystemPolicy Source # 
Instance details

Defined in Amazonka.EFS.DescribeFileSystemPolicy

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.

Constructors

FileSystemPolicyDescription' 

Fields

Instances

Instances details
Eq FileSystemPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemPolicyDescription

Read FileSystemPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemPolicyDescription

Show FileSystemPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemPolicyDescription

Generic FileSystemPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemPolicyDescription

Associated Types

type Rep FileSystemPolicyDescription :: Type -> Type #

NFData FileSystemPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemPolicyDescription

Hashable FileSystemPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemPolicyDescription

FromJSON FileSystemPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemPolicyDescription

type Rep FileSystemPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.FileSystemPolicyDescription

type Rep FileSystemPolicyDescription = D1 ('MetaData "FileSystemPolicyDescription" "Amazonka.EFS.Types.FileSystemPolicyDescription" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "FileSystemPolicyDescription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fileSystemId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.