code: def set_security_groups(mounttargetid,
                          securitygroup,
                          keyid=None,
                          key=None,
                          profile=None,
                          region=None,
                          **kwargs):
      '''
      Modifies the set of security groups in effect for a mount target
  
      mounttargetid
          (string) - ID of the mount target whose security groups will be modified
  
      securitygroups
          (list[string]) - list of no more than 5 VPC security group IDs.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt 'my-minion' boto_efs.set_security_groups my-mount-target-id my-sec-group
      '''
  
      client = _get_conn(key=key, keyid=keyid, profile=profile, region=region)
      client.modify_mount_target_security_groups(MountTargetId=mounttargetid,
                                                 SecurityGroups=securitygroupf set_security_groups(mounttargetid,
                          securitygroup,
                          keyid=None,
                          key=None,
                          profile=None,
                          region=None,
                          **kwargs):
      '''
      Modifies the set of security groups in effect for a mount target
  
      mounttargetid
          (string) - ID of the mount target whose security groups will be modified
  
      securitygroups
          (list[string]) - list of no more than 5 VPC security group IDs.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt 'my-minion' boto_efs.set_security_groups my-mount-target-id my-sec-group
      '''
  
      client = _get_conn(key=key, keyid=keyid, profile=profile, region=region)
      client.modify_mount_target_security_groups(MountTargetId=mounttargetid,
                                                 SecurityGroups=securitygroup)
docs: Modifies the set of security groups in effect for a mount target
  
      mounttargetid
          (string) - ID of the mount target whose security groups will be modified
  
      securitygroups
          (list[string]) - list of no more than 5 VPC security group IDs.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt 'my-minion' boto_efs.set_security_groups my-mount-target-id my-sec-group