    # File lib/fog/aws/requests/compute/modify_network_interface_attribute.rb, line 22
            def modify_network_interface_attribute(network_interface_id, attribute, value)
              params = {}
              case attribute
              when 'description'
                params['Description.Value'] = value
              when 'groupSet'
                params.merge!(Fog::AWS.indexed_param('SecurityGroupId.%d', value))
              when 'sourceDestCheck'
                params['SourceDestCheck.Value'] = value
              when 'attachment'
                params['Attachment.AttachmentId']        = value['attachmentId']
                params['Attachment.DeleteOnTermination'] = value['deleteOnTermination']
              else
                raise Fog::Compute::AWS::Error.new("Illegal attribute '#{attribute}' specified")
              end

              request({
                'Action'             => 'ModifyNetworkInterfaceAttribute',
                'NetworkInterfaceId' => network_interface_id,
                :parser              => Fog::Parsers::Compute::AWS::Basic.new
              }.merge!(params))
            end