Module Values.DescribeMountTargetSecurityGroupsResponseSource

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.

Sourcetype nonrec t = {
  1. securityGroups : SecurityGroups.t option;
    (*

    An array of security groups.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequest of BadRequest.t
  2. | `IncorrectMountTargetState of IncorrectMountTargetState.t
  3. | `InternalServerError of InternalServerError.t
  4. | `MountTargetNotFound of MountTargetNotFound.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?securityGroups:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequest of BadRequest.t | `IncorrectMountTargetState of IncorrectMountTargetState.t | `InternalServerError of InternalServerError.t | `MountTargetNotFound of MountTargetNotFound.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequest of BadRequest.t | `IncorrectMountTargetState of IncorrectMountTargetState.t | `InternalServerError of InternalServerError.t | `MountTargetNotFound of MountTargetNotFound.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of SecurityGroup.t ] list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t