amazonka-efs-2.0: Amazon Elastic File System SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EFS.DescribeMountTargetSecurityGroups

Description

Returns the security groups currently in effect for a mount target. This operation requires that the network interface of the mount target has been created and the lifecycle state of the mount target is not deleted.

This operation requires permissions for the following actions:

  • elasticfilesystem:DescribeMountTargetSecurityGroups action on the mount target's file system.
  • ec2:DescribeNetworkInterfaceAttribute action on the mount target's network interface.
Synopsis

Creating a Request

data DescribeMountTargetSecurityGroups Source #

See: newDescribeMountTargetSecurityGroups smart constructor.

Constructors

DescribeMountTargetSecurityGroups' 

Fields

  • mountTargetId :: Text

    The ID of the mount target whose security groups you want to retrieve.

Instances

Instances details
ToHeaders DescribeMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.DescribeMountTargetSecurityGroups

ToPath DescribeMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.DescribeMountTargetSecurityGroups

ToQuery DescribeMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.DescribeMountTargetSecurityGroups

AWSRequest DescribeMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.DescribeMountTargetSecurityGroups

Generic DescribeMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.DescribeMountTargetSecurityGroups

Associated Types

type Rep DescribeMountTargetSecurityGroups :: Type -> Type #

Read DescribeMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.DescribeMountTargetSecurityGroups

Show DescribeMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.DescribeMountTargetSecurityGroups

NFData DescribeMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.DescribeMountTargetSecurityGroups

Eq DescribeMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.DescribeMountTargetSecurityGroups

Hashable DescribeMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.DescribeMountTargetSecurityGroups

type AWSResponse DescribeMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.DescribeMountTargetSecurityGroups

type Rep DescribeMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.DescribeMountTargetSecurityGroups

type Rep DescribeMountTargetSecurityGroups = D1 ('MetaData "DescribeMountTargetSecurityGroups" "Amazonka.EFS.DescribeMountTargetSecurityGroups" "amazonka-efs-2.0-EHRjUBbcNxzHWDmYi0HAD5" 'False) (C1 ('MetaCons "DescribeMountTargetSecurityGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mountTargetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeMountTargetSecurityGroups Source #

Create a value of DescribeMountTargetSecurityGroups 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:

DescribeMountTargetSecurityGroups, describeMountTargetSecurityGroups_mountTargetId - The ID of the mount target whose security groups you want to retrieve.

Request Lenses

describeMountTargetSecurityGroups_mountTargetId :: Lens' DescribeMountTargetSecurityGroups Text Source #

The ID of the mount target whose security groups you want to retrieve.

Destructuring the Response

data DescribeMountTargetSecurityGroupsResponse Source #

Constructors

DescribeMountTargetSecurityGroupsResponse' 

Fields

Instances

Instances details
Generic DescribeMountTargetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.EFS.DescribeMountTargetSecurityGroups

Read DescribeMountTargetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.EFS.DescribeMountTargetSecurityGroups

Show DescribeMountTargetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.EFS.DescribeMountTargetSecurityGroups

NFData DescribeMountTargetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.EFS.DescribeMountTargetSecurityGroups

Eq DescribeMountTargetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.EFS.DescribeMountTargetSecurityGroups

type Rep DescribeMountTargetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.EFS.DescribeMountTargetSecurityGroups

type Rep DescribeMountTargetSecurityGroupsResponse = D1 ('MetaData "DescribeMountTargetSecurityGroupsResponse" "Amazonka.EFS.DescribeMountTargetSecurityGroups" "amazonka-efs-2.0-EHRjUBbcNxzHWDmYi0HAD5" 'False) (C1 ('MetaCons "DescribeMountTargetSecurityGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "securityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

Response Lenses