amazonka-efs-1.2.0.1: Amazon Elastic File System SDK.

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

Network.AWS.EFS.DescribeMountTargetSecurityGroups

Contents

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 life cycle 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.

See: AWS API Reference for DescribeMountTargetSecurityGroups.

Synopsis

Creating a Request

describeMountTargetSecurityGroups Source

Creates a value of DescribeMountTargetSecurityGroups with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dmtsgMountTargetId :: Lens' DescribeMountTargetSecurityGroups Text Source

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

Destructuring the Response

describeMountTargetSecurityGroupsResponse Source

Creates a value of DescribeMountTargetSecurityGroupsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses